diff --git a/dev-cpp/simdutf/simdutf-9.3.2.ebuild b/dev-cpp/simdutf/simdutf-9.3.2.ebuild index 3e7e7b0a883fc..24990c4ffb292 100644 --- a/dev-cpp/simdutf/simdutf-9.3.2.ebuild +++ b/dev-cpp/simdutf/simdutf-9.3.2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="|| ( Apache-2.0 MIT )" SLOT="0/37" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" IUSE=" test" RESTRICT="!test? ( test )" diff --git a/dev-libs/simdjson/simdjson-5.0.3.ebuild b/dev-libs/simdjson/simdjson-5.0.3.ebuild index a498600da3f5f..9c02400089b4f 100644 --- a/dev-libs/simdjson/simdjson-5.0.3.ebuild +++ b/dev-libs/simdjson/simdjson-5.0.3.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="Apache-2.0 Boost-1.0 BSD MIT" SLOT="0/34" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" IUSE="+all-impls nan test tools" BDEPEND=" diff --git a/dev-python/sigstore/sigstore-4.5.1.ebuild b/dev-python/sigstore/sigstore-4.5.1.ebuild index 51fdc784fe07b..5b2865b5fca47 100644 --- a/dev-python/sigstore/sigstore-4.5.1.ebuild +++ b/dev-python/sigstore/sigstore-4.5.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" >=dev-python/cryptography-47[${PYTHON_USEDEP}] diff --git a/dev-tcltk/tls/Manifest b/dev-tcltk/tls/Manifest index 5d797b56f6f0f..2cac415043e93 100644 --- a/dev-tcltk/tls/Manifest +++ b/dev-tcltk/tls/Manifest @@ -1,2 +1,3 @@ DIST tcltls-1.7.22.tar.gz 165206 BLAKE2B 351a5ee6a50174db8b13c9232a617aa90480550520771004c318c063b7c9703cdf969c7d12c56c54483bce5d08a9b48c04906d2be3ef9e3de0ab74c5dac68346 SHA512 28c76a6e7333b6ed1d83234691d61c9e71a59d0a6a28182fc0f50e97cae7b54da63ac76527e3b16087f3eab0b9cfe19bad02362e485d0cf378724de534805e99 DIST tcltls-2.0-src.tar.gz 405959 BLAKE2B e1d2224e9bc229b9b6372266518f55422e994602224e2356742b5c0d2dc044867fd1e717a234a6d96c4633275af4a749650277bab9c036ba9cfadd92a0a67c6d SHA512 9681c4fb312756729a7598ecc382d20cc25ad034bb50be98f7bba6aec843feae48d740a4e23938851cf4f5e633bc7e80dd3aff7c7c9f0c299d23db23090ce680 +DIST tcltls2.0.1.tar.gz 401412 BLAKE2B 1b1723aea472e6898584e5d8da4366a927da50b908f5c849d492a2f4b0d38e5a06b66934bbe7946961a1c01491ae8be2082f0a430e81ebbaf328ffb87fe5736d SHA512 56bb8b438fd10d6ea0af29d948a8316796aadb5ba7c97886fa6c952cc68abc53a67242c3b07d27f215f68b41e54e2e6ee6972f6c9db4e695b5d44b8bf3c04800 diff --git a/dev-tcltk/tls/files/tls-2.0.1-cmpMan.patch b/dev-tcltk/tls/files/tls-2.0.1-cmpMan.patch new file mode 100644 index 0000000000000..4624b0f504bcd --- /dev/null +++ b/dev-tcltk/tls/files/tls-2.0.1-cmpMan.patch @@ -0,0 +1,23 @@ +diff --git a/Makefile.in b/Makefile.in +index 2e9404f..5ec9aed 100755 +--- a/Makefile.in ++++ b/Makefile.in +@@ -280,16 +280,8 @@ install-doc-n: make-docs-n + @echo "Installing nroff documentation in $(DESTDIR)$(mandir)/mann" + @list='$(srcdir)/doc/*.n'; for i in $$list; do \ + if test -f "$$i"; then \ +- if test -f "$(DESTDIR)$(mandir)/mann/Tcl.n.gz" -o \ +- "$(DESTDIR)$(mandir)/mann/Tcl*.n.gz"; then \ +- gzip -k "$$i"; \ +- echo "Installing $$i.gz"; \ +- $(INSTALL_DATA) "$$i.gz" "$(DESTDIR)$(mandir)/mann"; \ +- rm -f "$$i.gz";\ +- else \ +- echo "Installing $$i"; \ +- $(INSTALL_DATA) "$$i" "$(DESTDIR)$(mandir)/mann"; \ +- fi; \ ++ echo "Installing $$i"; \ ++ $(INSTALL_DATA) "$$i" "$(DESTDIR)$(mandir)/mann"; \ + fi; \ + done + diff --git a/dev-tcltk/tls/tls-2.0.1.ebuild b/dev-tcltk/tls/tls-2.0.1.ebuild new file mode 100644 index 0000000000000..b61d651ba538e --- /dev/null +++ b/dev-tcltk/tls/tls-2.0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="TLS OpenSSL extension to Tcl" +HOMEPAGE="http://tls.sourceforge.net/" +SRC_URI="https://core.tcl-lang.org/tcltls/uv/tcl${P/-}.tar.gz" +S="${WORKDIR}"/tcl${P/-} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="tk" + +DEPEND=" + dev-lang/tcl:= + dev-libs/openssl:= + dev-tcltk/tcllib + tk? ( dev-lang/tk:= ) +" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.1-cmpMan.patch +) + +src_configure() { + econf \ + --disable-hardening \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + default + mv "${ED}"/usr/$(get_libdir)/tcltls${PV}/html \ + "${ED}"/usr/share/doc/${PF} || die + mv "${ED}"/usr/include/{,tcl}tls.h || die + rm "${ED}"/usr/$(get_libdir)/tcltls${PV}/{README.txt,license.terms} \ + || die + + if [[ ${CHOST} == *-darwin* ]] ; then + # this is ugly, but fixing the makefile mess is even worse + local loc=usr/$(get_libdir)/tls${PV}/libtls${PV}.dylib + install_name_tool -id "${EPREFIX}"/${loc} "${ED}"/${loc} || die + fi +} diff --git a/net-misc/aria2/aria2-1.37.0-r1.ebuild b/net-misc/aria2/aria2-1.37.0-r1.ebuild new file mode 100644 index 0000000000000..4c011e374d344 --- /dev/null +++ b/net-misc/aria2/aria2-1.37.0-r1.ebuild @@ -0,0 +1,203 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 libtool + +DESCRIPTION="A download utility with segmented downloading with BitTorrent support" +HOMEPAGE="https://aria2.github.io/" +SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz" + +LICENSE="GPL-2+-with-openssl-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE=" + adns bittorrent +gnutls libuv +libxml2 metalink +nettle + nls sqlite scripts ssh ssl tcmalloc test xmlrpc +" +# xmlrpc has no explicit switch, it's turned out by any XML library +# so metalink implicitly forces it on +REQUIRED_USE=" + metalink? ( xmlrpc ) +" +RESTRICT="!test? ( test )" + +# Crazy GnuTLS/OpenSSL/etc. logic below: +# 1. Those libraries are used for two purposes: TLS & MD. +# 2. Upstream preferences are: +# 1) gnutls [tls] +# 2) !gnutls? -> openssl [tls+md] +# 3) !openssl? -> nettle [md] +# 4) !openssl? !nettle? -> gcrypt [md] +# 5) !*? -> bundled md routines (we don't use them) +# 3. There's also gmp usage for bittorrent with nettle. +# 4. You can't really control features, just dependencies. +# (we are skipping native Apple/Windows TLS support) +# +# We map this into: +# ssl? -> openssl || (gnutls + (nettle || libgcrypt )) +# !ssl? -> nettle || libgcrypt +RDEPEND=" + virtual/zlib:= + adns? ( >=net-dns/c-ares-1.5.0:0= ) + libuv? ( >=dev-libs/libuv-1.13:0= ) + metalink? ( + libxml2? ( >=dev-libs/libxml2-2.6.26:2= ) + !libxml2? ( dev-libs/expat:0= ) + ) + sqlite? ( dev-db/sqlite:3= ) + ssh? ( net-libs/libssh2:= ) + ssl? ( + app-misc/ca-certificates + gnutls? ( + >=net-libs/gnutls-1.2.9:0= + nettle? ( + >=dev-libs/nettle-2.4:0= + bittorrent? ( + >=dev-libs/nettle-2.4:0=[gmp] + >=dev-libs/gmp-6:0= + ) + ) + !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) + ) + !gnutls? ( + dev-libs/openssl:0= + ) + ) + !ssl? ( + nettle? ( + >=dev-libs/nettle-2.4:0= + bittorrent? ( + >=dev-libs/nettle-2.4:0=[gmp] + >=dev-libs/gmp-6:0= + ) + ) + !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) + ) + tcmalloc? ( dev-util/google-perftools ) + xmlrpc? ( + libxml2? ( >=dev-libs/libxml2-2.6.26:2= ) + !libxml2? ( dev-libs/expat:0= ) + ) +" + +DEPEND=" + ${RDEPEND} + test? ( >=dev-util/cppunit-1.12.0:0 ) +" +RDEPEND+=" + nls? ( virtual/libiconv virtual/libintl ) + scripts? ( dev-lang/ruby ) +" +BDEPEND="app-arch/xz-utils + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.37.0-openssl-4.patch +) + +pkg_setup() { + if use scripts && ! use xmlrpc; then + ewarn "Please note that you may need to enable USE=xmlrpc to run the aria2rpc" + ewarn "and aria2mon scripts against the local aria2." + fi +} + +src_prepare() { + default + sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" + # Fails with USE=bittorrent && FEATURES=network-sandbox + sed -i -E \ + -e '/^@ENABLE_BITTORRENT_TRUE@ LpdMessageDispatcherTest/d' \ + -e '/^@ENABLE_BITTORRENT_TRUE@ LpdMessageReceiverTest/d' \ + test/Makefile.in || die + + elibtoolize +} + +src_configure() { + local myconf=( + # threads, epoll: check for best portability + + # do not try to compile and run a test LIBXML program + --disable-xmltest + # enable the shared library + --enable-libaria2 + # zlib should always be available anyway + --with-libz + --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" + + # optional features + $(use_enable bittorrent) + $(use_enable metalink) + $(use_enable nls) + $(use_with adns libcares) + $(use_with libuv) + $(use_with sqlite sqlite3) + $(use_with ssh libssh2) + $(use_with tcmalloc) + + # forces bundled wslay + --disable-websocket + ) + + # See TLS/MD logic described above deps. + if use ssl && ! use gnutls; then + # 1. if ssl & !gnutls, use openssl and disable gnutls + myconf+=( --without-gnutls --with-openssl ) + else + myconf+=( + # 2. otherwise, disable openssl + --without-openssl + # 3. if ssl & gnutls, use gnutls + $(use_with ssl gnutls) + + # 4. switch between nettle & libgcrypt + $(use_with nettle libnettle) + $(use_with !nettle libgcrypt) + ) + + # 5. if bittorrent is used along with nettle, use libgmp + if use bittorrent && use nettle; then + myconf+=( --with-libgmp ) + else + myconf+=( --without-libgmp ) + fi + fi + + # metalink+xmlrpc := libxml2 / expat + # USE=(metalink || xmlrpc) + # + USE=libxml2 -> libxml2 + # + USE=-libxml2 -> expat + + if use metalink || use xmlrpc; then + myconf+=( $(use_with !libxml2 libexpat) $(use_with libxml2) ) + else + myconf+=( --without-libexpat --without-libxml2 ) + fi + + # Note: + # - always enable gzip/http compression since zlib should always be available anyway + # - always enable epoll since we can assume kernel 2.6.x + # - other options for threads: solaris, pth, win32 + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + rm -r "${ED}"/usr/share/doc/${PF}/README{,.html} || die + + dobashcomp doc/bash_completion/aria2c + use scripts && dobin doc/xmlrpc/aria2{mon,rpc} +} + +pkg_postinst() { + if use xmlrpc; then + elog "If you would like to use the additional aria2mon and aria2rpc tools," + elog "you need to have \033[1mdev-lang/ruby\033[0m installed." + fi +} diff --git a/net-misc/aria2/files/aria2-1.37.0-openssl-4.patch b/net-misc/aria2/files/aria2-1.37.0-openssl-4.patch new file mode 100644 index 0000000000000..cd0816041eb67 --- /dev/null +++ b/net-misc/aria2/files/aria2-1.37.0-openssl-4.patch @@ -0,0 +1,46 @@ +https://github.com/aria2/aria2/pull/2403 + +From fee9e082970d94affc72b2dd2d12638d4c16b80b Mon Sep 17 00:00:00 2001 +From: Michael Cho +Date: Tue, 6 Oct 2026 14:51:19 -0400 +Subject: [PATCH] Add support for OpenSSL 4 + +--- + src/LibsslTLSSession.cc | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/LibsslTLSSession.cc b/src/LibsslTLSSession.cc +index 697029c37d..1f16ba6c04 100644 +--- a/src/LibsslTLSSession.cc ++++ b/src/LibsslTLSSession.cc +@@ -279,17 +279,17 @@ int OpenSSLTLSSession::tlsConnect(const std::string& hostname, + dnsNames.push_back(std::string(name, name + len)); + } + else if (altName->type == GEN_IPADD) { +- const unsigned char* ipAddr = altName->d.iPAddress->data; ++ const unsigned char* ipAddr = ASN1_STRING_get0_data(altName->d.iPAddress); + if (!ipAddr) { + continue; + } +- size_t len = altName->d.iPAddress->length; ++ size_t len = ASN1_STRING_length(altName->d.iPAddress); + ipAddrs.push_back( + std::string(reinterpret_cast(ipAddr), len)); + } + } + } +- X509_NAME* subjectName = X509_get_subject_name(peerCert); ++ auto subjectName = X509_get_subject_name(peerCert); + if (!subjectName) { + handshakeErr = "could not get X509 name object from the certificate."; + return TLS_ERR_ERROR; +@@ -301,7 +301,7 @@ int OpenSSLTLSSession::tlsConnect(const std::string& hostname, + if (lastpos == -1) { + break; + } +- X509_NAME_ENTRY* entry = X509_NAME_get_entry(subjectName, lastpos); ++ auto entry = X509_NAME_get_entry(subjectName, lastpos); + unsigned char* out; + int outlen = ASN1_STRING_to_UTF8(&out, X509_NAME_ENTRY_get_data(entry)); + if (outlen < 0) { +