aboutsummaryrefslogtreecommitdiffstats
path: root/main/conntrack-tools
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-30 12:50:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-30 12:50:03 +0000
commit40f05d2b70a1acdb39b5e1c3613aee07b7e084c3 (patch)
tree16242d07fadf9ff4ca3a4ca151ec56fed499047f /main/conntrack-tools
parentbc33cfeb54274768e7f7d947cade4f0c2aefe0c2 (diff)
downloadaports-40f05d2b70a1acdb39b5e1c3613aee07b7e084c3.tar.bz2
aports-40f05d2b70a1acdb39b5e1c3613aee07b7e084c3.tar.xz
main/conntrack-tools: upgrade to 1.0.0
Diffstat (limited to 'main/conntrack-tools')
-rw-r--r--main/conntrack-tools/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/conntrack-tools/APKBUILD b/main/conntrack-tools/APKBUILD
index 5d9c445e5c..0d6d3d8b4e 100644
--- a/main/conntrack-tools/APKBUILD
+++ b/main/conntrack-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conntrack-tools
-pkgver=0.9.13
-pkgrel=3
+pkgver=1.0.0
+pkgrel=0
pkgdesc="Connection tracking userspace tools"
url="http://conntrack-tools.netfilter.org"
arch="all"
@@ -14,16 +14,21 @@ source="http://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver
conntrackd.confd
"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm755 ../conntrackd.initd "$pkgdir"/etc/init.d/conntrackd
install -Dm644 ../conntrackd.confd "$pkgdir"/etc/conf.d/conntrackd
install -Dm644 doc/stats/conntrackd.conf "$pkgdir"/etc/conntrackd
}
-md5sums="bd0e2149a1626071db83c4f9714e0556 conntrack-tools-0.9.13.tar.bz2
+md5sums="5add24d4761baf17af630d5627a71752 conntrack-tools-1.0.0.tar.bz2
a97e0b7f1339d93caf929fb4767141e1 conntrackd.initd
8ebf3838b69d20e6bb4a173844502039 conntrackd.confd"