aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-20 19:48:30 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-21 07:03:50 +0000
commitf5baa62e30e62187451ef862d581f2cd59e73c02 (patch)
tree653936cf43194b843438b20c3938751267c0045f
parentfd520371b808f540edaa961143f62c9148c62267 (diff)
downloadaports-f5baa62e30e62187451ef862d581f2cd59e73c02.tar.gz
aports-f5baa62e30e62187451ef862d581f2cd59e73c02.tar.bz2
aports-f5baa62e30e62187451ef862d581f2cd59e73c02.tar.xz
main/libnetfilter_log: rebuild to depend on libnfnetlink via pc:
-rw-r--r--main/libnetfilter_log/APKBUILD34
1 files changed, 10 insertions, 24 deletions
diff --git a/main/libnetfilter_log/APKBUILD b/main/libnetfilter_log/APKBUILD
index 2e36e7ddaf..c27dc05508 100644
--- a/main/libnetfilter_log/APKBUILD
+++ b/main/libnetfilter_log/APKBUILD
@@ -3,56 +3,42 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=libnetfilter_log
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="interface to packets that have been logged by the kernel packet filter"
url="http://www.netfilter.org/projects/libnetfilter_log/"
arch="all"
license="GPL-2.0"
-depends=
depends_dev="linux-headers"
makedepends="$depends_dev libnfnetlink-dev"
subpackages="$pkgname-dev"
-source="https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2
+source="https://www.netfilter.org/projects/libnetfilter_log/files/libnetfilter_log-$pkgver.tar.bz2
sys-types.patch
sys-types2.patch
"
-_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
+ cd "$builddir"
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="2a4bb0654ae675a52d2e8d1c06090b94 libnetfilter_log-1.0.1.tar.bz2
-4a3b135f683291a9444082b151485591 sys-types.patch
-210445355fc1ff63d6558e8d643edfcc sys-types2.patch"
-sha256sums="74e0fe75753dba3ac114531b5e73240452c789a3f3adccf5c51217da1d933b21 libnetfilter_log-1.0.1.tar.bz2
-0adb7b8e3b68621de8809f56d811f7fa0276f468fa4c3cb501eb7dd9faf80182 sys-types.patch
-b78bc2ad8352bb2f925d41eb0c440bf6b4ef83a912f7ff07d44e30275e105042 sys-types2.patch"
sha512sums="4088b9bf055fb4cd5f2e201a46a00def7642116b5d1695a371936b7b45eb93877944456506b45761bf2f3f81b40c161c1ecdcfb90532009f073dac3cedc6f436 libnetfilter_log-1.0.1.tar.bz2
aa8b2502fd53bce2ffdb4607bcbb179b854d9544814eca43c5313392c39bf5f8abdc51e61629d26cce1df07b0499d793858020144eac6d4785ab96d59db8e364 sys-types.patch
b2c93fc854cd52040637164f422ac9bc6cdf22585c638b45f500c30c59925131ff874fdf3dc231d948adf12b45744809d6278a79abd4a2887aa5a7b5e8e4cc9d sys-types2.patch"