aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-20 09:39:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-20 09:39:56 +0000
commit0b3e8366244449fb1c4431128ad0e0d59f96973a (patch)
tree28d08278acb8fa951c4b7f89135bd85e903175b9 /main/xtables-addons
parente89adc0e12079d53db64428458f1047a15bab9a6 (diff)
downloadaports-0b3e8366244449fb1c4431128ad0e0d59f96973a.tar.bz2
aports-0b3e8366244449fb1c4431128ad0e0d59f96973a.tar.xz
main/xtables-addons: upgrade to 1.20
Diffstat (limited to 'main/xtables-addons')
-rw-r--r--main/xtables-addons/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD
index 1196e3efcb..94645333fb 100644
--- a/main/xtables-addons/APKBUILD
+++ b/main/xtables-addons/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xtables-addons
-pkgver=1.17
-pkgrel=1
+pkgver=1.20
+pkgrel=0
pkgdesc="Netfilter userspace extensions for iptables"
url="http://xtables-addons.sourceforge.net/"
license="GPL"
-depends="iptables"
+depends=
makedepends="iptables-dev pkgconfig bash"
install=
subpackages="$pkgname-doc"
@@ -13,16 +13,17 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
+
./configure --prefix=/usr \
--mandir=/usr/share/man \
--without-kbuild
- # we dont want to build or install modules. We hack the makefile
- sed -i -e '/^all:/s/modules//; /^install:/s/modules_install//' \
- extensions/GNUmakefile
+ make CC="${CC-gcc}" kbuilddir=
+}
- make CC="${CC-gcc}" || return 1
- make DESTDIR="$pkgdir" install
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make builddir= DESTDIR="$pkgdir" install
}
-md5sums="eca2e3f4f4904814e3a301539876fae6 xtables-addons-1.17.tar.bz2"
+md5sums="d5f8281af22f5e32bb8010f99f1ab44b xtables-addons-1.20.tar.bz2"