summaryrefslogtreecommitdiff
path: root/net-libs/libnftnl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /net-libs/libnftnl
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'net-libs/libnftnl')
-rw-r--r--net-libs/libnftnl/Manifest6
-rw-r--r--net-libs/libnftnl/libnftnl-1.1.3.ebuild2
-rw-r--r--net-libs/libnftnl/libnftnl-1.1.4.ebuild2
-rw-r--r--net-libs/libnftnl/libnftnl-1.1.5.ebuild49
4 files changed, 57 insertions, 2 deletions
diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest
index ead5db3afcfd..78bd9af08a91 100644
--- a/net-libs/libnftnl/Manifest
+++ b/net-libs/libnftnl/Manifest
@@ -1,5 +1,7 @@
DIST libnftnl-1.1.3.tar.bz2 366521 BLAKE2B 9a46a46b68fd6d3e0ffc3d28713ee9a70017dd4d05763a49a655f172ae77928d9b54554e7609851f3a18e9465c53f53c1828311162013bc067493e4e02ff3fb8 SHA512 3fb96ea1a8bc9eb00fa2cf79f64cc9613250e8b97de6e90e440c7c44e92789e7c7fd603b7347bb02d9d74af725cf8fde5d2e435c5ffdcb784316c67b83ddf0fe
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
+DIST libnftnl-1.1.5.tar.bz2 373930 BLAKE2B cfd06084fb7de5dd6120a22faa43ac578f170e5209564579ff26bdf49e2b70b5b3944275861e32fcc7f6f2bb1d9f43bf51157665d0d5faea259e14cf930030c0 SHA512 a0495e1a99ea9efcf3994db48e50943023ff3d8101055887574ff4eb6b0df8600cf7db68a9c91ca02bbbcc1f01099b008649f88321bb956897bcc90eb4167ee7
+EBUILD libnftnl-1.1.3.ebuild 1191 BLAKE2B a95ebfa37d23c20e23d978f2cbb90629c4f0b525134e47106a3cf9c5a80de7b6bc924cdbc76f1b7ba532cc0fde5c56820a25ef36be5c63f235ac301bb6dcfed5 SHA512 d076046e9809dd532d7903b6b55f9958ed98cfe0139f1d11f29d4b4187161923d148b9280ebf3bc03a6505bca46b6d2e3d34c499315f44345e2bad4d4055a364
+EBUILD libnftnl-1.1.4.ebuild 1200 BLAKE2B 10bc5492908945a9ef24ca430e528a18bd485c4a584414b5d001865ad3cb37d705be9c3772a451593a362a1fe8ea2915ce2e96153cd6031cb1b29589dabf85ed SHA512 0bdbdc05baa72d840d135c8bb628f576cc747b1140111e4568a97c0cad4fa79686fc6700d418b4091e3d0df289d73b3332b403066e8e8eb770f2187f5c37677a
+EBUILD libnftnl-1.1.5.ebuild 1200 BLAKE2B 10bc5492908945a9ef24ca430e528a18bd485c4a584414b5d001865ad3cb37d705be9c3772a451593a362a1fe8ea2915ce2e96153cd6031cb1b29589dabf85ed SHA512 0bdbdc05baa72d840d135c8bb628f576cc747b1140111e4568a97c0cad4fa79686fc6700d418b4091e3d0df289d73b3332b403066e8e8eb770f2187f5c37677a
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 713abb6f662c..985d410c3a6c 100644
--- a/net-libs/libnftnl/libnftnl-1.1.3.ebuild
+++ b/net-libs/libnftnl/libnftnl-1.1.3.ebuild
@@ -14,6 +14,8 @@ SLOT="0/11" # libnftnl.so version
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv sparc x86"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
+
RDEPEND=">=net-libs/libmnl-1.0.3"
BDEPEND="virtual/pkgconfig"
DEPEND="${RDEPEND}"
diff --git a/net-libs/libnftnl/libnftnl-1.1.4.ebuild b/net-libs/libnftnl/libnftnl-1.1.4.ebuild
index c7dd0aecc739..ce7a01b0ab8a 100644
--- a/net-libs/libnftnl/libnftnl-1.1.4.ebuild
+++ b/net-libs/libnftnl/libnftnl-1.1.4.ebuild
@@ -14,6 +14,8 @@ SLOT="0/11" # libnftnl.so version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
+
RDEPEND=">=net-libs/libmnl-1.0.3"
BDEPEND="virtual/pkgconfig"
DEPEND="${RDEPEND}"
diff --git a/net-libs/libnftnl/libnftnl-1.1.5.ebuild b/net-libs/libnftnl/libnftnl-1.1.5.ebuild
new file mode 100644
index 000000000000..ce7a01b0ab8a
--- /dev/null
+++ b/net-libs/libnftnl/libnftnl-1.1.5.ebuild
@@ -0,0 +1,49 @@
+# 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"
+
+RESTRICT="!test? ( 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
+}