summaryrefslogtreecommitdiff
path: root/net-libs/libnftnl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:28:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:28:05 +0100
commitf1af93971b7490792d8541bc790e0d8c6d787059 (patch)
treea38046712bbc3a3844d77452d16c84e716caa3d4 /net-libs/libnftnl
parentfc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff)
gentoo resync : 06.08.2019
Diffstat (limited to 'net-libs/libnftnl')
-rw-r--r--net-libs/libnftnl/Manifest4
-rw-r--r--net-libs/libnftnl/libnftnl-1.1.3.ebuild2
-rw-r--r--net-libs/libnftnl/libnftnl-1.1.4.ebuild47
3 files changed, 51 insertions, 2 deletions
diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest
index 2176c5569ea7..ead5db3afcfd 100644
--- a/net-libs/libnftnl/Manifest
+++ b/net-libs/libnftnl/Manifest
@@ -1,3 +1,5 @@
DIST libnftnl-1.1.3.tar.bz2 366521 BLAKE2B 9a46a46b68fd6d3e0ffc3d28713ee9a70017dd4d05763a49a655f172ae77928d9b54554e7609851f3a18e9465c53f53c1828311162013bc067493e4e02ff3fb8 SHA512 3fb96ea1a8bc9eb00fa2cf79f64cc9613250e8b97de6e90e440c7c44e92789e7c7fd603b7347bb02d9d74af725cf8fde5d2e435c5ffdcb784316c67b83ddf0fe
-EBUILD libnftnl-1.1.3.ebuild 1164 BLAKE2B dc02a9509e9ccafa71367c221dadf10fd26b60110fe8eb86ea8f635f52ebcd12631fe875641be64707112a7ab59d43be15f55bb9c2e8578e216bd1478dd20022 SHA512 9b243c291ff51787ec8216701a5ec035fc08f0fb9691c2f2388d86fc539589a37ce52f73b6c5b2c9cd14cd02bc135dd44c96d13ecddbb7f7a7dd6ca6876e0d6f
+DIST libnftnl-1.1.4.tar.bz2 368262 BLAKE2B e5f396b582221b9f9a7d3303d65548e3597474b1cedf931728f3105b04a851eeeeff98fd2a49772f29849a9094c2e0cfef7d500050e8f205565e8dfd1ec7a49d SHA512 6fe248b1340decc1ec8ae40dd0ed60b8d4b819c2f36f2399d39e13e92fc5e6f6ec693b736d6c188bff954afb2bf2dbce67d54a9e664b45f43288b2c5c6cc08f6
+EBUILD libnftnl-1.1.3.ebuild 1163 BLAKE2B aa2bff82edec4ab5e098022db9d9b609cc699674746a88ef6a0f43f60c3b89d957656fd8eca09e12a67885f65fe92d994b708adb747e880de4d9bd735133f849 SHA512 54d1af11abc80e4f39ffb8535957e3a1f9c6b8a90b811979e0c16dbbe4456d3ecf173fb513b7df4d90d38721aa0032379a888e190c5ab53133867ff8adfcf493
+EBUILD libnftnl-1.1.4.ebuild 1172 BLAKE2B 5478337523c2fd1823de78bb5468c4d8d3d3e08836b8233a029eecb793bf0d9ab9b6cac4cf92da9cb6368573ef27aafad436dbd3da8558419291a2291345c820 SHA512 9001a1cb38f4b670afda7432c0315ee5539d9131b4f15c98b23694700c5e950174e7fac29fcc6c298b9fa4c284d58db0736ddb26121e7b5860fd94c6e6351406
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/net-libs/libnftnl/libnftnl-1.1.3.ebuild b/net-libs/libnftnl/libnftnl-1.1.3.ebuild
index 0be1b2401e8a..713abb6f662c 100644
--- a/net-libs/libnftnl/libnftnl-1.1.3.ebuild
+++ b/net-libs/libnftnl/libnftnl-1.1.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0/11" # libnftnl.so version
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv sparc x86"
IUSE="examples static-libs test"
RDEPEND=">=net-libs/libmnl-1.0.3"
diff --git a/net-libs/libnftnl/libnftnl-1.1.4.ebuild b/net-libs/libnftnl/libnftnl-1.1.4.ebuild
new file mode 100644
index 000000000000..c7dd0aecc739
--- /dev/null
+++ b/net-libs/libnftnl/libnftnl-1.1.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info toolchain-funcs usr-ldscript
+
+DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/11" # libnftnl.so version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples static-libs test"
+
+RDEPEND=">=net-libs/libmnl-1.0.3"
+BDEPEND="virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ gen_usr_ldscript -a nftnl
+ find "${ED}" -type f -name '*.la' -delete || die
+
+ if use examples; then
+ find examples/ -name 'Makefile*' -delete || die "Could not rm examples"
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}