diff options
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 7878 -> 7874 bytes | |||
-rw-r--r-- | net-dns/c-ares/Manifest | 5 | ||||
-rw-r--r-- | net-dns/c-ares/c-ares-1.33.1.ebuild | 2 | ||||
-rw-r--r-- | net-dns/c-ares/c-ares-1.34.1.ebuild | 109 |
4 files changed, 114 insertions, 2 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex 1d1960e10d9f..fc70f07832ba 100644 --- a/net-dns/Manifest.gz +++ b/net-dns/Manifest.gz diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest index 0b0430864863..711fd51b7ded 100644 --- a/net-dns/c-ares/Manifest +++ b/net-dns/c-ares/Manifest @@ -14,6 +14,8 @@ DIST c-ares-1.33.0.tar.gz 1040626 BLAKE2B 730ca3ca9ebb03228fc17d87f1a659f77f91d2 DIST c-ares-1.33.0.tar.gz.asc 228 BLAKE2B 945ebedb47c998aa917aebc6180cc9f601bc4f10c648955cc9af84e09d5832e06cf7c7afa7ddc1591474f23758c7d269c722d4dce34e4680edc69ce93be483ad SHA512 bd6386a917d072ac41adb604affa314b8e05e8cfeff5ade7e9d6f520baf4d73d7adf68cff35f4748aeee45d4d646ca6d6cf438e75e1c7125f1ababd561809e8c DIST c-ares-1.33.1.tar.gz 1044943 BLAKE2B d8084db84da252ced8cc91b4ed523a5309dbc788bf25f1ab46f3e4817b4c12a3d3d4565179287b7542ac8a7b4f812c20dcc44d9f7284153a9e43765ca7aaf996 SHA512 b5ec4f08539be552f01d49f03327e3999754b940d83c63fbd934c2ed34cf7f05c3f90c9eb64a78a3d7862280bf75765296576a70a6029257daaf90e3e35ab3e4 DIST c-ares-1.33.1.tar.gz.asc 228 BLAKE2B 4908cc70133d75f926387873b0bf7b274c8ab162391b73da2a9f25658bda52763f41ffb1aa4236cdc14efa7bcbbba32d3b0be8bd95161654901c304a4f14f6f8 SHA512 f9c8c8965046176104487939b04a38f3f6e68693ff1ef239ce988cf4c56dfacf2766482857d480a4022d6101c2591c013d8687d4bbf009e40863c1d7a95c2fad +DIST c-ares-1.34.1.tar.gz 1008224 BLAKE2B 7094cf3a3fba4df6367d56c1d251d1f682b37b1f094c66286951c8e2b2d519935b58a039aa926869de90bf0674fec2c6e127327820ae3f50b4d27fdf0c560947 SHA512 193a4b304dd81dcaf9854ae26662868187521eddd3514a7ba32b2f4f45dc158081bf5829b07e36436e2f16344120e83fe1b9369a11d701ad053824d0b03371bb +DIST c-ares-1.34.1.tar.gz.asc 228 BLAKE2B 9d5dd6858e5686420c73ed269d6c5d3376f6fefe09122f993800c93682633995eb90e30a244e435f209a8014c32279949cfd044aa755852408ffa1b869431df8 SHA512 a198cae7cd010f31034835ae0b35d828aeccd443e56d3d04d18eb0fd2bcfa71847d3c3da66d8d15700400bd9576a2ee73aee08f3af2ee77f6d2219b2ff45e565 EBUILD c-ares-1.28.1.ebuild 2463 BLAKE2B 77f4fbfd5cf63fae678da66a8a2293e70281b6aeb6f46dac73d72f29fa3e1a98cdee77088ac154448a08e657fe00ae73910ca301838040cf032302268f97a221 SHA512 14f96e9cdb2eeb68f3cb8468e251cf6dbc7e7e1f62dec44768c9abceaadbdd4337a3fee154e806dc9f7cf8baef92e730334314d1e4f83b4d47d92d2fa0d61e76 EBUILD c-ares-1.29.0.ebuild 2464 BLAKE2B 756c366513e30364a41ddc4532778d8e4f36119b4e50cf4168c5fce6498748d0809c9ead59ef95ddce2274469eefe1735a74bc704402bdad620fd55a661b6be8 SHA512 685d6287a0e1cde41d4790021d98fb55a00cc6042d12505d34ab025ddeb0e01d4f7000be66df9be0198889ac8d1b76ec62211d9c1603ed63e956b74951a0688f EBUILD c-ares-1.31.0.ebuild 2493 BLAKE2B f7d40cbb57aed3b508eae4ee2b8dcaf53fb5f4c823cdc13ae12414e8d2d6c093443950c6be9f8665cdcae1e71a33cc22420f8b7a52af32ed9c0a2fb07670a21a SHA512 1da8e56ce28cde8a9574412c5d9ea6b3c6106b5e786231e2f091faecbe327c704259ffa2eac9b93e49afd351b82051b602466776757c5ac6e14461794c7a6e65 @@ -21,5 +23,6 @@ EBUILD c-ares-1.32.0.ebuild 2493 BLAKE2B f7d40cbb57aed3b508eae4ee2b8dcaf53fb5f4c EBUILD c-ares-1.32.1.ebuild 2493 BLAKE2B f7d40cbb57aed3b508eae4ee2b8dcaf53fb5f4c823cdc13ae12414e8d2d6c093443950c6be9f8665cdcae1e71a33cc22420f8b7a52af32ed9c0a2fb07670a21a SHA512 1da8e56ce28cde8a9574412c5d9ea6b3c6106b5e786231e2f091faecbe327c704259ffa2eac9b93e49afd351b82051b602466776757c5ac6e14461794c7a6e65 EBUILD c-ares-1.32.2.ebuild 3045 BLAKE2B 02ea3d5029f48da3db4be347216e36fbd195db4551f35800df2ea9789d28d69d3525ec32da9d0a4e415a654b7596f377bdf520a12e30a4d08bdd720f0ade6235 SHA512 73f60268fc67eb73f25ae78b791a5637f8f5976d5fb2a8161c70c627283278cd0b66ffcd80247d9df4888dd01283b08435b3021311651003e9d5e820f9b018f5 EBUILD c-ares-1.33.0.ebuild 3045 BLAKE2B 02ea3d5029f48da3db4be347216e36fbd195db4551f35800df2ea9789d28d69d3525ec32da9d0a4e415a654b7596f377bdf520a12e30a4d08bdd720f0ade6235 SHA512 73f60268fc67eb73f25ae78b791a5637f8f5976d5fb2a8161c70c627283278cd0b66ffcd80247d9df4888dd01283b08435b3021311651003e9d5e820f9b018f5 -EBUILD c-ares-1.33.1.ebuild 3040 BLAKE2B 67d50626e5dff9eb0afe99eb01c210886b0ef32f20c3ba3b00db6b8306bef2f8f16f0d6da3cc7094e5310ea6e391ca6300f120ca768d5dbcbd785309deac2a44 SHA512 6f5bf3f3a93aed7c79410bdebc595eaeec28e0239440d347e64d6c41f509384c54a52a3d9ea6e551f3bd0219003293eb84787c963303c5af33c1a3e2ab4e221a +EBUILD c-ares-1.33.1.ebuild 3039 BLAKE2B 01ccf217d0e67d5bc879f2b1fad1a0102e9eb2d9e8ad1bcd0bc5e2e88059e9dcceee7fc12b7d088b09b6bd1a44dab76c4b92e63729d68cde0bf8be6a02458fc5 SHA512 96520075b0486e3fc9fec7a155b920dbbe8ab85ce5c79237f0cb6fe42d4e1e33605737d4eb1d474b7c586c984c86ded6b0349ffae3905b9da725fd494aa22a57 +EBUILD c-ares-1.34.1.ebuild 3045 BLAKE2B 02ea3d5029f48da3db4be347216e36fbd195db4551f35800df2ea9789d28d69d3525ec32da9d0a4e415a654b7596f377bdf520a12e30a4d08bdd720f0ade6235 SHA512 73f60268fc67eb73f25ae78b791a5637f8f5976d5fb2a8161c70c627283278cd0b66ffcd80247d9df4888dd01283b08435b3021311651003e9d5e820f9b018f5 MISC metadata.xml 402 BLAKE2B ab03bca92ec4073f5a877993558552136f0ae673f98619aa1f30eb94b6d8f2103b1cf77d23a9f2b3d56ee33af23d626ee230e480a3e3e0bc174df879082466bd SHA512 e02d13db5d10b1aaaae5680247a6b47610dda28a13b7754d2b97f08a760ce732957c96fb6e88ce7fd2076bfec275e72bfbb3dec802940f0159122364ab21acda diff --git a/net-dns/c-ares/c-ares-1.33.1.ebuild b/net-dns/c-ares/c-ares-1.33.1.ebuild index bc1fb200dd35..da13cb6d3a90 100644 --- a/net-dns/c-ares/c-ares-1.33.1.ebuild +++ b/net-dns/c-ares/c-ares-1.33.1.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT ISC" # Subslot = SONAME of libcares.so.2 SLOT="0/2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/net-dns/c-ares/c-ares-1.34.1.ebuild b/net-dns/c-ares/c-ares-1.34.1.ebuild new file mode 100644 index 000000000000..6f65e746ad84 --- /dev/null +++ b/net-dns/c-ares/c-ares-1.34.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Both Daniel and Brad are listed as possible signers on the homepage +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bradhouse.asc +inherit edo multilib-minimal verify-sig + +DESCRIPTION="C library that resolves names asynchronously" +HOMEPAGE="https://c-ares.org/" +SRC_URI=" + https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz + verify-sig? ( https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz.asc ) +" + +# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405) +LICENSE="MIT ISC" +# Subslot = SONAME of libcares.so.2 +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-cpp/gtest ) + verify-sig? ( sec-keys/openpgp-keys-bradhouse ) +" + +DOCS=( AUTHORS README.md RELEASE-NOTES.md ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/ares_build.h +) + +A__QA_CONFIG_IMPL_DECL_SKIP=( + # Checking for obsolete headers + malloc + calloc + free + + # Non-existent on Linux + closesocket + CloseSocket + ioctlsocket + bitncmp + ConvertInterfaceIndexToLuid + ConvertInterfaceLuidToNameA +) + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* ]] ; then + # warnings are default, but enable -std=c90 which doesn't define + # 'bool' which is a type used/assumed in macOS system headers + sed -i -e 's/-std=c90/& -Dbool=int/' configure{.ac,} || die + # sysconfig integration requires deep framework compatibility + # and is not really desired in Prefix + sed -i -e 's/__APPLE__/__DISABLED__/' \ + src/lib/ares_sysconfig_mac.c || die + sed -i -e '/elif defined(__APPLE__)/s/__APPLE__/__DISABLED__/' \ + src/lib/ares_sysconfig.c || die + fi +} + +multilib_src_configure() { + local myeconfargs=( + --enable-symbol-hiding + $(use_enable static-libs static) + $(use_enable test tests) + ) + + # Needed for running unit tests only + # Violates sandbox and tests pass fine without + export ax_cv_uts_namespace=no + export ax_cv_user_namespace=no + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + cd "${BUILD_DIR}"/test || die + + # We're skipping the "real" network tests with the filter + # see https://github.com/c-ares/c-ares/tree/main/test + local network_tests=( + # Most live tests have Live in the name + *Live* + # These don't but are still in ares-test-live.cc => live + *GetTCPSock* + *TimeoutValue* + *GetSock* + *GetSock_virtualized* + *VerifySocketFunctionCallback* + # Seems flaky, even run manually + # https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d + *MockUDPMaxQueriesTest.GetHostByNameParallelLookups* + ) + + # The format for disabling test1, test2, and test3 looks like: + # -test1:test2:test3 + edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}")) +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -name "*.la" -delete || die +} |