diff --git a/common/shlibs b/common/shlibs index 16dbb80884f..bcaa2e9c58a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2908,6 +2908,7 @@ libbaccats-sqlite3-9.0.4.so bacula-common-9.0.4_1 libbaccats-postgresql-9.0.4.so bacula-common-postgresql-9.0.4_1 libbaccats-mysql-9.0.4.so bacula-common-mariadb-9.0.4_1 bpipe-fd.so bacula-fd-9.0.4_1 +libnftables.so.0 libnftables-0.8.4_1 libsuperlu.so.5 superlu-5.2.1_1 libgosu.so.0 gosu-0.12.0_1 libyara.so.3 libyara-3.5.0_1 diff --git a/srcpkgs/libnftables b/srcpkgs/libnftables new file mode 120000 index 00000000000..bf1c9d6f612 --- /dev/null +++ b/srcpkgs/libnftables @@ -0,0 +1 @@ +nftables \ No newline at end of file diff --git a/srcpkgs/libnftables-devel b/srcpkgs/libnftables-devel new file mode 120000 index 00000000000..bf1c9d6f612 --- /dev/null +++ b/srcpkgs/libnftables-devel @@ -0,0 +1 @@ +nftables \ No newline at end of file diff --git a/srcpkgs/nftables/template b/srcpkgs/nftables/template index 95af1b93d99..6ab4afce0d2 100644 --- a/srcpkgs/nftables/template +++ b/srcpkgs/nftables/template @@ -1,21 +1,35 @@ # Template file for 'nftables' pkgname=nftables -version=0.8.3 +version=0.8.4 revision=1 build_style=gnu-configure configure_args="--sbindir=/usr/bin CONFIG_MAN=y DB2MAN=docbook2man" -hostmakedepends="pkg-config docbook2x flex bison" -makedepends="libnftnl-devel libmnl-devel gmp-devel readline-devel" +hostmakedepends="docbook2x flex pkg-config" +makedepends="gmp-devel libmnl-devel libnftnl-devel readline-devel" short_desc="Netfilter nftables userspace tools" maintainer="Leah Neukirchen " -license="GPL-2" +license="GPL-2.0-only" homepage="http://netfilter.org/projects/nftables/" distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2" -checksum=d16be1f5db88e95d29fc0b0e4df88acd079f3ee8e2b872ec7673f9a0d5d95e38 +checksum=ef372ee4592b07852f4cac233584ead7cbd08fa3041b2d3ff3d3590c8d76769f -post_extract() { - sed -i '1i#include "config.h"' src/proto.c -} post_install() { - vsv $pkgname + vsv nftables +} + +libnftables_package() { + short_desc+=" - runtime libraries" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libnftables-devel_package() { + depends="libnftables-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } }