aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-iptables-chainmgr
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-12-06 05:29:54 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-12-07 01:14:25 +0100
commit8c6827257423430587a83c544f22abd2f3b62782 (patch)
tree35c9a393afbd646cf3258871d5f9357623d804e4 /community/perl-iptables-chainmgr
parent3ea07b619d142914eea67714603e93a32768dd77 (diff)
downloadaports-8c6827257423430587a83c544f22abd2f3b62782.tar.gz
aports-8c6827257423430587a83c544f22abd2f3b62782.tar.bz2
aports-8c6827257423430587a83c544f22abd2f3b62782.tar.xz
community/perl-iptables-chainmgr: update to 1.6
Diffstat (limited to 'community/perl-iptables-chainmgr')
-rw-r--r--community/perl-iptables-chainmgr/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/community/perl-iptables-chainmgr/APKBUILD b/community/perl-iptables-chainmgr/APKBUILD
index a9fd5f0565..c00b5c166a 100644
--- a/community/perl-iptables-chainmgr/APKBUILD
+++ b/community/perl-iptables-chainmgr/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-iptables-chainmgr
_pkgreal=IPTables-ChainMgr
-pkgver=1.5
+pkgver=1.6
pkgrel=0
pkgdesc="Perl extension for manipulating iptables and ip6tables policies"
url="http://search.cpan.org/dist/IPTables-ChainMgr/"
@@ -15,27 +15,26 @@ depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MR/MRASH/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="21847466a9e83e3bdfd4ee2263dd6517 IPTables-ChainMgr-1.5.tar.gz"
-sha256sums="e0b2c58d95628f99a60234ab8148d72b3b4fbcb570c4997d905b8069bbfcdb59 IPTables-ChainMgr-1.5.tar.gz"
-sha512sums="e4232cad998750397cc4104138883a8e603a0e63a065be6a0245101fe851dbabce53808ed01c200c0f8e720a90788037aeb0f11b8065cd8db0f5aef419e6a184 IPTables-ChainMgr-1.5.tar.gz"
+md5sums="d1e6feb17d85784896f39cc21f730311 IPTables-ChainMgr-1.6.tar.gz"
+sha256sums="958d7961640e9d70f714a72877f7eb32d5a8628591a790a6ccef96f2d84fb8c3 IPTables-ChainMgr-1.6.tar.gz"
+sha512sums="771fab2f2b8383d22f335d34b38a1b2f7deb5a10841ed005609dbe785197eff0c8be4ba4c595495525a341786a0d2173cafeb4ab6aa100582007c77bd2651c09 IPTables-ChainMgr-1.6.tar.gz"