summaryrefslogtreecommitdiff
path: root/recipes/shorewall/shorewall_2.0.9.bb
blob: 5af69fcb09cf5d48fe2b3943a4367e8aeb2799aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
DESCRIPTION = "Shorewall is a high-level tool for configuring Netfilter."
HOMEPAGE = "http://www.shorewall.net/"
LICENSE = "GPL"
SECTION = "network"
PRIORITY = "optional"
PR = "r3"

RDEPENDS_${PN} = "iptables"
RRECOMMENDS_${PN} = "kernel-module-ip-tables kernel-module-ip-conntrack kernel-module-ipt-conntrack kernel-module-ipt-multiport kernel-module-ipt-log kernel-module-ipt-mac kernel-module-ipt-mark kernel-module-ipt-masquerade kernel-module-ipt-pkttype kernel-module-ipt-reject kernel-module-ipt-state kernel-module-ipt-tos kernel-module-iptable-filter kernel-module-iptable-mangle kernel-module-iptable-nat"

SRC_URI = "http://www.shorewall.net/pub/shorewall/2.0/shorewall-2.0.9/shorewall-2.0.9.tgz \
	file://install-no-chown.diff;striplevel=0"
SRC_URI_append_nylon = " file://shorewall-conf-nylon.diff"

do_install() {
	export PREFIX=${D}
	${S}/install.sh
}

CONFFILES_${PN}_nylon = "\
${sysconfdir}/shorewall/accounting \
${sysconfdir}/shorewall/actions \
${sysconfdir}/shorewall/blacklist \
${sysconfdir}/shorewall/ecn \
${sysconfdir}/shorewall/hosts \
${sysconfdir}/shorewall/init \
${sysconfdir}/shorewall/initdone \
${sysconfdir}/shorewall/interfaces \
${sysconfdir}/shorewall/maclist \
${sysconfdir}/shorewall/masq \
${sysconfdir}/shorewall/modules \
${sysconfdir}/shorewall/nat \
${sysconfdir}/shorewall/netmap \
${sysconfdir}/shorewall/params \
${sysconfdir}/shorewall/policy \
${sysconfdir}/shorewall/proxyarp \
${sysconfdir}/shorewall/routestopped \
${sysconfdir}/shorewall/rules \
${sysconfdir}/shorewall/shorewall.conf \
${sysconfdir}/shorewall/start \
${sysconfdir}/shorewall/stop \
${sysconfdir}/shorewall/stopped \
${sysconfdir}/shorewall/tcrules \
${sysconfdir}/shorewall/tos \
${sysconfdir}/shorewall/tunnels \
${sysconfdir}/shorewall/zones"

SRC_URI[md5sum] = "4d0f756b5b63a68593b2de560c1a5b35"
SRC_URI[sha256sum] = "06064e929423b1bd60a31652d2a31763dccc48e86ea9cdefbcadf524df2bd3f2"