From 7f740fcb9a0165d81bfecf7fb5da647763d76a1b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Sep 2022 05:29:14 +0100 Subject: gentoo auto-resync : 23:09:2022 - 05:29:13 --- dev-libs/Manifest.gz | Bin 95767 -> 95760 bytes dev-libs/expat/Manifest | 2 +- dev-libs/expat/expat-2.4.9.ebuild | 2 +- dev-libs/icu-layoutex/Manifest | 2 + dev-libs/icu-layoutex/icu-layoutex-72_rc.ebuild | 138 +++++++++++++ dev-libs/icu/Manifest | 2 + dev-libs/icu/icu-72_rc.ebuild | 165 +++++++++++++++ dev-libs/inih/Manifest | 2 - dev-libs/inih/inih-55.ebuild | 31 --- dev-libs/libassuan/Manifest | 4 - dev-libs/libassuan/libassuan-2.5.3.ebuild | 48 ----- dev-libs/libassuan/libassuan-2.5.4.ebuild | 48 ----- dev-libs/libgpg-error/Manifest | 6 - .../libgpg-error-1.37-remove_broken_check.patch | 22 -- .../files/libgpg-error-1.42-cross_compile.patch | 32 --- dev-libs/libgpg-error/libgpg-error-1.42.ebuild | 66 ------ dev-libs/libgpg-error/libgpg-error-1.44.ebuild | 65 ------ dev-libs/libtasn1/Manifest | 2 - dev-libs/libtasn1/libtasn1-4.18.0.ebuild | 53 ----- dev-libs/mpfr/Manifest | 1 - dev-libs/mpfr/mpfr-4.1.0-r1.ebuild | 32 --- dev-libs/nettle/Manifest | 3 - dev-libs/nettle/nettle-3.8.ebuild | 81 -------- dev-libs/nsync/Manifest | 2 + dev-libs/nsync/nsync-1.25.0.ebuild | 23 +++ dev-libs/xmlrpc-c/Manifest | 4 + .../xmlrpc-c-1.51.06-pkg-config-libxml2.patch | 225 +++++++++++++++++++++ .../xmlrpc-c-1.51.06-pkg-config-openssl.patch | 46 +++++ dev-libs/xmlrpc-c/xmlrpc-c-1.51.06-r3.ebuild | 88 ++++++++ dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r1.ebuild | 88 ++++++++ 30 files changed, 785 insertions(+), 498 deletions(-) create mode 100644 dev-libs/icu-layoutex/icu-layoutex-72_rc.ebuild create mode 100644 dev-libs/icu/icu-72_rc.ebuild delete mode 100644 dev-libs/inih/inih-55.ebuild delete mode 100644 dev-libs/libassuan/libassuan-2.5.3.ebuild delete mode 100644 dev-libs/libassuan/libassuan-2.5.4.ebuild delete mode 100644 dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch delete mode 100644 dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch delete mode 100644 dev-libs/libgpg-error/libgpg-error-1.42.ebuild delete mode 100644 dev-libs/libgpg-error/libgpg-error-1.44.ebuild delete mode 100644 dev-libs/libtasn1/libtasn1-4.18.0.ebuild delete mode 100644 dev-libs/mpfr/mpfr-4.1.0-r1.ebuild delete mode 100644 dev-libs/nettle/nettle-3.8.ebuild create mode 100644 dev-libs/nsync/nsync-1.25.0.ebuild create mode 100644 dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch create mode 100644 dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch create mode 100644 dev-libs/xmlrpc-c/xmlrpc-c-1.51.06-r3.ebuild create mode 100644 dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r1.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index 96667298c1b5..56277d2f55dd 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest index 087595e30405..0c39a27f8433 100644 --- a/dev-libs/expat/Manifest +++ b/dev-libs/expat/Manifest @@ -5,5 +5,5 @@ DIST expat-2.4.9.tar.xz 459284 BLAKE2B 105fef732e26b691f6c212341b7377b518d693aa6 EBUILD expat-2.4.6.ebuild 2277 BLAKE2B 5e2039ed2e5604aafde9f4ae1b61a931c3c8e7bade01349eb804e62efc12650ae0ead3531672df8064c7dcb9a257cf00314ed7c6a591b10731a465cc9279697d SHA512 e69a6ec9a906245e8d884cb5019b68644f0e86a48fb5d30d012c588442db761b3bdb115f5ab4c7e50e36251a0edf22389ead0f36823db59a6a9d873dbc10ca82 EBUILD expat-2.4.7.ebuild 2277 BLAKE2B 5e2039ed2e5604aafde9f4ae1b61a931c3c8e7bade01349eb804e62efc12650ae0ead3531672df8064c7dcb9a257cf00314ed7c6a591b10731a465cc9279697d SHA512 e69a6ec9a906245e8d884cb5019b68644f0e86a48fb5d30d012c588442db761b3bdb115f5ab4c7e50e36251a0edf22389ead0f36823db59a6a9d873dbc10ca82 EBUILD expat-2.4.8.ebuild 2284 BLAKE2B 814372a31968e1f5c6109dfb456549c53e1795964e853ef1e7cfa4aac56800fc6c8a74f2decda30f8627e2f94c469fdf7d43df0a82465b6c512fe2beda1e0f4e SHA512 9794fb4ba34a5cb4ff6420fc5ba9c091e5b8314d13149e56a37a1b98cb2c91006b34b1819a0ff1f10ffad9663e169e63f6d330787087a2cf0cac1fe7d1592f6b -EBUILD expat-2.4.9.ebuild 2290 BLAKE2B 9e930f70e74365116432c853376b39287540493dfe86b83153559d70ca20d9852d9f9e3f5dbd5c51c7b0cc848ccf0c5eb4ab45e4a1edb54091e48a261acf76f8 SHA512 d5071cae927557b39418c43d67382aeb0d10d0d6e0024b3b9c6bf1b44554228e7185f8b131b2887040ccc7ba9e2a33141e0bfdc5b202570a1b2514821a5cc0df +EBUILD expat-2.4.9.ebuild 2286 BLAKE2B 538a0c556843165b82b19b633668dfebc033985754298d26e77bcc3e762e3b2ccc5416fbef63568961df5209fc0405c0ecf2532b90fa66cea519e64fd6e89acc SHA512 62592fc14727b1a097725f40392778a357707694a54a0d0b8559ebc83b0f944d8818d1885b95c5db1b0063979ab7dbbcd9677cdcf236a5991d75916ed48ed9c2 MISC metadata.xml 571 BLAKE2B ebefe11eb4a54dda87048089930a051a629fd99a6983b3c804dfd033eee4017c3b1871cbdff56c8659cdf74b19651cd7f2134721a9bab3e8a752d4a1694c6266 SHA512 8d726b1dee71528e43c8693bd4b08cf33a94f43470126aa18a51ed248b032c5e8b9d801c5b2d5f58c2fd7896b32ee9e6eb3953395e5a6004cdf00569d114ad1d diff --git a/dev-libs/expat/expat-2.4.9.ebuild b/dev-libs/expat/expat-2.4.9.ebuild index 8079ac0f2fe4..359e275388e4 100644 --- a/dev-libs/expat/expat-2.4.9.ebuild +++ b/dev-libs/expat/expat-2.4.9.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~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 ~x86-winnt" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~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 ~x86-winnt" IUSE="examples static-libs unicode" BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )" diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest index b20dfe4e4795..822d723fa16e 100644 --- a/dev-libs/icu-layoutex/Manifest +++ b/dev-libs/icu-layoutex/Manifest @@ -1,5 +1,7 @@ AUX icu-layoutex-65.1-remove-bashisms.patch 4963 BLAKE2B fb781741a7a908638876729d573a73e42b7b3f0f3e692b54799fed0dac006ecb731583d90d849ea06be47259a0a236933fa7a78a96b3a8107ee85f916dc2000a SHA512 67e60068c356ca8d93b137eadeef2562ff7d8f38153babc97edd92a2c38d7113396d63d4a09364dacefc612b4b3ea28872a4f767c4f38d3e725943b32f98c5bc +DIST icu-72_rc.tar.gz 67042961 BLAKE2B 398eac0c7a8ba9bddf3b6773846e2858f8c37ee8ef93c230de9587c066aaf93fef5b2f56b1e1411b3521158a5fe404828d248ed0f37e4eacc2cccecc7a2dd64d SHA512 23e02b8be0544e6da8fe6455eb20d8bb7a1f555cac26fe4ebc3cf714ed10b86e4277e997d3407241bd0b5e847d1a0325d5980241f8be5e9d139a018ec40fc3ca DIST icu4c-71_1-src.tgz 25701340 BLAKE2B 182972d87fe5b69b5e08c39ab9bb0ac7ffc7b36530168b3548faa051cce2b73b9f1c1d23198a4b1c655442155e369da76929e4f54fe4e32265160363428d4916 SHA512 1fd2a20aef48369d1f06e2bb74584877b8ad0eb529320b976264ec2db87420bae242715795f372dbc513ea80047bc49077a064e78205cd5e8b33d746fd2a2912 DIST icu4c-71_1-src.tgz.asc 659 BLAKE2B ac281e0a9b94bf6bfddee2dd5dc7553836aa50ae84f55478a662d0cd1e116a944de92dd5fd701164d62fb5b8e8effcdb3456a151a6b198d603e2324ccd76e334 SHA512 3371e14f3959defa7fb8d3eb0308084646ed553169b7a845bff89f9a8c1054ef5bee45c26c1834a84cab38fa87710f1585e6c5787be1fe2df356eb5c2ba20aae EBUILD icu-layoutex-71.1.ebuild 3582 BLAKE2B 440d45060033cae1471af4cfec6f3443317e3b369fd7d4fbbf272b95c09ae68db809d422b00cf8a8f8f9c5826aa8d286c80d6d631ef68a27e83aee78b6cb7e50 SHA512 d9ec562af9007fa798a148a53c6bf6d5ba4dd8747be2ddaf7014c274c63074f2cd2cfc2966ee90e04a383b92845f056439810d30e2b5bb48c2fa3d4012ccca6c +EBUILD icu-layoutex-72_rc.ebuild 3835 BLAKE2B b27538bdffba2c2e827bdaa514241f55c5a1ead1dac2e714d846c3cb6329cd5d9e429d76eb59d1e088983fda89725204940115c3c6a2825a5f334e6373dda213 SHA512 19eaa8bd45a1152c64c52b1dcbb8645082281f74580b705b78c64f6b7d18eb9900a081b35489402c6329b2bbb79a22776ac0344b71c53818fb4d996ca2dffc1c MISC metadata.xml 336 BLAKE2B df52385ac9930c85fc8cb8799f5fd083e99bfe1bacd63519001f91b841cacdc50d6b7ed32f3520372cbab48d270bb05fd0896eaec55046ce1eac03af4502365e SHA512 80d8e03229a72e9acd1429f7ed697df59e98899b135bb40367e95d6eed63aa011efd2121601be68e685350b6eadd46e6f39c036f86ff18bc3c85410e88008c7e diff --git a/dev-libs/icu-layoutex/icu-layoutex-72_rc.ebuild b/dev-libs/icu-layoutex/icu-layoutex-72_rc.ebuild new file mode 100644 index 000000000000..fe8edba20d39 --- /dev/null +++ b/dev-libs/icu-layoutex/icu-layoutex-72_rc.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump with dev-libs/icu + +inherit autotools flag-o-matic multilib-minimal toolchain-funcs + +DESCRIPTION="External layout part of International Components for Unicode" +HOMEPAGE="https://icu.unicode.org/" +if [[ ${PV} == *_rc* ]] ; then + SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-$(ver_rs 1- '-').tar.gz -> ${P/-layoutex}.tar.gz" + S="${WORKDIR}"/${PN/-layoutex}-release-$(ver_rs 1- '-')/icu4c/source +else + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/icu.asc + inherit verify-sig + + SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz" + SRC_URI+=" verify-sig? ( https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz.asc )" + S="${WORKDIR}"/${PN}/source + + KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-icu )" +fi + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="debug static-libs test" +RESTRICT="!test? ( test )" + +DEPEND=" + ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}] + dev-libs/icu-le-hb[${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" +BDEPEND+=" + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${PN}-65.1-remove-bashisms.patch" ) + +src_prepare() { + default + + # Disable renaming as it assumes stable ABI and that consumers + # won't use unofficial APIs. We need this despite the configure argument. + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + eautoreconf +} + +src_configure() { + # ICU tries to append -std=c++11 without this, so as of 71.1, + # despite GCC 9+ using c++14 (or gnu++14) and GCC 11+ using gnu++17, + # we still need this. + append-cxxflags -std=c++14 + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + # We want a minimal build as this is just for layoutex + # so we disable as much as possible + --disable-samples + --disable-extras + --disable-icuio + + # This is icu-layoutex, so.. + --enable-layoutex + + $(use_enable debug) + $(use_enable static-libs static) + + # Need tools for tests, otherwise get this in configure: + # "## Note: you have disabled ICU's tools. This ICU cannot build its own data or tests. + # ## Expect build failures in the 'data', 'test', and other directories." + # ... although layoutex has no tests right now anyway, but let's keep this + # for the future. + $(use_enable test tools) + $(use_enable test tests) + ) + + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + pushd layoutex &>/dev/null || die + emake -j1 VERBOSE="1" check + popd &>/dev/null || die +} + +multilib_src_install() { + pushd layoutex &>/dev/null || die + default + popd &>/dev/null || die +} diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest index 463f83e39f55..894c2f0f9285 100644 --- a/dev-libs/icu/Manifest +++ b/dev-libs/icu/Manifest @@ -2,7 +2,9 @@ AUX icu-64.2-darwin.patch 2136 BLAKE2B 3c54a15e351a97f7c423128e493ed158e56191738 AUX icu-65.1-remove-bashisms.patch 4963 BLAKE2B fb781741a7a908638876729d573a73e42b7b3f0f3e692b54799fed0dac006ecb731583d90d849ea06be47259a0a236933fa7a78a96b3a8107ee85f916dc2000a SHA512 67e60068c356ca8d93b137eadeef2562ff7d8f38153babc97edd92a2c38d7113396d63d4a09364dacefc612b4b3ea28872a4f767c4f38d3e725943b32f98c5bc AUX icu-68.1-nonunicode.patch 477 BLAKE2B 5e74142e5adbf8f3fffa23c8fb08657b5b75d12941db39980abea1fff2328c112196b62cc89d521e8cc2a1f7c11b58816401a838bb8fcbe50036e80d3d9e4343 SHA512 5d605cc1cbbd16221603a9509d07713d64201f4fc1a372d29c18f8d49a4618fcd7e0a0bb0a459024a288e5c2c339a9aa0849abe88691ee2cdb24b92c9b61e290 AUX icu-71.1-CVE-2022-1638.patch 8694 BLAKE2B 2277f0f066609817d0c5ef78f50f33f82c8575152b185a4c79d334a79c38ad902742c9f0558b90a33191d913df46e4b97356c0d7914d5f7bb4451fb388815c97 SHA512 3c6358120247bd094fec7a8e73f51445f979da5eda87c3a272f4df59625e1345237fe924d94824ad6f0785c8c1d70ee2ecb8a54abf9078c6510bee088adda2c8 +DIST icu-72_rc.tar.gz 67042961 BLAKE2B 398eac0c7a8ba9bddf3b6773846e2858f8c37ee8ef93c230de9587c066aaf93fef5b2f56b1e1411b3521158a5fe404828d248ed0f37e4eacc2cccecc7a2dd64d SHA512 23e02b8be0544e6da8fe6455eb20d8bb7a1f555cac26fe4ebc3cf714ed10b86e4277e997d3407241bd0b5e847d1a0325d5980241f8be5e9d139a018ec40fc3ca DIST icu4c-71_1-src.tgz 25701340 BLAKE2B 182972d87fe5b69b5e08c39ab9bb0ac7ffc7b36530168b3548faa051cce2b73b9f1c1d23198a4b1c655442155e369da76929e4f54fe4e32265160363428d4916 SHA512 1fd2a20aef48369d1f06e2bb74584877b8ad0eb529320b976264ec2db87420bae242715795f372dbc513ea80047bc49077a064e78205cd5e8b33d746fd2a2912 DIST icu4c-71_1-src.tgz.asc 659 BLAKE2B ac281e0a9b94bf6bfddee2dd5dc7553836aa50ae84f55478a662d0cd1e116a944de92dd5fd701164d62fb5b8e8effcdb3456a151a6b198d603e2324ccd76e334 SHA512 3371e14f3959defa7fb8d3eb0308084646ed553169b7a845bff89f9a8c1054ef5bee45c26c1834a84cab38fa87710f1585e6c5787be1fe2df356eb5c2ba20aae EBUILD icu-71.1-r1.ebuild 4192 BLAKE2B ed0cda8aa8f81fe43a3456a59781fbcc235e89eeafed4850e680cde0b6d94829eeebf66e38451e9cd44ae92ed3333da147cf2d7c00f76df0e6502ea649569eb9 SHA512 f91539e7c78300e389c320ff67f106be66f508f9c8f066945a8037eac7207cd5dc40c13d53c1b77f0189049c605cd1ca4e47c4b5cb947537cdadbe640cb55b63 +EBUILD icu-72_rc.ebuild 4387 BLAKE2B 215446533275bfb0e9c7d7c9848d69642bd6a36bab75c1b761d03c42a7f99b5b08138eb64c0c6de47f7694690ece83a6ea28600c89235ba1fca10ce32b30e7a2 SHA512 b7e475c949a6f2094cadffd1d10a1b8a5c96640b1b8e0ecbf9ef32c33b45aa7482bb9a877b1f3d3d311d742d03d61606f4e8b014f533e8ec05f3c708a8d50d10 MISC metadata.xml 336 BLAKE2B df52385ac9930c85fc8cb8799f5fd083e99bfe1bacd63519001f91b841cacdc50d6b7ed32f3520372cbab48d270bb05fd0896eaec55046ce1eac03af4502365e SHA512 80d8e03229a72e9acd1429f7ed697df59e98899b135bb40367e95d6eed63aa011efd2121601be68e685350b6eadd46e6f39c036f86ff18bc3c85410e88008c7e diff --git a/dev-libs/icu/icu-72_rc.ebuild b/dev-libs/icu/icu-72_rc.ebuild new file mode 100644 index 000000000000..7c2a950671eb --- /dev/null +++ b/dev-libs/icu/icu-72_rc.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump with dev-libs/icu-layoutex + +PYTHON_COMPAT=( python3_{8..11} ) +inherit autotools flag-o-matic multilib-minimal python-any-r1 toolchain-funcs + +DESCRIPTION="International Components for Unicode" +HOMEPAGE="https://icu.unicode.org/" +if [[ ${PV} == *_rc* ]] ; then + SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-$(ver_rs 1- '-').tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-release-$(ver_rs 1- '-')/icu4c/source +else + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/icu.asc + inherit verify-sig + + SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz" + SRC_URI+=" verify-sig? ( https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz.asc )" + S="${WORKDIR}"/${PN}/source + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-icu )" +fi + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="debug doc examples static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND+=" + ${PYTHON_DEPS} + sys-devel/autoconf-archive + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/icu-config +) + +PATCHES=( + "${FILESDIR}/${PN}-65.1-remove-bashisms.patch" + "${FILESDIR}/${PN}-64.2-darwin.patch" + "${FILESDIR}/${PN}-68.1-nonunicode.patch" +) + +src_prepare() { + default + + # Disable renaming as it assumes stable ABI and that consumers + # won't use unofficial APIs. We need this despite the configure argument. + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + # Append doxygen configuration to configure + sed -i \ + -e 's:icudefs.mk:icudefs.mk Doxyfile:' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + MAKEOPTS+=" VERBOSE=1" + + # ICU tries to append -std=c++11 without this, so as of 71.1, + # despite GCC 9+ using c++14 (or gnu++14) and GCC 11+ using gnu++17, + # we still need this. + append-cxxflags -std=c++14 + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --disable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + $(use_enable test tests) + $(multilib_native_use_enable examples samples) + ) + + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # Work around cross-endian testing failures with LTO #757681 + if tc-is-cross-compiler && is-flagq '-flto*' ; then + myeconfargs+=( --disable-strict ) + fi + + # ICU tries to use clang by default + tc-export CC CXX + + # Make sure we configure with the same shell as we run icu-config + # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined + export CONFIG_SHELL="${EPREFIX}/bin/sh" + # Probably have no /bin/sh in prefix-chain + [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}" + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + emake -j1 check +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc; then + docinto html + dodoc -r doc/html/* + fi +} + +multilib_src_install_all() { + local HTML_DOCS=( ../readme.html ) + einstalldocs +} diff --git a/dev-libs/inih/Manifest b/dev-libs/inih/Manifest index 82f0d346fd48..638d5c2eb9e3 100644 --- a/dev-libs/inih/Manifest +++ b/dev-libs/inih/Manifest @@ -1,5 +1,3 @@ -DIST inih-55.tar.gz 18219 BLAKE2B 28b5e04e54e31b3e0392b44799a2c2e75c1fe00527491a857480b7e960302f2438d29652b131dae5147487c863d93f577b67aeff3ab5f863546d3661628d8236 SHA512 bcbef361a4400da017dbed811ad21672b58512d2b2b537cc0058cdeca709dd0d5a9def4045ce1c1972873c3d3d35182123337e4388676f6f0d16e8dbff967b0f DIST inih-56.tar.gz 18458 BLAKE2B 51935959a9eb4e393b17302f0932a232963883680f10d404c63d5f2ebbd3bf0b740f44edfa1b2541d0e130016eb853ebedf68a1c40797f658496e2a8c966af3d SHA512 ff3e0910990f73e5b21fddc84737ab346279f201c86c7ad864c6cad9de5bde57c3e0a433b9b8f3585b7d86feaae2ea074185f92891dcadc98c274c1c0745d2d2 -EBUILD inih-55.ebuild 766 BLAKE2B f663eafa557bc2eebfa3a1186d93a198e4d8bd371c8de89c1cf817335105cee5cdb626e5c4323e048d8b4d1d48581f5566469272f7d701f1958c431a9fa1581c SHA512 bafcd6430cb49eac80e2a068f5f6327920040318a2577728db8ca8d345de683f3671fd68c600d69939f8fd76e444812968effdf8212eb167acb10332eb3079ac EBUILD inih-56-r1.ebuild 747 BLAKE2B 713a3953a3c59d3352a44baad67f713d40cd0c5908b937bb7f78db1451dc8ee9972143bc35c52729351139fb1a76866b9b58e61936bc2a3dc60272892d29b700 SHA512 19cfe78a753ec682994d34a4b7c9659ee8861f27b04d20b46022e655ba6d5939e315435ab2519f9be212475af2d749437478594f2e25d615d29fa936654835f6 MISC metadata.xml 520 BLAKE2B d067b0d423cb2ecdeee888a8b6588c1ee3a47d9080a83d0288736fd31d2521956e6dfb970d612ca27f3c9da8103f37e3dd3245eba9b57f9a1ce4d8631695da14 SHA512 47fafee9e35a1827b8d68ab35fea44e8895658dbdd77628f03d31160bbeb915e2cdad81a17c0530d3b0de713fd141999949992feb4c98fabf2ed9bcf717e6b1f diff --git a/dev-libs/inih/inih-55.ebuild b/dev-libs/inih/inih-55.ebuild deleted file mode 100644 index 8f9886c0171b..000000000000 --- a/dev-libs/inih/inih-55.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Tests not wired up to meson and don't seem to be intended for downstream use yet -# e.g. hardcoding gcc, just a shell script - -inherit meson-multilib - -DESCRIPTION="inih (INI not invented here) simple .INI file parser" -HOMEPAGE="https://github.com/benhoyt/inih" - -SRC_URI="https://github.com/benhoyt/inih/archive/r${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -S="${WORKDIR}/inih-r${PV}" - -LICENSE="BSD" -SLOT="0" - -DOCS=( README.md ) - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=shared - -Ddistro_install=true - -Dwith_INIReader=true - ) - - meson_src_configure -} diff --git a/dev-libs/libassuan/Manifest b/dev-libs/libassuan/Manifest index bea619f99f6a..07f7ab830629 100644 --- a/dev-libs/libassuan/Manifest +++ b/dev-libs/libassuan/Manifest @@ -1,7 +1,3 @@ -DIST libassuan-2.5.3.tar.bz2 572348 BLAKE2B ae3a5a9a03e85d62cf87271cd4a0718a2b89a4f90ea814837913e4b2bb6e5af9746e766d99685cc0cc3a801efaee597e491a2bc03d42ac26059580ea4680fd7a SHA512 e7ccb651ea75b07b2e687d48d86d0ab83cba8e2af7f30da2aec794808e13e6ec93f21d607db50d3431f1c23cb3a07a2793b71170e69fa2f5a82cffb81961f617 -DIST libassuan-2.5.4.tar.bz2 574039 BLAKE2B 2eec42c47840741a4726fc35c3ed04300e5fbcd37f808b121534aeaa04d0d0f609a30ad48cfbe33a81ee4b2ebbb822b9a48a5c602268f1b802bf5d7d19d72e9c SHA512 764993d5311c24f0c0f970016e903e1a16783a2050c42072dbc1bc4f350f119e53b0be17ed6df25a0086bc9f8c25ee4f3134330577968480997263f95e05594f DIST libassuan-2.5.5.tar.bz2 572263 BLAKE2B 24952e97c757b97c387ab4c2c4bf7b040f2874e9326c129805c7f5326fa14d80e083b0842e336a635531a2c8d4a66d428c816bae6b175f1c4518add1ffa3554d SHA512 70117f77aa43bbbe0ed28da5ef23834c026780a74076a92ec775e30f851badb423e9a2cb9e8d142c94e4f6f8a794988c1b788fd4bd2271e562071adf0ab16403 -EBUILD libassuan-2.5.3.ebuild 1283 BLAKE2B 1270a517953b68c7a4bdb90ab7f51f857af236b940fbf4695ebe4f645f21bbb2788eeafa8ac59b6c174b598940045f06bb428467a22863faf828fb3f9a3d049f SHA512 5cdb354eeec64ea499dcae2f1aaeb7d33288148e7e45f7e535de4bad9cbe3be58151220fc28ef9f046e500f2d3373f1fd4656274bf69bb31dbe9d8c23afc04a2 -EBUILD libassuan-2.5.4.ebuild 1284 BLAKE2B 2736d8d18a83ec2b531489b151ef2b6f9d9f8bb991eed531fbf154071566a50f12a9e8c2b9f2b33d212eb71d4800817ca17d170fb0bae72d4afde0faef971d7e SHA512 b5672931baaffd044bd156f93459316eb2a9d88ed6c086923fbb04c0a1906280af4ce20d55d87f3d3e776c50dca5ed25694454da618d5c193d98499f672e0329 EBUILD libassuan-2.5.5.ebuild 1297 BLAKE2B 50b1ed338faf74eb267353a608f28e497daaf61877194209e486386304b4472d7bd9b05a9cb0ddb05093d7c618302d2fead65f4ef985386da428f061d93440f1 SHA512 1bed8caa76f27ac39eb9b6b80e7d715fd3d834a6fdb765090ccf481e9424c2c01dd801e8c0c1ed20051ac83e970ff7af526c191f73470236cec6b2e5a495ae0c MISC metadata.xml 882 BLAKE2B ca08da3ad8be4a39e30e8e28f58bd5c4c9e70147a29bc55c9b71b45921141326ccd86d9086b6ae8652465c51fabfe4e024a00be0656042011a27423ac2146f01 SHA512 603d947fcaa43d364136558cd158610edfc2349fe0227259992209894f34fcd21f393fe81aa9f2d40ecb41377c8f7c1d6f8528d6a678709d28820d3b6f253b62 diff --git a/dev-libs/libassuan/libassuan-2.5.3.ebuild b/dev-libs/libassuan/libassuan-2.5.3.ebuild deleted file mode 100644 index 345ce33518f8..000000000000 --- a/dev-libs/libassuan/libassuan-2.5.3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit libtool - -DESCRIPTION="IPC library used by GnuPG and GPGME" -HOMEPAGE="https://www.gnupg.org/related_software/libassuan/index.en.html" -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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" - -# Note: On each bump, update dep bounds on each version from configure.ac! -RDEPEND=">=dev-libs/libgpg-error-1.8" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - if [[ ${CHOST} == *-solaris* ]] ; then - elibtoolize - - # fix standards conflict - sed -i \ - -e '/_XOPEN_SOURCE/s/500/600/' \ - -e 's/_XOPEN_SOURCE_EXTENDED/_NO&/' \ - -e 's/__EXTENSIONS__/_NO&/' \ - configure || die - fi -} - -src_configure() { - local myeconfargs=( - --disable-static - GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" - $("${S}/configure" --help | grep -o -- '--without-.*-prefix') - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - # ppl need to use libassuan-config for --cflags and --libs - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/dev-libs/libassuan/libassuan-2.5.4.ebuild b/dev-libs/libassuan/libassuan-2.5.4.ebuild deleted file mode 100644 index bdc2724f1d1c..000000000000 --- a/dev-libs/libassuan/libassuan-2.5.4.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit libtool - -DESCRIPTION="IPC library used by GnuPG and GPGME" -HOMEPAGE="https://www.gnupg.org/related_software/libassuan/index.en.html" -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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" - -# Note: On each bump, update dep bounds on each version from configure.ac! -RDEPEND=">=dev-libs/libgpg-error-1.17" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - if [[ ${CHOST} == *-solaris* ]] ; then - elibtoolize - - # fix standards conflict - sed -i \ - -e '/_XOPEN_SOURCE/s/500/600/' \ - -e 's/_XOPEN_SOURCE_EXTENDED/_NO&/' \ - -e 's/__EXTENSIONS__/_NO&/' \ - configure || die - fi -} - -src_configure() { - local myeconfargs=( - --disable-static - GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" - $("${S}/configure" --help | grep -o -- '--without-.*-prefix') - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - # ppl need to use libassuan-config for --cflags and --libs - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest index 739fa45061f6..4ddaf85cf674 100644 --- a/dev-libs/libgpg-error/Manifest +++ b/dev-libs/libgpg-error/Manifest @@ -1,12 +1,6 @@ -AUX libgpg-error-1.37-remove_broken_check.patch 786 BLAKE2B 38c3b7039d17de117ba876c11377fe765e39a4630d2dbda21d07aa6a0e027b5ee0e4f2da225d7d6847b5086c7f4aebe378c82a259ec9d82e7ecaac1f77413959 SHA512 6b9087cfa21d844f2306aca0e5575a03b9409ae8e5ea55158734560abd135af265512bec3de8c943210ade60b6334ea1798aa517ba5738cb9fe6720b3cb3c68f -AUX libgpg-error-1.42-cross_compile.patch 785 BLAKE2B 91dcb2dd4d44776dbf0f1bd0b7bb7df2d8855625e1de306583cb42a14f74b2daa015605a8af46fd2a659a81da9f312d20d02f49ff6042ec9ce8ab40f42b9776a SHA512 76a9bdfa85de81ba60eac771022f0b1daedc97097e281ca954381ed54b30a00e84ca2f0970f252ee735b1ef6f1ea2071a4df25ae1fbef0d380d964c577e2fd22 AUX libgpg-error-1.44-remove_broken_check.patch 811 BLAKE2B ff90643ba8afe80393ae0328590ba161c5a68c6b1d6e3ab771a9b295e2827d4cb02d620315e0437647d36698d539c911aa572a9d57393feed9818986440dd437 SHA512 29dbad17b3626eab56ecc352479f55aeb54958245558716134e1da5c8581c0713d53463caa778ebd6c33ea3281072d7aa2d6fd62630bfa973a41bd3e76ca1a57 AUX libgpg-error-1.45-gpgrt_config_libdir.patch 1663 BLAKE2B c127cd45accd61e1a4b47980a6b269059911831cddfc33de79b3f8989b67f3ea7bdd8fd73fc4f83e1509c32b1addf9979d9eef305fe05cb30bfa336a34953f69 SHA512 493471dfae869710ed1c8fe0765f7e83dd675e3d4a32dd8c1e12389e3ffce24310742c78e7552057da7d4361c01242d01a48800499baca686cc4addddf931937 -DIST libgpg-error-1.42.tar.bz2 973996 BLAKE2B eb3381ec7106cfe5dca333391f473e97b03df83f247d3067e9f933ed7206f826e59d2b74b8c28d41e785ffe1c2980b680470064eb2fa2ff1ee3d8fa8be5b81a8 SHA512 f6d95712a874edefc39a7746062c8037a62801a550560c5b2eab08b5b86987c1de5be60eba5fcb56d35a37db109aa32d07b7eff2bb99800c1c47d2227421a8f4 -DIST libgpg-error-1.44.tar.bz2 1014475 BLAKE2B dc101769510bc9edff38048216a961df8b08373a0b6d04b13c882bbcb43c4d0e05ecfdfd7788c89b5799082f4d15386efac5eb1762a48ae1ab70b554d0bfbb36 SHA512 a0eef310b9d44532d1ae6e7266226ea3e82d908aa31f775a026e56a7f8303b78adfdceb3ae5a40f7d242987635e764c539a024ce8dc0d66590e1a3fa50f6b784 DIST libgpg-error-1.45.tar.bz2 1015954 BLAKE2B 277892df6691ff2807335954fa786c1d452d58e6f15aa2f73bffd1ddc97b9276646afe8831c0b67107ac768e0590f046030da6d370eb2871e94154f50dabf67b SHA512 882f2dd617e89137d7a9d61b60488dac32321dd4fdb699e9687b6bd9380c056c027da502837f4482289c0fe00e7de01210e804428f05a0843ae2ca23fdcc6457 -EBUILD libgpg-error-1.42.ebuild 1898 BLAKE2B 05436135f19c5e2422f08274f1f3ad755b8683fcd9dfa56914ed8822b816e070cf910c92a6dc385e824ead0f5e85cc89e9fc4f4652e4119a2a5a5571b2cc7666 SHA512 fe0532eaa898e8a39c79651121593e907cc0fca3ddf5db54dcc2889309c2980055e52a54438452d320c38e3f45ff705327185962d4c6c7fb40cca7013c311cab -EBUILD libgpg-error-1.44.ebuild 1866 BLAKE2B 0071a99bf76003193009345c97d685e4030495c529e5b5bc74b0e5cbf29c73c3bbe4290acaecf09d2a9818b2a7331b264c6e430cad84822ffa31ca441372ec41 SHA512 7c12fca0e1fd6ba8f446de4d1234c90ee7afa836a38bb81ba0712ba337ce9a3a5d84a37341d8a96ada56912a1044d0bc0176116dcfdaa2bb1c2cc06212b2d31c EBUILD libgpg-error-1.45-r1.ebuild 1984 BLAKE2B fb622e43f183e520c376009b177e1d55c7c6c50d6eb147ab8d58dfaa11f0b208c76216b61574e1413b648d05860d389af940349b98d76885f3f42344170ae0da SHA512 3911ee0d4b74853adc1dbf19c7e7d717639bbf6b5033cf9f54314923167ecd30f258f57082b430e05fab6cc4785b8b359fc46211fa7b3a71240b740379727cc3 EBUILD libgpg-error-1.45.ebuild 1924 BLAKE2B a082e0038c6372f379492fbbd381fff2c1ede5eb56077b14eeba019fdde88cd3978c35d4f08bcf31e3f814c25cd95b1db91511f57d1c3be691d7b61a23803354 SHA512 a0f50c1e76f2ecf9c1550e2b95dd27d888ffa96bf3cf13abe5a0f4514ef973534ff75fe6e3449c7624ac23dff32dfd1d925ffe0e40c69dae02fef57d39df43ce MISC metadata.xml 420 BLAKE2B 0b469c533336497584faf0c8a5531c54dd242817d46fb78f1369997b77ec3ea49da3a0ae869488c17639fdee26bc4dee94fb20605db6fa8f6f3dbaeab77d3072 SHA512 22259311b2c83f7b63e859a7196a3fd586c85afbd777327d9a6172a359500160807866b74051836717c42145ed0e289152fb0a374a05bcc7e982d4df3e94b305 diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch b/dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch deleted file mode 100644 index 2919a9d73be0..000000000000 --- a/dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch +++ /dev/null @@ -1,22 +0,0 @@ -This breaks our multilib builds: - - Confirm gpg-error-config works... no - *** Please report to with gpg-error-config-test.log - ---- libgpg-error-1.37/src/Makefile.am -+++ libgpg-error-1.37/src/Makefile.am -@@ -338,14 +338,6 @@ - cp gpg-error.h gpgrt.h - - gpg-error-config: gpgrt-config gpg-error-config-old -- @echo $(ECHO_N) "Confirm gpg-error-config works... $(ECHO_C)" -- @if ./gpg-error-config-test.sh --old-new; then \ -- echo "good"; \ -- else \ -- echo "no"; \ -- echo "*** Please report to with gpg-error-config-test.log"; \ -- exit 1; \ -- fi - cp gpg-error-config-old $@ - - install-data-local: diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch b/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch deleted file mode 100644 index 78d98dd7b3d1..000000000000 --- a/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 33593864cd54143db594c4237bba41e14179061c Mon Sep 17 00:00:00 2001 -From: David Michael -Date: Fri, 26 Mar 2021 16:06:50 +0900 -Subject: [PATCH] build: Fix generation of lock-obj-pub.native.h for cross - build. - -* src/gen-lock-obj.sh: Capture echo output with quotes. - --- - -Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374 -Signed-off-by: David Michael ---- - src/gen-lock-obj.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh -index a710f0c..258eec6 100755 ---- a/src/gen-lock-obj.sh -+++ b/src/gen-lock-obj.sh -@@ -38,7 +38,7 @@ - # AWK=gawk ./gen-lock-obj.sh - # - --if test -n `echo -n`; then -+if test -n "`echo -n`"; then - ECHO_C='\c' - ECHO_N='' - else --- -2.11.0 - diff --git a/dev-libs/libgpg-error/libgpg-error-1.42.ebuild b/dev-libs/libgpg-error/libgpg-error-1.42.ebuild deleted file mode 100644 index 2168705cf76b..000000000000 --- a/dev-libs/libgpg-error/libgpg-error-1.42.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal toolchain-funcs prefix - -DESCRIPTION="Contains error handling functions used by GnuPG software" -HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error" -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~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="common-lisp nls static-libs" - -RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND="nls? ( sys-devel/gettext )" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/gpg-error-config -) -MULTILIB_WRAPPED_HEADERS=( - /usr/include/gpg-error.h - /usr/include/gpgrt.h -) - -PATCHES=( - "${FILESDIR}/${PN}-1.37-remove_broken_check.patch" - "${FILESDIR}/${P}-cross_compile.patch" -) - -src_prepare() { - default - - if use prefix ; then - # don't hardcode /usr/xpg4/bin/sh as shell on Solaris - sed -i -e 's/solaris\*/disabled/' configure.ac || die - fi - - # only necessary for as long as we run eautoreconf, configure.ac - # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is - # not a pure /bin/sh script, so it fails on some hosts - hprefixify -w 1 autogen.sh - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - $(multilib_is_native_abi || echo --disable-languages) - $(use_enable common-lisp languages) - $(use_enable nls) - # required for sys-power/suspend[crypt], bug 751568 - $(use_enable static-libs static) - --enable-threads - CC_FOR_BUILD="$(tc-getBUILD_CC)" - $("${S}/configure" --help | grep -o -- '--without-.*-prefix') - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/dev-libs/libgpg-error/libgpg-error-1.44.ebuild b/dev-libs/libgpg-error/libgpg-error-1.44.ebuild deleted file mode 100644 index 5347656622a7..000000000000 --- a/dev-libs/libgpg-error/libgpg-error-1.44.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal toolchain-funcs prefix - -DESCRIPTION="Contains error handling functions used by GnuPG software" -HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error" -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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="common-lisp nls static-libs" - -RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND="nls? ( sys-devel/gettext )" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/gpg-error-config -) -MULTILIB_WRAPPED_HEADERS=( - /usr/include/gpg-error.h - /usr/include/gpgrt.h -) - -PATCHES=( - "${FILESDIR}/${PN}-1.44-remove_broken_check.patch" -) - -src_prepare() { - default - - if use prefix ; then - # don't hardcode /usr/xpg4/bin/sh as shell on Solaris - sed -i -e 's/solaris\*/disabled/' configure.ac || die - fi - - # only necessary for as long as we run eautoreconf, configure.ac - # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is - # not a pure /bin/sh script, so it fails on some hosts - hprefixify -w 1 autogen.sh - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - $(multilib_is_native_abi || echo --disable-languages) - $(use_enable common-lisp languages) - $(use_enable nls) - # required for sys-power/suspend[crypt], bug 751568 - $(use_enable static-libs static) - --enable-threads - CC_FOR_BUILD="$(tc-getBUILD_CC)" - $("${S}/configure" --help | grep -o -- '--without-.*-prefix') - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/dev-libs/libtasn1/Manifest b/dev-libs/libtasn1/Manifest index c0923ad3a7da..353bdc92bda0 100644 --- a/dev-libs/libtasn1/Manifest +++ b/dev-libs/libtasn1/Manifest @@ -1,6 +1,4 @@ -DIST libtasn1-4.18.0.tar.gz 1724441 BLAKE2B b5f93a7575dde46741b6fc97183105efbc934e44041735241ba40ecd578c94637741df193dfab0d97e0348e2dde34b8b89a33ed616afa0bf64db6dbddebf1786 SHA512 4f2f4afc7561fda7a1f1c6c525c3c3b08228a1a4aa8c3d3d5e02e993d8f83ccee1dd0f1b201cec0fbfc97043d4b1d7a95ffd34d65422a38b85b931ac7a015831 DIST libtasn1-4.19.0.tar.gz 1786576 BLAKE2B 6e8232590cd87da3bfd9182ed44eccdfbdfcc85e88d8cf19fffdb3d600e04694b77079b95bbd822d2c3fff29458ddae0f0440f9c1c19c711923a2507bd19270f SHA512 287f5eddfb5e21762d9f14d11997e56b953b980b2b03a97ed4cd6d37909bda1ed7d2cdff9da5d270a21d863ab7e54be6b85c05f1075ac5d8f0198997cf335ef4 DIST libtasn1-4.19.0.tar.gz.sig 228 BLAKE2B f45b8c53844fad4d1044ef6915d88337affb0287973a0ffab2d77a6a61c850cebdea6904f077fcc13a8bc29ba7cbbef7cdf2a5e325c8180d574020eb3cb9f432 SHA512 e0417625f8df22c6421914bf2d4f19d7f27260c24c04f50e59669681f326debe06ddef9dc5a2e20fda50feb30bbbf3f41597e64961257304ec2c407aa76d107e -EBUILD libtasn1-4.18.0.ebuild 1335 BLAKE2B 19408380acad7e34909e92e1dd013820831cd1f81b1eb574a53b72f0184f98bab4419c399bd9844a8b01980105a4cfea00ef752a5436a453ef17089f58ae84c3 SHA512 6407ad71edd84df9b9b8403210f356953b9823533d28d3a2fa04ae033882e851e0f00f95a774cd8c9157aae9e6a333bd6682d69c5f8f3b172ff1b7475deeb842 EBUILD libtasn1-4.19.0.ebuild 1527 BLAKE2B 68cb4ac00b4fb8fc1588ba365b7414ed49e27c59bb05979075f7843f4a94d8aa9e7ea3ada89b3e5abb5f09dd90b40334f4b501e4f27f4b1f75ba8ddf25ffc2ee SHA512 651944b4af7c114090fc0f4c57f1a0b0e3641ee34b684cefe8665b15aaa9b2a4ecccb6a8f79b448cacbec05e9f8e07f8db01108c799ecedb1f3cfd8799edf649 MISC metadata.xml 578 BLAKE2B 9931be3a51d405db37106c52355f2ab82e4f6e8c76c2638b58517e5d06724eb55c013e0cc2ef77b6d52802804f0a270823e479d8eb152a0f3b0b9c46af8d288e SHA512 e75deed036f1bd132deb0fe75475e658891c38e30526474bc48dd8a04ca3fa1816646ac08ed5eb2afee57629c8a1af8d014c832ff9ca25935238735752106dc4 diff --git a/dev-libs/libtasn1/libtasn1-4.18.0.ebuild b/dev-libs/libtasn1/libtasn1-4.18.0.ebuild deleted file mode 100644 index f6bf3c887b59..000000000000 --- a/dev-libs/libtasn1/libtasn1-4.18.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal libtool - -DESCRIPTION="ASN.1 library" -HOMEPAGE="https://www.gnu.org/software/libtasn1/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3 LGPL-2.1" -SLOT="0/6" # subslot = libtasn1 soname version -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~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="static-libs test valgrind" - -RESTRICT="!test? ( test )" - -BDEPEND="sys-apps/help2man - virtual/yacc - test? ( valgrind? ( dev-util/valgrind ) )" - -DOCS=( - AUTHORS - ChangeLog - NEWS - README.md - THANKS -) - -src_prepare() { - default - elibtoolize # for Solaris shared library -} - -multilib_src_configure() { - # -fanalyzer substantially slows down the build and isn't useful for - # us. It's useful for upstream as it's static analysis, but it's not - # useful when just getting something built. - export gl_cv_warn_c__fanalyzer=no - - local myeconfargs=( - $(use_enable static-libs static) - $(multilib_native_use_enable valgrind valgrind-tests) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest index c23ab6a4734c..3c1ff55a1014 100644 --- a/dev-libs/mpfr/Manifest +++ b/dev-libs/mpfr/Manifest @@ -12,6 +12,5 @@ DIST mpfr-4.1.0-patch11.patch 4584 BLAKE2B 4ba240e7e8acc360eb2f05186493fd9044c8f DIST mpfr-4.1.0-patch12.patch 6768 BLAKE2B 15ce68eb9941ac5d6544ee18a062cb12026e07273a5424b3941596a1024f54cf5481363e145cac9375e518ec2033db82d4fe9152884c74a9037a81fd2c405b5e SHA512 4e91cffa0df911d68931ace13e86e420ec9f7d8e8a0279e12d995bbf8061b6bec90cb03ef8642a854f652907b13e533b7afb95f2279cf2dfa4010ec5d745ac3c DIST mpfr-4.1.0-patch13.patch 3344 BLAKE2B 1239cf16dfe32a71bb6fc7b156978cd451bcbe4e1b04842fdb3549352a43607d44d58120e38bf448ffd33e36bab7f7cfd4ab65b2eb3aac2fe9bbd86d8f425f5a SHA512 ddd5f54d12584b6e10fd4eba12b8568c5286dba10bd3b5cdd429415b78bc827bd0ed3957bd06ca4c2c63a2f5e877fd9d86eebade8929d61aafe84ace8454d016 DIST mpfr-4.1.0.tar.xz 1525476 BLAKE2B 41d1be0c4b557760f12a4525ad3a84b6e2cd6f0927c935fcfba577ac0490e582d1ae4b581dce58e21e705cf9d7c88373054d7fb7a94bb32c69b339f99a25dc68 SHA512 1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273 -EBUILD mpfr-4.1.0-r1.ebuild 1061 BLAKE2B 945f47250941a8eb20ba260e7a15441995c1918064a86572d108067952aa1f02898b6618ec24f2a64494726fc937b25ffc2dc9b33a0c0482feeeea754d5a37da SHA512 694154aa8944576b75ed96c6838de6715461b9cb317ffc945c99c8c78615eefcd8adfcf5051cf9b34e28024c91186233682311658231cc871ca5e41c7c0748a9 EBUILD mpfr-4.1.0_p13-r1.ebuild 2700 BLAKE2B 46afea4da633c055ece8404cfabe6171abb568061a33445a58a961b55a3eb23ed28f08011efc001de2fdccc79c3ab34cc2d798be48928b74d2d1a302b8273cf2 SHA512 2e088ffc2e2343d8ce54b62ff625df579ea9236e31981f893c478f1e2b14e19d3bfa332d98fe9c486793a23acf76b231abf8ada2c1f4e7319bafa9ace3daf2fa MISC metadata.xml 262 BLAKE2B fe330d67755784d14f5c5d664d7127d3cdb9edfab55b907ae3632f434d86323604f5095e1c1a9fbd169ae7a4cbb38f359e55f75047531786247c0674a4a53715 SHA512 3bcaca4e730edeed06fed73e79a5ce0a3358174672735ea4b27240c6c421ac9c33bc2b63a31e596fe1bbb6b1816c16cbc7ef4f258ca906ba04ea7db4aedc86b9 diff --git a/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild b/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild deleted file mode 100644 index e0e4244da6ac..000000000000 --- a/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal - -DESCRIPTION="Library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/ https://gitlab.inria.fr/mpfr" -SRC_URI="https://www.mpfr.org/mpfr-${PV}/${P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0/6" # libmpfr.so version -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~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="static-libs" - -RDEPEND=">=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -HTML_DOCS=( doc/FAQ.html ) - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf $(use_enable static-libs static) -} - -multilib_src_install_all() { - rm "${ED}"/usr/share/doc/"${P}"/COPYING* - use static-libs || find "${ED}"/usr -name '*.la' -delete -} diff --git a/dev-libs/nettle/Manifest b/dev-libs/nettle/Manifest index bcf4b07e2656..ea7709326820 100644 --- a/dev-libs/nettle/Manifest +++ b/dev-libs/nettle/Manifest @@ -1,9 +1,6 @@ DIST nettle-3.7.3.tar.gz 2383985 BLAKE2B 8d8efbbff98fc1f3eff3296681d3d72346e78392f356aebfe80138ae6ae1ebf3695bd7f74b906beef0cf3625ba6d84bdb43c0f6707f54f4d98870d50c90ac9a3 SHA512 9901eba305421adff6d551ac7f478dff3f68a339d444c776724ab0b977fe6be792b1d2950c8705acbe76bd924fd6d898a65eded546777884be3b436d0e052437 DIST nettle-3.8.1.tar.gz 2406251 BLAKE2B 22b4ec81645b579504356597ba87b637e46285682020c90e03ecaea386ac9b48eaf91ee76ae3b86b6060be355de20c320ab3b74958074ad23fc08ad9ab6a4cbb SHA512 a405da3438d185d96917b03b00abb9ab43e04f58f770f657f716c25d64bb258ee170a71328e74736caa7121f50c0c89d3cc840c1201d2a92cfaf1357d24bdc6a DIST nettle-3.8.1.tar.gz.sig 374 BLAKE2B e2bfce4aaa1be114fb9bf8724f25db75c69c3b98538df46e9b1428ce615f7db3b9e9f9240d232fddac195db4568439b3f58989c20beca82aa6db79f4956db547 SHA512 978304b1faa5adc3b0d6ea7e9597af6154ad5d6e328913ac19184ece94771fdb2a7d5ce0af535ae8d28cb6ccd94fb3d4ef2613c0356df9e08b5d4c26ea646e09 -DIST nettle-3.8.tar.gz 2404258 BLAKE2B 4e74104d04ccce2d0a531b703e4d4c2e8da24d5b7ac4d769d1bc5011fb5fbe8a016a6de84e0af9804c8b259b163fb77729181d64b81b3af4e8a0c2037e52087c SHA512 af3a910bd661ed9691b1bd66b0f8147aaebdc92ae6ab47640675df263409ecb8d25f0403fcc7dc6471264b9df0a47c025244404f0691ef58c133762f64b67610 -DIST nettle-3.8.tar.gz.sig 374 BLAKE2B 8fd841116bf99a1d7535359ee56972ddda33c9551c1327bf30ec1a6842104d3429a8fdab7a044c0d32c7689f28abdf75f46b9bec3daf78f58167c3e0a5b91da9 SHA512 cbcfb6088a88cbbc573fe477f73db750f3379a4778e4ddf1158768c5d09b12ea0ff65f4f6552f3cb3d18c851199870827f76836bcc8df61ffc35ef67bf98f3b3 EBUILD nettle-3.7.3.ebuild 1859 BLAKE2B 7c27c8dbb8baa219b6c48a396874cd0fce5be353d1588a9c7da28d9c7b0a2337ca7fb5b655244e69dc56e43e8c34aeb7a480a5ea58d273cbd1413683fc6641e0 SHA512 9351f5eaedb516a80e74266c8f34df473d9480aeec753801cfbb85192b3d0c89ebb74742777ee2498f486ded124b287348ab3c121c278c80c4f819212f21a8ee EBUILD nettle-3.8.1.ebuild 2643 BLAKE2B 8a71f3c3f81f2a7b13ac1971f993296f627af4b017d21d77afd1c2bd2c0cdfd39b4e1d9b2319964202c5650d04ff13ba218059448533ecde5db744a7ac58109e SHA512 e0ecfc64a304aac1cf0ee8cdc3d156fdaa7b621365751c0c87901f9794ecc5361b8ae78460454c0eef83ba617f55ebd50261fe825f22c7a86879766ba7979713 -EBUILD nettle-3.8.ebuild 2626 BLAKE2B ddcfdf096da9d6d90f41964f68dfaf506d4db0a9c3a1e28ddc403501a9ca5029e0e63107913b501c16dc64cf7fe087a6a147d2c6541cb02aed0aa29e24372c6d SHA512 6b0736bd0e01288331e2371ec2ec84006fc5946200458807973cde1068b839a0bbfdcdfcd7f26f8cb8bd4c8a1a4007190c492d397c531b685ba0644d97645562 MISC metadata.xml 514 BLAKE2B 4834f1c438d59a8af0e1c158e09a6d200746575f19ebb03a6ca6c2df5bf6f515ab4fda9efad9db27d7dece6a0cb760119a134a82a313f636a884d976e959c9eb SHA512 5ca3957b9fdc44dae6bb03596ba5aebe92464e5839dcbe5e3fabc83f1b8e76e9572c5bf9dfb16b465248f11007cf1e6b9d8956ea1b817d33aabcf5766ff860fb diff --git a/dev-libs/nettle/nettle-3.8.ebuild b/dev-libs/nettle/nettle-3.8.ebuild deleted file mode 100644 index 95a23319516d..000000000000 --- a/dev-libs/nettle/nettle-3.8.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/nettle.asc -inherit multilib-build multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Low-level cryptographic library" -HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" -SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" - -LICENSE="|| ( LGPL-3 LGPL-2.1 )" -# Subslot = libnettle - libhogweed soname version -SLOT="0/8-6" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~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="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul" -# The arm64 crypto option controls AES, SHA1, and SHA2 usage. -REQUIRED_USE="cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 ) - cpu_flags_arm_sha1? ( cpu_flags_arm_aes cpu_flags_arm_sha2 ) - cpu_flags_arm_sha2? ( cpu_flags_arm_aes cpu_flags_arm_sha1 )" - -DEPEND="gmp? ( >=dev-libs/gmp-6.1:0=[static-libs?,${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( sys-apps/texinfo ) - verify-sig? ( sec-keys/openpgp-keys-nettle )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/nettle/version.h -) - -DOCS=() -HTML_DOCS=() - -src_prepare() { - default - - # I do not see in config.sub reference to sunldsolaris. - # if someone complains readd - # -e 's/solaris\*)/sunldsolaris*)/' \ - sed -e '/CFLAGS=/s: -ggdb3::' \ - -i configure.ac configure || die - - if use doc ; then - DOCS+=( nettle.pdf ) - HTML_DOCS+=( nettle.html ) - fi -} - -multilib_src_configure() { - local myeconfargs=( - CC_FOR_BUILD="$(tc-getBUILD_CC)" - - $(tc-is-static-only && echo --disable-shared) - - # Intrinsics - $(use_enable cpu_flags_arm_neon arm-neon) - $(use_enable cpu_flags_arm_aes arm64-crypto) - $(use_enable cpu_flags_ppc_altivec power-altivec) - $(use_enable cpu_flags_x86_aes x86-aesni) - $(use_enable cpu_flags_x86_sha x86-sha-ni) - $(use_enable cpu_flags_x86_pclmul x86-pclmul) - # TODO: PPC crypto flag? - --disable-power-crypto-ext - # TODO: cpu_flags_s390? - --disable-s390x-vf - --disable-s390x-msa - - $(use_enable asm assembler) - $(multilib_native_use_enable doc documentation) - $(use_enable gmp public-key) - $(use_enable static-libs static) - --disable-fat - - # openssl is just used for benchmarks (bug #427526) - --disable-openssl - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} diff --git a/dev-libs/nsync/Manifest b/dev-libs/nsync/Manifest index 4ffac3cf8c13..d1549b9252a2 100644 --- a/dev-libs/nsync/Manifest +++ b/dev-libs/nsync/Manifest @@ -1,3 +1,5 @@ DIST nsync-1.24.0.tar.gz 155132 BLAKE2B 9a914b408faf8fff96a57fd3868c34aa96b4243ef2acd30dbdbe1fc90a1818d58ffc96bc6d016f5539c0e266fc1fb633952edba0a51b115904c9d6b06a35f7f8 SHA512 14dd582488072123a353c967664ed9a3f636865bb35e64d7256dcc809539129fa47c7979a4009fd45c9341cac537a4ca6b4b617ba2cae1d3995a7c251376339f +DIST nsync-1.25.0.tar.gz 155250 BLAKE2B e30e9a72d999e589a1422014f81fbab29f61802b0ebeb9f08793d3a4d50fb5f66e404558cb7f46f2a2c499c1804cd013c12604038222121680988c85b7e186ff SHA512 8e7a3b99237fb68bf3fd85490394e3fe2b73ff805b1bc885549856908599b98c86600c71888d19d9d36a56caa91cad176a1e9fc413686e5018cefe3908364c6b EBUILD nsync-1.24.0-r1.ebuild 531 BLAKE2B 1d5ca5c79b29647e351fd8ede1e576753afc2aeb350e1894338223cc71c8f10b79b84dabcd15ca7693be5c033832235a46c2f719ecc5bfaf36edc5ff99181ba6 SHA512 ec9855a88ad1de2784f3639f9e5381bddbf74a58670bd63d73fc6baca4771ea5db0cef4d9c3cd6e1e7e6db288c708c5b8570d831fb0b9b372463cd62b12ff0b4 +EBUILD nsync-1.25.0.ebuild 533 BLAKE2B d862565db52e70bfde47a5adb7ad47ed1fbe8acde9ec569b7c6419f0896c4fac7b41fca97369ee2c0a2fbba9cace5177f4f4e1c9882cff10c15e604cae74dac8 SHA512 aae0c836c035d310eaa4272c3c83cc321538899f6a1f053eaf350c0977dbd995e8dd74d74328763382cc2c5038ce98877aeab2c29df41b01182a90f820b89a6e MISC metadata.xml 248 BLAKE2B fc6c49e6d2a9807728c39d8b35e23c41446ef45106e9e400926334eecc4fac18c2614dfa18e68888f2e8c7d9356468794734ad0b33bbdf632f690a1c3dc4df34 SHA512 d9e2f282ed49c5ecde0d12d63ebcc971b7c487b9cdac14fe57790cc89a5984ea62bd0ba7c9aed86679598e7704c38f1767e0222d7f54c694f4328a9c4b9d36fa diff --git a/dev-libs/nsync/nsync-1.25.0.ebuild b/dev-libs/nsync/nsync-1.25.0.ebuild new file mode 100644 index 000000000000..9f9a537adafb --- /dev/null +++ b/dev-libs/nsync/nsync-1.25.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C library that exports various synchronization primitives, such as mutexes" +HOMEPAGE="https://github.com/google/nsync" +SRC_URI="https://github.com/google/nsync/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DNSYNC_ENABLE_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest index 1ff117e78b4b..f35155826c44 100644 --- a/dev-libs/xmlrpc-c/Manifest +++ b/dev-libs/xmlrpc-c/Manifest @@ -1,5 +1,9 @@ +AUX xmlrpc-c-1.51.06-pkg-config-libxml2.patch 7240 BLAKE2B 472b313f8b815c1235cc72b56e9081d855277de21e066a1f2db5acb650d4fc4daedca2e82c05116b353b340c1359bfd8e480b19bd1cc5f4f36627f7ccf66760a SHA512 478af29becba5ee415f0b92f15af1cd8273daf14bc4b5fee4deca83197f11a975a40c94c9400050eac5030eb840d55a54282aaed403f105ab0752b1eec398c08 +AUX xmlrpc-c-1.51.06-pkg-config-openssl.patch 1244 BLAKE2B be5e48daa409cb67ae5f75fec54c25ee160e476ef03e5814917f81c887622e8acb5456af29e976ffec761ce4e16c3d5c5b14b75151c594afdc6e8dd48b4dd596 SHA512 73b983c6e0fa97ba0dbceb8bbc7699a51f4e625c05cdfc5a27bf973bf039e9224eb1ec7f21e94ae70d8e32b4f9a1b1dbb04959f639e558b32270a467a72a87e3 DIST xmlrpc-c-1.51.06.tgz 933161 BLAKE2B 8023444e14e7e41f5433cebeb0fcb7a7323dd734f658155e117d3547b4d61ef81c189395662bf68074dcf1ec5c47ee550cd18773ce8bf0bd53cb0a1764cce945 SHA512 2927fc8c01d42b6f838d8b0c839f09a7dd0d1ddc5a3d7b36c9d479f1c7bf7fdf14923f640883f98ba66067eda0f5379737bf3a5bc9d4b9abe1a7eff7d7def066 DIST xmlrpc-c-1.54.05.tgz 933228 BLAKE2B 50d73fe22454f04ffebf11d4b88986eaac571d107abce4e04244ad0b74469fc5233178967e3dd832a8525514912e4f835fa1ce13c439caf918a2b2d0c05021a0 SHA512 81bf8f398e9cb73b421907d8e304b9a6dc8da931f573f7296457486ade432f4a00a94b6850391690f7b229928f785522e5852db8aca68cb462c71d139e4f27b1 EBUILD xmlrpc-c-1.51.06-r2.ebuild 2220 BLAKE2B 0da9ca0b686fb0e01bb9eb9310ee15de032cd2d21114525132125af4dadd4e1256e5bae0701dd422100303f96ddf5e2806b9acdd4021c180097260450e6af11c SHA512 36b12377551f37c6bf8411f4ef5899bb52550135e6c8b963016efc9ab0f07bd3fbd414bb3a16045ee63d872d53efc353d92ff304e9d678d1c9b3a93f8c341baa +EBUILD xmlrpc-c-1.51.06-r3.ebuild 2416 BLAKE2B 05ad0438a4a14830aa461fe146ad32d951f0df3681ef9517fd584a4ae3f5af360cc22e7c5748d46aaa96595ec62594640a1b1ef1a7fcdfafe1941eb189a7b9d9 SHA512 a8f9edfd8d5533f9f5c954b0fa03dcc09b30ce9cebe64d37fe71db13c5c13a640aeea165349a876e18c4bdbef8b40604d126b75456f4ebba73a3461270ab7e7e +EBUILD xmlrpc-c-1.54.05-r1.ebuild 2423 BLAKE2B 828387b760176093e38f1b1827c43ada80e2f5b5fa2b3d69d44e0238a4b828e43a70e98b28f63e8fcccfcdcd8e5af5cf59c20af69f062b103ac462123a037a25 SHA512 6ccbb74044cb3a1cc8da1f9e14c6050ef431b957ab5d9dc910c7acbf47e3b6c9c42d29b2d39175cdf35d50d7cf8a66f584906fdfbe29c570dfde1238ce87dd72 EBUILD xmlrpc-c-1.54.05.ebuild 2233 BLAKE2B e7fae962a0dbabc1f40f1286a0873695c3dfe500326404d3058979cdefdde7943629c3b4e5bb2fd38741d5ab5d77b850756dc669ed0241e52869a7416ded05e9 SHA512 8c7e928a659357fb2c5fcfeef55fe7e30fbe857c625d84e07222713c9ef497c16af16c9ce08425115b1d2c109ae0cb2c28bb25003a3a633aebdc63a18a711022 MISC metadata.xml 628 BLAKE2B 3d59eebbcf6eddfba969215a990fd59daa58b78dc305f05d10ba9f77f3ce5d5edbed0599644b40574beacb3c1e084af745bc2d75f0cb660968f4e3bf963c4f00 SHA512 fd572b06cc3359372e5b048d721b33d6bb614ab631fec95628af36217f94434fc9f279d83ec0de8828cd72265158b1a88f58418f94fb2e3d3e82de117c7bea71 diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch new file mode 100644 index 000000000000..df8d992c62d8 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-libxml2.patch @@ -0,0 +1,225 @@ +https://sourceforge.net/p/xmlrpc-c/code/3151 +https://bugs.gentoo.org/870253 +--- a/common.mk ++++ b/common.mk +@@ -281,7 +281,7 @@ + -L$(BLDDIR)/lib/expat/xmlparse -lxmlrpc_xmlparse \ + -L$(BLDDIR)/lib/expat/xmltok -lxmlrpc_xmltok + else +- LDLIBS_XML = $(shell xml2-config --libs) ++ LDLIBS_XML = $(shell ${PKG_CONFIG} libxml-2.0 --libs) + endif + + # LIBXMLRPC_UTIL_LIBDEP is the string of linker options you need on the link +--- a/configure ++++ b/configure +@@ -628,9 +628,8 @@ + CC_WARN_FLAGS + CXX_COMPILER_GNU + C_COMPILER_GNU ++HAVE_LIBWWW_SSL_DEFINE + ENABLE_LIBXML2_BACKEND +-have_xml2_config +-HAVE_LIBWWW_SSL_DEFINE + HAVE_ABYSS_OPENSSL_DEFINE + MUST_BUILD_ABYSS_OPENSSL + HAVE_OPENSSL +@@ -781,8 +780,8 @@ + enable_cplusplus + enable_abyss_threads + enable_abyss_openssl ++enable_libxml2_backend + with_libwww_ssl +-enable_libxml2_backend + ' + ac_precious_vars='build_alias + host_alias +@@ -6053,62 +6053,39 @@ + fi + + ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Libxml2 library" >&5 ++$as_echo_n "checking for Libxml2 library... " >&6; } ++ ++if ${PKG_CONFIG} libxml-2.0; then ++ HAVE_LIBXML2=yes ++else ++ HAVE_LIBXML2=no ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LIBXML2" >&5 ++$as_echo "$HAVE_LIBXML2" >&6; } ++ ++# Check whether --enable-libxml2-backend was given. ++if test "${enable_libxml2_backend+set}" = set; then : ++ enableval=$enable_libxml2_backend; ++else ++ enable_libxml2_backend=no ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libxml2 backend" >&5 ++$as_echo_n "checking whether to build the libxml2 backend... " >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libxml2_backend" >&5 ++$as_echo "$enable_libxml2_backend" >&6; } ++ ++if test $enable_libxml2_backend = yes; then ++ if test $HAVE_LIBXML2 = no; then ++ as_fn_error $? "You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no pkg-config file for it in your pkg-config search path), so we cannot not build for libxml2" "$LINENO" 5 ++ fi ++fi ++ ++ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend ++ ++ +-# Check whether --enable-libxml2-backend was given. +-if test "${enable_libxml2_backend+set}" = set; then : +- enableval=$enable_libxml2_backend; +-else +- enable_libxml2_backend=no +-fi +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libxml2 backend" >&5 +-$as_echo_n "checking whether to build the libxml2 backend... " >&6; } +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libxml2_backend" >&5 +-$as_echo "$enable_libxml2_backend" >&6; } +- +-if test $enable_libxml2_backend = yes; then +- # Extract the first word of "xml2-config", so it can be a program name with args. +-set dummy xml2-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_have_xml2_config+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- if test -n "$have_xml2_config"; then +- ac_cv_prog_have_xml2_config="$have_xml2_config" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_have_xml2_config="yes" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- test -z "$ac_cv_prog_have_xml2_config" && ac_cv_prog_have_xml2_config="no" +-fi +-fi +-have_xml2_config=$ac_cv_prog_have_xml2_config +-if test -n "$have_xml2_config"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xml2_config" >&5 +-$as_echo "$have_xml2_config" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi +- +- +- if test $have_xml2_config = no; then +- as_fn_error $? "You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no working xml2-config in your command search path), so we cannot not build for libxml2" "$LINENO" 5 +- fi +-fi +-ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend + + + C_COMPILER_GNU=$ac_cv_c_compiler_gnu +--- a/configure.in ++++ b/configure.in +@@ -742,6 +742,36 @@ + + + dnl ======================================================================= ++dnl Finding Libxml2 ++dnl ======================================================================= ++ ++AC_MSG_CHECKING(for Libxml2 library) ++ ++if ${PKG_CONFIG} libxml-2.0; then ++ HAVE_LIBXML2=yes ++else ++ HAVE_LIBXML2=no ++fi ++ ++AC_MSG_RESULT($HAVE_LIBXML2) ++ ++AC_ARG_ENABLE(libxml2-backend, ++ [ --enable-libxml2-backend Use libxml2 instead of built-in expat], , ++enable_libxml2_backend=no) ++AC_MSG_CHECKING(whether to build the libxml2 backend) ++AC_MSG_RESULT($enable_libxml2_backend) ++ ++if test $enable_libxml2_backend = yes; then ++ if test $HAVE_LIBXML2 = no; then ++ AC_MSG_ERROR([You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no pkg-config file for it in your pkg-config search path), so we cannot not build for libxml2]) ++ fi ++fi ++ ++ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend ++AC_SUBST(ENABLE_LIBXML2_BACKEND) ++ ++ ++dnl ======================================================================= + dnl Checks for build options. + dnl ======================================================================= + +@@ -763,22 +793,6 @@ + fi + AC_SUBST(HAVE_LIBWWW_SSL_DEFINE) + +-dnl Check to see if we should build the libxml2 backend. +-AC_ARG_ENABLE(libxml2-backend, +- [ --enable-libxml2-backend Use libxml2 instead of built-in expat], , +-enable_libxml2_backend=no) +-AC_MSG_CHECKING(whether to build the libxml2 backend) +-AC_MSG_RESULT($enable_libxml2_backend) +- +-if test $enable_libxml2_backend = yes; then +- AC_CHECK_PROG(have_xml2_config, xml2-config, yes, no) +- if test $have_xml2_config = no; then +- AC_MSG_ERROR([You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no working xml2-config in your command search path), so we cannot not build for libxml2]) +- fi +-fi +-ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend +-AC_SUBST(ENABLE_LIBXML2_BACKEND) +- + dnl ======================================================================= + dnl Compiler information + dnl ======================================================================= +--- a/src/Makefile ++++ b/src/Makefile +@@ -68,7 +68,7 @@ + + ifeq ($(ENABLE_LIBXML2_BACKEND),yes) + XMLRPC_XML_PARSER = xmlrpc_libxml2 +- XML_PARSER_LIBDEP = $(shell xml2-config --libs) ++ XML_PARSER_LIBDEP = $(shell ${PKG_CONFIG} libxml-2.0 --libs) + XML_PARSER_LIBDEP_DEP = + XML_PKGCONFIG_REQ = libxml-2.0 + else +@@ -276,7 +276,7 @@ + -Isrcdir/lib/util/include \ + + ifeq ($(ENABLE_LIBXML2_BACKEND),yes) +- LIBXML_INCLUDES = $(shell xml2-config --cflags) ++ LIBXML_INCLUDES = $(shell ${PKG_CONFIG} libxml-2.0 --cflags) + else + LIBXML_INCLUDES = -Isrcdir/lib/expat/xmlparse + endif +--- a/src/cpp/Makefile ++++ b/src/cpp/Makefile +@@ -46,7 +46,7 @@ + endif + + ifeq ($(ENABLE_LIBXML2_BACKEND),yes) +- XML_PARSER_LIBDEP = $(shell xml2-config --libs) ++ XML_PARSER_LIBDEP = $(shell ${PKG_CONFIG} libxml-2.0 --libs) + else + XML_PARSER_LIBDEP = \ + -L$(BLDDIR)/lib/expat/xmlparse -lxmlrpc_xmlparse \ diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch new file mode 100644 index 000000000000..b39ae428f29b --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.51.06-pkg-config-openssl.patch @@ -0,0 +1,46 @@ +https://sourceforge.net/p/xmlrpc-c/code/3152 +https://bugs.gentoo.org/870253 +--- a/configure ++++ b/configure +@@ -5974,11 +5974,11 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library" >&5 + $as_echo_n "checking for OpenSSL library... " >&6; } + +-if pkg-config openssl; then +- HAVE_OPENSSL=yes +- OPENSSL_LDADD=$(pkg-config openssl --libs) +- +- OPENSSL_CFLAGS=$(pkg-config openssl --cflags) ++if ${PKG_CONFIG} openssl; then ++ HAVE_OPENSSL=yes ++ OPENSSL_LDADD=$(${PKG_CONFIG} openssl --libs) ++ ++ OPENSSL_CFLAGS=$(${PKG_CONFIG} openssl --cflags) + + else + HAVE_OPENSSL=no + +--- a/config.mk.in ++++ b/config.mk.in +@@ -59,6 +59,8 @@ + C_COMPILER_GNU = @C_COMPILER_GNU@ + CXX_COMPILER_GNU = @CXX_COMPILER_GNU@ + ++PKG_CONFIG ?= pkg-config ++ + # Stuff 'configure' figured out via AC_CANONICAL_HOST macro in configure.in + # and config.guess program and 'configure' command options: + +--- a/lib/openssl/Makefile ++++ b/lib/openssl/Makefile +@@ -25,8 +25,8 @@ + + MAJ := 1 + +-OPENSSL_INCLUDES := $(shell pkg-config openssl --cflags) +-OPENSSL_LIBS := $(shell pkg-config openssl --libs) ++OPENSSL_INCLUDES := $(shell $(PKG_CONFIG) openssl --cflags) ++OPENSSL_LIBS := $(shell $(PKG_CONFIG) openssl --libs) + + include $(SRCDIR)/common.mk + diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.51.06-r3.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.51.06-r3.ebuild new file mode 100644 index 000000000000..2f376e845193 --- /dev/null +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.51.06-r3.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal toolchain-funcs + +# Upstream maintains 3 release channels: http://xmlrpc-c.sourceforge.net/release.html +# 1. Only the "Super Stable" series is released as a tarball +# 2. SVN tagging of releases seems spotty: http://svn.code.sf.net/p/xmlrpc-c/code/release_number/ +# Because of this, we are following the "Super Stable" release channel + +DESCRIPTION="A lightweight RPC library based on XML and HTTP" +HOMEPAGE="http://xmlrpc-c.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="BSD" +SLOT="0/4.51" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +IUSE="abyss +cgi +curl +cxx +libxml2 threads test" + +RESTRICT="!test? ( test )" + +REQUIRED_USE="test? ( abyss curl cxx )" + +RDEPEND=" + sys-libs/ncurses:0=[${MULTILIB_USEDEP}] + sys-libs/readline:0=[${MULTILIB_USEDEP}] + curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) + libxml2? ( dev-libs/libxml2[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch + "${FILESDIR}"/${PN}-1.51.06-pkg-config-openssl.patch +) + +pkg_setup() { + use curl || ewarn "Curl support disabled: No client library will be built" +} + +src_prepare() { + sed -i \ + -e "/CFLAGS_COMMON/s|-g -O3$||" \ + -e "/CXXFLAGS_COMMON/s|-g$||" \ + common.mk || die + + default + + # Out-of-source install phase is broken + multilib_copy_sources +} + +multilib_src_configure() { + tc-export PKG_CONFIG + + ECONF_SOURCE="${S}" \ + econf \ + --disable-libwww-client \ + --disable-wininet-client \ + --without-libwww-ssl \ + $(use_enable abyss abyss-server) \ + $(use_enable cgi cgi-server) \ + $(use_enable curl curl-client) \ + $(use_enable cxx cplusplus) \ + $(use_enable libxml2 libxml2-backend) \ + $(use_enable threads abyss-threads) +} + +multilib_src_compile() { + default_src_compile + # Tools building is broken in this release + #multilib_is_native_abi && use tools && emake -rC "${S}"/tools +} + +multilib_src_test() { + # Needed for tests, bug #836469 + cp "${BUILD_DIR}"/include/xmlrpc-c/config.h "${S}"/include/xmlrpc-c || die + default_src_test +} + +#multilib_src_install_all() { +# # Tools building is broken in this release +# #use tools && emake DESTDIR="${D}" -rC "${S}"/tools install +#} diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r1.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r1.ebuild new file mode 100644 index 000000000000..c473a0e5f5f2 --- /dev/null +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal toolchain-funcs + +# Upstream maintains 3 release channels: http://xmlrpc-c.sourceforge.net/release.html +# 1. Only the "Super Stable" series is released as a tarball +# 2. SVN tagging of releases seems spotty: http://svn.code.sf.net/p/xmlrpc-c/code/release_number/ +# Because of this, we are following the "Super Stable" release channel + +DESCRIPTION="A lightweight RPC library based on XML and HTTP" +HOMEPAGE="http://xmlrpc-c.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="BSD" +SLOT="0/4.54" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +IUSE="abyss +cgi +curl +cxx +libxml2 threads test" + +RESTRICT="!test? ( test )" + +REQUIRED_USE="test? ( abyss curl cxx )" + +RDEPEND=" + sys-libs/ncurses:0=[${MULTILIB_USEDEP}] + sys-libs/readline:0=[${MULTILIB_USEDEP}] + curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) + libxml2? ( dev-libs/libxml2[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch + "${FILESDIR}"/${PN}-1.51.06-pkg-config-openssl.patch +) + +pkg_setup() { + use curl || ewarn "Curl support disabled: No client library will be built" +} + +src_prepare() { + sed -i \ + -e "/CFLAGS_COMMON/s|-g -O3$||" \ + -e "/CXXFLAGS_COMMON/s|-g$||" \ + common.mk || die + + default + + # Out-of-source install phase is broken + multilib_copy_sources +} + +multilib_src_configure() { + tc-export PKG_CONFIG + + ECONF_SOURCE="${S}" \ + econf \ + --disable-libwww-client \ + --disable-wininet-client \ + --without-libwww-ssl \ + $(use_enable abyss abyss-server) \ + $(use_enable cgi cgi-server) \ + $(use_enable curl curl-client) \ + $(use_enable cxx cplusplus) \ + $(use_enable libxml2 libxml2-backend) \ + $(use_enable threads abyss-threads) +} + +multilib_src_compile() { + default_src_compile + # Tools building is broken in this release + #multilib_is_native_abi && use tools && emake -rC "${S}"/tools +} + +multilib_src_test() { + # Needed for tests, bug #836469 + cp "${BUILD_DIR}"/include/xmlrpc-c/config.h "${S}"/include/xmlrpc-c || die + default_src_test +} + +#multilib_src_install_all() { +# # Tools building is broken in this release +# #use tools && emake DESTDIR="${D}" -rC "${S}"/tools install +#} -- cgit v1.2.3