Date: Monday, January 12, 2015 @ 03:39:29 Author: foutrelis Revision: 125784
archrelease: copy trunk to community-any Added: shorewall/repos/community-any/PKGBUILD (from rev 125783, shorewall/trunk/PKGBUILD) Deleted: shorewall/repos/community-any/PKGBUILD ----------+ PKGBUILD | 146 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-01-12 02:39:18 UTC (rev 125783) +++ PKGBUILD 2015-01-12 02:39:29 UTC (rev 125784) @@ -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.4 -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=('cfde438321efa644029c6cd0add081fc9ae4b6d3957f97746008547a911aa135' - '8e57e664ca43df0cf738dd7733e3d33dbab75f7ac82b75daf6e0f5e8fb0d863e' - 'ad66e91aae744dc5172b21e2b511b7b6467a67b62bfd9044694f39773d31a52c') - -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 125783, shorewall/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-01-12 02:39:29 UTC (rev 125784) @@ -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.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: