diff options
author | Sam James <sam@gentoo.org> | 2024-10-11 03:37:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-11 03:37:12 +0100 |
commit | 3e4d6f0f0eaabde8247cd1e095034cf8a5f17888 (patch) | |
tree | c698f6159858bad8dcb3ae1d52710c16b5f2df4e /net-libs | |
parent | sys-devel/gcc: add 12.4.1_p20241010 (diff) | |
download | gentoo-3e4d6f0f0eaabde8247cd1e095034cf8a5f17888.tar.gz gentoo-3e4d6f0f0eaabde8247cd1e095034cf8a5f17888.tar.bz2 gentoo-3e4d6f0f0eaabde8247cd1e095034cf8a5f17888.zip |
net-libs/libnetfilter_conntrack: add 1.1.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnetfilter_conntrack/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.1.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/net-libs/libnetfilter_conntrack/Manifest b/net-libs/libnetfilter_conntrack/Manifest index b0f443c532cf..5e9abfb7ca4d 100644 --- a/net-libs/libnetfilter_conntrack/Manifest +++ b/net-libs/libnetfilter_conntrack/Manifest @@ -1,2 +1,4 @@ DIST libnetfilter_conntrack-1.0.9.tar.bz2 373177 BLAKE2B 701393338a0bf852b97d80a1e4ab078dea741f7181246b3dafcbe8cff287b5b9fae72c1c50867ea71baab83fa842471b2c7054fb4702bf35900a352078de8f3a SHA512 e8b03425aaba3b72e6034c215656c34176d0550c08e0455aaeb1365d9141505d0c4feaa8978c8ccf2b7af9db6c9e874ceb866347e533b41cb03a189884f4004c DIST libnetfilter_conntrack-1.0.9.tar.bz2.sig 566 BLAKE2B 0f80f00858093ed5e9aac190fbb1ac5ac1dde60e6767b65adda49ed79fb7fb6cc7caea51793d8930a927d9b7a75d263851dd5741d6d408a8b56d3ea5b73da20e SHA512 83ed38f68bd38cf70d9c245a7f17373751ff9099ceff3066812b282b7426edf2eee79da8f5aea896b119327059008ff4a531b3dfdcd79d49944bea4079e67e1f +DIST libnetfilter_conntrack-1.1.0.tar.xz 340332 BLAKE2B e1f8342b4edcbd81ab9995c9ac37818006c710f890b85120e5225936163d8ac24b5a487b468cb9f98cf3c86ab3534e1a9fc866b06633c82eb9bd81d0caf2ffa1 SHA512 5435f45b61e4e13b63b4a39f0c34fb0b59d2eed1e5dc182bc91369b72df54f5a555c111223f4f4a786a2c47dd5c6efd97205b8dca2f522e28d9d54035f928882 +DIST libnetfilter_conntrack-1.1.0.tar.xz.sig 566 BLAKE2B ed377a2e9cf3a02f47f79c0066b333ccea6eb7fe826cd37b4b0f6d57224d62ba131157016d984ccab6b02be654c47a12b04bce0c2e7de3f935f483b1ae388dea SHA512 b3125d49976d2475e942f74bb3e57632b6643af6f65ea394a71d091759723d4f1220c6cd6116a7820e2c91069883898ad84e9c77355328e71b47906db8501cbe diff --git a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.1.0.ebuild b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.1.0.ebuild new file mode 100644 index 000000000000..59cb76336eb4 --- /dev/null +++ b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.1.0.ebuild @@ -0,0 +1,51 @@ +# 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="Programming interface (API) to the in-kernel connection tracking state table" +HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_conntrack/" +SRC_URI=" + https://www.netfilter.org/projects/${PN}/files/${P}.tar.xz + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.xz.sig ) +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=net-libs/libmnl-1.0.3 + >=net-libs/libnfnetlink-1.0.0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter ) +" + +pkg_setup() { + linux-info_pkg_setup + + if kernel_is lt 2 6 18 ; then + die "${PN} requires at least 2.6.18 kernel version" + fi + + # netfilter core team has changed some option names with kernel 2.6.20 + if kernel_is lt 2 6 20 ; then + CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK" + else + CONFIG_CHECK="~NF_CT_NETLINK" + fi + + check_extra_config +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |