From 5548be880bc8a2f93c1717c1b52b181e8cb620c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 31 Mar 2023 23:13:56 +0100 Subject: gentoo auto-resync : 31:03:2023 - 23:13:56 --- dev-libs/Manifest.gz | Bin 96266 -> 96266 bytes dev-libs/apr/Manifest | 2 + dev-libs/apr/apr-1.7.3.ebuild | 170 ++++++++++++++++++++++++++++++++ dev-libs/mimalloc/Manifest | 6 +- dev-libs/mimalloc/mimalloc-2.0.6.ebuild | 31 ------ dev-libs/mimalloc/mimalloc-2.0.7.ebuild | 30 ------ dev-libs/mimalloc/mimalloc-2.1.0.ebuild | 29 ++++++ 7 files changed, 203 insertions(+), 65 deletions(-) create mode 100644 dev-libs/apr/apr-1.7.3.ebuild delete mode 100644 dev-libs/mimalloc/mimalloc-2.0.6.ebuild delete mode 100644 dev-libs/mimalloc/mimalloc-2.0.7.ebuild create mode 100644 dev-libs/mimalloc/mimalloc-2.1.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index 1e9c65cf2544..b0d5d742e49e 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/apr/Manifest b/dev-libs/apr/Manifest index 6acd5871d9bf..afd7f08e9d0d 100644 --- a/dev-libs/apr/Manifest +++ b/dev-libs/apr/Manifest @@ -7,6 +7,8 @@ AUX apr-1.7.2-respect-flags.patch 652 BLAKE2B e9cef7a8eff52a0d1799c261b377026849 AUX apr-1.7.2-sysroot.patch 1399 BLAKE2B 921694b66e2a0fe687ec9acb7458b1c860c12665e553aba4e043d56732bc0adc944c7bdd609dd001fcf2c9716b30989a47207506d3ad9c0141174848ce6ad70c SHA512 0dc3cb41fa8ab909c14e3650f755a061b5a0fab052b6b94c16678af58013841614ff9a407c82764cd3435db5b1d5d5a5ce41bb1b430dae0b272cffc438e49003 AUX config.layout.patch 745 BLAKE2B 9877db3d76339b70f2bd354d118eff0df4d63bc81e4af9e65169c1c5862c3fa3532cc02df8e084b540e7a81091c3b16d50388c6234cba469b15fff896d0428fc SHA512 3a87e718859c8f95793f828b764d240907d65c21fe2c99143815ab835f8b657154092c4ad496e86d79490bd85ef03d394d3acb57a15186f2f06a518b32d77fdf DIST apr-1.7.2.tar.bz2 890218 BLAKE2B a17ee4311a33acee0bdeb9e5225a198f9dec1b2e0267a742080c77d5342e5052392a5a2100a0ba85f5a192b8679838a7002d4c9a12aa5bdd7921eff025b75d15 SHA512 0a3a27ccc97bbe4865c1bc0b803012e3da6d5b1f17d4fb0da6f5f58eec01f6d2ae1f25e52896ea5f9c5ac04c5fddcfd1ac606b301c322cf40d5c4d4ce0a1b76e +DIST apr-1.7.3.tar.bz2 901048 BLAKE2B effd809ff2d43c5340874456c6440c94c3c1dc728964d6b65050e0e11692961ccbedba63fd02009c79fa05bb8effde7cc46d2b22c560745d49d54f0a793e4b6d SHA512 d8f62868d8e3ec92cede1f0d93b5d48e49441f575c98e165ff84343746a6abd265290ab16a57f741896ae7a6b3e534a334325a99a61c96c2485e085f7761c124 EBUILD apr-1.7.2-r1.ebuild 4629 BLAKE2B 345d5ad2ff4b99ebb95a69b5c6ac40cb0614d38ad50931d8c51b4179f9f335b9eeeb58ce673649252451988109d94af508ea8f94db320df772eaee2ccafdcd79 SHA512 a8eb336f494b349138f70e3ff3ae62689f68e7ff10d7ca8b8fed32c035300e6548f503ee889be6c2990952b438d8c4119aec65093788b1a8012f70aa15e50f32 EBUILD apr-1.7.2.ebuild 4575 BLAKE2B a0bb685a7235819f77e0239120375fe335c86b9c99d258a4aefa999bbeae5ba41807bf6797267593ea5a19e1f7a3181df4328d04b87088fe4eb7f8533fc18f98 SHA512 189c3ac5aa060eb2d65013ae73a91498dd3a7a861d7434c007f24f31e2b895530b9f3d7a85f76da482b20870d0a505f454f2105d53f06159fb491cc8cc4227e1 +EBUILD apr-1.7.3.ebuild 4629 BLAKE2B 345d5ad2ff4b99ebb95a69b5c6ac40cb0614d38ad50931d8c51b4179f9f335b9eeeb58ce673649252451988109d94af508ea8f94db320df772eaee2ccafdcd79 SHA512 a8eb336f494b349138f70e3ff3ae62689f68e7ff10d7ca8b8fed32c035300e6548f503ee889be6c2990952b438d8c4119aec65093788b1a8012f70aa15e50f32 MISC metadata.xml 487 BLAKE2B 826e5b4b8b87d0077f1b2063ae1c808447987ddea524eeb4cdd17d60bea8b3919a2a714cdb0706cf758dfcf86109b702399c04dd054872d8465e1f6b3469c795 SHA512 9e8fbae61974080394151944ca7e2fec92a6c99b2c2fe75dc2486dced890933ac4694c8ac2984504bbfe42706bed6895b7d5fe9f9a9ced96c5c0ead8016f4366 diff --git a/dev-libs/apr/apr-1.7.3.ebuild b/dev-libs/apr/apr-1.7.3.ebuild new file mode 100644 index 000000000000..9ab51b0ca62a --- /dev/null +++ b/dev-libs/apr/apr-1.7.3.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Library" +HOMEPAGE="https://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1/${PV%.*}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc old-kernel selinux static-libs +urandom" + +# See bug #815265 for libcrypt dependency +DEPEND=" + virtual/libcrypt:= + elibc_glibc? ( >=sys-apps/util-linux-2.16 ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-base-policy ) +" +BDEPEND=" + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen ) +" + +DOCS=( CHANGES NOTICE README ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-mint.patch + "${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch + "${FILESDIR}"/${PN}-1.7.2-libtool.patch + "${FILESDIR}"/${PN}-1.7.2-sysroot.patch # bug #385775 + "${FILESDIR}"/${PN}-1.7.2-fix-pkgconfig-libs.patch + "${FILESDIR}"/${PN}-1.7.2-respect-flags.patch + "${FILESDIR}"/${PN}-1.7.2-autoconf-2.72.patch + "${FILESDIR}"/config.layout.patch +) + +src_prepare() { + default + + mv configure.in configure.ac || die + AT_M4DIR="build" eautoreconf +} + +src_configure() { + tc-export AS CC CPP + + local myconf=( + --enable-layout=gentoo + --enable-nonportable-atomics + --enable-posix-shm + --enable-threads + $(use_enable static-libs static) + --with-installbuilddir="${EPREFIX}"/usr/share/${PN}/build + ) + + tc-is-static-only && myconf+=( --disable-dso ) + + if use old-kernel; then + local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec + export apr_cv_accept4="no" + export apr_cv_dup3="no" + export apr_cv_epoll_create1="no" + export apr_cv_sock_cloexec="no" + fi + + if tc-is-cross-compiler; then + # The apache project relies heavily on AC_TRY_RUN and doesn't + # have any sane cross-compiling fallback logic. + export \ + ac_cv_file__dev_zero="yes" \ + ac_cv_func_sem_open="yes" \ + ac_cv_mmap__dev_zero="yes" \ + ac_cv_negative_eai="yes" \ + ac_cv_o_nonblock_inherited="no" \ + ac_cv_struct_rlimit="yes" \ + ap_cv_atomic_builtins="yes" \ + apr_cv_accept4="yes" \ + apr_cv_dup3="yes" \ + apr_cv_epoll="yes" \ + apr_cv_epoll_create1="yes" \ + apr_cv_gai_addrconfig="yes" \ + apr_cv_mutex_recursive="yes" \ + apr_cv_mutex_robust_shared="yes" \ + apr_cv_process_shared_works="yes" \ + apr_cv_pthreads_lib="-pthread" \ + apr_cv_sock_cloexec="yes" \ + apr_cv_tcp_nodelay_with_cork="yes" + fi + + if use urandom; then + myconf+=( --with-devrandom=/dev/urandom ) + elif (( ${CHOST#*-hpux11.} <= 11 )); then + : # no /dev/*random on hpux11.11 and before, apr detects this. + else + myconf+=( --with-devrandom=/dev/random ) + fi + + # shl_load does not search runpath, but hpux11 supports dlopen + if [[ ${CHOST} == *-hpux11* ]]; then + myconf+=( --enable-dso=dlfcn ) + elif [[ ${CHOST} == *-solaris2.10 ]]; then + local atomic_contents=$(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) + + case "${atomic_contents}" in + *atomic_cas_ptr*) + ;; + *) + local patch_id=$([[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885) + + elog "You do not have Solaris Patch ID ${patch_id} (Problem 4954703) installed on your host ($(hostname))," + elog "using generic atomic operations instead." + + myconf+=( --disable-nonportable-atomics ) + ;; + esac + else + if use ppc || use sparc || use mips; then + # Avoid libapr containing undefined references (underlinked) + # undefined reference to `__sync_val_compare_and_swap_8' + # (May be possible to fix via libatomic linkage in future?) + # bug #740464 + myconf+=( --disable-nonportable-atomics ) + fi + fi + + econf "${myconf[@]}" +} + +src_compile() { + if tc-is-cross-compiler; then + # This header is the same across targets, so use the build compiler. + emake tools/gen_test_char + + tc-export_build_env BUILD_CC + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \ + tools/gen_test_char.c -o tools/gen_test_char || die + fi + + emake all $(usev doc dox) +} + +src_test() { + # Building tests in parallel is broken + emake -j1 check +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + if use doc; then + docinto html + dodoc -r docs/dox/html/* + fi + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + # Even in Prefix, we don't need this on AIX. + rm "${ED}/usr/$(get_libdir)/apr.exp" || die +} diff --git a/dev-libs/mimalloc/Manifest b/dev-libs/mimalloc/Manifest index 65f9d822c49d..01bb30e84b2a 100644 --- a/dev-libs/mimalloc/Manifest +++ b/dev-libs/mimalloc/Manifest @@ -1,7 +1,5 @@ -DIST mimalloc-2.0.6.tar.gz 1127052 BLAKE2B bd8a38cc0eab6ad950a63f494f24e6a91c50d2104335e9ce70963a7baadd26c7a2b7440b2fcabe502d9961549222873d017cb525bf5b32da967cf51aa167603c SHA512 f2fc0fbfb6384e85959897f129e5d5d9acc51bda536d5cabcd7d4177dbda9fb735b8a8c239b961f8bea31d37c9ae10f66da23aa91d497f95393253d4ac792bb3 -DIST mimalloc-2.0.7.tar.gz 1137057 BLAKE2B dc7ca7443507b14967168e4899464d137da425bdbc3863d44faef7adfe62e983cec0a7950937f010d003ff4df3c4368ff2f9753c3fda19641ab12f91fc73055c SHA512 120f89eef50ba83130e8ceb974a6148c84a7f3d975d1efaa094142518afb4ff6d9e24f8e75e9aa0bb02dc80bf497eced4b8ae1f2f5914fdabd773317e1341ea1 DIST mimalloc-2.0.9.tar.gz 1143452 BLAKE2B 55e91d8fc89ef5344078caa5e72efce8c0745e3aab7bfb682587abf806bda1903c1afeaa57660a4dbcf7c19c04c759caf69af9fb62d15ecbdf2ce5bcf6574625 SHA512 bf6945bfb600ade35dab34c7f570ee4f69a77612547ad874bbbd989a4e594a6a219c222a22c90c5e36f205aae4d5cd1a5e4651caed5433db275d414c6769bf49 -EBUILD mimalloc-2.0.6.ebuild 705 BLAKE2B 061a28d98c9524f5be76ceba0527dce233384a9e70516897473af9b3c4bb37c16f87d0c7ee9066c1550ce563016e6825940310b7dba3d50e5d1d4a1b1d9d5694 SHA512 55875ceea8d50f807a2446be938a4d931b25de1d9d32dfcd55aeff4e88a82649a563100a74e50c552b93ed318314228e7ae8160eae4d9ab26523334fa4abdf4d -EBUILD mimalloc-2.0.7.ebuild 684 BLAKE2B 296009569a922fb2a38122ea524aa62f7525bb308b909bf5ed1b5fcbaafc402cf1307d12df12413bd1522e1d8f682914fc3562f080d119944b0e44d46e14c2d3 SHA512 9619f68816f792f6c73f9bdbfdecad1570b1d7f89c3cab9a6cf463302ef09ecb701fe578a0a21ff36a7974c419c5d030bf0b450d01441efaa88a64980e0c5da9 +DIST mimalloc-2.1.0.tar.gz 1163080 BLAKE2B c452fc6b6f16ba8f207855bc560f11ebb6b7431b17331123ede59a49ebe2591bb81e91481a776a6cd24ab5c7f3ceabd59cf6ae41b05b558e883cf045b71628d6 SHA512 f766d6d9ad961cc129a561ed4824eb30e0857c2da4662e0c6fd095c7e193760a2c3238943efa7601099d3b44480b34f1755454d6172a91b6dd1e3fa3a19d4a9e EBUILD mimalloc-2.0.9.ebuild 691 BLAKE2B 1a62d4c9f1967bbfcfa97dbdd3f3002e2707e2b20ae4384ed830224e72f7d76616703b09e186eb8abdd112f7c74b8e26b514e0e285354dba5bf3f0835c8421d7 SHA512 4a60f837ae0ac1d77b9e9576f624d8ff3399900776132bf03d84ae3bfe8a8a612e64ebc3cd41f4dc9a9be248ea512b0ad479374718016dec6c4d041218ad54a1 +EBUILD mimalloc-2.1.0.ebuild 691 BLAKE2B d62e254f26d1038219455ecf4bd78f2b0e1f5f8eeaae5778703e0bcb81028dfd7a54591f31103f4ff1500d352aea7d3069424980cf791230d90e4477e8f70b0d SHA512 ed0fb2ef00f4606e2eb2f37a6b4d281b4f483c5dd8498ace6ddf2c017f2fe8ca224a330b677ecc2c32ee5f85faa60ef2e86e695fd25ab007e371804d3ade8472 MISC metadata.xml 504 BLAKE2B cf6477282968a5469d072cfd81ce800e3ef0a48deb5353c85a1cabc837560cafdb9f9739cb4e98784238d2cc512a29cae5efee401f92a19bf75fb5d810154f76 SHA512 4e8fcc49881f3c479424cf363665d9b12c58eb52f7d962b98b81f5b3e186ba3bd14c2b5dac488d819147121a16c2d9613e75cb77f71fa04e820ca2c1e538baa6 diff --git a/dev-libs/mimalloc/mimalloc-2.0.6.ebuild b/dev-libs/mimalloc/mimalloc-2.0.6.ebuild deleted file mode 100644 index f72c408d29ed..000000000000 --- a/dev-libs/mimalloc/mimalloc-2.0.6.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -DESCRIPTION="A compact general purpose allocator with excellent performance" -HOMEPAGE="https://github.com/microsoft/mimalloc" -SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/2" -KEYWORDS="amd64 ~loong ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - # TODO: build hardened variant? - #-DMI_SECURE=$(usex hardened) - - -DMI_INSTALL_TOPLEVEL=ON - -DMI_BUILD_TESTS=$(usex test) - - -DMI_BUILD_OBJECT=OFF - -DMI_BUILD_STATIC=OFF - ) - - cmake-multilib_src_configure -} diff --git a/dev-libs/mimalloc/mimalloc-2.0.7.ebuild b/dev-libs/mimalloc/mimalloc-2.0.7.ebuild deleted file mode 100644 index 8f67eb2dad98..000000000000 --- a/dev-libs/mimalloc/mimalloc-2.0.7.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -DESCRIPTION="A compact general purpose allocator with excellent performance" -HOMEPAGE="https://github.com/microsoft/mimalloc" -SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/2" -KEYWORDS="amd64 ~loong ~riscv ~x86" -IUSE="hardened test" -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DMI_SECURE=$(usex hardened) - - -DMI_INSTALL_TOPLEVEL=ON - -DMI_BUILD_TESTS=$(usex test) - - -DMI_BUILD_OBJECT=OFF - -DMI_BUILD_STATIC=OFF - ) - - cmake-multilib_src_configure -} diff --git a/dev-libs/mimalloc/mimalloc-2.1.0.ebuild b/dev-libs/mimalloc/mimalloc-2.1.0.ebuild new file mode 100644 index 000000000000..5c8b6056d6ae --- /dev/null +++ b/dev-libs/mimalloc/mimalloc-2.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +DESCRIPTION="A compact general purpose allocator with excellent performance" +HOMEPAGE="https://github.com/microsoft/mimalloc" +SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86" +IUSE="hardened test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DMI_SECURE=$(usex hardened) + -DMI_INSTALL_TOPLEVEL=ON + -DMI_BUILD_TESTS=$(usex test) + + -DMI_BUILD_OBJECT=OFF + -DMI_BUILD_STATIC=OFF + ) + + cmake-multilib_src_configure +} -- cgit v1.2.3