diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-10 12:20:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-10 12:20:34 +0000 |
commit | 79e2fe7ce5d8192f7ddc9f57d4fb11bd1231f041 (patch) | |
tree | 214e48e63c0393badb2c99be0bc323c046ee2a25 /net-libs | |
parent | 30f491533785a455cdfbd05bb57f1f869a8e41bb (diff) |
gentoo auto-resync : 10:01:2023 - 12:20:33
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 32763 -> 32768 bytes | |||
-rw-r--r-- | net-libs/libnetfilter_conntrack/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-configure-clang16.patch | 16 | ||||
-rw-r--r-- | net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.9-r1.ebuild | 59 |
4 files changed, 77 insertions, 0 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 9f7f4e9867f0..f2f71c37c793 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/libnetfilter_conntrack/Manifest b/net-libs/libnetfilter_conntrack/Manifest index a7a5f0c5d8aa..c9b66557ffc1 100644 --- a/net-libs/libnetfilter_conntrack/Manifest +++ b/net-libs/libnetfilter_conntrack/Manifest @@ -1,5 +1,7 @@ +AUX libnetfilter_conntrack-1.0.9-configure-clang16.patch 462 BLAKE2B ce679a50047fa232312c02c8c9b133ae2edcd57c8b7d32b6da4b041827687d5e19fd251fd63e963207e21f99f4edc5cf4288f4358f6aa872bfe042aebebfddfe SHA512 9252b32915e8f69c8b83f597b0244411e7d2da0ca3c5f5dbbb383b60d0c7f0ebebe79dc46d228bd299dd3b9c920e67c81cb20906a03d1c45b42f35649bcd37cc AUX libnetfilter_conntrack-1.0.9-musl.patch 1671 BLAKE2B c6618c82fbaf68f5c61dc7631d12630c82e597112c5131b0b3fa49344a4d70e6a3efaf13b42f4971d0b0ae9bca0a1b6183170111b7291cd374cc4a38ea64b167 SHA512 121cdbb92d17c4ffaaa93ddd8e881489f82f00aa931f14032aaafcb2c1a65ad18f122868baaa9d0c0b266638c9888c5f037f47ecba09321de683c569e2fe7466 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 +EBUILD libnetfilter_conntrack-1.0.9-r1.ebuild 1451 BLAKE2B 9c13c8177e3f12bea0f99f3b15bb1c368118bf44fc0abd34213f78f7f1a843f309b74bd6c688070c14036344cd5272c9b0ec3948ed34046fd5d8d28d4a735c3f SHA512 e64e0d967215e049eedd53233da7f6fc36be0437678be81d354cae49b6f19b9976df24a303cbebdd08f0be53592d58fee8c8c86ea1b62132b00445d440e17950 EBUILD libnetfilter_conntrack-1.0.9.ebuild 1292 BLAKE2B 00750ac814d66da4879a370f821176cb183c281823267f2fed92573f9d1b3dcbf314c44fcb9bf537c905e4b3f61a974fbb427219b954509b2563f3dfff3ed94f SHA512 cc7dd96be46e8cd3900cbf060988f8d58d8592aa40f8fcee8c966abdcf488ec188abe8f6536072d6c6701003d8a4ed4a4faa291297fd880f57b6f258d64c13f9 MISC metadata.xml 375 BLAKE2B fc9624816dbdf791c5d399fd9db83b402c1186387a7898c700f277e926e6424d9a2cf3dae39221041ec782c017fcf96cab8bd698878dad524f9feb111576a652 SHA512 016ff7eaeb05c1566ed7f53a2fda5c5808e847d6d5cd07521769ebfff4cdc76fe4d40abe13cd9ed68c56c83a2442720ba526e9454d596e3fee87e25843933f6b diff --git a/net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-configure-clang16.patch b/net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-configure-clang16.patch new file mode 100644 index 000000000000..7bb4a34765ae --- /dev/null +++ b/net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-configure-clang16.patch @@ -0,0 +1,16 @@ +https://bugzilla.netfilter.org/show_bug.cgi?id=1654 +--- a/configure.ac ++++ b/configure.ac +@@ -55,9 +55,9 @@ int main() + struct in6_addr addr6; + char buf[128]; + if (inet_ntop(AF_INET6, &addr6, buf, 128) == 0 && errno == EAFNOSUPPORT) +- exit(1); ++ return 1; + else +- exit(0); ++ return 0; + } + ]])],[ AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_INET_NTOP_IPV6, 1, [Define to 1 if inet_ntop supports IPv6.]) + diff --git a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.9-r1.ebuild b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.9-r1.ebuild new file mode 100644 index 000000000000..f470a2255d08 --- /dev/null +++ b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.9-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc + +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 )" + +DOCS=( README ) + +PATCHES=( + "${FILESDIR}"/${P}-musl.patch + "${FILESDIR}"/${PN}-1.0.9-configure-clang16.patch +) + +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_prepare() { + default + + # autoreconf only for clang 16 configure patch + eautoreconf +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |