diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/shorewall-common/ipkg |
Initial import
Diffstat (limited to 'package/shorewall-common/ipkg')
4 files changed, 52 insertions, 0 deletions
diff --git a/package/shorewall-common/ipkg/shorewall-common.conffiles b/package/shorewall-common/ipkg/shorewall-common.conffiles new file mode 100644 index 000000000..99893804c --- /dev/null +++ b/package/shorewall-common/ipkg/shorewall-common.conffiles @@ -0,0 +1,33 @@ +/etc/shorewall/Makefile +/etc/shorewall/accounting +/etc/shorewall/actions +/etc/shorewall/blacklist +/etc/shorewall/continue +/etc/shorewall/ecn +/etc/shorewall/hosts +/etc/shorewall/init +/etc/shorewall/initdone +/etc/shorewall/interfaces +/etc/shorewall/ipsec +/etc/shorewall/maclist +/etc/shorewall/masq +/etc/shorewall/nat +/etc/shorewall/netmap +/etc/shorewall/params +/etc/shorewall/policy +/etc/shorewall/providers +/etc/shorewall/proxyarp +/etc/shorewall/route_rules +/etc/shorewall/routestopped +/etc/shorewall/rules +/etc/shorewall/shorewall.conf +/etc/shorewall/start +/etc/shorewall/started +/etc/shorewall/stop +/etc/shorewall/stopped +/etc/shorewall/tcclasses +/etc/shorewall/tcdevices +/etc/shorewall/tcrules +/etc/shorewall/tos +/etc/shorewall/tunnels +/etc/shorewall/zones diff --git a/package/shorewall-common/ipkg/shorewall-common.control b/package/shorewall-common/ipkg/shorewall-common.control new file mode 100644 index 000000000..41b7d8e43 --- /dev/null +++ b/package/shorewall-common/ipkg/shorewall-common.control @@ -0,0 +1,5 @@ +Package: shorewall-common +Priority: optional +Section: net +Depends: iptables +Description: high-level netfilter configuration tool diff --git a/package/shorewall-common/ipkg/shorewall-common.postinst b/package/shorewall-common/ipkg/shorewall-common.postinst new file mode 100644 index 000000000..bade6304b --- /dev/null +++ b/package/shorewall-common/ipkg/shorewall-common.postinst @@ -0,0 +1,6 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf shorewall + +mkdir -p $IPKG_INSTROOT/usr/share/shorewall/runtime +chmod 0700 $IPKG_INSTROOT/usr/share/shorewall/runtime diff --git a/package/shorewall-common/ipkg/shorewall-common.prerm b/package/shorewall-common/ipkg/shorewall-common.prerm new file mode 100644 index 000000000..805b69980 --- /dev/null +++ b/package/shorewall-common/ipkg/shorewall-common.prerm @@ -0,0 +1,8 @@ +#!/bin/sh + +# commented out: we never change this information ourselves +# plus: this will destroy /etc/rc.conf entirely. +# read some info about shell redirections if you don’t know why. +#cat $IPKG_INSTROOT/etc/rc.conf | grep -v "shorewall" >$IPKG_INSTROOT/etc/rc.conf + +rm -rf /usr/share/shorewall/runtime |