mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
net-dns/c-ares: Sync with Gentoo
It's from Gentoo commit 7ed7971ba28efde36f3e76a5a6739c46b40df180.
This commit is contained in:
parent
a9c624e5be
commit
3906873d94
@ -6,3 +6,5 @@ DIST c-ares-1.24.0.tar.gz 1368749 BLAKE2B aae99e1b5715ae4c68b84e3ceedf3e9758cf0f
|
|||||||
DIST c-ares-1.24.0.tar.gz.asc 488 BLAKE2B 965dc1ec04aae5ec4fb5e3cee6dfe99c102112d12498f841377d901e87d8b13e17a48ba8393054849206a21333173bd3ab1d7c61cf76b6c7415f5bf99a7ada1c SHA512 dda1b8d3e715b5ba117542cab31826faf821061ea6ceefa77c0452f1d17d0c84a0cc5891722eb8e7f54da087c352409197d1e1a06420035a62c391e8e93cb8dd
|
DIST c-ares-1.24.0.tar.gz.asc 488 BLAKE2B 965dc1ec04aae5ec4fb5e3cee6dfe99c102112d12498f841377d901e87d8b13e17a48ba8393054849206a21333173bd3ab1d7c61cf76b6c7415f5bf99a7ada1c SHA512 dda1b8d3e715b5ba117542cab31826faf821061ea6ceefa77c0452f1d17d0c84a0cc5891722eb8e7f54da087c352409197d1e1a06420035a62c391e8e93cb8dd
|
||||||
DIST c-ares-1.25.0.tar.gz 1264129 BLAKE2B a4f4b493e1331ade27504238c3e520e1ffaa525baf99442c88de3aeda1eb06a12ec804a5f0f699fb8acd469ccd2b3d08f5c32b4d01d50cfdc31097665087fce9 SHA512 f73ffc45c17f1e952ea5fae8a1d9e1508427f21c821ff470ff0b728cc4a1e21d1274f95d9192c22f704bc7e0f58a633608cfdc1704dfe8950902fdfc3dfa2e1c
|
DIST c-ares-1.25.0.tar.gz 1264129 BLAKE2B a4f4b493e1331ade27504238c3e520e1ffaa525baf99442c88de3aeda1eb06a12ec804a5f0f699fb8acd469ccd2b3d08f5c32b4d01d50cfdc31097665087fce9 SHA512 f73ffc45c17f1e952ea5fae8a1d9e1508427f21c821ff470ff0b728cc4a1e21d1274f95d9192c22f704bc7e0f58a633608cfdc1704dfe8950902fdfc3dfa2e1c
|
||||||
DIST c-ares-1.25.0.tar.gz.asc 488 BLAKE2B 45b07fc1ef14452b8a4fda63f134e389b66c120ccd8de3d48ccc5659c481db1796339a1968db406cf9b3da1a9c5aa81ccf538bc0546bb6c4babbe7de9c14f576 SHA512 9cf2dcd80807b54cd7fa6871283863384a4b6b10e0ef9c287bb4969a9169b7f12180a15c5fa756770c5ba01558ef48615aaaaefa546d19b3496e3cbe0454346b
|
DIST c-ares-1.25.0.tar.gz.asc 488 BLAKE2B 45b07fc1ef14452b8a4fda63f134e389b66c120ccd8de3d48ccc5659c481db1796339a1968db406cf9b3da1a9c5aa81ccf538bc0546bb6c4babbe7de9c14f576 SHA512 9cf2dcd80807b54cd7fa6871283863384a4b6b10e0ef9c287bb4969a9169b7f12180a15c5fa756770c5ba01558ef48615aaaaefa546d19b3496e3cbe0454346b
|
||||||
|
DIST c-ares-1.26.0.tar.gz 1298394 BLAKE2B 9bcbb321b31518fdd3481447e1bba733dbf0eabd1876aa0fec6737888fd176b837c64e6b22ae5754a905f0fd1591d4fd516db558fafae92cc2684ad7e0c29f63 SHA512 81657b8b9840a565b04ecf87ef8f0fc3192a9594808e47aed5e5bbebf2b5f0066b0cd5fae70f0fe70b68d428b4cc75fba22d2ae7683c6d0f87979c414c072af1
|
||||||
|
DIST c-ares-1.26.0.tar.gz.asc 488 BLAKE2B 89c420ed235dce86c3d18ce62b58f50b78abf919c178e9a786fce5ee11da2b7a1314f8eb76bef20df0e43d18f636508540d9a9d2dfcd84df0c62691497f3a9a0 SHA512 84cd9918c22346a975400f17bf64e5093aa7b2d8f3377799cde5f6ab508e8f5ab6a004497747b702b7249b2b1369cdd22149519da01a405cf928806007e7a599
|
||||||
|
92
sdk_container/src/third_party/portage-stable/net-dns/c-ares/c-ares-1.26.0.ebuild
vendored
Normal file
92
sdk_container/src/third_party/portage-stable/net-dns/c-ares/c-ares-1.26.0.ebuild
vendored
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# 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/danielstenberg.asc
|
||||||
|
inherit edo multilib-minimal verify-sig
|
||||||
|
|
||||||
|
DESCRIPTION="C library that resolves names asynchronously"
|
||||||
|
HOMEPAGE="https://c-ares.org/"
|
||||||
|
SRC_URI="
|
||||||
|
https://c-ares.org/download/${P}.tar.gz
|
||||||
|
verify-sig? ( https://c-ares.org/download/${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 ~ia64 ~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-danielstenberg )
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES.md TODO )
|
||||||
|
|
||||||
|
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
|
||||||
|
)
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user