diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
commit | ebc282ef4dfa408accac685565b8ee5f6faec119 (patch) | |
tree | c0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /net-libs | |
parent | 6c8694a707151d59555b0e4e48235f085ce166c3 (diff) |
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'net-libs')
24 files changed, 709 insertions, 82 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 52b98635995d..0c2de9d6e709 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest index 83385bec5c36..fcf3def7d8b7 100644 --- a/net-libs/davix/Manifest +++ b/net-libs/davix/Manifest @@ -1,6 +1,6 @@ AUX davix-0.8.3-enable-ctest.patch 639 BLAKE2B d88b3483f006057c2b91b70591af18f9922abab94c9423c7304663d66d7f6fa3bc61da9780ea6776bd2df998d783a90fb85357cbc1390ec45081c37f1eb84485 SHA512 636b0797206697c9141b1a22c0778fa448b896f1fcd0b115f58848895c3fecfdd47b95b99cd669fc49f3e5a5ef54df24c7fc523bc719a6d3c2a5c4b2892f87bb -DIST davix-0.7.6.tar 4338692 BLAKE2B 72a918f52993ea358f243df671823a4624ac5650753e06c8f70f75a800f10adfe7f6c63d9c8fdcefb94874e3c60c3909e7aa96969af1210347ea941a42f4b9df SHA512 3e379acc763e72e2e1684121e2688da6c617b2c1f52ffd7a2a2559998a64aba957f09f7b138c57f8f4d7a26caff4fef09952cca48585bb4f6aea1f071aa9a7b7 DIST davix-0.8.3.tar.gz 7615016 BLAKE2B 7bb9ba6e267439db0f8b42d2a2b48ded801e3a10d6443101918514f999922e9cabce485b7a666ee0c1fb60d18cd537aa76b93096eeb0445b5ce4b25e214496d4 SHA512 ce5c66e8d59710e5658a6bb9bebdce3749843ab672274171f936cc533ce42689e1f75454de2a71529df97eb182d996c4ade00f30e1b21891fbfe4a40b1dd2dc5 -EBUILD davix-0.7.6.ebuild 1633 BLAKE2B def402dfcbdfa44d7eb59b80e7e0a382d9d57bba31fa7606460c3617f83af20c7bac3e9a6738ac2348db8740d5f118b5dea411c214364ba3c252b94c599c0999 SHA512 63c22c21153d3bd8dfdc4e98e8643afebfd0e18714ff984a85267f920c710a32c6abd4cb789297ef21493af8a071881ed7662abfb69ee035765e89ed82fd7a9f -EBUILD davix-0.8.3.ebuild 1780 BLAKE2B ac942bc42228a682a3cc147f6459be6fd37d23cae5108fa8ccb3d843e482f5576aa364311a666261397617ac170d913d85f923074c48786aee0bc86de8b436dc SHA512 7ee669705cc2deb57a4899b39d0d5d1fede4b410b7baaf61f1118d7cc90b41486c0613f6a3caa896d6a56fe29454ff5e7feaca24496af4513c435d18d072800c -MISC metadata.xml 328 BLAKE2B e7f21fc1dad2a970911a75c9d239071b31447bc7707b0f534d447e723d3d567d46a10cea2164138ab30e6de7bda77fdfc7f8c860d1be8ea9921fc864db7e0018 SHA512 9701f7b63e1a203c6810f51a6c107f99bad9a67eac56566831be2b1930a0759aff15b3a02598a2814dfe46fb28ed28fed12e7d45a7614b623cb05ac90345f76a +DIST davix-0.8.4.tar.gz 7616367 BLAKE2B 0048d066b5ebae0639ea511dfb9147a5c76b73e5f273e0912abd7a10c40228bbbc60fea56f1b91a1c64b396b5ab67a291b42743e037e1e61a14aee2fbb783e09 SHA512 09a0389788b525e3c29639091c11ab4dacf1668efec42a93f3e995663793467b7aaf43daf66351e8a140f760711e96391c1cce0759a7f198110ebe511c0c7a4d +EBUILD davix-0.8.3.ebuild 1779 BLAKE2B e75bb01d8399fbb7a65b86288be855e0da924cce51da87003342915bf93cead77d87796f9d3e9fcd1f7337bb4342dc82b9fded083b894a9af4e56bd2eed352c0 SHA512 98d61c3dfcad81e45709c9923d27e56226c5f4d47d32cec73b99fa059604c4a500170e021c5aa118cc1db689cebf9773c3d7fa28cc38de0b5322a4b1fb07ef75 +EBUILD davix-0.8.4.ebuild 1750 BLAKE2B 0e9d7b7a0d6cb2e15767e0b26e446f7f4238e5091208881ffbed7f75ab724ac9af53d4a8959220aee0edffabbf26f5ed8e0b6c85acca70cb2b61710697f71380 SHA512 adb079bd2e5db0067b219e2ce14866a2708150d7fc906d4430450ca5b580ff1973e73b89164725724df6d7a075032c5dcfc288d520f06e7806244fab75fbc0b0 +MISC metadata.xml 411 BLAKE2B 2337249e053b9d5328625bc392a9234c61dab65c76d7eab80cf3ae928eadb39d9de9c952fe9f52dca01623ff4012eb121f78b0c32138e0c833dec494e683ef84 SHA512 dcd6132646ff919ba6ec3c4dbb9a31745edbc0b5faa658fe7c0f4d42737122d5294aff00c293a11ba7d8c0bafd10a931dd519c04245c8618c6ea969ec4f9e2ea diff --git a/net-libs/davix/davix-0.8.3.ebuild b/net-libs/davix/davix-0.8.3.ebuild index c8bd4fa184fd..4b976fe682fd 100644 --- a/net-libs/davix/davix-0.8.3.ebuild +++ b/net-libs/davix/davix-0.8.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/cern-fts/${PN}/releases/download/R_${PV//./_}/${P}.t LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc ipv6 test tools" RESTRICT="!test? ( test )" diff --git a/net-libs/davix/davix-0.7.6.ebuild b/net-libs/davix/davix-0.8.4.ebuild index 015f1c2d8452..1e98f134e369 100644 --- a/net-libs/davix/davix-0.7.6.ebuild +++ b/net-libs/davix/davix-0.8.4.ebuild @@ -1,24 +1,27 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit cmake +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake python-any-r1 DESCRIPTION="High-performance file management over WebDAV/HTTP" -HOMEPAGE="https://dmc.web.cern.ch/projects/davix" -SRC_URI="http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/${PN}/${PV}/${P}.tar.gz -> ${P}.tar" +HOMEPAGE="https://github.com/cern-fts/davix" +SRC_URI="https://github.com/cern-fts/${PN}/releases/download/R_${PV//./_}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc ipv6 test tools" +KEYWORDS="~amd64 ~x86" +IUSE="doc test tools" RESTRICT="!test? ( test )" CDEPEND=" dev-libs/libxml2:2= dev-libs/openssl:0= net-libs/gsoap[ssl,-gnutls] + net-misc/curl:0= kernel_linux? ( sys-apps/util-linux ) " @@ -29,6 +32,7 @@ BDEPEND=" dev-python/sphinx ) virtual/pkgconfig + ${PYTHON_DEPS} " RDEPEND="${CDEPEND}" @@ -47,9 +51,12 @@ src_prepare() { src_configure() { local mycmakeargs=( + -DPython_EXECUTABLE="${PYTHON}" -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}" + -DEMBEDDED_LIBCURL=OFF + -DLIBCURL_BACKEND_BY_DEFAULT=OFF -DENABLE_HTML_DOCS=$(usex doc) - -DENABLE_IPV6=$(usex ipv6) + -DENABLE_IPV6=TRUE -DENABLE_TCP_NODELAY=TRUE -DENABLE_THIRD_PARTY_COPY=TRUE -DENABLE_TOOLS=$(usex tools) @@ -71,12 +78,8 @@ src_compile() { src_install() { cmake_src_install - - if ! use tools; then - rm -rf "${ED}/usr/share/man/man1" - fi - if use test; then - rm -rf "${ED}/usr/bin/davix-unit-tests" + rm "${ED}/usr/bin/davix-unit-tests" || die + rm "${ED}/usr/bin/davix-tester" || die fi } diff --git a/net-libs/davix/metadata.xml b/net-libs/davix/metadata.xml index e10c61be50c2..caa4378b455e 100644 --- a/net-libs/davix/metadata.xml +++ b/net-libs/davix/metadata.xml @@ -8,4 +8,7 @@ <use> <flag name="tools">Install additional tools</flag> </use> + <upstream> + <remote-id type="github">cern-fts/davix</remote-id> + </upstream> </pkgmetadata> diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest index e61c21050350..b35b748c8f2c 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -4,7 +4,13 @@ DIST gnutls-3.7.7.tar.xz 6351664 BLAKE2B a66037ecc6da660ff12949f50012840263c2e0b DIST gnutls-3.7.7.tar.xz.sig 685 BLAKE2B 53d76a06ed5a74664d6c193459eb310f06e87dd3db97aca9e9fa78837677df58d8de66f187c182b9375786ee0308c5da55f08414183c959c7acb4527c38cd7c7 SHA512 6463bc4661e20051ff9f31c1a557cece34d06b748f4e24f98e807ddc72a3daa9348aa9f0afa83a0f9cd226421c575210eec1936fbeb9a55849e2c397ace9d03d DIST gnutls-3.7.8.tar.xz 6029220 BLAKE2B 0a21e63c7cb0ba4eeff23593c7282e0b4d704fa2d2a1cd5289998fd04b58ea36fc343f872225ad05478e278b1cdebbcd0fd376459abcb58547f8fa1488485530 SHA512 4199bcf7c9e3aab2f52266aadceefc563dfe2d938d0ea1f3ec3be95d66f4a8c8e5494d3a800c03dd02ad386dec1738bd63e1fe0d8b394a2ccfc7d6c6a0cc9359 DIST gnutls-3.7.8.tar.xz.sig 1250 BLAKE2B 66c6a335c3b2290a4e44ffa6ae715ad71d2bcd7df485c1d2d9490985d9dcd445768d6eb021ad3a61614431183c6652254c63ebd8abd0f0a03d3164a6193b6192 SHA512 cecf9843e8683a278d065b663dc98ac2b5fcad1905ee25333038c93c2289b518c974629367e77e66552ac1c9d122d551616edba35cb0c4204202ec676f1a2db7 +DIST gnutls-3.7.9.tar.xz 6377212 BLAKE2B c8263381132b0c96f23a580823cfaf57112056876e5f2cc21aec4eeddec641b0c01fa02ff9493ea686f49fd917190b06f89379eb448a510cf4d50fe3a0742851 SHA512 56ccbab5f214f9e3cf10a43dd90dedc1e10a38d08b8359a4305dc05c59ddb4a1d3680b282077b6446605c31675a4261cd0579c2c0d976e0b2ced02e6dba224c1 +DIST gnutls-3.7.9.tar.xz.sig 685 BLAKE2B 2e7ba793d026cf96c54c75a81160c58cf21d6d5f034a603ffe88d5fa4cbfa1d4fd590efbe81fbee7790cd4956776085b7827fead67c9b07f1d7eadd405815eb7 SHA512 906227a0d6f57878e85e9acdf754d20b7628a7a95b40aeffced398a0a0c6220f5e32191a9f988f55b8b903bf55212179dce2abcc08c2bb3397a2704dd2319438 +DIST gnutls-3.8.0.tar.xz 6378480 BLAKE2B 64784e9c0ac4dcab2c9e90d7d17d0bd8a0021224be285c12a53673f3a52aa3f189152b1b0b4aaae5a8fb41951361af1fd04a5b535774c4a26c26eb895519af40 SHA512 2507b3133423fdaf90fbd826ccb1142e9ff6fc90fcd5531720218f19ddf0e6bbb8267d23bad35c0954860e5a4179da74823e0c8357db56a14f252e6ec9d59629 +DIST gnutls-3.8.0.tar.xz.sig 684 BLAKE2B c5dbed12b8233ed8502dac16b77d6043591296f4b9ddb0445271e8fe875c2a05b9663ad6523cca6355faaa9d244cc6e6fb8ff0d65fee47b36ab6b57f57d89f64 SHA512 9db8db74aa0ebd871287b07b6a8a9f4ce90188633618e669fe07cb8bb314b624c14761f6fe1970e2fbffa87f7c0d6daa4b0fa838bd05f74b8b18cd1b5325c654 EBUILD gnutls-3.7.6.ebuild 4767 BLAKE2B 06efaab9ed7e1fac0b84daf3c4c2574ec727e4dc4c3a8a1285db286d5e47e094f5ce22f57753362b9565bfd0b75a63cddffc7257127aeab6663bd75cbf4917e2 SHA512 2e882b0a30a000abbe1297ef1d48239ee59c7a97782d085418d39fa7ebab33fb2035e12aa555da57ce251399b0289ed8c3555b849e5b0e0ddbbb85bf597691bd EBUILD gnutls-3.7.7.ebuild 4768 BLAKE2B 14d080ee3f9510f00811a440e181cd395f76ecb61ce3c83df780d8014a8f9d59774e2c12dd704f5ae2c985979d2bfeaff4b1943fdb7f38fe34e6ab91796896a5 SHA512 f3f52b9486279272f3d956532d2c23c36be6acd2fdded09a4fd440769e79421c005d92af4803651dbc00199821c560b9dd222a68d9781b1ddabe1d68006d8e24 EBUILD gnutls-3.7.8.ebuild 4768 BLAKE2B 3dd2e7bb43ed95e2cf32b262812a074c92454cf4e9094072de46da4a2923510b7ced01f215626687f241980e82c03def0c2a233349126fcf32d9be287757e73e SHA512 f6d9a0523b9363819031368ea05b470c15f7eb02e7510d7d9868477f7e2b51519bc9c5d2648b41af623b53f7d9ede92e1033971b784df728dfaeb3e185966ec0 +EBUILD gnutls-3.7.9.ebuild 4776 BLAKE2B fb7811d1cdc4038ca71da780c84a791fb70b7be073e5a06a370de8814513c832c762e81379ff0f818a2dcad692c13077433a7e6ba0ad55cce94550e149fdcef9 SHA512 95fa0d1a56d480f0e8dbdf4fe11aa9573d0c4b84ec2fc86d910f1a3d690ac947f9e95ef3ef9a504e49d9b30d309a09c24cb79a1c3d73b6f30d313234f0179063 +EBUILD gnutls-3.8.0.ebuild 4833 BLAKE2B 90119c79015f3c2f55bf654c278cc5150e4a52fe5778b969ab9090e59fafb68b088b8f5b5bc4c6d0e530685005a920774c67c928cdbb1abfe188dc127e86841c SHA512 c4fec5a350039137dc62e81cb670c11a75bafe8b45c25c8f6dcbd0e81b65948a388c9acbf105f44652f2ba53ee0d32f2efe737cba4e9c3df1c7a837b39aa1a45 MISC metadata.xml 1336 BLAKE2B 9278a179b80a8613198cba0c9e03c3be3135aab13a85da638d4db582d93235177e46c02b1b71b9e3ee1dbbedc204c0393085147d0b15aa0d6a3fb5716a7ca834 SHA512 66564b03a0a39797c34945308b94065e66b1cc662ebeec80207bf4131f9fc62bf34d010ec22811acb2c98776f0f7cbebb29eaa8fd49351becab9901d46df6249 diff --git a/net-libs/gnutls/gnutls-3.7.9.ebuild b/net-libs/gnutls/gnutls-3.7.9.ebuild new file mode 100644 index 000000000000..d97092526abf --- /dev/null +++ b/net-libs/gnutls/gnutls-3.7.9.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnutls.asc +inherit libtool multilib-minimal verify-sig + +DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols" +HOMEPAGE="https://www.gnutls.org/" +SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz" +SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )" + +LICENSE="GPL-3 LGPL-2.1+" +SLOT="0/30.30" # <libgnutls.so number>.<libgnutlsxx.so number> +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="brotli +cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib zstd" + +REQUIRED_USE="test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] + dev-libs/libunistring:=[${MULTILIB_USEDEP}] + >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}] + >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] + brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] ) + dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] ) + guile? ( >=dev-scheme/guile-2:=[networking] ) + nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] ) + pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] ) + idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) + zstd? ( >=app-arch/zstd-1.3.0:=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( + seccomp? ( sys-libs/libseccomp ) + )" +BDEPEND=" + dev-util/gtk-doc-am + >=virtual/pkgconfig-0-r1 + doc? ( dev-util/gtk-doc ) + nls? ( sys-devel/gettext ) + valgrind? ( dev-util/valgrind ) + test-full? ( + app-crypt/dieharder + >=app-misc/datefudge-1.22 + dev-libs/softhsm:2[-bindist(-)] + net-dialup/ppp + net-misc/socat + ) + verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20221017 )" + +DOCS=( README.md doc/certtool.cfg ) + +HTML_DOCS=() + +pkg_setup() { + # bug #520818 + export TZ=UTC + + use doc && HTML_DOCS+=( + doc/gnutls.html + ) +} + +src_prepare() { + default + + # don't try to use system certificate store on macOS, it is + # confusingly ignoring our ca-certificates and more importantly + # fails to compile in certain configurations + sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die + + # Use sane .so versioning on FreeBSD. + elibtoolize +} + +multilib_src_configure() { + LINGUAS="${LINGUAS//en/en@boldquot en@quot}" + + local libconf=() + + # TPM needs to be tested before being enabled + # Note that this may add a libltdl dep when enabled. Check configure.ac. + libconf+=( + --without-tpm + --without-tpm2 + ) + + # hardware-accel is disabled on OSX because the asm files force + # GNU-stack (as doesn't support that) and when that's removed ld + # complains about duplicate symbols + [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration ) + + # Cygwin as does not understand these asm files at all + [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration ) + + # -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=( + $(multilib_native_enable manpages) + $(multilib_native_use_enable doc gtk-doc) + $(multilib_native_use_enable doc) + $(multilib_native_use_enable guile) + $(multilib_native_use_enable seccomp seccomp-tests) + $(multilib_native_use_enable test tests) + $(multilib_native_use_enable test-full full-test-suite) + $(multilib_native_use_enable tools) + $(multilib_native_use_enable valgrind valgrind-tests) + $(use_enable cxx) + $(use_enable dane libdane) + $(use_enable nls) + $(use_enable openssl openssl-compatibility) + $(use_enable sslv2 ssl2-support) + $(use_enable sslv3 ssl3-support) + $(use_enable static-libs static) + $(use_enable tls-heartbeat heartbeat-support) + $(use_with brotli) + $(use_with idn) + $(use_with pkcs11 p11-kit) + $(use_with zlib) + $(use_with zstd) + --disable-rpath + --with-default-trust-store-file="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt + --with-unbound-root-key-file="${EPREFIX}"/etc/dnssec/root-anchors.txt + --without-included-libtasn1 + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + + ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die + + if use examples; then + docinto examples + dodoc doc/examples/*.c + fi +} diff --git a/net-libs/gnutls/gnutls-3.8.0.ebuild b/net-libs/gnutls/gnutls-3.8.0.ebuild new file mode 100644 index 000000000000..10180f91fefd --- /dev/null +++ b/net-libs/gnutls/gnutls-3.8.0.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnutls.asc +inherit libtool multilib-minimal verify-sig + +DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols" +HOMEPAGE="https://www.gnutls.org/" +SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz" +SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )" + +LICENSE="GPL-3 LGPL-2.1+" +# As of 3.8.0, the C++ library is header-only, but we won't drop the subslot +# component for it until libgnutls.so breaks ABI, to avoid pointless rebuilds. +# Subslot format: +# <libgnutls.so number>.<libgnutlsxx.so number> +SLOT="0/30.30" +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="brotli +cxx dane doc examples +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib zstd" +REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 seccomp tls-heartbeat tools )" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] + dev-libs/libunistring:=[${MULTILIB_USEDEP}] + >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}] + >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] + brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] ) + dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] ) + nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] ) + pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] ) + idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) + zstd? ( >=app-arch/zstd-1.3.0:=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( + seccomp? ( sys-libs/libseccomp ) + )" +BDEPEND=" + dev-util/gtk-doc-am + >=virtual/pkgconfig-0-r1 + doc? ( dev-util/gtk-doc ) + nls? ( sys-devel/gettext ) + valgrind? ( dev-util/valgrind ) + test-full? ( + app-crypt/dieharder + >=app-misc/datefudge-1.22 + dev-libs/softhsm:2[-bindist(-)] + net-dialup/ppp + net-misc/socat + ) + verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20221017 )" + +DOCS=( README.md doc/certtool.cfg ) + +HTML_DOCS=() + +src_prepare() { + default + + # bug #520818 + export TZ=UTC + + use doc && HTML_DOCS+=( doc/gnutls.html ) + + # don't try to use system certificate store on macOS, it is + # confusingly ignoring our ca-certificates and more importantly + # fails to compile in certain configurations + sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die + + # Use sane .so versioning on FreeBSD. + elibtoolize +} + +multilib_src_configure() { + LINGUAS="${LINGUAS//en/en@boldquot en@quot}" + + local libconf=() + + # TPM needs to be tested before being enabled + # Note that this may add a libltdl dep when enabled. Check configure.ac. + libconf+=( + --without-tpm + --without-tpm2 + ) + + # hardware-accel is disabled on OSX because the asm files force + # GNU-stack (as doesn't support that) and when that's removed ld + # complains about duplicate symbols + [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration ) + + # Cygwin as does not understand these asm files at all + [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration ) + + # -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=( + $(multilib_native_enable manpages) + $(multilib_native_use_enable doc gtk-doc) + $(multilib_native_use_enable doc) + $(multilib_native_use_enable seccomp seccomp-tests) + $(multilib_native_use_enable test tests) + $(multilib_native_use_enable test-full full-test-suite) + $(multilib_native_use_enable tools) + $(multilib_native_use_enable valgrind valgrind-tests) + $(use_enable cxx) + $(use_enable dane libdane) + $(use_enable nls) + $(use_enable openssl openssl-compatibility) + $(use_enable sslv2 ssl2-support) + $(use_enable sslv3 ssl3-support) + $(use_enable static-libs static) + $(use_enable tls-heartbeat heartbeat-support) + $(use_with brotli) + $(use_with idn) + $(use_with pkcs11 p11-kit) + $(use_with zlib) + $(use_with zstd) + --disable-rpath + --with-default-trust-store-file="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt + --with-unbound-root-key-file="${EPREFIX}"/etc/dnssec/root-anchors.txt + --without-included-libtasn1 + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + + ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die + + if use examples; then + docinto examples + dodoc doc/examples/*.c + fi +} diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest index 3ebe888f4a76..3c51f7c20618 100644 --- a/net-libs/grpc/Manifest +++ b/net-libs/grpc/Manifest @@ -1,5 +1,8 @@ DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652 SHA512 e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781 DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 83ba622222e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7 SHA512 1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888 +DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028 SHA512 a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7 +EBUILD grpc-1.43.0-r1.ebuild 2815 BLAKE2B 922f3cbaae5b654c27508698a134c7fee938025fdf5bf52eb484db9c1d144db6685a3f0610481dff8a143a9ad7015b1c6cb312862b66c76b2f7e42dcf6d4eddf SHA512 1d7331e933be3978c27c38956230048c8e7770565606af6c5003401027ca14b0a60ba8e82cb98058fd0acf259cc6f0266f747621f4cafa36935ff198838aa22d EBUILD grpc-1.43.0.ebuild 2684 BLAKE2B 0ae8a6757682d3ef8861f6ca1f27462a4341b537a75b55b443746339102bc7ac76360b924e2f76a7032b28f0469bab8c1d0d3709f04376b43775698f5614da5b SHA512 e6cc2f3dda42631beb3356b3699a0ea337268fd9f80e2d51bba6a89b165e64835edbae14d6bb62094460f9a8a3c48489a72a070f8b37baa7223f3146e954431c -EBUILD grpc-1.51.1.ebuild 2740 BLAKE2B 74a33f24de03dd03676ecb382d79d866b34e6f79f57f2a7661e66f2386eb0d24eb020c2ee20fb08242dcaf932d024d5598c64d7f4f4276c0c35c2f80f115db5b SHA512 f18096efce026a063a27847cf97c895931bdb42024d87c34bdc36bdbf53e328e60c68d58c41aebe4ebbe63c60cfc568a052faafb88061494869e167b1e28af47 -MISC metadata.xml 460 BLAKE2B 5cd969a5813d9d872d63cad0ebe0e02381cc8e97d0eb16ae9821f24de78c69f3670dfd6698388b17165d6a3c2029d213dd1f0e88ecda42215b0b3dfc64758657 SHA512 32148c45e964de16405ed7820c2066d5332f85047b3606f0189e9a306825b291478672dd108b0e1869086103e2f9a3a283b7a30379a883c79709cdf0fba18c4d +EBUILD grpc-1.51.1-r1.ebuild 2811 BLAKE2B ebe59fe4812a4b754cd3336fd1664129ea14ea99c56d52b03e202a29aed57e5ca24e8627dd5eb60c70e0ec15ee35f307d0f754cb60b362cd9df9b60a4b8d3b84 SHA512 2f72e5880faa1a0e060beb49a815ec60fac087f4217feb006f48a5d717c02ed6c50c4e54f7a74c536d6e13fce2b638edf75cefffee4027a0a757291765ba205c +EBUILD grpc-1.52.0.ebuild 2767 BLAKE2B 20bddb35da4eb32a4f87bce452a7b9673b82953ef4267ab2c263aab31274dca613f9a2719648990c3f06bde19e562a2a7f68013c6b90175a9027e18f678eb430 SHA512 4f79cf13fae72016a86f9a89eabe5f621d4f78b38e0779f9514907eb91a6930520f5302eb434a5e304f8bab5dd8e35060527ba05433f2a76b732f1904d69adf9 +MISC metadata.xml 564 BLAKE2B b28a7f5775062d33662cb139c3aec628dff54f720e6a47fb205cccb4527d21ad17460638038ac3c4534e76f1f2033078fbe8195f103428375129ec85ca21eda5 SHA512 50b7b91a7f97eb7507c523580bbe4bcbce421987826ac22d8e2fac47de69f30731cb9d5a3a1931e9caccba94066ef874e47934c053965e233f8e302a7d7e6d1e diff --git a/net-libs/grpc/grpc-1.43.0-r1.ebuild b/net-libs/grpc/grpc-1.43.0-r1.ebuild new file mode 100644 index 000000000000..2b89ffd2bc51 --- /dev/null +++ b/net-libs/grpc/grpc-1.43.0-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake flag-o-matic + +MY_PV="${PV//_pre/-pre}" + +DESCRIPTION="Modern open source high performance RPC framework" +HOMEPAGE="https://www.grpc.io" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt +SLOT="0/21.143" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc examples test" + +# look for submodule versions in third_party dir +RDEPEND=" + =dev-cpp/abseil-cpp-20211102.0*:= + >=dev-libs/re2-0.2021.11.01:= + >=dev-libs/openssl-1.1.1:0=[-bindist(-)] + >=dev-libs/protobuf-3.18.1:= + dev-libs/xxhash + >=net-dns/c-ares-1.15.0:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND} + test? ( + dev-cpp/benchmark + dev-cpp/gflags + ) +" + +BDEPEND="virtual/pkgconfig" + +# requires sources of many google tools +RESTRICT="test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +soversion_check() { + local core_sover cpp_sover + # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")' + core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')" + cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')" + # remove dots, e.g. 1.37 -> 137 + core_sover="${core_sover//./}" + cpp_sover="${cpp_sover//./}" + [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}" + [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}" +} + +src_prepare() { + cmake_src_prepare + + # un-hardcode libdir + sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die + sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die + + soversion_check +} + +src_configure() { + # https://github.com/grpc/grpc/issues/29652 + # issue says 1.46.1 but apparently this is affected too + filter-lto + + local mycmakeargs=( + -DgRPC_INSTALL=ON + -DgRPC_ABSL_PROVIDER=package + -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF + -DgRPC_CARES_PROVIDER=package + -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}" + -DgRPC_INSTALL_LIBDIR="$(get_libdir)" + -DgRPC_PROTOBUF_PROVIDER=package + -DgRPC_RE2_PROVIDER=package + -DgRPC_SSL_PROVIDER=package + -DgRPC_ZLIB_PROVIDER=package + -DgRPC_BUILD_TESTS=$(usex test) + -DCMAKE_CXX_STANDARD=17 + $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '') + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use examples; then + find examples -name '.gitignore' -delete || die + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + if use doc; then + find doc -name '.gitignore' -delete || die + local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. ) + fi + + einstalldocs +} diff --git a/net-libs/grpc/grpc-1.51.1.ebuild b/net-libs/grpc/grpc-1.51.1-r1.ebuild index f3edebd3268c..ed87698a72be 100644 --- a/net-libs/grpc/grpc-1.51.1.ebuild +++ b/net-libs/grpc/grpc-1.51.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic MY_PV="${PV//_pre/-pre}" @@ -67,6 +67,9 @@ src_prepare() { } src_configure() { + # https://github.com/grpc/grpc/issues/29652 + filter-lto + local mycmakeargs=( -DgRPC_INSTALL=ON -DgRPC_ABSL_PROVIDER=package diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild new file mode 100644 index 000000000000..7c1681b6c9a7 --- /dev/null +++ b/net-libs/grpc/grpc-1.52.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PV="${PV//_pre/-pre}" + +DESCRIPTION="Modern open source high performance RPC framework" +HOMEPAGE="https://www.grpc.io" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt +SLOT="0/30.152" +KEYWORDS="~amd64" +IUSE="doc examples test" + +# look for submodule versions in third_party dir +RDEPEND=" + =dev-cpp/abseil-cpp-20220623.1*:= + >=dev-libs/re2-0.2021.11.01:= + >=dev-libs/openssl-1.1.1:0=[-bindist(-)] + >=dev-libs/protobuf-3.18.1:= + dev-libs/xxhash + >=net-dns/c-ares-1.15.0:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND} + test? ( + dev-cpp/benchmark + dev-cpp/gflags + ) +" + +BDEPEND="virtual/pkgconfig" + +# requires sources of many google tools +RESTRICT="test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +soversion_check() { + local core_sover cpp_sover + # extract quoted number. line we check looks like this: 'set(gRPC_CPP_SOVERSION "1.37")' + core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')" + cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt | sed '/.*\"\(.*\)\".*/ s//\1/')" + # remove dots, e.g. 1.37 -> 137 + core_sover="${core_sover//./}" + cpp_sover="${cpp_sover//./}" + [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! should be ${core_sover}" + [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! should be ${cpp_sover}" +} + +src_prepare() { + cmake_src_prepare + + # un-hardcode libdir + sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die + + # suppress network access, package builds fine without the submodules + mkdir "${S}/third_party/opencensus-proto/src" || die + + soversion_check +} + +src_configure() { + # https://github.com/grpc/grpc/issues/29652 + filter-lto + + local mycmakeargs=( + -DgRPC_INSTALL=ON + -DgRPC_ABSL_PROVIDER=package + -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF + -DgRPC_CARES_PROVIDER=package + -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}" + -DgRPC_INSTALL_LIBDIR="$(get_libdir)" + -DgRPC_PROTOBUF_PROVIDER=package + -DgRPC_RE2_PROVIDER=package + -DgRPC_SSL_PROVIDER=package + -DgRPC_ZLIB_PROVIDER=package + -DgRPC_BUILD_TESTS=$(usex test) + -DCMAKE_CXX_STANDARD=17 + $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '') + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use examples; then + find examples -name '.gitignore' -delete || die + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + if use doc; then + find doc -name '.gitignore' -delete || die + local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. ) + fi + + einstalldocs +} diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml index 3114df3e23c1..cea352c14527 100644 --- a/net-libs/grpc/metadata.xml +++ b/net-libs/grpc/metadata.xml @@ -8,6 +8,10 @@ <email>gyakovlev@gentoo.org</email> <name>Georgy Yakovlev</name> </maintainer> + <maintainer type="person"> + <email>xen0n@gentoo.org</email> + <name>WANG Xuerui</name> + </maintainer> <upstream> <remote-id type="cpe">cpe:/a:grpc:grpc</remote-id> <remote-id type="github">grpc/grpc</remote-id> diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index c3ad84391e2b..3bff949ce6b9 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,5 +1,4 @@ -DIST ngtcp2-0.13.0.tar.xz 583788 BLAKE2B bf704f546560695831ce38f75639201f77e32704040bdf4241d1cf8251b308490a833de543772c040853dba314fcd916974958f6619dda500ee9f199f7a71d0f SHA512 a14b0363edabdce595bf7eeb04a5664c69c87d43ffeb1ec1b1b801c6428a65e3fb202fddedb0696ced6511ad94793b3cd75972148b144d52606a1da944487b80 -EBUILD ngtcp2-0.13.0-r1.ebuild 1205 BLAKE2B a444ae2277c73772ce81d0b0c1e3555a90f3092930a474f0a947bf00e208e461bc64e04a7a9e05c5226ed9c8cbc847dd6fb8793a62a434f40e1e67308a57187c SHA512 9374dd426c1d95a812550b296d6054b4617e5a58e3b8e0dc1c00edb5c8684419ee696ce6e8a94adafd5ad47113e9f8bbce4dd81e5d68a1bc8d5f690372dcbb50 -EBUILD ngtcp2-0.13.0.ebuild 1151 BLAKE2B 4205e9ce4cdb02ba0ca15e4b32be673ccc059220c1b6fd83f6e46c1de1be5fe53697b0dcc998d51a37d2a72faf201ab960e03bda8c7b5fdd17c7ae4f85cc9620 SHA512 3276c116aa354fa86aabedf83266dc19ecc7d8d3bd1bb0a9f87a10c372d0414daa2b209e987d1d30a87ab9f3cdcc4a596f8a45f9e08c21538c3b255bff612790 +DIST ngtcp2-0.13.1.tar.xz 582412 BLAKE2B 086203def9e89a718852c0232d3dea9ee732f58b9fa76ec418de24fa6415ea507da391068611f16b60d8f19034bff7f69e73cc777d3a1d82cc901cb2a9e599fb SHA512 c8ff2eba9d2b7c5424e32e17ea481168ef3aa3140c0e17d210b4ef1065bc5c8d2e4393b99e7aea72693f8b6aa1cb9b44e9d48dde4e55e380bb614ec77a7b95fa +EBUILD ngtcp2-0.13.1.ebuild 1205 BLAKE2B a444ae2277c73772ce81d0b0c1e3555a90f3092930a474f0a947bf00e208e461bc64e04a7a9e05c5226ed9c8cbc847dd6fb8793a62a434f40e1e67308a57187c SHA512 9374dd426c1d95a812550b296d6054b4617e5a58e3b8e0dc1c00edb5c8684419ee696ce6e8a94adafd5ad47113e9f8bbce4dd81e5d68a1bc8d5f690372dcbb50 EBUILD ngtcp2-9999.ebuild 1205 BLAKE2B a444ae2277c73772ce81d0b0c1e3555a90f3092930a474f0a947bf00e208e461bc64e04a7a9e05c5226ed9c8cbc847dd6fb8793a62a434f40e1e67308a57187c SHA512 9374dd426c1d95a812550b296d6054b4617e5a58e3b8e0dc1c00edb5c8684419ee696ce6e8a94adafd5ad47113e9f8bbce4dd81e5d68a1bc8d5f690372dcbb50 MISC metadata.xml 445 BLAKE2B d27a34331ff5bd772b6228ff26ca20440a3bf932ccc88720a33409f329d41165d5fad6750221bae1fed3386d6e8244458c1c5073df8b36251156598e599bb15e SHA512 c09f5ac61f3c3b16bda0f12c2f31188aaaba469fbfde31e71d4f9834609b4c8d0cb7152a688934ba0b90c491da4e8b707e6ad5e54d5965b4109cbdc29ee0a4a2 diff --git a/net-libs/ngtcp2/ngtcp2-0.13.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.13.0.ebuild deleted file mode 100644 index 534535cc4b98..000000000000 --- a/net-libs/ngtcp2/ngtcp2-0.13.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" - inherit git-r3 -else - SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~hppa ~riscv ~x86" -fi - -DESCRIPTION="Implementation of the IETF QUIC Protocol" -HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" - -LICENSE="MIT" -SLOT="0/0" -IUSE="+gnutls openssl +ssl test" -REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - ssl? ( - gnutls? ( >=net-libs/gnutls-3.7.2:0= ) - openssl? ( - >=dev-libs/openssl-1.1.1:0= - ) - )" -DEPEND="${RDEPEND} - test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" -RESTRICT="!test? ( test )" - -multilib_src_configure() { - local mycmakeargs=( - -DENABLE_GNUTLS=$(usex gnutls) - -DENABLE_OPENSSL=$(usex openssl) - -DENABLE_BORINGSSL=OFF - -DENABLE_PICOTLS=OFF - -DENABLE_WOLFSSL=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON - -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON - ) - cmake_src_configure -} - -multilib_src_test() { - cmake_build check -} diff --git a/net-libs/ngtcp2/ngtcp2-0.13.0-r1.ebuild b/net-libs/ngtcp2/ngtcp2-0.13.1.ebuild index 4d3a4cbaa377..4d3a4cbaa377 100644 --- a/net-libs/ngtcp2/ngtcp2-0.13.0-r1.ebuild +++ b/net-libs/ngtcp2/ngtcp2-0.13.1.ebuild diff --git a/net-libs/phodav/Manifest b/net-libs/phodav/Manifest index d24683f0824b..657a2a79bb9f 100644 --- a/net-libs/phodav/Manifest +++ b/net-libs/phodav/Manifest @@ -4,5 +4,5 @@ AUX spice-webdavd.initd 344 BLAKE2B 6a7f36f4f698e5327455b3e95a71ae39df56f6d57e8d DIST phodav-2.5.tar.xz 62992 BLAKE2B aca0141c20c727dd27af3760caf27ec0f7a4936c3c35dbdb60a8a15b5bd75ebd97dfef8bb96f50b266d7a0e53fb8c0e21416dea855ff107b362dba0e89283a64 SHA512 4b6cd6a40118bf9c042abcfc3e7cb593b620922aae4dd3daf77682bf9da2030a0958bc0206531d5950f85551ef8f5da21fb21c54b9bd5e56b880f54e0983bc01 DIST phodav-3.0.tar.xz 65728 BLAKE2B c7980fc9c8e5fe3034b16bbb6433d09b4365a5c50188476f4dfcb1d1ae32f4988c22933b4c811dbef44fe5fc4fbebcf6beb8e859a3c9d01fb7075336caaba8ca SHA512 a4720083fd581023ea78cc09e6df4b5d2f90894f916004cf28c7fa557da61d8c7a5539fa6b50647efcd9f771afd088889fdc40579a8e860c8ea20540b25eb26a EBUILD phodav-2.5.ebuild 1410 BLAKE2B eb9f0571b56aa52868201e017c2ffd3775e8abb45d7a5cfa488eba403ca90bd163f1b4901c0d7aeffdf50f5b531775be51fc028f0f40398ea0dfe9662650eecf SHA512 1f017520af4911869a796b2b7792827d09599f63b05bd9b22141752027e3fa88395dbfcede945cadfe8e528a83ca11661752c16353d138897bbd57bb6bc77e0c -EBUILD phodav-3.0.ebuild 1377 BLAKE2B 29d3e45c82a63e23072e513bb10f9bbf929cfec2b11f2ba7681e0e2df9d9597f425bf6e28995cee3d7d7ebb351c37321aa2add4903e1455e22554fd232480a3d SHA512 7063093e698de927ac192caa2fb6e0babbdaf3e61904423aa44973ffd59cf8ef27aac8bf320c611426242e2efb71093e36781aebf4efe853b8ba9d0ac1fb5184 +EBUILD phodav-3.0.ebuild 1384 BLAKE2B 38821c49459843ae060998414e89c875c2d13373681b7580f4cf57b1c5f07c387c8193727165496650cc1102f72a11f048d45077add58903a24dd443fb162d52 SHA512 137be55401dc46d7a69c93b8ced0d3f27e405705ea6d64e8037219400db1c81ead7d0628227d7d3cacb076b52f7c0892f4fcb17ac92f4cc57f4bbdfe9f44e05f MISC metadata.xml 485 BLAKE2B c32afc16176aba3a4c9e742a63889b2eeb80d8f45de4d3993c51ae680909f8955dc91cd7e8fadf8024a2e11e99398b8994ad64aa0280377d0c6604984cbecf87 SHA512 96629bfa78390d48970c210e6e1d2ced28963fb7d01077280a65b7113cb418dd8aaad702fe6f99d2caf82d728ac87da6dbdfbf7ec3c9257e89f1e5bda7edb598 diff --git a/net-libs/phodav/phodav-3.0.ebuild b/net-libs/phodav/phodav-3.0.ebuild index b7d073c347cf..8c52b964a838 100644 --- a/net-libs/phodav/phodav-3.0.ebuild +++ b/net-libs/phodav/phodav-3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/phodav https://gitlab.gnome.org/GNOME/phodav" LICENSE="LGPL-2.1+" SLOT="3.0" -KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 x86" +KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv x86" IUSE="gtk-doc systemd test zeroconf" RESTRICT="!test? ( test )" diff --git a/net-libs/rest/Manifest b/net-libs/rest/Manifest index 3c1ff9be232d..ba64327fbd7a 100644 --- a/net-libs/rest/Manifest +++ b/net-libs/rest/Manifest @@ -1,5 +1,8 @@ +AUX 0001-rest_proxy_call_sync-bail-out-if-no-payload.patch 1498 BLAKE2B be8a629fb8fb01a909a05d5c2ae14fe9eb1ec508e18f58691ec65979c5cc72b7f5298912e5aba42669c840c627f467aa938171c51b838e360efe8f13fd98a5db SHA512 72c7e8750802b5a5cb99e45cb68a6419c6794a88b858c9729a3317db07def03351c2ec5b13dac17e495c9b84871f97401d61a573b2896d9c981b96a3f898d070 +AUX 0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch 1676 BLAKE2B 07cbdc3d6d5d7388186ea785bd1c032a6cb5597b9dfdd43a21d1f4e63bc12bbfa15b2b5c09d29602493dd7f56fcce8eaf9a7a99672d4611556781e310549cea9 SHA512 acc3241b93e8c06a9f6ee05daba20cc4b6f6360642132964b25ca6d81a0acd520e1baf820a18a0df7c21f520a6dd5c3063257fd9b619c74137f94428f562bccd DIST rest-0.8.1.tar.xz 333376 BLAKE2B 595576f29ebe35121b7a896086abd3411ac3b2d324d2e50d646274c4060cfaffbd3b701eaae80afdc60d52c77bb5076135064648536378f2562f27c79c5738b7 SHA512 824a341db3827e4360abe03e33735918c68913c70d797699ef74271080a1985872006ec70fd994dc8fa3fbfef417e6fe979883c11286512d0ce623b8368e40c3 DIST rest-0.9.1.tar.xz 71136 BLAKE2B 696a43db8a05d90cd2cb86cb2ffe22a817c7b0565c1e90e2508b0dffd3824fa46afef78c039d8911dc50f93c0afe1efbc783676c677b71bb7a2b5ad9ac5a1a26 SHA512 7fb219f571aec2b8d09d71e257e2b230bfb5c862e7e425fd540c96f6e2a22457df7d3df32838d71beec00ba54c7adbd0301d744bb0497c46b3a1413949304462 EBUILD rest-0.8.1-r1.ebuild 1483 BLAKE2B fd647f2cc7b7e945644118a38d98035373188fc2839bda61e4ef72d484731be4179e48c7b043240b7e529597165ab29c38e06c18f1153cf2a2bc3b3a32998504 SHA512 d6035981ef8410bb5b593606d567b2ea4c837941e8b3ad32cb8cf7b283d4be055cdb4d0ad40a7e7b26aa464cbdff8c868cbf1aeadae4f17ba6a0ef4b9df20c6e +EBUILD rest-0.9.1-r1.ebuild 1679 BLAKE2B 2c8221a6e44f58b377bbb99609963262b4b55def551a7ca7da841329204e611713b29053373d91facd4843f4b06312a1c6eef336a7428173572e2068289c96cc SHA512 0f2bab134efce4750e720ec06dc1d65f08ec2ed6eeadaff9b3946e714e58e6cd7f32ac348928b900c7ab6b9cb7f72ab649f86e7d6364ef2e0946885e6f073c62 EBUILD rest-0.9.1.ebuild 1368 BLAKE2B 12a45783e429d5f3b80b65846217cd4bec0b550639183239fef149180726f4aed1c03a96ad1a9e0372176027d9d7896eabc24319c632d504f31af47eb6b37bfd SHA512 ba4d53269f1c427930c47460ccc14006f84cefd1d6c06082a65fcdcca4deb0b7efc24c19412661f87da992582157090b1a17dc943736612266a92aa2b8fe45b8 MISC metadata.xml 348 BLAKE2B aa9355d4d476aa865a65356707ef1264225ac5bec69af9ca70ed3ebbfe4a5745d8338f9799bd4636f65537d443328a6a4cc9fddd52ab8e88905e9cddff99ee2b SHA512 ac333dd016d4347bd6b342f2cc335254e53029c0db2f954b1ba8e9dfda4803785244a2dd149fde180f2b08271d53b84cbfbf5d5398feb85719e8a20b7672d3c0 diff --git a/net-libs/rest/files/0001-rest_proxy_call_sync-bail-out-if-no-payload.patch b/net-libs/rest/files/0001-rest_proxy_call_sync-bail-out-if-no-payload.patch new file mode 100644 index 000000000000..14e41ba17174 --- /dev/null +++ b/net-libs/rest/files/0001-rest_proxy_call_sync-bail-out-if-no-payload.patch @@ -0,0 +1,40 @@ +From fbad64abe28a96f591a30e3a5d3189c10172a414 Mon Sep 17 00:00:00 2001 +From: Adam Williamson <awilliam@redhat.com> +Date: Tue, 30 Aug 2022 10:03:57 -0700 +Subject: [PATCH 1/2] rest_proxy_call_sync: bail out if no payload + +goa-daemon is crashing on suspend/resume with a traceback that +points here: it calls rest_proxy_call_sync, that calls +_rest_proxy_send_message, assumes it gets a `payload` back, +and calls `finish_call` with it. However, it's not actually +guaranteed that `_rest_proxy_send_message` will return a payload +(a `GBytes`). There are three ways it can return `NULL` instead: +if it's passed a wrong proxy or message, or - when built against +libsoup3 - if there is an error sending the message (it passes +through the return value of `soup_session_send_and_read`, and +that's documented to be `NULL` on error). + +If `payload` comes back `NULL`, let's just return `FALSE`, like +we do if there's a problem with the call or message. + +Signed-off-by: Adam Williamson <awilliam@redhat.com> +--- + rest/rest-proxy-call.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c +index 851b397..07b8b49 100644 +--- a/rest/rest-proxy-call.c ++++ b/rest/rest-proxy-call.c +@@ -1428,6 +1428,8 @@ rest_proxy_call_sync (RestProxyCall *call, + return FALSE; + + payload = _rest_proxy_send_message (priv->proxy, message, priv->cancellable, error_out); ++ if (!payload) ++ return FALSE; + + ret = finish_call (call, message, payload, error_out); + +-- +2.37.1 + diff --git a/net-libs/rest/files/0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch b/net-libs/rest/files/0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch new file mode 100644 index 000000000000..f437c7d9e74d --- /dev/null +++ b/net-libs/rest/files/0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch @@ -0,0 +1,52 @@ +From 49c2d0ac00b959ce53cc00ca4e7758c21085722f Mon Sep 17 00:00:00 2001 +From: Adam Williamson <awilliam@redhat.com> +Date: Tue, 30 Aug 2022 10:59:01 -0700 +Subject: [PATCH 2/2] Handle some potential problems in parsing oauth2 access + tokens + +It's possible for `_rest_proxy_send_message` to return `NULL`, +which would mean the `payload` here would be `NULL`. If so, +we're not going to be able to do anything, so we should just +bail out. + +It's also possible for `json_parser_load_from_data` to return +`FALSE` without setting an error. The most obvious way would be +if `data` was `NULL`, which the bailout avoids, but it could +also happen if we pass an invalid parser somehow. Let's just +handle that too, to be safe. + +Signed-off-by: Adam Williamson <awilliam@redhat.com> +--- + rest/rest-oauth2-proxy.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/rest/rest-oauth2-proxy.c b/rest/rest-oauth2-proxy.c +index 9511f97..a715b2b 100644 +--- a/rest/rest-oauth2-proxy.c ++++ b/rest/rest-oauth2-proxy.c +@@ -68,18 +68,21 @@ rest_oauth2_proxy_parse_access_token (RestOAuth2Proxy *self, + gsize size; + gint expires_in; + gint created_at; ++ gboolean ret; + + g_return_if_fail (REST_IS_OAUTH2_PROXY (self)); ++ g_return_if_fail (payload); + + data = g_bytes_get_data (payload, &size); + + parser = json_parser_new (); +- json_parser_load_from_data (parser, data, size, &error); ++ ret = json_parser_load_from_data (parser, data, size, &error); + if (error != NULL) + { + g_task_return_error (task, error); + return; + } ++ g_return_if_fail (ret); + + root = json_parser_get_root (parser); + root_object = json_node_get_object (root); +-- +2.37.1 + diff --git a/net-libs/rest/rest-0.9.1-r1.ebuild b/net-libs/rest/rest-0.9.1-r1.ebuild new file mode 100644 index 000000000000..5cabb1551b69 --- /dev/null +++ b/net-libs/rest/rest-0.9.1-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala + +DESCRIPTION="Helper library for RESTful services" +HOMEPAGE="https://wiki.gnome.org/Projects/Librest" + +LICENSE="LGPL-2.1" +SLOT="1.0" # librest_soversion +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="gtk-doc +introspection test vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44.0:2 + >=net-libs/libsoup-2.99.2:3.0 + dev-libs/json-glib:0[introspection?] + dev-libs/libxml2:2 + app-misc/ca-certificates + introspection? ( >=dev-libs/gobject-introspection-1.74.0:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( >=dev-util/gi-docgen-2021.6 ) + vala? ( $(vala_depend) ) +" + +PATCHES=( + # Fix some crash paths exposed by the libsoup3 port + # https://gitlab.gnome.org/GNOME/librest/-/merge_requests/30 + "${FILESDIR}"/0001-rest_proxy_call_sync-bail-out-if-no-payload.patch + "${FILESDIR}"/0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch +) + +src_prepare() { + default + vala_setup + + # The only two tests from the rest-extras suite (flickr and lastfm) require + # network access + if has network-sandbox ${FEATURES}; then + sed -i -e '/flickr/d' -e '/lastfm/d' tests/meson.build + fi +} + +src_configure() { + local emesonargs=( + -Dca_certificates=true + -Dca_certificates_path="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt + $(meson_use introspection) + $(meson_use vala vapi) + -Dexamples=false + $(meson_use gtk-doc gtk_doc) + -Dsoup2=false + $(meson_use test tests) + ) + meson_src_configure +} diff --git a/net-libs/rtrlib/Manifest b/net-libs/rtrlib/Manifest index 96fd8c8e32e0..f630fdb46129 100644 --- a/net-libs/rtrlib/Manifest +++ b/net-libs/rtrlib/Manifest @@ -1,5 +1,5 @@ DIST rtrlib-0.7.0.tar.gz 260699 BLAKE2B ea8b70b1ca1fb7cacc2943228e398e16f61de6264702f87e6bc5dc011dbb77e760a4e317f109e13b882efd9c080847e6e86c9c47afdc4518db5de210621181fc SHA512 e1c78ce92d066308c1c4fbb6575c2f0dc0f6840c16be90e27bd0da184cab7d0fa4dd1cff3677eda5f1720184756e02765e5abd267b0da0d183082721fee2ffd8 DIST rtrlib-0.8.0.tar.gz 262281 BLAKE2B 82fc5c8416540fdd87ba3683664ab0afdd905758541a9283ca60b5ec89c1642394cacf453d254f996128a5a9ab64fcefaf15d9a18a04451cdb3e1aa0e8e3c841 SHA512 36e44dce5c6117f3fe3c21994a7f9ebfeb4029ade1fddcb0f1df680c9ca4713fe3031da4cf80963b8a3d9bdb930bd9fd95c84b1fe182a9089a29ddfe879060dc EBUILD rtrlib-0.7.0.ebuild 1077 BLAKE2B ac81f9c6f5ae3473d1a2c39b8d3534e0a43beca9cc6565e1f9fa9d74fa77d44ed5ef998311f787a09fe18bc1bd8f97bf40f31f27e512957d8f524d53cffd5227 SHA512 e84a86fe9e7f103bba945cc027d9c27e06ea6c84e11af451d34e67b033d69ae1e98390dfad1f4561fb696f465bbfdd4ddd4d2693a71b826d5fe948a357d2dd2d -EBUILD rtrlib-0.8.0.ebuild 941 BLAKE2B 5103eba8099b9f7ba2cf2d02e01eeea7e5339c995eabe0e713a6f2dc24bc610e14020604037bae536a70b5a836ea9ba7441b58582d68613d01b3fe753fd2a7b6 SHA512 ca6880c20e7ee9e0ca9f583b842d7bf66846bfd9cd4d74f9daf1e901574f93838f3510c9853a3da51156367e2dc4b149394369c27836a3748e856a610ba82eb4 +EBUILD rtrlib-0.8.0.ebuild 939 BLAKE2B 99e8a48eac321b02e0adc883b6f0d842e0fef31bd4e729c95eab340e610caab1601333b44125d3be5b6b2b2de4db27a5188cf87f6f819437aac975d0f0834491 SHA512 0a8d26e2b82a500c97b2f4cb2d2afb5cd2e54f11ade8da84f5d4b867a721f7fb828855a516c985b64c668853416deaeb8a7a049f4a8b1c1e66bee0a9f835abbb MISC metadata.xml 393 BLAKE2B 9a83b2d37de0b4132853194a5c4eb331a6b89c81ce3d68d9658ea6047c2eca3f2610442893f51731e030966d3c07b867ebaa27c6a38a201f82fabd8e7ac7b86c SHA512 766ddf7ef54227bceaa3fcd032101006bcff5b4e32094ed690aa7d6557be40a1fa5a03f87c550f7c9275f72e9b60c94b6c1e516b8dd83990d2273b2aec381903 diff --git a/net-libs/rtrlib/rtrlib-0.8.0.ebuild b/net-libs/rtrlib/rtrlib-0.8.0.ebuild index aa20fd8a2970..9379131cb962 100644 --- a/net-libs/rtrlib/rtrlib-0.8.0.ebuild +++ b/net-libs/rtrlib/rtrlib-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/rtrlib/rtrlib/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="doc ssh" |