summaryrefslogtreecommitdiff
path: root/net-libs/libnftnl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-03 04:43:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-03 04:43:49 +0100
commit9b22dab88308071d43d47cd078b37903900f47d3 (patch)
tree67e9a0a10dcdbe72770cc89ba63028a4a8efd711 /net-libs/libnftnl
parentf354cd2612137255e64a82b6578696697b0415b4 (diff)
gentoo auto-resync : 03:10:2024 - 04:43:49
Diffstat (limited to 'net-libs/libnftnl')
-rw-r--r--net-libs/libnftnl/Manifest3
-rw-r--r--net-libs/libnftnl/libnftnl-1.2.8.ebuild71
2 files changed, 74 insertions, 0 deletions
diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest
index ce180de0dcea..1d7ffe0006f2 100644
--- a/net-libs/libnftnl/Manifest
+++ b/net-libs/libnftnl/Manifest
@@ -2,8 +2,11 @@ DIST libnftnl-1.2.6.tar.xz 336684 BLAKE2B a08010b26db0c7a5429f33a92ca4f17e8e1580
DIST libnftnl-1.2.6.tar.xz.sig 566 BLAKE2B 8ad336d0d8c693beb6335e874ad62040257e0c4527f8acb32fcc8b4889eea88ba3a42c9b2b795db6f6e3d148066ee0a9217b1e30c7e784c793458dd480ee624a SHA512 61288aa03fb80d43d09866ce549815202f682b30b283cf3119ced0fe59536d10f1c029e433651d1cb31115e977b660886a153f3361f5cafdbb0ed6da602e5b2f
DIST libnftnl-1.2.7.tar.xz 343876 BLAKE2B 42decbfdfce07c4743e7a55cf3d5d03a244ab6ac5e0f33107322ab44edcc96d360ac02f0376786656a5f7d43986499474e20a5b835f838e06d12efb017dd8eb4 SHA512 24ff3e7e97f51cb5dfda2fbd2f5e175abcec0dd58f94936022800ec356ff004a531f0915df72278b867769ba71473d407b01d52cc33a3cafb043d9a90b051f9d
DIST libnftnl-1.2.7.tar.xz.sig 566 BLAKE2B ad79b0a149d37c0ae32bcf8c64b34e02146242ce731f6860bd8d63d90e96a58e04616d543783b8edc13a0f2ca6286c16c9d8b17c34d8e8920f680a17ee70bde0 SHA512 8bf9188a287850a5057be452541871af69187c4dacde580c57be15e7f3357ab4a874745f326880260e2c2b1486e59b684db41b0d8afd57bab9d77ad62ba052bd
+DIST libnftnl-1.2.8.tar.xz 343732 BLAKE2B 274fcdd9c7c0de173e9b2b35d79613e3f6f41d56a9223145d87f93d4f7c0bb085fd622581ecc69f248be4641874fd60b294ebf12cb4d4ed1ceea9b410ef70187 SHA512 c57030f34c50b09ae2fbf8dac5d9cf431eaaa5a5a08098e3e4c146a8bd4ae9b7753f5d2de5f2d0a6c15e5ba0c39f51275c9d8b03bdedeaadbafa6c96f9a972b6
+DIST libnftnl-1.2.8.tar.xz.sig 566 BLAKE2B 2c8eae671d41f84b1ded96f7dc98e214a240cc4025265e3008b986554c2d30d830c5f15c2e4b77d0a80d889cd7a0a85403c80bc905019734611baa25575b9daf SHA512 f56a5f049dab8397f4ff84070d782f17b701b46bd42c84cb3fb2b7241a7543f0b5f2877e7d6d95fb942f36119e54c939f89af964ea08858d2c41dc9fd7323b16
EBUILD libnftnl-1.2.6-r1.ebuild 1556 BLAKE2B 90973ac652e4d91cd124d79cb292388feb45100594a56a4e4f3c7a37b44ad8e3561847dffc044c19056e97862d630731b1739b30bb262772338bd22ae22711a3 SHA512 713ebaf3a02812a483502fe563f4a3c05cbc012b3a048bb7cc1225a43dc31ee92e76047c311586480b4e139abc0111e42b7f2f62e9d59db37a753fe600b11daa
EBUILD libnftnl-1.2.6.ebuild 1597 BLAKE2B 46322df3e8858340d9bace49d376f96bb1730f15bbcc41a7ccf9d0e244b501c591f06c426b293a5bede1c474da1360d561bb6af76861e57a6cd3bb0b2044323a SHA512 bb61baa34478c799fe53ef6b51716c204ba569e37b459a218bb3148fccd05a40484cdb6e098fdb05b24bb6661d2aa3ed6541da30a97a0e925751efdd9f47da51
EBUILD libnftnl-1.2.7.ebuild 1557 BLAKE2B 0b92b14cc3b782aeeb50e0778df329c41e6d053bec087e0322014b28d88057dd27b8876aa044d9e0a9e5f4e8a44476d6f96911b25b38d8dc366734992c2ead69 SHA512 4ed3530bee18d214762e4547aae1d6969016379d0f307849e1496ca7cc8250370f7f7cf043abbd473ec141b91cdafcefe49c559703007e9abb3520899550995c
+EBUILD libnftnl-1.2.8.ebuild 1564 BLAKE2B d2bc07055b525f502f44e11184ce599aa985ad0760671a916771992a739229c388f0c4a1d3adc714bf81bce03d95221cec568795464fde3c31905ee9703c0413 SHA512 7715f480f3e63eaa6ee72c5edc9d919634ae4e094c601b6b57fd96da60174195074a3486eae1432af7170cdf4bf5f50b6f4cf926d545a00f127b66ec7285356a
EBUILD libnftnl-9999.ebuild 1564 BLAKE2B d2bc07055b525f502f44e11184ce599aa985ad0760671a916771992a739229c388f0c4a1d3adc714bf81bce03d95221cec568795464fde3c31905ee9703c0413 SHA512 7715f480f3e63eaa6ee72c5edc9d919634ae4e094c601b6b57fd96da60174195074a3486eae1432af7170cdf4bf5f50b6f4cf926d545a00f127b66ec7285356a
MISC metadata.xml 338 BLAKE2B fc63cdfa0a08b5933c6606290f44c4aee56f65224222425b6bf3b1c88427d17b5222a31126c38b326bbf8095786cacce65121103fcd45ce27aa16f9bde979a82 SHA512 1875b393684566e8dee08cfaa9fb0f19196121e500bab6deef6895784d33cdf2e2a7a96469ae57a02654f7dbc22e8af03b15f5a8a3dd840743ef077dc68edc71
diff --git a/net-libs/libnftnl/libnftnl-1.2.8.ebuild b/net-libs/libnftnl/libnftnl-1.2.8.ebuild
new file mode 100644
index 000000000000..9356110ea5bb
--- /dev/null
+++ b/net-libs/libnftnl/libnftnl-1.2.8.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
+inherit linux-info verify-sig
+
+DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+else
+ SRC_URI="
+ https://netfilter.org/projects/${PN}/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.xz.sig )
+ "
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/11" # libnftnl.so version
+IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:=
+"
+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_prepare() {
+ default
+
+ [[ ${PV} =~ ^[9]{4,}$ ]] && eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ 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
+}