aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-19 03:24:21 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-21 07:04:58 +0000
commitc88599220e0595ceb6135edb62ccfdddd88e28ea (patch)
tree2a7cf627350c1b0748c2deeb0ace4ec2b65f6ed2 /main
parentac77bc141ca53b65637887f20eaecba62f76da30 (diff)
downloadaports-c88599220e0595ceb6135edb62ccfdddd88e28ea.tar.bz2
aports-c88599220e0595ceb6135edb62ccfdddd88e28ea.tar.xz
main/conntrack-tools: upgrade to 1.4.5
Diffstat (limited to 'main')
-rw-r--r--main/conntrack-tools/APKBUILD41
1 files changed, 11 insertions, 30 deletions
diff --git a/main/conntrack-tools/APKBUILD b/main/conntrack-tools/APKBUILD
index 26ecdbf038..e94a8dcf37 100644
--- a/main/conntrack-tools/APKBUILD
+++ b/main/conntrack-tools/APKBUILD
@@ -1,48 +1,35 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conntrack-tools
-pkgver=1.4.4
+pkgver=1.4.5
pkgrel=0
pkgdesc="Connection tracking userspace tools"
url="http://conntrack-tools.netfilter.org"
arch="all"
license="GPL-2.0-or-later"
-subpackages="$pkgname-doc"
-depends=
+subpackages="$pkgname-doc $pkgname-openrc"
makedepends="linux-headers libnfnetlink-dev libnetfilter_conntrack-dev bison flex
libmnl-dev libnetfilter_cttimeout-dev libnetfilter_cthelper-dev
libnetfilter_queue-dev libtirpc-dev"
-source="https://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver.tar.bz2
+source="https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-$pkgver.tar.bz2
conntrackd.initd
conntrackd.confd
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
- export CFLAGS="$CFLAGS -D_GNU_SOURCE `pkgconf --cflags libtirpc`"
- export LDFLAGS="$LDFLAGS `pkgconf --libs libtirpc`"
+ cd "$builddir"
+ export CFLAGS="$CFLAGS -D_GNU_SOURCE $(pkgconf --cflags libtirpc)"
+ export LDFLAGS="$LDFLAGS $(pkgconf --libs libtirpc)"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
install -Dm755 ../conntrackd.initd "$pkgdir"/etc/init.d/conntrackd
install -Dm644 ../conntrackd.confd "$pkgdir"/etc/conf.d/conntrackd
@@ -50,12 +37,6 @@ package() {
"$pkgdir"/etc/conntrackd/conntrackd.conf
}
-md5sums="acd9e0b27cf16ae3092ba900e4d7560e conntrack-tools-1.4.4.tar.bz2
-30bafeed166c9af8f3f0e084984431b4 conntrackd.initd
-8ebf3838b69d20e6bb4a173844502039 conntrackd.confd"
-sha256sums="b7caf4fcc4c03575df57d25e5216584d597fd916c891f191dac616ce68bdba6c conntrack-tools-1.4.4.tar.bz2
-089fe7ceea1bb514f71ce8fa26a2fa82fc6246e8e4d1128df3ed8e1b6a9e84f4 conntrackd.initd
-6171121881f824bccc2709d6e74e2d5955391fbb9c591afcca741a3239fd3ed7 conntrackd.confd"
-sha512sums="f53bd620bfd4e854e792416527a3090d883c5f00d1d8365e52ce3ba204218dc431490703985d3fdae44decbcddb24ed610bf81a6a99bd7ea01482f95f71df0f5 conntrack-tools-1.4.4.tar.bz2
+sha512sums="480fe2cc4420bc8477a2ba67b3d052bcb39c6b3ec000cff27fc12db70b42ec94fa3b5fe12ee35d439e88d9a631a33cd12ae470b69dde6d371d4e53af62a2eed1 conntrack-tools-1.4.5.tar.bz2
1d8e6d6eec79233b276d12e78c5d184d356df85ede299bfa9f6967ace30987f3b2f8c8077a1e2f9123a817f2805fdb9bf8fa9ec441882a112d83cabf84932e16 conntrackd.initd
fd8cfab207867844db6671a8395efadca792d6085c3436381e574dc52f3b4e41d9526b3db6114dd98e534a5419ca19f291d21c091f8cf0426024d73d18133e6f conntrackd.confd"