Date: Thursday, September 18, 2014 @ 05:00:47 Author: foutrelis Revision: 119145
archrelease: copy trunk to community-any Added: shorewall/repos/community-any/PKGBUILD (from rev 119144, shorewall/trunk/PKGBUILD) Deleted: shorewall/repos/community-any/PKGBUILD ----------+ PKGBUILD | 156 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-09-18 03:00:34 UTC (rev 119144) +++ PKGBUILD 2014-09-18 03:00:47 UTC (rev 119145) @@ -1,78 +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.3.3 -pkgrel=1 -arch=('any') -url="http://www.shorewall.net/" -license=('GPL') -source=(http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.3/$pkgname-$pkgver.tar.bz2 - http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.3/shorewall6-$pkgver.tar.bz2 - http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.3/shorewall-core-$pkgver.tar.bz2) -sha256sums=('309c139e2f77fd9309647b131dd890ae9556d29977af5e70ba2a842f209bb57a' - '99b48e6a2352a753bdea765a53c968c393991c39d088e563a8670a2c096328ba' - 'b349329450ed6567832a659de39c55c41c9726d86e77044d95f8807a637769f0') - -build() { - for product in shorewall{,6,-core}; do - pushd "$srcdir/$product-$pkgver" - ./configure HOST=archlinux SBINDIR=/usr/bin - 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/" - chmod 644 "$pkgdir/usr/share/shorewall$_name_suffix/modules" - chmod 644 "$pkgdir/usr/share/shorewall$_name_suffix/helpers" - - # Fix systemd service file permissions - chmod 644 "$pkgdir/usr/lib/systemd/system/shorewall$_name_suffix.service" -} - -# vim:set ts=2 sw=2 et: Copied: shorewall/repos/community-any/PKGBUILD (from rev 119144, shorewall/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-09-18 03:00:47 UTC (rev 119145) @@ -0,0 +1,78 @@ +# $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.3.4 +pkgrel=1 +arch=('any') +url="http://www.shorewall.net/" +license=('GPL') +source=(http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.3/$pkgname-$pkgver.tar.bz2 + http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.3/shorewall6-$pkgver.tar.bz2 + http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.3/shorewall-core-$pkgver.tar.bz2) +sha256sums=('5b011373cfe60162ca1be1c5ea3d1cb9fe6cf84cce4a3618b9dad67c28de4bbb' + 'ce05d44a3d67b2a811ad9b9e585cbd58411fe6feb57cc0060685c52c77b2f11b' + 'c1666a8b90faccb37400d79ce6590003b1d6aa94b9d8d9077687b700101a0313') + +build() { + for product in shorewall{,6,-core}; do + pushd "$srcdir/$product-$pkgver" + ./configure HOST=archlinux SBINDIR=/usr/bin + 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/" + chmod 644 "$pkgdir/usr/share/shorewall$_name_suffix/modules" + chmod 644 "$pkgdir/usr/share/shorewall$_name_suffix/helpers" + + # Fix systemd service file permissions + chmod 644 "$pkgdir/usr/lib/systemd/system/shorewall$_name_suffix.service" +} + +# vim:set ts=2 sw=2 et: