aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnetfilter_cthelper
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-03-29 04:28:15 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-09-04 23:57:48 +0000
commit9c15e0596ae3254d1b3f011c63d8d8a966ddc385 (patch)
treeb00f2e77969e944af1b515537f2da4ae9af7ce60 /main/libnetfilter_cthelper
parent1570226fe746ce5815ad6fe710907ee9247e0b7e (diff)
downloadaports-9c15e0596ae3254d1b3f011c63d8d8a966ddc385.tar.gz
aports-9c15e0596ae3254d1b3f011c63d8d8a966ddc385.tar.bz2
aports-9c15e0596ae3254d1b3f011c63d8d8a966ddc385.tar.xz
main/libnetfilter_*: update url
Diffstat (limited to 'main/libnetfilter_cthelper')
-rw-r--r--main/libnetfilter_cthelper/APKBUILD26
1 files changed, 7 insertions, 19 deletions
diff --git a/main/libnetfilter_cthelper/APKBUILD b/main/libnetfilter_cthelper/APKBUILD
index ba956bbb57..9c1ee5dbe5 100644
--- a/main/libnetfilter_cthelper/APKBUILD
+++ b/main/libnetfilter_cthelper/APKBUILD
@@ -1,31 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnetfilter_cthelper
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Netfilter netlink library for connection tracking helpers"
-url="http://www.netfilter.org/projects/libnetfilter_cthelper/index.html"
+url="https://www.netfilter.org/projects/libnetfilter_cthelper/"
arch="all"
license="GPL-2.0"
-depends=""
makedepends="linux-headers libmnl-dev"
-install=""
subpackages="$pkgname-dev"
source="https://www.netfilter.org/projects/libnetfilter_cthelper/files/libnetfilter_cthelper-$pkgver.tar.bz2"
-_builddir="$srcdir"/libnetfilter_cthelper-$pkgver
prepare() {
- local i
- 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
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,14 +23,12 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="f0372daee0edbf4c27ee80eadd4ce786a4b67b39c0b9d22e88bc9adcbdffd6676eb9df01b933ee64d2fcea9c05a9ca9070c94e907277d69acbd22ae9a3c74e45 libnetfilter_cthelper-1.0.0.tar.bz2"