Date: Wednesday, December 5, 2018 @ 18:45:20 Author: foutrelis Revision: 411572
archrelease: copy trunk to community-any Added: shorewall/repos/community-any/PKGBUILD (from rev 411571, shorewall/trunk/PKGBUILD) Deleted: shorewall/repos/community-any/PKGBUILD ----------+ PKGBUILD | 156 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-05 18:45:14 UTC (rev 411571) +++ PKGBUILD 2018-12-05 18:45:20 UTC (rev 411572) @@ -1,78 +0,0 @@ -# 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=5.2.1.1 -pkgrel=1 -_v1=$(expr $pkgver : '\([0-9]\+\(\.[0-9]\+\)\{1\}\)') # 5.x -_v2=$(expr $pkgver : '\([0-9]\+\(\.[0-9]\+\)\{2\}\)') # 5.x.x -arch=('any') -url="http://www.shorewall.net/" -license=('GPL') -source=(http://www.shorewall.net/pub/$pkgname/$_v1/$pkgname-$_v2/$pkgname-$pkgver.tar.bz2{,.asc} - http://www.shorewall.net/pub/$pkgname/$_v1/$pkgname-$_v2/shorewall6-$pkgver.tar.bz2{,.asc} - http://www.shorewall.net/pub/$pkgname/$_v1/$pkgname-$_v2/shorewall-core-$pkgver.tar.bz2{,.asc}) -sha256sums=('6ce8c126155ab2615ffe97d0164cd12db7b523f8a83c182ee50c7b0494f161de' - 'SKIP' - '019bcb0f2fe2c10cb7b35e0e165abd61dd7214ea07d0d49a29f7b998a4fa99d8' - 'SKIP' - '7c3c3bbed2adacfda91c9eb1b226be8fb9cd32dc8231153ef1ea944528338a36' - 'SKIP') -validpgpkeys=('7BDE11F3F2B42E2E52828F8AE368BD09153D38B1') - -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,arprules,blrules,clear,conntrack,ecn,findgw,hosts,init,initdone,interfaces,lib.private,maclist,mangle,nat,netmap,params,policy,providers,proxyarp,refresh,refreshed,restored,routes,rtrules,rules,scfilter,secmarks,shorewall.conf,snat,start,started,stop,stopped,stoppedrules,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,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,findgw,hosts,init,interfaces,lib.private,maclist,mangle,nat,netmap,params,policy,providers,proxyndp,refresh,refreshed,restored,routes,rtrules,rules,scfilter,secmarks,shorewall6.conf,snat,start,started,stop,stopped,stoppedrules,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,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 411571, shorewall/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-05 18:45:20 UTC (rev 411572) @@ -0,0 +1,78 @@ +# 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=5.2.1.2 +pkgrel=1 +_v1=$(expr $pkgver : '\([0-9]\+\(\.[0-9]\+\)\{1\}\)') # 5.x +_v2=$(expr $pkgver : '\([0-9]\+\(\.[0-9]\+\)\{2\}\)') # 5.x.x +arch=('any') +url="http://www.shorewall.net/" +license=('GPL') +source=(http://www.shorewall.net/pub/$pkgname/$_v1/$pkgname-$_v2/$pkgname-$pkgver.tar.bz2{,.asc} + http://www.shorewall.net/pub/$pkgname/$_v1/$pkgname-$_v2/shorewall6-$pkgver.tar.bz2{,.asc} + http://www.shorewall.net/pub/$pkgname/$_v1/$pkgname-$_v2/shorewall-core-$pkgver.tar.bz2{,.asc}) +sha256sums=('07a914270d169261deff6cc835a031ec187de2575c5476e3bd55224a4855fc64' + 'SKIP' + '4f6fc8e9a3494ee6b67ee47e327fccfb8e56b392ea9f7f65344d1b8adaa38018' + 'SKIP' + 'f84852b86c82487f270172f2d00d13b83255dc05eee9be1e8b76fe7b600021b5' + 'SKIP') +validpgpkeys=('7BDE11F3F2B42E2E52828F8AE368BD09153D38B1') + +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,arprules,blrules,clear,conntrack,ecn,findgw,hosts,init,initdone,interfaces,lib.private,maclist,mangle,nat,netmap,params,policy,providers,proxyarp,refresh,refreshed,restored,routes,rtrules,rules,scfilter,secmarks,shorewall.conf,snat,start,started,stop,stopped,stoppedrules,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,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,findgw,hosts,init,interfaces,lib.private,maclist,mangle,nat,netmap,params,policy,providers,proxyndp,refresh,refreshed,restored,routes,rtrules,rules,scfilter,secmarks,shorewall6.conf,snat,start,started,stop,stopped,stoppedrules,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,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: