# vim: set syn=sh: #Packager: Phill Watkins pkgname=shorewall6 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}')/shorewall6-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/n/$pkgname docs=("changelog.txt" "COPYING" "INSTALL" "releasenotes.txt") url=http://www.shorewall.net dotnew=\ ( 'etc/shorewall6/Makefile' 'etc/shorewall6/accounting' 'etc/shorewall6/actions' 'etc/shorewall6/blacklist' 'etc/shorewall6/clear' 'etc/shorewall6/hosts' 'etc/shorewall6/init' 'etc/shorewall6/interfaces' 'etc/shorewall6/isusable' 'etc/shorewall6/maclist' 'etc/shorewall6/notrack' 'etc/shorewall6/params' 'etc/shorewall6/policy' 'etc/shorewall6/providers' 'etc/shorewall6/proxyndp' 'etc/shorewall6/refresh' 'etc/shorewall6/refreshed' 'etc/shorewall6/restored' 'etc/shorewall6/route_rules' 'etc/shorewall6/routestopped' 'etc/shorewall6/rules' 'etc/shorewall6/scfilter' 'etc/shorewall6/secmarks' 'etc/shorewall6/shorewall6.conf' 'etc/shorewall6/start' 'etc/shorewall6/started' 'etc/shorewall6/stop' 'etc/shorewall6/stopped' 'etc/shorewall6/tcclasses' 'etc/shorewall6/tcclear' 'etc/shorewall6/tcdevices' 'etc/shorewall6/tcfilters' 'etc/shorewall6/tcinterfaces' 'etc/shorewall6/tcpri' 'etc/shorewall6/tcrules' 'etc/shorewall6/tos' 'etc/shorewall6/tunnels' 'etc/shorewall6/zones' ) options=('noautodotnew' 'nosrcpack') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "shorewall6 (iptables made easy)" "The Shoreline Firewall, more commonly known as \"Shorewall\", is" "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." "" "This package adds the capability to create an IPv6 firewall" ) 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/shorewall6.txt shorewall6:The Shoreline Firewall (IPv6) service:null EOF chmod 644 $startdir/pkg/etc/rc.d/{rc.shorewall6,desc.d/shorewall6.txt} install -d $startdir/pkg/usr/doc/$pkgname-$pkgver cp -a README.txt Samples6 $startdir/pkg/usr/doc/$pkgname-$pkgver set +e }