Date: Monday, January 19, 2015 @ 17:45:34 Author: foutrelis Revision: 126225
archrelease: copy trunk to community-any Added: shorewall/repos/community-any/PKGBUILD (from rev 126224, shorewall/trunk/PKGBUILD) Deleted: shorewall/repos/community-any/PKGBUILD ----------+ PKGBUILD | 146 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-01-19 16:45:27 UTC (rev 126224) +++ PKGBUILD 2015-01-19 16:45:34 UTC (rev 126225) @@ -1,73 +0,0 @@ -# $Id$ -# Maintainer: Evangelos Foutras <evange...@foutrelis.com> -# Contributor: Malte Rabenseifner <ma...@zearan.de> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: FUBAR <mrfu...@gmail.com> - -pkgname=('shorewall' 'shorewall6' 'shorewall-core') -pkgver=4.6.5.5 -pkgrel=1 -arch=('any') -url="http://www.shorewall.net/" -license=('GPL') -source=(http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.5/$pkgname-$pkgver.tar.bz2 - http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.5/shorewall6-$pkgver.tar.bz2 - http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.5/shorewall-core-$pkgver.tar.bz2) -sha256sums=('9cd25256168223d663b2390884964c05ff95289686ed3ebccf3bcbaa93a3c031' - '0aa89effdb02faaa0b346efb8ec62a00260936e12d27d3d01f2ffdbfbc2cb092' - 'd4d6f438c35491adac9d70d3676d5b52b2b30472486dcc5e8733805ed2f8023e') - -build() { - for product in shorewall{,6,-core}; do - pushd "$srcdir/$product-$pkgver" - ./configure HOST=archlinux - popd - done -} - -package_shorewall() { - pkgdesc="An iptables-based firewall for Linux systems" - depends=('shorewall-core' 'perl') - backup=(etc/shorewall/{accounting,actions,blrules,clear,conntrack,ecn,findgw,hosts,init,initdone,interfaces,lib.private,maclist,mangle,masq,nat,netmap,params,policy,providers,proxyarp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones}) - - cd "$srcdir/$pkgname-$pkgver" - - do_install -} - -package_shorewall6() { - pkgdesc="An iptables-based firewall for Linux systems (with IPv6 support)" - depends=('shorewall') - backup=(etc/shorewall6/{accounting,actions,blrules,clear,conntrack,hosts,init,interfaces,maclist,mangle,masq,netmap,params,policy,providers,proxyndp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall6.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones}) - - cd "$srcdir/$pkgname-$pkgver" - - do_install 6 -} - -package_shorewall-core() { - pkgdesc="Core Shorewall libraries" - depends=('iptables' 'iproute2') - - cd "$srcdir/$pkgname-$pkgver" - - DESTDIR="$pkgdir" ./install.sh -} - -do_install() { - local _name_suffix=$1 - - sed -i -e 's|^MODULE_SUFFIX=ko$|&.gz|' \ - -e 's|/subsys||' \ - "configfiles/shorewall$_name_suffix.conf" - - DESTDIR="$pkgdir" ./install.sh - - install -d "$pkgdir/usr/share/doc/shorewall$_name_suffix/" - cp -r Samples$_name_suffix "$pkgdir/usr/share/doc/shorewall$_name_suffix/" - - chmod -R 644 "$pkgdir/etc/shorewall$_name_suffix/" - chmod 755 "$pkgdir/etc/shorewall$_name_suffix/" -} - -# vim:set ts=2 sw=2 et: Copied: shorewall/repos/community-any/PKGBUILD (from rev 126224, shorewall/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-01-19 16:45:34 UTC (rev 126225) @@ -0,0 +1,73 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Malte Rabenseifner <ma...@zearan.de> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: FUBAR <mrfu...@gmail.com> + +pkgname=('shorewall' 'shorewall6' 'shorewall-core') +pkgver=4.6.6 +pkgrel=1 +arch=('any') +url="http://www.shorewall.net/" +license=('GPL') +source=(http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.6/$pkgname-$pkgver.tar.bz2 + http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.6/shorewall6-$pkgver.tar.bz2 + http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.6/shorewall-core-$pkgver.tar.bz2) +sha256sums=('6f20a5222f0ad4c0ca98da51f5df57ed2726685e8633924be0fd9f87a798c947' + '434892efd70190fa534c24bda9ae09ef529c5d66b2a719191601cb82edfa887b' + 'cde776137269f50b046057141c21388f0f487f262e4a35dfc9e4b4136092e4bd') + +build() { + for product in shorewall{,6,-core}; do + pushd "$srcdir/$product-$pkgver" + ./configure HOST=archlinux + popd + done +} + +package_shorewall() { + pkgdesc="An iptables-based firewall for Linux systems" + depends=('shorewall-core' 'perl') + backup=(etc/shorewall/{accounting,actions,blrules,clear,conntrack,ecn,findgw,hosts,init,initdone,interfaces,lib.private,maclist,mangle,masq,nat,netmap,params,policy,providers,proxyarp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones}) + + cd "$srcdir/$pkgname-$pkgver" + + do_install +} + +package_shorewall6() { + pkgdesc="An iptables-based firewall for Linux systems (with IPv6 support)" + depends=('shorewall') + backup=(etc/shorewall6/{accounting,actions,blrules,clear,conntrack,hosts,init,interfaces,maclist,mangle,masq,netmap,params,policy,providers,proxyndp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall6.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones}) + + cd "$srcdir/$pkgname-$pkgver" + + do_install 6 +} + +package_shorewall-core() { + pkgdesc="Core Shorewall libraries" + depends=('iptables' 'iproute2') + + cd "$srcdir/$pkgname-$pkgver" + + DESTDIR="$pkgdir" ./install.sh +} + +do_install() { + local _name_suffix=$1 + + sed -i -e 's|^MODULE_SUFFIX=ko$|&.gz|' \ + -e 's|/subsys||' \ + "configfiles/shorewall$_name_suffix.conf" + + DESTDIR="$pkgdir" ./install.sh + + install -d "$pkgdir/usr/share/doc/shorewall$_name_suffix/" + cp -r Samples$_name_suffix "$pkgdir/usr/share/doc/shorewall$_name_suffix/" + + chmod -R 644 "$pkgdir/etc/shorewall$_name_suffix/" + chmod 755 "$pkgdir/etc/shorewall$_name_suffix/" +} + +# vim:set ts=2 sw=2 et: