# vim: set syn=sh: #Packager: Phill Watkins pkgname=shorewall pkgver=4.4.19.1 pkgrel=1pw arch=noarch source=("http://www.shorewall.net/pub/shorewall/$(echo $pkgver | awk -F. '{print $1"."$2}')/shorewall-$(echo $pkgver | awk -F. '{print $1"."$2"."$3}')/shorewall-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/n/$pkgname docs=("changelog.txt" "COPYING" "INSTALL" "known_problems.txt" "releasenotes.txt") url=http://www.shorewall.net dotnew=\ ( 'etc/shorewall/Makefile' 'etc/shorewall/accounting' 'etc/shorewall/actions' 'etc/shorewall/blacklist' 'etc/shorewall/clear' 'etc/shorewall/ecn' 'etc/shorewall/findgw' 'etc/shorewall/hosts' 'etc/shorewall/init' 'etc/shorewall/initdone' 'etc/shorewall/interfaces' 'etc/shorewall/isusable' 'etc/shorewall/lib.private' 'etc/shorewall/maclist' 'etc/shorewall/masq' 'etc/shorewall/nat' 'etc/shorewall/netmap' 'etc/shorewall/notrack' 'etc/shorewall/params' 'etc/shorewall/policy' 'etc/shorewall/providers' 'etc/shorewall/proxyarp' 'etc/shorewall/refresh' 'etc/shorewall/refreshed' 'etc/shorewall/restored' 'etc/shorewall/route_rules' 'etc/shorewall/routestopped' 'etc/shorewall/rules' 'etc/shorewall/scfilter' 'etc/shorewall/secmarks' 'etc/shorewall/shorewall.conf' 'etc/shorewall/start' 'etc/shorewall/started' 'etc/shorewall/stop' 'etc/shorewall/stopped' 'etc/shorewall/tcclasses' 'etc/shorewall/tcclear' 'etc/shorewall/tcdevices' 'etc/shorewall/tcfilters' 'etc/shorewall/tcinterfaces' 'etc/shorewall/tcpri' 'etc/shorewall/tcrules' 'etc/shorewall/tos' 'etc/shorewall/tunnels' 'etc/shorewall/zones' ) options=('noautodotnew') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "shorewall (iptables made easy)" "The Shoreline Firewall, more commonly known as \"Shorewall\", is a" "high-level tool for configuring Netfilter." "" "Shorewall can be used on a dedicated firewall system, a multi-function" "gateway/router/server or on a standalone GNU/Linux system." ) build() { set -e cd $startdir/src/$pkgname-$pkgver DESTDIR=$startdir/pkg \ OWNER=root \ GROUP=root \ DEST=/etc/rc.d \ MANDIR=/usr/man \ SLACKWARE=yes \ ./install.sh install -d $startdir/pkg/etc/rc.d/desc.d cat <<- EOF > $startdir/pkg/etc/rc.d/desc.d/shorewall.txt shorewall:The Shoreline Firewall service:null EOF chmod 644 $startdir/pkg/etc/rc.d/{rc.shorewall,desc.d/shorewall.txt} #rm $startdir/pkg/etc/rc.d/rc.firewall install -d $startdir/pkg/var/lock/subsys install -d $startdir/pkg/usr/doc/$pkgname-$pkgver cp -a README.txt Samples $startdir/pkg/usr/doc/$pkgname-$pkgver set +e }