nftables: update to 1.0.8.

This commit is contained in:
Leah Neukirchen 2023-07-20 16:16:52 +02:00
parent a79bc76994
commit 6b2f93b68c
2 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,14 @@
Else setuptools installs an .egg directory, this way it installs
nftables/ and nftables-*-egg.info/
--- a/py/Makefile.am
+++ b/py/Makefile.am
@@ -7,7 +7,7 @@
install-exec-local:
cd $(srcdir) && \
$(PYTHON_BIN) setup.py build --build-base $(abs_builddir) \
- install --prefix $(DESTDIR)$(prefix)
+ install --prefix $(prefix) --root $(DESTDIR)
uninstall-local:
rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/nftables

View File

@ -1,18 +1,19 @@
# Template file for 'nftables'
pkgname=nftables
version=1.0.7
version=1.0.8
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --with-json
--with-python-bin=/bin/python3 --with-cli=readline"
hostmakedepends="python3 asciidoc docbook2x flex pkg-config automake libtool"
hostmakedepends="asciidoc automake docbook2x flex libtool pkg-config
python3 python3-setuptools"
makedepends="gmp-devel jansson-devel libmnl-devel libnftnl-devel readline-devel"
short_desc="Netfilter nftables userspace tools"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://netfilter.org/projects/nftables/"
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.xz"
checksum=c12ac941fff9adaedf17367d5ce213789b98a0d314277bc22b3d71e10891f412
checksum=9373740de41a82dbc98818e0a46a073faeb8a8d0689fa4fa1a74399c32bf3d50
post_extract() {
autoreconf -fi