From b8c7370a682e4e29cda623222d17a790c01c3642 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 7 Aug 2024 12:37:21 +0100 Subject: gentoo auto-resync : 07:08:2024 - 12:37:20 --- net-libs/Manifest.gz | Bin 30994 -> 31173 bytes net-libs/courier-authlib/Manifest | 4 - .../courier-authlib-0.71.0-r4.ebuild | 148 ---------- .../courier-authlib/courier-authlib-0.72.0.ebuild | 148 ---------- net-libs/courier-unicode/Manifest | 4 - .../courier-unicode/courier-unicode-2.1-r1.ebuild | 22 -- .../courier-unicode/courier-unicode-2.2.6.ebuild | 22 -- net-libs/glib-networking/Manifest | 2 + .../glib-networking/glib-networking-2.80.0.ebuild | 88 ++++++ net-libs/gnutls/Manifest | 2 +- net-libs/gnutls/gnutls-3.8.6-r1.ebuild | 157 ++++++++++ net-libs/gnutls/gnutls-3.8.6.ebuild | 149 ---------- net-libs/grpc/Manifest | 6 +- net-libs/grpc/files/grpc-1.65.0-system-gtest.patch | 14 +- net-libs/grpc/grpc-1.65.0.ebuild | 209 ------------- net-libs/grpc/grpc-1.65.1.ebuild | 323 +++++++++++++++++++++ net-libs/gtk-vnc/Manifest | 1 + net-libs/gtk-vnc/gtk-vnc-1.3.1-r1.ebuild | 63 ++++ net-libs/kdsoap-ws-discovery-client/Manifest | 2 +- .../kdsoap-ws-discovery-client-0.4.0.ebuild | 2 +- net-libs/libktorrent/Manifest | 2 +- net-libs/libktorrent/libktorrent-24.05.2.ebuild | 2 +- net-libs/libmicrohttpd/Manifest | 2 +- .../libmicrohttpd/libmicrohttpd-1.0.1-r1.ebuild | 2 +- net-libs/libsearpc/Manifest | 6 +- net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild | 37 --- net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild | 41 --- net-libs/libsearpc/libsearpc-3.3.0-r2.ebuild | 2 +- net-libs/libtirpc/Manifest | 1 + net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild | 63 ++++ net-libs/msgraph/Manifest | 3 + net-libs/msgraph/metadata.xml | 11 + net-libs/msgraph/msgraph-0.2.3.ebuild | 47 +++ net-libs/ngtcp2/Manifest | 2 +- net-libs/ngtcp2/ngtcp2-1.5.0.ebuild | 2 +- net-libs/nodejs/Manifest | 24 +- net-libs/nodejs/nodejs-18.20.1.ebuild | 257 ---------------- net-libs/nodejs/nodejs-18.20.3.ebuild | 2 +- net-libs/nodejs/nodejs-18.20.4.ebuild | 2 +- net-libs/nodejs/nodejs-20.12.1.ebuild | 263 ----------------- net-libs/nodejs/nodejs-20.14.0.ebuild | 2 +- net-libs/nodejs/nodejs-20.15.1.ebuild | 2 +- net-libs/nodejs/nodejs-20.16.0.ebuild | 266 +++++++++++++++++ net-libs/nodejs/nodejs-22.3.0.ebuild | 5 +- net-libs/nodejs/nodejs-22.4.0.ebuild | 3 +- net-libs/nodejs/nodejs-22.4.1-r1.ebuild | 284 ++++++++++++++++++ net-libs/nodejs/nodejs-22.4.1.ebuild | 279 ------------------ net-libs/nodejs/nodejs-22.5.1.ebuild | 283 ++++++++++++++++++ net-libs/nodejs/nodejs-99999999.ebuild | 47 ++- net-libs/tox/Manifest | 10 +- net-libs/tox/files/initd | 2 + net-libs/tox/files/tox-bootstrapd.service | 4 + net-libs/tox/metadata.xml | 1 + net-libs/tox/tox-0.2.19.ebuild | 118 ++++++++ net-libs/tox/tox-9999.ebuild | 24 +- net-libs/uhttpmock/Manifest | 2 + net-libs/uhttpmock/uhttpmock-0.11.0.ebuild | 47 +++ 57 files changed, 1856 insertions(+), 1660 deletions(-) delete mode 100644 net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild delete mode 100644 net-libs/courier-authlib/courier-authlib-0.72.0.ebuild delete mode 100644 net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild delete mode 100644 net-libs/courier-unicode/courier-unicode-2.2.6.ebuild create mode 100644 net-libs/glib-networking/glib-networking-2.80.0.ebuild create mode 100644 net-libs/gnutls/gnutls-3.8.6-r1.ebuild delete mode 100644 net-libs/gnutls/gnutls-3.8.6.ebuild delete mode 100644 net-libs/grpc/grpc-1.65.0.ebuild create mode 100644 net-libs/grpc/grpc-1.65.1.ebuild create mode 100644 net-libs/gtk-vnc/gtk-vnc-1.3.1-r1.ebuild delete mode 100644 net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild delete mode 100644 net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild create mode 100644 net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild create mode 100644 net-libs/msgraph/Manifest create mode 100644 net-libs/msgraph/metadata.xml create mode 100644 net-libs/msgraph/msgraph-0.2.3.ebuild delete mode 100644 net-libs/nodejs/nodejs-18.20.1.ebuild delete mode 100644 net-libs/nodejs/nodejs-20.12.1.ebuild create mode 100644 net-libs/nodejs/nodejs-20.16.0.ebuild create mode 100644 net-libs/nodejs/nodejs-22.4.1-r1.ebuild delete mode 100644 net-libs/nodejs/nodejs-22.4.1.ebuild create mode 100644 net-libs/nodejs/nodejs-22.5.1.ebuild create mode 100644 net-libs/tox/tox-0.2.19.ebuild create mode 100644 net-libs/uhttpmock/uhttpmock-0.11.0.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index 3c39b6d3d8d0..f2049a4fed1e 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/courier-authlib/Manifest b/net-libs/courier-authlib/Manifest index 7f24b876dbd7..ea4143713c31 100644 --- a/net-libs/courier-authlib/Manifest +++ b/net-libs/courier-authlib/Manifest @@ -1,8 +1,4 @@ AUX courier-authlib-r2 978 BLAKE2B e49effed437cc9fd76404054e014a87bf2a207c68c1a440293d73da748d423aca137031a2b043e832f5009f2384f3f7ae352c2d10dfccfeb6082fd42aa1513bb SHA512 8681f041431150027f41058ae8dd5fb2105a74caecb096aef42b1f0e255026c2f8509d9f688f2725ab1e12b792604cb481a95a6eeb177967c16ae5e3390f44d4 -DIST courier-authlib-0.71.0.tar.bz2 2207895 BLAKE2B 8eb92b2c07acfb662b34a2234759a80f3a1b5a96c9e537cd6215bd9a9a607ed8995461dd599e4fe2698e70510f11815ad13a0511446303ae5e26ff616f05d92f SHA512 7a9700c472fd9d6942bd15dfd8db474a738817608bcd8106b6211b24cdc0631fd69f99e7a5c9e9f6088c16b53a9304ec429c031b16621f8ef52581af8a4256ec -DIST courier-authlib-0.72.0.tar.bz2 2274507 BLAKE2B 238fbc8d046dd3c1f2eb6357f9b1995dd666171dfb8a6ba40ee68446bc6cfb9624b53f4603376119798130d5319f5489690bf1567d9d59db4448a4478aff2dc9 SHA512 1d04c3a10fffddfd2c3cae1c5543a01ec6fcc4ccdf77b13714542ce7189e4924836a64123a9e7231fda698cca9a930be65a4a2382f3cd96364635f754bf40ce3 DIST courier-authlib-0.72.1.tar.bz2 2288448 BLAKE2B 0af13cb4d4e8661011acae46c7134ed7d76b5d114129846397bbaf95db3d05ac792a99c9088e1101c0d8f040bccace9e813d54bc864cabb67ba2501701567bce SHA512 2e46f3ee91dc3b0e81e1f2fb2ebae9615fd1bc2349946167ebb0d6701fc60f1ed754f0d9de160730b45991869ab30849f153a0e523777f5eae28f8a38426e814 -EBUILD courier-authlib-0.71.0-r4.ebuild 4459 BLAKE2B 0cd3a586f929e4815d01a9d87a89477d0b7539f94abeb072bfc1a94374830a6a0227c3b989343ce7853d89c4350bfc5fefcd6409689462173080064f72cb9329 SHA512 cb1c9255e50522b26cac64797d6b177c5758381d12168d0182e08a36961e8b4bdd7d96e1c11c599b0f2d9ba6ef6173c14ecfdd14b43dcd91f56dc372c7cb339c -EBUILD courier-authlib-0.72.0.ebuild 4477 BLAKE2B dc87a742de8c74100818e10ca0afb84a1e6bb719b4af2fab691f48a7f44dc54dde6cc720fa59cdf6001a30119a8146a0e72a9a05dd22926613e4627339aedca9 SHA512 f16a05bd7e8b7f3d2aba3193613003becdf1d3bdb572c3f58793aed05d4d7018e846299696de677f213b5d37e620514c7f81c17f1a2202519eed545606b67646 EBUILD courier-authlib-0.72.1.ebuild 4494 BLAKE2B c4487357054ea8a91977eafaac40f7561b1e0d4c7ea2558c0e940f688dc71003f583c6b1a3514f7c21e5f66a5e5a3047054d9d5dd31d8f44cebe00698c0b65f1 SHA512 2cd0b1f36af3ee551845a6c130d7cc15f4830ee7098fbdcf61b8ecc66a6c004e14b48a13a1cc79c119e70766314b3b0922e54f43bfdc97501dc74a23e06797a6 MISC metadata.xml 302 BLAKE2B f4a6bbc1e616a769172499ca1f863a8e43d608e25d2a99a6384fd0a0880e4e23f2c64c97404ad80ae12c3cd23eda5854ded0ed2c9000875c701aa22ff70b9e80 SHA512 3f25d55e6f6169b696d210cfbd7df486337885cd0905b62d307e6b3fd1595ac1471dccb59794ecfe0bbcd009339348ef7bb9debb4752533d1b28043cb5d1f918 diff --git a/net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild b/net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild deleted file mode 100644 index ece2afb8970c..000000000000 --- a/net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic - -DESCRIPTION="Courier authentication library" -SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" -HOMEPAGE="https://www.courier-mta.org/authlib/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86" -IUSE="berkdb debug gdbm ldap mysql pam postgres sqlite static-libs" - -RESTRICT="!berkdb? ( test )" - -DEPEND="net-mail/mailbase - >=net-libs/courier-unicode-2.1:= - virtual/libcrypt:= - gdbm? ( sys-libs/gdbm:= ) - !gdbm? ( sys-libs/db:= ) - dev-libs/openssl:0= - ldap? ( >=net-nds/openldap-1.2.11:= ) - mysql? ( dev-db/mysql-connector-c:= ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 )" - -RDEPEND="${DEPEND}" - -pkg_setup() { - if ! has_version 'dev-tcltk/expect' ; then - ewarn 'The dev-tcltk/expect package is not installed.' - ewarn 'Without it, you will not be able to change system login passwords.' - ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' - ewarn 'and others) will work just fine.' - fi -} - -src_configure() { - filter-flags -fomit-frame-pointer - local myconf - if use berkdb ; then - if use gdbm ; then - ewarn "Both gdbm and berkdb selected. Using gdbm." - else - myconf="--with-db=db" - fi - fi - use gdbm && myconf="--with-db=gdbm" - use debug && myconf+=" debug=true" - use sqlite && myconf+=" --with-sqlite-libs" - - econf \ - --sysconfdir=/etc/courier \ - --datadir=/usr/share/courier \ - --localstatedir=/var/lib/courier \ - --sharedstatedir=/var/lib/courier/com \ - --with-authdaemonvar=/var/lib/courier/authdaemon \ - --with-authshadow \ - --with-mailuser=mail \ - --with-mailgroup=mail \ - --cache-file="${S}/configuring.cache" \ - $(use_with pam authpam) \ - $(use_with ldap authldap) \ - $(use_with mysql authmysql) \ - $(use_with postgres authpgsql) \ - $(use_with sqlite authsqlite) \ - ${myconf} -} - -orderfirst() { - file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" - if [[ -e "${file}" ]] ; then - orig="$(grep ^${option}= ${file} | cut -d\" -f 2)" - new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" - sed -i -e "s/^${option}=.*$/${new}/" "${file}" || die - fi -} - -finduserdb() { - for dir in \ - /etc/courier/authlib /etc/courier /etc/courier-imap \ - /usr/lib/courier/etc /usr/lib/courier-imap/etc \ - /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ - /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ - /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do - if [[ -e "${dir}/userdb" ]] ; then - einfo "Found userdb at: ${dir}/userdb" - cp -fR "${dir}/userdb" "${D}/etc/courier/authlib/" || die - chmod go-rwx "${D}/etc/courier/authlib/userdb" || die - continue - fi - done -} - -src_install() { - diropts -o mail -g mail - dodir /etc/courier - keepdir /var/lib/courier/authdaemon - keepdir /etc/courier/authlib - emake DESTDIR="${D}" install - [[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb - emake DESTDIR="${D}" install-configure - rm -f "${D}"/etc/courier/authlib/*.bak - chown mail:mail "${D}"/etc/courier/authlib/* || die - for y in "${D}"/etc/courier/authlib/*.dist ; do - [[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}" - done - use pam && orderfirst authdaemonrc authmodulelist authpam - use ldap && orderfirst authdaemonrc authmodulelist authldap - use sqlite && orderfirst authdaemonrc authmodulelist authsqlite - use postgres && orderfirst authdaemonrc authmodulelist authpgsql - use mysql && orderfirst authdaemonrc authmodulelist authmysql - - DOCS=( AUTHORS ChangeLog* INSTALL NEWS README ) - HTML_DOCS=( README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html ) - if use mysql ; then - DOCS+=( README.authmysql.myownquery ) - HTML_DOCS+=( README.authmysql.html ) - fi - if use postgres ; then - HTML_DOCS+=( README.authpostgres.html README.authmysql.html ) - fi - if use ldap ; then - DOCS+=( README.ldap ) - dodir /etc/openldap/schema - cp -f authldap.schema "${D}/etc/openldap/schema/" || die - fi - if use sqlite ; then - HTML_DOCS+=( README.authsqlite.html README.authmysql.html ) - fi - einstalldocs - - newinitd "${FILESDIR}/${PN}-r2" "${PN}" - - use static-libs || find "${D}" -name "*.a" -delete -} - -pkg_postinst() { - if [[ -e /etc/courier/authlib/userdb ]] ; then - einfo "Running makeuserdb ..." - chmod go-rwx /etc/courier/authlib/userdb || die - makeuserdb - fi -} diff --git a/net-libs/courier-authlib/courier-authlib-0.72.0.ebuild b/net-libs/courier-authlib/courier-authlib-0.72.0.ebuild deleted file mode 100644 index df618f6dc122..000000000000 --- a/net-libs/courier-authlib/courier-authlib-0.72.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -DESCRIPTION="Courier authentication library" -SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" -HOMEPAGE="https://www.courier-mta.org/authlib/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="berkdb debug gdbm ldap mysql pam postgres sqlite static-libs" - -RESTRICT="!berkdb? ( test )" - -DEPEND="net-mail/mailbase - >=net-libs/courier-unicode-2.2.6:= - virtual/libcrypt:= - gdbm? ( sys-libs/gdbm:= ) - !gdbm? ( sys-libs/db:= ) - dev-libs/openssl:0= - ldap? ( >=net-nds/openldap-1.2.11:= ) - mysql? ( dev-db/mysql-connector-c:= ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 )" - -RDEPEND="${DEPEND}" - -pkg_setup() { - if ! has_version 'dev-tcltk/expect' ; then - ewarn 'The dev-tcltk/expect package is not installed.' - ewarn 'Without it, you will not be able to change system login passwords.' - ewarn 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,' - ewarn 'and others) will work just fine.' - fi -} - -src_configure() { - filter-flags -fomit-frame-pointer - local myconf - if use berkdb ; then - if use gdbm ; then - ewarn "Both gdbm and berkdb selected. Using gdbm." - else - myconf="--with-db=db" - fi - fi - use gdbm && myconf="--with-db=gdbm" - use debug && myconf+=" debug=true" - use sqlite && myconf+=" --with-sqlite-libs" - - econf \ - --sysconfdir=/etc/courier \ - --datadir=/usr/share/courier \ - --localstatedir=/var/lib/courier \ - --sharedstatedir=/var/lib/courier/com \ - --with-authdaemonvar=/var/lib/courier/authdaemon \ - --with-authshadow \ - --with-mailuser=mail \ - --with-mailgroup=mail \ - --cache-file="${S}/configuring.cache" \ - $(use_with pam authpam) \ - $(use_with ldap authldap) \ - $(use_with mysql authmysql) \ - $(use_with postgres authpgsql) \ - $(use_with sqlite authsqlite) \ - ${myconf} -} - -orderfirst() { - file="${D}/etc/courier/authlib/${1}" ; option="${2}" ; param="${3}" - if [[ -e "${file}" ]] ; then - orig="$(grep ^${option}= ${file} | cut -d\" -f 2)" - new="${option}=\"${param} `echo ${orig} | sed -e\"s/${param}//g\" -e\"s/ / /g\"`\"" - sed -i -e "s/^${option}=.*$/${new}/" "${file}" || die - fi -} - -finduserdb() { - for dir in \ - /etc/courier/authlib /etc/courier /etc/courier-imap \ - /usr/lib/courier/etc /usr/lib/courier-imap/etc \ - /usr/local/etc /usr/local/etc/courier /usr/local/courier/etc \ - /usr/local/lib/courier/etc /usr/local/lib/courier-imap/etc \ - /usr/local/share/sqwebmail /usr/local/etc/courier-imap ; do - if [[ -e "${dir}/userdb" ]] ; then - einfo "Found userdb at: ${dir}/userdb" - cp -fR "${dir}/userdb" "${D}/etc/courier/authlib/" || die - chmod go-rwx "${D}/etc/courier/authlib/userdb" || die - continue - fi - done -} - -src_install() { - diropts -o mail -g mail - dodir /etc/courier - keepdir /var/lib/courier/authdaemon - keepdir /etc/courier/authlib - emake DESTDIR="${D}" install - [[ ! -e "${D}/etc/courier/authlib/userdb" ]] && finduserdb - emake DESTDIR="${D}" install-configure - rm -f "${D}"/etc/courier/authlib/*.bak - chown mail:mail "${D}"/etc/courier/authlib/* || die - for y in "${D}"/etc/courier/authlib/*.dist ; do - [[ ! -e "${y%%.dist}" ]] && cp -f "${y}" "${y%%.dist}" - done - use pam && orderfirst authdaemonrc authmodulelist authpam - use ldap && orderfirst authdaemonrc authmodulelist authldap - use sqlite && orderfirst authdaemonrc authmodulelist authsqlite - use postgres && orderfirst authdaemonrc authmodulelist authpgsql - use mysql && orderfirst authdaemonrc authmodulelist authmysql - - DOCS=( AUTHORS ChangeLog* INSTALL NEWS README ) - HTML_DOCS=( README.html README_authlib.html NEWS.html INSTALL.html README.authdebug.html ) - if use mysql ; then - DOCS+=( README.authmysql.myownquery ) - HTML_DOCS+=( README.authmysql.html ) - fi - if use postgres ; then - HTML_DOCS+=( README.authpostgres.html README.authmysql.html ) - fi - if use ldap ; then - DOCS+=( README.ldap ) - dodir /etc/openldap/schema - cp -f authldap.schema "${D}/etc/openldap/schema/" || die - fi - if use sqlite ; then - HTML_DOCS+=( README.authsqlite.html README.authmysql.html ) - fi - einstalldocs - - newinitd "${FILESDIR}/${PN}-r2" "${PN}" - - use static-libs || find "${D}" -name "*.a" -delete -} - -pkg_postinst() { - if [[ -e /etc/courier/authlib/userdb ]] ; then - einfo "Running makeuserdb ..." - chmod go-rwx /etc/courier/authlib/userdb || die - makeuserdb - fi -} diff --git a/net-libs/courier-unicode/Manifest b/net-libs/courier-unicode/Manifest index 86e216d60ac1..7fe2a695cce9 100644 --- a/net-libs/courier-unicode/Manifest +++ b/net-libs/courier-unicode/Manifest @@ -1,7 +1,3 @@ -DIST courier-unicode-2.1.tar.bz2 447917 BLAKE2B 0d225849322ccaacea9eef49225952ac5219ab2967f30ca1c0412b73790b77682a077c2c08cff7b606cc1fdc6542db7e0895afdf7ba34f73e2a71aba5311df99 SHA512 1ee0bb3a548bfae4ebdc92ff8eeff5d22705c0df55e37e98880a12f1bfb186034e0c1ea2e1f03073b40e1d11147828304be93467d5d51e394fe39fd57bbbb46e -DIST courier-unicode-2.2.6.tar.bz2 598551 BLAKE2B 870e3add65747354ea8a91d58272a588bec84553ebbbff68ce6fb1ffc36a3d359a7988b696c6af0dcd5e25bf95dac5de6ce4abc999ab7c41edb6f7d8971087e7 SHA512 02db2da4cec2daecbfc953f4bbe6df34d68554668371a740a20c90707b8d6fe7d516e0c8fec83f6cecdd9bab239cbc1f5adef004babd67d642aed81e5b653940 DIST courier-unicode-2.3.0.tar.bz2 657354 BLAKE2B 4ccb4743330b5da8b4ab8f39d3ca186bcb826ef466a909d6cc011df5c2e15a8d547cf59f44dc40a02108d08695fa2747eab0050c3cd3e913277c9cc32ddf61db SHA512 f0db382a5c3fbe76fa1395e90f5f5489f83e95753f95058aa1c1b16dbcd5aba0425e88674337d18d32d00ed932609c3e984ae684bb122fea40eaae9489f470d4 -EBUILD courier-unicode-2.1-r1.ebuild 537 BLAKE2B 74c5604a8798ba289989877e431a3f003d3c5793dd446fc15bbc893f37c5a26fe92c3167ebe04a2ae41c08fec60bc402eecf4da5049f5730caf72fc02242b5bc SHA512 9bd07ec8ea0f04d1b4a11a3f1dffafb2e698d1796eb666101c560624d3cd64fbc2879c2ba96321a61324ef417420981ca67a3dbbdbca2ecf1d1e4e9775c6526c -EBUILD courier-unicode-2.2.6.ebuild 548 BLAKE2B fb0c8ec7146985a5e6d35f1aec5945b527646efdc5d9788dd06ab4e79fbef98fd00ae5b92291de58357e651260a0c723a724392851f607177aceae283f8cc5c5 SHA512 fb47f255336a2704dd35673f2ecd1c61dd252a598857e8ea2549d89bf7161e0bf70603b6c76f88583dea83834e7ef4d1ea7ed91cb974ad54b29bc82d68462722 EBUILD courier-unicode-2.3.0.ebuild 547 BLAKE2B c4e2395a1a695e265d8adc2c3973fed187168dcce86593d6f5afaccae3779a33d0c6f5e210d2392d36f60ae388195726c88b0dece58180a575a08c02dab35242 SHA512 4617b3aa1c17c11beb0c0199dace6d88036c43bd3974c6b7a5af59851ba0b3dcec4f54b5465474155ab3cb987ecaecc9a184765a69c3e988c51d24e5197ad344 MISC metadata.xml 294 BLAKE2B 529ed84dfbb6d03b115e2ed70383004be4908c1164d320822c212a7be40ce17d6dab03fdf76bdc8c4fb2355bf74b3a9d0dbf403556867c34532c7f0d497715bc SHA512 bd738845d02840a3e451e87ccded91513d5d7d23f4a4a0efff9ea7ce24debb1b41c4283be1898bb6b1a354c91a765c4a5e83c0745ec069865e57a0ce77c5f273 diff --git a/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild b/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild deleted file mode 100644 index d8484f19bb25..000000000000 --- a/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Unicode library used by the courier mail server" -HOMEPAGE="https://www.courier-mta.org/" -SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86" -IUSE="" - -src_configure() { - econf --disable-static -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - dodoc AUTHORS ChangeLog README -} diff --git a/net-libs/courier-unicode/courier-unicode-2.2.6.ebuild b/net-libs/courier-unicode/courier-unicode-2.2.6.ebuild deleted file mode 100644 index 2f15ac136155..000000000000 --- a/net-libs/courier-unicode/courier-unicode-2.2.6.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Unicode library used by the courier mail server" -HOMEPAGE="https://www.courier-mta.org/" -SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0/7" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" - -src_configure() { - econf --disable-static -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - dodoc AUTHORS ChangeLog README -} diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest index 52302dd55445..8342c74992d0 100644 --- a/net-libs/glib-networking/Manifest +++ b/net-libs/glib-networking/Manifest @@ -1,7 +1,9 @@ DIST glib-networking-2.76.1.tar.xz 280896 BLAKE2B d4fb8e30096e2e0bdca183795e5d6f86f13c887ad61a52a46dd2af90756ced41e540f286b2cdafb4655cf337758e3742508c0e62e0ea3850ab293cd04e12488e SHA512 9da7844dc767c8dc33953bf984aa9fcc12ac6f9945b55b9c0ec34ecf13592deefead37dc27b048f564dc423286224c041b9842034e197d90f93822128fab4f97 DIST glib-networking-2.78.0.tar.xz 282864 BLAKE2B 24b503a79e3a75c706e5aac98bb4593c6a282d980175633e77097ec8dcb7399f1e197ef42cad9f1f0a7c0456e0f09fbb7a197dcdf1ee2eff0f061ea826e2ee33 SHA512 7574e82aa018332edf99dd284c7fd74b5935bca4a6a70e950ae4b22bbe7be188433fea69e35c742cae120e7ff7d1a6b4f5bf3957fc31f220f50189d3958a3f58 DIST glib-networking-2.78.1.tar.xz 283472 BLAKE2B 424a7d1f05b8589e9f5ca4e53fe4aead2ded484799b984e80ba8c203633bb5c7cec47cf56d15df4af1cb900025a560b9f07a9ebaeb5428c051f600849630a310 SHA512 dc8076d3ff1c97c44c7ba04f74bed50117b07f703efc1bc4cc44989ffcfada0ab49813556ad5bb1831dfb114c4f74ec7bfe08c9b6b514ae7049700211606b288 +DIST glib-networking-2.80.0.tar.xz 287044 BLAKE2B cf407acf5876756dac1fae19b6442b718aa8cdcfd381b00a2d34acc9cac60b519df82a27ceca9af0cc25d54dac03bf43cf74e5f485e6c8fe6b84e11e71719200 SHA512 9707bd47a7f613bc24ac3212737b6b67c57fb6c5dc20e8659a6276750cb07d2af7d42277e4c7294644e8e833eb5aea28320f3d517073e1316860a1dee2e3dc2b EBUILD glib-networking-2.76.1.ebuild 2251 BLAKE2B c7a1cc0b28c3d135bf2a488f83ff0eccb28962efabdf5501c906335a8ffca5789e457055c1abc3bce1b299cdfa44e59fefc65dce0b4bbdba5bf126870bb20806 SHA512 a0899f128471a26c64bd9aaa94eff3dedd707456ea4f160b983ff414eb59d624d7e967ffebc111fe8cdb7dc99ef0581c41564eb2f3ffdb65843367fc856daad6 EBUILD glib-networking-2.78.0.ebuild 2251 BLAKE2B c7a1cc0b28c3d135bf2a488f83ff0eccb28962efabdf5501c906335a8ffca5789e457055c1abc3bce1b299cdfa44e59fefc65dce0b4bbdba5bf126870bb20806 SHA512 a0899f128471a26c64bd9aaa94eff3dedd707456ea4f160b983ff414eb59d624d7e967ffebc111fe8cdb7dc99ef0581c41564eb2f3ffdb65843367fc856daad6 EBUILD glib-networking-2.78.1.ebuild 2251 BLAKE2B c7a1cc0b28c3d135bf2a488f83ff0eccb28962efabdf5501c906335a8ffca5789e457055c1abc3bce1b299cdfa44e59fefc65dce0b4bbdba5bf126870bb20806 SHA512 a0899f128471a26c64bd9aaa94eff3dedd707456ea4f160b983ff414eb59d624d7e967ffebc111fe8cdb7dc99ef0581c41564eb2f3ffdb65843367fc856daad6 +EBUILD glib-networking-2.80.0.ebuild 2259 BLAKE2B 791a02ad28751b6dbff6426b45d93ca3582a4b45e7a438049389edacc19687a91221921da7fba8c6d41de6686aa6121a445037ace79a287889b8fb40f1d5bda2 SHA512 30f22d2532896ce01eac2094246fdd6f3384808b04159fea1b82aa6d3222bc8835cf3235008c2d9dc8a4e4f2d2fe98ecef21808859b91ee9064de7185f1d11cf MISC metadata.xml 646 BLAKE2B 977c01c7fb13500e49e68e8d4d133e96e22207cd899e87b359cb97d816f9e70452d1e80c09dd11dde9927ebac58964834f085b35692ae037af9e40cc1f567f52 SHA512 811c7c6e5441ce6f99b49ea15c064f8ec579baee2b0f1de6efe5285999d0b9e29f2283d4f88a104105eec119700fa857c27ea580718455f1fe683aa120945b75 diff --git a/net-libs/glib-networking/glib-networking-2.80.0.ebuild b/net-libs/glib-networking/glib-networking-2.80.0.ebuild new file mode 100644 index 000000000000..f1e4f7e6d4cb --- /dev/null +++ b/net-libs/glib-networking/glib-networking-2.80.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson-multilib xdg + +DESCRIPTION="Network-related giomodules for glib" +HOMEPAGE="https://gitlab.gnome.org/GNOME/glib-networking" +LICENSE="LGPL-2.1+" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +IUSE="+gnome +libproxy +ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.73.3:2[${MULTILIB_USEDEP}] + libproxy? ( >=net-libs/libproxy-0.4.16[${MULTILIB_USEDEP}] ) + >=net-libs/gnutls-3.7.4:=[${MULTILIB_USEDEP}] + ssl? ( app-misc/ca-certificates ) + gnome? ( gnome-base/gsettings-desktop-schemas ) +" +DEPEND="${RDEPEND} + test? ( net-libs/gnutls[pkcs11] ) +" +BDEPEND=" + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +src_prepare() { + default + xdg_environment_reset + + if ! use test ; then + # Don't build tests unconditionally + # This is a hack to avoid needing gnutls[pkcs11] when USE=-test + # It may become a real runtime dependency in future + # Please check! + # bug #777462 + sed -i "/^subdir('tests')/d" tls/meson.build || die + fi +} + +multilib_src_configure() { + local emesonargs=( + -Dgnutls=enabled + -Dopenssl=disabled + $(meson_feature !libproxy environment_proxy) + $(meson_feature libproxy) + $(meson_feature gnome gnome_proxy) + -Dinstalled_tests=false + -Ddebug_logs=false + ) + meson_src_configure +} + +multilib_src_test() { + # Pretend the network is available so we get real libproxy parsing + # output rather than it giving up early in e.g. systemd-nspawn in some + # cases. + # https://github.com/libproxy/libproxy/issues/260 (bug #914382) + local -x GIO_USE_NETWORK_MONITOR=base + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +pkg_postinst() { + xdg_pkg_postinst + + multilib_pkg_postinst() { + gnome2_giomodule_cache_update \ + || die "Update GIO modules cache failed (for ${ABI})" + } + multilib_foreach_abi multilib_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm + + multilib_pkg_postrm() { + gnome2_giomodule_cache_update \ + || die "Update GIO modules cache failed (for ${ABI})" + } + multilib_foreach_abi multilib_pkg_postrm +} diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest index 5a7928a1bf43..690f5de55056 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -16,5 +16,5 @@ EBUILD gnutls-3.7.9.ebuild 4518 BLAKE2B 1677d20875850c62130350dcbc92b61f51c6aa5d EBUILD gnutls-3.8.0.ebuild 4569 BLAKE2B 4b3dbdec9ab063ef44ec516c91b3777028d627e89260885a033756be8e0edcecd7c0e0c4f27f9ea8c2e2cf929b6f729c62bc265b64a8ed9ed7785bfe442ba274 SHA512 81d3331058c8dc1a121d2b618462ad07797b5b3f118842e6fb634b1d7bef27d1a8657ca04319b16b709989987b91cd4de8e582516840abfd3c74bd60f357e0cb EBUILD gnutls-3.8.3.ebuild 4683 BLAKE2B b19f9797b93c00e98106ece1395fcb0625ae071fbcdc31efc539f081c2770f5e61e0288bbddeb5e2b41fbfaddbe4b27ca7e68048def487d5397e80a8af52cd96 SHA512 f533871504131a7bb76fac115460b01a564c52ae72c9ed0fbe1b4a2e1388e7512f8144891adfeea4853ed55a13137d05ed7fef8516c8933a790847ac320319ab EBUILD gnutls-3.8.5-r1.ebuild 4831 BLAKE2B 318f57de485ee58e3b598c095d686fcef2918472c6c18b05349481631a3d35c19bf8b9be91ca825b6fcd9eb244bdc3435ce53361ae7c50718243ed2d9970bca5 SHA512 f4cc2ce252c8b13cc5759b2ba5c83599cd327ed7fbc50791fe14d2a7abb51c4fdbb3cd70c914c08761e734e255c44c889f60b451845db53cb6b6401c6066dd59 -EBUILD gnutls-3.8.6.ebuild 4683 BLAKE2B dfd03e9f80c1c9142ba16145414d4c9204fc79a5d5b3e956a8042ac93f7aa12e1207ae031e6b3e4df17fe309367a96eb9b2fed94eecca8c8da90137cc2d39856 SHA512 8e2aad44f15ef216cc2a641bb955c878dcd7eea71209db38cf7df6381a1b9d1647b6e724a13d3fa2f997ac3d28ad111e2fb49548dcba832a3e3be0d2e46949d7 +EBUILD gnutls-3.8.6-r1.ebuild 4981 BLAKE2B ee9e1bbf553c95b6b60aecda5d7884e5a7dcaa7dd0919f3485c7420a36dfff630128cd0d48d98998f4c0abd208f9e908768702564de75604e34637ccc513766a SHA512 c17b8c22a80cb5c933408b9ce87326ff7ca2c3520161c808e06acd5da1399b62e9ea652109e55f046f0b8903521504a0645506d0e8b4d5251dd1663d6534ee41 MISC metadata.xml 1141 BLAKE2B 70657c924a576930a14064d750074cce08bfe3f99970987aca13f9f1dc49024d8a99de54336b5e51f7cee4fa944045a323cf8384e0363189c4ee60962b185a42 SHA512 467370ffa9762eff75e73ffcb959c7bbe65528b33256c871b702be90c7b6f06e6b60a0a358c81dadba43388ec803a9dabe09a6f7cb3616ee3c65eaa6416140ee diff --git a/net-libs/gnutls/gnutls-3.8.6-r1.ebuild b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild new file mode 100644 index 000000000000..2eadf62b1861 --- /dev/null +++ b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnutls.asc +inherit libtool multilib-minimal verify-sig flag-o-matic + +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: +# . +SLOT="0/30.30" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools zlib zstd" +REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 seccomp tls-heartbeat tools )" +RESTRICT="!test? ( test )" + +# >=nettle-3.10 as a workaround for bug #936011 +RDEPEND=" + >=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] + dev-libs/libunistring:=[${MULTILIB_USEDEP}] + >=dev-libs/nettle-3.10:=[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-build/gtk-doc-am + >=virtual/pkgconfig-0-r1 + doc? ( dev-util/gtk-doc ) + nls? ( sys-devel/gettext ) + test-full? ( + app-crypt/dieharder + || ( sys-libs/libfaketime >=app-misc/datefudge-1.22 ) + dev-libs/softhsm:2[-bindist(-)] + net-dialup/ppp + net-misc/socat + ) + verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20240415 ) +" + +DOCS=( README.md doc/certtool.cfg ) + +HTML_DOCS=() + +QA_CONFIG_IMPL_DECL_SKIP=( + # gnulib FPs + MIN + alignof + static_assert +) + +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 + + if [[ ${CHOST} == *-solaris* ]] ; then + # should be gone on next release, for gnulib memset_s breakage + append-cppflags -D__STDC_WANT_LIB_EXT1__=1 + # alloca usage, similar + sed -i -e '$a#include ' config.h.in || die + fi + + # 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 ) + + # -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=( + --disable-valgrind-tests + $(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) + $(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.6.ebuild b/net-libs/gnutls/gnutls-3.8.6.ebuild deleted file mode 100644 index 19002c19728c..000000000000 --- a/net-libs/gnutls/gnutls-3.8.6.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/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: -# . -SLOT="0/30.30" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools 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-build/gtk-doc-am - >=virtual/pkgconfig-0-r1 - doc? ( dev-util/gtk-doc ) - nls? ( sys-devel/gettext ) - test-full? ( - app-crypt/dieharder - || ( sys-libs/libfaketime >=app-misc/datefudge-1.22 ) - dev-libs/softhsm:2[-bindist(-)] - net-dialup/ppp - net-misc/socat - ) - verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20240415 ) -" - -DOCS=( README.md doc/certtool.cfg ) - -HTML_DOCS=() - -QA_CONFIG_IMPL_DECL_SKIP=( - # gnulib FPs - MIN - alignof - static_assert -) - -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 ) - - # -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=( - --disable-valgrind-tests - $(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) - $(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 15d66700a1e8..04ef98bf4c77 100644 --- a/net-libs/grpc/Manifest +++ b/net-libs/grpc/Manifest @@ -1,18 +1,18 @@ AUX grpc-1.57.0-fix-cmake.patch 1098 BLAKE2B f288979afb891ead497a40b05357166d15bc8577da093a44b33c4d973fcef9116c2aad8a1933eb38b154e162e9bde87d536e55bfc8b9381c285ae73d1ef55c8d SHA512 a83baf405c191056a01ad4d84f1c3d51aeec3e932776ba8444f9f2f4853401751b8b1087d2675ec4f7d1155a4b6a1d05584510a8e6f3ee268eef534516ddd602 AUX grpc-1.62.1-system-gtest.patch 2608 BLAKE2B 1052d71fe8d6e7fc31f5c3dab35426129d3c1b0c5ef3ac1061dc471eab420487c6df5e862640bade4238e0f01a520a5049b5912cb8638cc650bfcfebbe1f92bb SHA512 079d8ae837654a5229ff823689cc69b67a6bc32e05e564b2a5ee19a259ca7af6806f625806c79f6afa5b30f00e4251a042372b56f00df212aa0e925389a24a44 -AUX grpc-1.65.0-system-gtest.patch 2604 BLAKE2B 5d14fc1a22c71e09a6b66fcca6401bacfc9a30717b2f5159d3b812e75979ab959a30a7747a6f6a67f2599ed0ac2824980ca26275fd57f3bd7b2a9ab34e6612ad SHA512 9686fc7de316de5582226829b8430f60323fc2dc0d94df9706c885cb43fbba8be90866e0242d1b54aeafd6770b648d4bf5c009ad52279f12f85aefd3ab9185c4 +AUX grpc-1.65.0-system-gtest.patch 2576 BLAKE2B e34aaeae371f19b88831148596eb8e27f11b7b289559c2332a3b689e1a2c80f334b64b259352cede9eb2c62c29734f15fd11e44cbf85ee96fe7bad7218a30dcb SHA512 05014534dddc8dc71c9bd97be3dc8a3dbdfc4cc3a20e0cd8124692e8b0cdaeca52804e9a1c5986c65d5298d9a0f38787e7554b95be4c92802543444bb65f910a DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53 SHA512 06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758 DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b81111fa810202106251f440d SHA512 ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1 DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d SHA512 2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a DIST grpc-1.57.0.tar.gz 17337863 BLAKE2B 10c6fb35f606806aeb25cd55dd993d9af168eb8b1db64b4515830e2144dc44f35ce8f8329316a38d933b8032a0eff386591a0ddb87f2e405c5deaba012db2824 SHA512 b323de7c1f35b9de3fb7bf02ff4db6993abb0eee6860bbf2082818dda405fbe3a19fad91c5b48565cb65c6318de739bb91e47b5095801c078c6cbf3e8c73600c DIST grpc-1.60.0.tar.gz 17442762 BLAKE2B 35cc0ea938deb848ca91e3d5f8879b85b80f94ac09b582600f05fee1f55c162ae98f2f744480f69d78e78da0c0f2d9e198f812101daaa1f1959869f26ba7d97a SHA512 91c2406ed4198509ac0d5360b3da6898fa4f40f459eb6fff541faa44cc238eed98fd7489e7ef7a80a6f4a318bc5b9130eaa0ba1beaa358d1c074fc82825648ff DIST grpc-1.62.1.tar.gz 22384671 BLAKE2B 134e40732e784e52d518cde6e518e4c08e2f67a025754d88b92a9a314f86e53bee33ee793395b9e225c0895c6ac8b9c036892c82c19d0fddf69909a22eac4b78 SHA512 3224ad2617c18156f90c54c1ebf1f2015e405a6f12546e8709e0c905f52508c9f1a13b4d5a6cc7a35abf58b429985b5b504c9062f50c0d3d6aa163180a61047a -DIST grpc-1.65.0.tar.gz 22537894 BLAKE2B 08b53b515b6e80c19aae6b9d3af969f79cc0f25413bc60106276030cd45df677bc67a94327da1439a2c469d49ed71043cf852f38e7fa5a36c2cb875a71bd3aa5 SHA512 18fbce2f77caca6bd21374db2234411ec37d27e5b171b1008aac6810f1a98e3f51826b9dc5e8bd29a746e4f2f31b2a87d6f1bbf988e72e321ca81e7b14f1a4b5 +DIST grpc-1.65.1.tar.gz 22539865 BLAKE2B f044305a1817c46d12b96d65a7d70e4342921d372bbeb127840ccbf5cda1f5a34daf7319cd8564a7d327f6abfbac67e4300f80cfe9e66dd49d65d77d30fd3402 SHA512 ca8ebe71fb88a0fc605706c3c81c349e79c40b347081a06795fa64550720bc745373ac5d167263d098e98553077cfda141e4f4be2eefa5f345ede9b0ddec4f54 EBUILD grpc-1.52.1.ebuild 2815 BLAKE2B ac0c2cedb3c4cc1f9a2cb6e090172ea7cac5bca2f93f178383367498b51724fc81dfe69752de1f6952c0d7ea32be25793db480efdabeea7b5ff03d1341be7b4c SHA512 f7feb1a7e0b3c4afc55e581425feb3ca584298a43a06d623067ce4d4acd815e780198025b180635851449427b88218c682323e2205aa3ce155b2769a55ad2819 EBUILD grpc-1.55.1.ebuild 2815 BLAKE2B cf51f13634413558b287a47bff342c6fe35a7071e4ee5e2282e65c90b217127066b5abe93f96d74141489988db30defa9a219b19573ede90e5ef34612120f432 SHA512 45ad6402ea36c980fd076fd7d9728d9cea32d1441a1af6a96a1ddde3971ca1e449f3861b9366045bec00524e4b1261acd6dbf1a42351ee5457da162a54eda01d EBUILD grpc-1.56.1.ebuild 2817 BLAKE2B ae411c8ea15067f2c3e8562b5f5b67580d203db2327994d9b7f34606f676308d7a13031920c2639575ad9c13c0802c0f99dbb60f1343c3f48f56c58b8864dbf8 SHA512 c0ccfd6b0af3d81d6966a45a238d02d5f733b7a51a2550dff9d98f592b93d28dc89769b13164f4ab22345bbd2cb80be9dbf429894aeea98bdcd26d4c1f728026 EBUILD grpc-1.57.0-r1.ebuild 2971 BLAKE2B 24cb8f5def17951a7fb02739c5201df84885ae8212010b6745dcb1b51939812954e20ef4b361310e1367bcf7b7d19717073f8d394144fee668deff3dd82e33c4 SHA512 fb936428bdc91a58e0722967026b782782c2b21dd62a144d6550fd2ebb6a4621802a8aefc0e32d823245e6a9301c5445e7d61db68e15b56cc51f7701b6f89ca5 EBUILD grpc-1.60.0.ebuild 2927 BLAKE2B 80ae3abc33b3d734d65e6691ac3cc21ed608fabc1fd69549819dd9e3e8333b04c7e40f41d42ae948f5732d65addf596116d56d72b8032679be95d01e8ec36400 SHA512 b32ec9075252f44fa3200bedae368d40373b64b234657cad93b03fe727a3efe05399079f93f2653ce80a597a68bed01eecfb488ed25fd062bc40e5a866cb5c52 EBUILD grpc-1.62.1.ebuild 6435 BLAKE2B a88a4f4c63a00114a1376dc895f2ba92e79eb8d0d914658513db3ffdf6e1cd7a78029d95458c77b6a855f66834c5777c4398ada623d65f718722e124ab4d960d SHA512 5e90f37e970c1c3cbb2d1bea2c8df5cf0cf627b48dbbcc89781b251bb8663a62b7e1af858fb754366bc21dc65ef32b11ff203e164b975d60eaa8c8df1c131ced -EBUILD grpc-1.65.0.ebuild 6456 BLAKE2B 2e5c865c728defb427c6135bc3adbf332f23dbc5b68b4fb3179a3be04591e0b03e141719a980c6e228ebb0fd5de41239477231b68a8e838b0d874c62410448a7 SHA512 a7d289af0a457dbb9dd32228b253e0f56f36206439fb23b1452ec03f277dbbb32dc488b14b1d1d8f031f5cfc2c0676cc7cfebbfc3d429dfeb9382912b0e2ee38 +EBUILD grpc-1.65.1.ebuild 9857 BLAKE2B 49135b005447d480968fb9bc817f89603812180e5edb553f08712d488c7d2edbe4b3fd636328c9ccf220ed00af407cbabe9be8537cf898986f35ee4a522acc9d SHA512 9cf00d97a10158c866ceda039c1ec5d52496638b6ef882fce19dc82a6a904228aae1de37d2d5e1b2d141f4e3a823cb03963a637d3eb6569c50a435374708c421 MISC metadata.xml 452 BLAKE2B 03fbf9312276176e8a4b61851a2b19a2e3b9bd07e64dd0ed8962c9f5bc11182c8ab125dcb8b1fdfbc09c5a5346ec5a23de9b4eb925b423a1db93117ff973a273 SHA512 0285f13b57c1f06a3c561d04ee876d3f161c39e5115858b83858973cb1e233a60b01289fd312c0034b3ec270b6cc42b6a5a97e64f45144b63c9d45b0dee55bb1 diff --git a/net-libs/grpc/files/grpc-1.65.0-system-gtest.patch b/net-libs/grpc/files/grpc-1.65.0-system-gtest.patch index 47be90892893..878ce10f8ffd 100644 --- a/net-libs/grpc/files/grpc-1.65.0-system-gtest.patch +++ b/net-libs/grpc/files/grpc-1.65.0-system-gtest.patch @@ -1,14 +1,11 @@ -https://bugs.gentoo.org/927403 - diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7a55616fb6..ee62502267 100644 +index d4d798f..824c4ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -3442,79 +3442,6 @@ if(gRPC_INSTALL) - ) +@@ -3504,77 +3504,8 @@ if(gRPC_INSTALL) endif() --if(gRPC_BUILD_TESTS) + if(gRPC_BUILD_TESTS) - -add_library(gtest - third_party/googletest/googlemock/src/gmock-cardinalities.cc @@ -80,7 +77,8 @@ index 7a55616fb6..ee62502267 100644 -) - - --endif() ++ find_package(GTest REQUIRED) ++ enable_testing() + endif() add_library(upb_base_lib - third_party/upb/upb/base/status.c diff --git a/net-libs/grpc/grpc-1.65.0.ebuild b/net-libs/grpc/grpc-1.65.0.ebuild deleted file mode 100644 index b5a31691fd7d..000000000000 --- a/net-libs/grpc/grpc-1.65.0.ebuild +++ /dev/null @@ -1,209 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_IN_SOURCE_BUILD=1 -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake flag-o-matic python-any-r1 - -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" - -S="${WORKDIR}/${PN}-${MY_PV}" -LICENSE="Apache-2.0" -# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt -SLOT="0/42.165" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="doc examples test systemd" -RESTRICT="!test? ( test )" - -# look for submodule versions in third_party dir -RDEPEND=" - >=dev-cpp/abseil-cpp-20240116:= - >=dev-libs/re2-0.2022.04.01:= - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/protobuf-27.0:= - dev-libs/xxhash - >=net-dns/c-ares-1.19.1:= - sys-libs/zlib:= - systemd? ( sys-apps/systemd:= ) -" -DEPEND=" - ${RDEPEND} - test? ( - dev-cpp/benchmark - dev-cpp/gflags - dev-cpp/gtest - ) -" -BDEPEND=" - ${RDEPEND} - virtual/pkgconfig - test? ( - net-misc/curl - $(python_gen_any_dep ' - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( "${FILESDIR}/${PN}-1.65.0-system-gtest.patch" ) - -python_check_deps() { - if use test; then - python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/six[${PYTHON_USEDEP}]" - fi -} - -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() { - # These extra libs are defined as dependencies of the vendored gtest, - # which is a dependency of the unit tests, therefore they are normally - # implicitly picked up and linked to the test binaries. However removing - # the vendored gtest to use the system one also removes these dependencies, - # so we have to redeclare them as dependencies of the test binaries individually. - local extra_libs=("gtest" - "gmock" - "\${_gRPC_RE2_LIBRARIES}" - "absl::flat_hash_set" - "absl::failure_signal_handler" - "absl::stacktrace" - "absl::symbolize" - "absl::flags" - "absl::flags_parse" - "absl::flags_reflection" - "absl::flags_usage" - "absl::strings" - "absl::any" - "absl::optional" - "absl::variant") - : "$(echo "${extra_libs[@]}" | "${EPYTHON}" -c 'import sys;print("\\n\\1".join(sys.stdin.read().split()))')" - local rstring="${_}" - sed -i -E "s/( +)gtest/\1${rstring}/g" "CMakeLists.txt" || die - - # Integrate tests with ctest rather than the custom test framework. - # Formatted with dev-python/black. - "${EPYTHON}" - <<-EOF | tee -a "CMakeLists.txt" - import json, pathlib - - print("if(gRPC_BUILD_TESTS)") - print(" ENABLE_TESTING()") - for line in [ - json.dumps([t["name"], "./" + t["name"], *t["args"]]).translate( - str.maketrans(dict.fromkeys("[],", None)) - ) - for t in json.loads( - pathlib.Path("tools/run_tests/generated/tests.json").read_text() - ) - if "linux" in t["platforms"] and not t["flaky"] and not t.get("boringssl", False) - ]: - print(f" add_test({line})") - print("endif()") - EOF - - # Weird path issue. All tests except these two assume they are running from top-level src - sed -i -E "s/lslash != nullptr/false/" "test/core/http/httpcli_test_util.cc" || die - - # Called via system() by some of the C++ sources, respect EPYTHON - sed -i -E "s#for p in #for p in \"${EPYTHON}\"#" "tools/distrib/python_wrapper.sh" || die - - # Respect EPYTHON when testing, don't touch installed files otherwise - use test && python_fix_shebang --force "${S}" - - 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_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 - -DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex !systemd) - $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '') - ) - cmake_src_configure -} - -src_test() { - # This is normally done with start_port_server.py, but this forks and exits, - # while we need to capture the pid, so run it ourselves - "${EPYTHON}" "tools/run_tests/python_utils/port_server.py" \ - -p 32766 -l "${T}/port_server.log" & - local port_server_pid="${!}" - - # Reimplementation of what start_port_server.py does with curl - curl --retry 9999 --retry-all-errors --retry-max-time 120 \ - --fail --silent --output /dev/null "http://localhost:32766/get" || die - - CMAKE_SKIP_TESTS=( - no_logging_test # hangs everywhere, no output - grpc_tool_test # fails everywhere - examine_stack_test # fails on amd64 only - stack_tracer_test # fails on amd64 only - endpoint_pair_test # fails on alpha - event_poller_posix_test # fails on alpha - tcp_posix_test # fails on alpha - ) - - # BUG this should be nonfatal and we kill the server even when tests fail - cmake_src_test - - kill "${port_server_pid}" || die -} - -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.65.1.ebuild b/net-libs/grpc/grpc-1.65.1.ebuild new file mode 100644 index 000000000000..448a008c7796 --- /dev/null +++ b/net-libs/grpc/grpc-1.65.1.ebuild @@ -0,0 +1,323 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_IN_SOURCE_BUILD=1 +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake flag-o-matic python-any-r1 + +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" + +S="${WORKDIR}/${PN}-${MY_PV}" +LICENSE="Apache-2.0" +# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level CMakeLists.txt +SLOT="0/42.165" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="doc examples test systemd" +RESTRICT="!test? ( test )" + +# look for submodule versions in third_party dir +RDEPEND=" + >=dev-cpp/abseil-cpp-20240116:= + >=dev-libs/re2-0.2022.04.01:= + >=dev-libs/openssl-1.1.1:0=[-bindist(-)] + >=dev-libs/protobuf-27.0:= + dev-libs/xxhash + >=net-dns/c-ares-1.19.1:= + sys-libs/zlib:= + systemd? ( sys-apps/systemd:= ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-cpp/benchmark + dev-cpp/gflags + dev-cpp/gtest + ) +" +BDEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( + net-misc/curl + $(python_gen_any_dep ' + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ') + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-1.65.0-system-gtest.patch" +) + +python_check_deps() { + if use test; then + python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/six[${PYTHON_USEDEP}]" + fi +} + +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() { + # These extra libs are defined as dependencies of the vendored gtest, + # which is a dependency of the unit tests, therefore they are normally + # implicitly picked up and linked to the test binaries. However removing + # the vendored gtest to use the system one also removes these dependencies, + # so we have to redeclare them as dependencies of the test binaries individually. + local extra_libs=( + "GTest::gtest" + "GTest::gmock" + "\${_gRPC_RE2_LIBRARIES}" + "absl::flat_hash_set" + "absl::failure_signal_handler" + "absl::stacktrace" + "absl::symbolize" + "absl::flags" + "absl::flags_parse" + "absl::flags_reflection" + "absl::flags_usage" + "absl::strings" + "absl::any" + "absl::optional" + "absl::variant" + ) + : "$(echo "${extra_libs[@]}" | "${EPYTHON}" -c 'import sys;print("\\n\\1".join(sys.stdin.read().split()))')" + local rstring="${_}" + sed -i -E "s/( +)gtest/\1${rstring}/g" "CMakeLists.txt" || die + + # Integrate tests with ctest rather than the custom test framework. + # Formatted with dev-python/black. + "${EPYTHON}" - <<-EOF | tee -a "CMakeLists.txt" + import json, pathlib + + print("if(gRPC_BUILD_TESTS)") + for line in [ + json.dumps([t["name"], "./" + t["name"], *t["args"]]).translate( + str.maketrans(dict.fromkeys("[],", None)) + ) + for t in json.loads( + pathlib.Path("tools/run_tests/generated/tests.json").read_text() + ) + if "linux" in t["platforms"] and not t["flaky"] and not t.get("boringssl", False) + ]: + print(f" add_test({line})") + print("endif()") + EOF + + # Weird path issue. All tests except these two assume they are running from top-level src + sed -i -E "s/lslash != nullptr/false/" "test/core/http/httpcli_test_util.cc" || die + + # Called via system() by some of the C++ sources, respect EPYTHON + sed -i -E "s#for p in #for p in \"${EPYTHON}\"#" "tools/distrib/python_wrapper.sh" || die + + # Respect EPYTHON when testing, don't touch installed files otherwise + use test && python_fix_shebang --force "${S}" + + 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_DOWNLOAD_ARCHIVES=OFF + -DgRPC_INSTALL=ON + -DgRPC_ABSL_PROVIDER=package + -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) + -DgRPC_USE_SYSTEMD=$(usex systemd ON OFF) + -DCMAKE_CXX_STANDARD=17 + $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '') + ) + cmake_src_configure +} + +src_test() { + # This is normally done with start_port_server.py, but this forks and exits, + # while we need to capture the pid, so run it ourselves + "${EPYTHON}" "tools/run_tests/python_utils/port_server.py" \ + -p 32766 -l "${T}/port_server.log" & + local port_server_pid="${!}" + + # Reimplementation of what start_port_server.py does with curl + curl --retry 9999 --retry-all-errors --retry-max-time 120 \ + --fail --silent --output /dev/null "http://localhost:32766/get" || die + + CMAKE_SKIP_TESTS=( + # CallCommandWithTimeoutDeadlineSet has a timeout set to 5000.25 seconds + ^grpc_tool_test$ + + # Need network access + ^posix_event_engine_native_dns_test$ + ^posix_event_engine_test$ + ^resolve_address_using_ares_resolver_test$ + ^resolve_address_using_native_resolver_test$ + ) + + use amd64 && CMAKE_SKIP_TESTS+=( + ^examine_stack_test$ # fails on amd64 only + ^stack_tracer_test$ # fails on amd64 only + ) + + use alpha && CMAKE_SKIP_TESTS+=( + ^endpoint_pair_test$ # fails on alpha + ^event_poller_posix_test$ # fails on alpha + ^tcp_posix_test$ # fails on alpha + ) + + # NOTE breaks with shared linking because the metric is twice initialised in a static function in a anonymous namespace + # metrics.cc:49] Metric name grpc.lb.pick_first.disconnections has already been registered. + # https://bugs.gentoo.org/935787 Leave the bug open until we fixed the underlying issue + CMAKE_SKIP_TESTS+=( + ^bad_ping_test$ + ^binary_metadata_test$ + ^call_creds_test$ + ^call_host_override_test$ + ^cancel_after_accept_test$ + ^cancel_after_client_done_test$ + ^cancel_after_invoke_test$ + ^cancel_after_round_trip_test$ + ^cancel_before_invoke_test$ + ^cancel_in_a_vacuum_test$ + ^cancel_with_status_test$ + ^client_streaming_test$ + ^compressed_payload_test$ + ^connectivity_test$ + ^default_host_test$ + ^disappearing_server_test$ + ^empty_batch_test$ + ^filter_causes_close_test$ + ^filter_init_fails_test$ + ^filter_test_test$ + ^filtered_metadata_test$ + ^graceful_server_shutdown_test$ + ^grpc_authz_test$ + ^high_initial_seqno_test$ + ^hpack_size_test$ + ^http2_stats_test$ + ^invoke_large_request_test$ + ^keepalive_timeout_test$ + ^large_metadata_test$ + ^max_concurrent_streams_test$ + ^max_connection_age_test$ + ^max_connection_idle_test$ + ^max_message_length_test$ + ^negative_deadline_test$ + ^no_logging_test$ + ^no_op_test$ + ^payload_test$ + ^ping_pong_streaming_test$ + ^ping_test$ + ^proxy_auth_test$ + ^registered_call_test$ + ^request_with_flags_test$ + ^request_with_payload_test$ + ^resource_quota_server_test$ + ^retry_cancel_after_first_attempt_starts_test$ + ^retry_cancel_during_delay_test$ + ^retry_cancel_with_multiple_send_batches_test$ + ^retry_cancellation_test$ + ^retry_disabled_test$ + ^retry_exceeds_buffer_size_in_delay_test$ + ^retry_exceeds_buffer_size_in_initial_batch_test$ + ^retry_exceeds_buffer_size_in_subsequent_batch_test$ + ^retry_lb_drop_test$ + ^retry_lb_fail_test$ + ^retry_non_retriable_status_before_trailers_test$ + ^retry_non_retriable_status_test$ + ^retry_per_attempt_recv_timeout_on_last_attempt_test$ + ^retry_per_attempt_recv_timeout_test$ + ^retry_recv_initial_metadata_test$ + ^retry_recv_message_replay_test$ + ^retry_recv_message_test$ + ^retry_recv_trailing_metadata_error_test$ + ^retry_send_initial_metadata_refs_test$ + ^retry_send_op_fails_test$ + ^retry_send_recv_batch_test$ + ^retry_server_pushback_delay_test$ + ^retry_server_pushback_disabled_test$ + ^retry_streaming_after_commit_test$ + ^retry_streaming_succeeds_before_replay_finished_test$ + ^retry_streaming_test$ + ^retry_test$ + ^retry_throttled_test$ + ^retry_too_many_attempts_test$ + ^retry_transparent_goaway_test$ + ^retry_transparent_max_concurrent_streams_test$ + ^retry_transparent_not_sent_on_wire_test$ + ^retry_unref_before_finish_test$ + ^retry_unref_before_recv_test$ + ^server_finishes_request_test$ + ^server_streaming_test$ + ^shutdown_finishes_calls_test$ + ^shutdown_finishes_tags_test$ + ^simple_delayed_request_test$ + ^simple_metadata_test$ + ^simple_request_test$ + ^streaming_error_response_test$ + ^test_core_end2end_channelz_test$ + ^thread_pool_test$ + ^timeout_before_request_call_test$ + ^trailing_metadata_test$ + ^write_buffering_at_end_test$ + ^write_buffering_test$ + ) + + # BUG this should be nonfatal and we kill the server even when tests fail + cmake_src_test + + kill "${port_server_pid}" || die +} + +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/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest index 66fe457718ad..45828cb0ad24 100644 --- a/net-libs/gtk-vnc/Manifest +++ b/net-libs/gtk-vnc/Manifest @@ -1,3 +1,4 @@ DIST gtk-vnc-1.3.1.tar.xz 222204 BLAKE2B 03e51700ae0a477a2762a67ed5906ce5205025b2fb30df5fa75deb99315d2164f22ee0b97d3fc8c23648921cdba4b4a3e22045b2cb8226360ff9f468bef2162f SHA512 01c9af407f913b214814252d7b204822372293ffc5f658aa646936f9f8cdcd77589c127e4d0e893e914c61470d4616e32f7b1fa9bd3739b2a22caef6710953b9 +EBUILD gtk-vnc-1.3.1-r1.ebuild 1724 BLAKE2B d2f455b261b5d2bff2f32b24dbb6c272b8d0aec9baaa1a7522881f3bb05fa139ce54cc870f88aae72354bfd71534f0982e074380c48993e7ded7ca441f977418 SHA512 c67b1f2bfe0223c79805cfc5af28d834b7d97ba053751123a1645ac0f41f098cf794e6b6a99e2d728af30a02579f494ca78de1f01edb164d67f6c31aa25f1ae7 EBUILD gtk-vnc-1.3.1.ebuild 1532 BLAKE2B 43c184586045fd0c94cc6c9afa65d72f03248480d0981d461d8ebe506fd028cc3989ad2aa3a657d87f7d21c760aabe7b404a6a3bd135b71629ca5aa79018891f SHA512 d2988c18516f598c34f52607a6417b4b41836df363622406b700e3cc782b7a445a21b4bbd9d70c81be91b9bb9d1d357a8c4dd0266e1dc862c2d113aa695ec17b MISC metadata.xml 486 BLAKE2B 1a058ec43b771d40b1ede9d1b5ae379816fe1410cb96eef8a1b87e084d17f5a5aa406335d9a356d7859d747989528135702e1db5d90fec5c5256241ce2e2adc8 SHA512 ec0c63cbe3d07e9229f6b097500fd85a0fc277f8d64c0d8a6590ae8975e230f8250d05d739388d7d4277c38cc425879c538d235d7465ea745fd5b22990bfa945 diff --git a/net-libs/gtk-vnc/gtk-vnc-1.3.1-r1.ebuild b/net-libs/gtk-vnc/gtk-vnc-1.3.1-r1.ebuild new file mode 100644 index 000000000000..f5ac953e4e80 --- /dev/null +++ b/net-libs/gtk-vnc/gtk-vnc-1.3.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit flag-o-matic gnome.org vala meson python-any-r1 xdg + +DESCRIPTION="VNC viewer widget for GTK" +HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc https://gitlab.gnome.org/GNOME/gtk-vnc" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+introspection pulseaudio sasl +vala wayland X" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.56.0:2 + >=x11-libs/gdk-pixbuf-2.36.0:2 + >=dev-libs/libgcrypt-1.8.0:0= + >=net-libs/gnutls-3.6.0:0= + >=sys-libs/zlib-1.2.11 + sasl? ( >=dev-libs/cyrus-sasl-2.1.27:2 ) + >=x11-libs/gtk+-3.24.41-r1:3[introspection?,wayland?,X?] + >=x11-libs/cairo-1.15.0 + >=x11-libs/libX11-1.6.5 + pulseaudio? ( media-libs/libpulse ) + introspection? ( >=dev-libs/gobject-introspection-1.56.0:= ) +" +# Keymap databases code is generated with python3; configure picks up $PYTHON exported from python-any-r1_pkg_setup +# perl for pod2man +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + >=dev-lang/perl-5 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + + use vala & vala_setup +} + +src_configure() { + # defang automagic dependencies, bug #927952 + use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND + use X || append-cflags -DGENTOO_GTK_HIDE_X11 + + local emesonargs=( + $(meson_feature introspection) + $(meson_feature pulseaudio) + $(meson_feature sasl) + -Dwith-coroutine=auto # gthread on windows, libc ucontext elsewhere; neither has extra deps + $(meson_feature vala with-vala) + ) + meson_src_configure +} diff --git a/net-libs/kdsoap-ws-discovery-client/Manifest b/net-libs/kdsoap-ws-discovery-client/Manifest index 95e582be21a4..e74bac6dc87d 100644 --- a/net-libs/kdsoap-ws-discovery-client/Manifest +++ b/net-libs/kdsoap-ws-discovery-client/Manifest @@ -2,5 +2,5 @@ AUX kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch 467 BLAKE2B DIST kdsoap-ws-discovery-client-0.2_pre20200927.tar.gz 37493 BLAKE2B c0dff21554bc56c4055c74a166a85186d67b0378f7bfbfcd3582ae7b992aaa71cefb6b794258fa07b37fcdd1d42ac2bf9fbfd7cd8142f8f77b1ba9791d683dae SHA512 86f8c4eee3fd484253ee91190092a9ae0dbd3d0c536ec25a6e3ec35be45d4a3d320cffbfc0ed2024d447788b43c9df88ca81181157720ce8942c9034d4eea49f DIST kdsoap-ws-discovery-client-0.4.0.tar.xz 30692 BLAKE2B f8d65a23731c9f56c75bdf678842b815512d5e15a28b3e37acc4d02cf0b10ec2d11876ff751dfd93321c7d3af3e422bec563ed6abd33c514f5537dbec9e39b46 SHA512 485e0319d986743183e82dd3a7576f0fc473122867e5e820a57f63b2fa2fde0721d8a7ee30d4399c01b11b51634db452174841a887b6685db9ab33e310866dda EBUILD kdsoap-ws-discovery-client-0.2_pre20200927-r1.ebuild 1287 BLAKE2B abeea4047a653f5fd3125b5ba0704e87f77b110ca46c557af7e90c4265a256c8cc1221ae736b67598c4b9ac9b408c933e79d160ed79f91dcb811b5fb67126c6b SHA512 bd7718dc7a3f54c5269d37f93c10918a7f31bac78ff03285ffd90f7241f6313296c9a8f104e87606b9a8ae45eb49b82be477dcbf518f7b1eb08d167293d0b4a3 -EBUILD kdsoap-ws-discovery-client-0.4.0.ebuild 1083 BLAKE2B 9a7415a08a85f618e97334ac51fb68cabc046757368a48612d647064d45c393488cbcae67a07acb45f93156d925b9d50f12af7543f8f83cd6333db6493ca69e9 SHA512 945e7409c7aa85587710a2a0fa424c9393e9d05156a24baf003a0813c6cd2062b8e52e76a6f9863013af235a44b4f2420450af1de330fd3354974ca1555dbb89 +EBUILD kdsoap-ws-discovery-client-0.4.0.ebuild 1090 BLAKE2B f5a33b36488412423ba907b03c9f9a1bbb85c5a6f171da451405d41d5dd20c7855aebee05197e08370f667bef59359343d2962564fa09acb655c7742086ac567 SHA512 d34955b260b1ef6373706b280292c554aa53811bd177413d0a5d3ca036e8d9306022022140970f19a731c8a7a4eeb83de1386ea1265afa83c6bf69cbb98b84d1 MISC metadata.xml 355 BLAKE2B 837ce719b98553c8995bcf17d26eb6e6adb4679690029677487e14ae2026c4ad40ca1431a7133d026de65a27a74494b6be51dfa60e1e88dd06e3c86a55276a3d SHA512 138c43e593a78fa0983dd4d5abc1a32f50a33ef34f24adc45d64eb040eb30934325af7912f070348b4bd41cb1575f76740637100915f5baf1a45fc8bdcdf1972 diff --git a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild index ac8c1e5079e5..1721069ee7ab 100644 --- a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild +++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://invent.kde.org/libraries/kdsoap-ws-discovery-client" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" fi LICENSE="CC0-1.0 GPL-3+" diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 3023dbc961c0..d513a99df72e 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,5 +1,5 @@ DIST libktorrent-23.08.5.tar.xz 604184 BLAKE2B e4fc72be9fe20b06220b25fa558a1f86dd029e4eec15da2c8f26ed4acc69e1c06db3fea6ed8dfdb643a01beaf2146c7c0939e8a0da05920712e7f5614e4b4a47 SHA512 c38f944167436a7190e46093cbc928d3db375f7414fa5acdf5b3fd9e77007435259740027941daed422c784d691532f3c9a6c824ce9ac23c091edbedc563aa11 DIST libktorrent-24.05.2.tar.xz 605972 BLAKE2B 136951dd13029c4b05ce7f5785b913c14c2dcd47c575e10ca223ef9cd0fd187dd0654c49d1e65032ff9d9a4713c772c9bb48512b040d004736d67fce34b47016 SHA512 fb2fca63079988e8f623e77adeff21dfb49c15c604d6ae35da172be3b012c529e73139245061ead46a895bb5af8f4a3be35668295c0a2f5c5fbe1d0a7bc92711 EBUILD libktorrent-23.08.5.ebuild 1424 BLAKE2B c75dcab9838324cb487b6af948687ba3044e452494b1068eb1cf8499fd5ae9fad84a137e4043f76093e14aabb6347277e13e9aacffbff7d6927ac66e32ce4152 SHA512 a1b47ee5380a6d5d505d19f55958c0c122a8c7c9ee75e63db84affe38865753e46c0adbc590dea381cf2ff7a72333cb9e653a0f888af0f2212c6b86e93bf0d22 -EBUILD libktorrent-24.05.2.ebuild 1417 BLAKE2B fbb8e8c854ca2ac3471b25130f1f812228a332f6e1b4156641629a7502b06d6bee7b84a1af32317b54d6a30cce15b0997098738e8faafcf3729110dd44390ca9 SHA512 974b31c5f03eb7db59e01710530a5688a00137ffcfa63110af9adab5d0e35ce9b03f502e24e125c541a08a0a9d8aa8ba5dd99dea75aba94dbc3e06a6111c1e60 +EBUILD libktorrent-24.05.2.ebuild 1422 BLAKE2B f9b3cf291e7ba47e6d7faa7febddfd6b3e94ec244c324d53e0774e1a3bb108ed1b6fc4914db1efe264eb679f99a8e26d052eb75d1c2e8ba10e6c998d4aa732b7 SHA512 3750f00e39076ddd09c814b959bc091eba7f5483456c61d24272ea9d9111ad0d9b1ad91cee20d273bb73e4f3638c7de74193292caa09035b2ca5d638cc82074a MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-libs/libktorrent/libktorrent-24.05.2.ebuild b/net-libs/libktorrent/libktorrent-24.05.2.ebuild index eade226b330d..51204d3c18af 100644 --- a/net-libs/libktorrent/libktorrent-24.05.2.ebuild +++ b/net-libs/libktorrent/libktorrent-24.05.2.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent" LICENSE="GPL-2+" SLOT="6" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" IUSE="" COMMON_DEPEND=" diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest index 20e54cfdd781..6310220f700d 100644 --- a/net-libs/libmicrohttpd/Manifest +++ b/net-libs/libmicrohttpd/Manifest @@ -9,6 +9,6 @@ EBUILD libmicrohttpd-0.9.76-r1.ebuild 2432 BLAKE2B b936ecedcbf4073e0f3572c112c26 EBUILD libmicrohttpd-0.9.76.ebuild 2173 BLAKE2B 431ff4a346ff5f1ce1dd9ea4f0928e08ecb97c4954f3a0e748e23dde3e70b59f9140e1a6ac7c29d1da88bb2811e27c078866e65624458210e24d9fe7d37fa60c SHA512 3d2f1da18c285109a737b57c292d83a9f34206c03eab8d2c0ac4126e704ca3b5e24e8b0d6b1477584cb9688b4fc4fd57ce32f20f9c9d6958ded72b662163b9d3 EBUILD libmicrohttpd-0.9.77-r1.ebuild 2445 BLAKE2B 5b0c1f6a0019d0c1d182f251c1840eef9bbb74fdf98c3a793241cd22ef9614c9df259dc87d98bf16d58fadd553f29d832f395b6bd8d575f1f79b2fbc3b4b030b SHA512 4555917609b135250d6f5bd0731eaee047e1c70dd05de8728d7897fad72d3a2bea27f799eb8400abb3396cda64438f05c7772b1f29016392c0ab543aef93d9fb EBUILD libmicrohttpd-0.9.77.ebuild 2185 BLAKE2B 8894e48d4df1f19a1769f85cf88ab47ebfeee909bf7260f846081dbdfc1a5feb64ca4b4532eedf774ab66d6fd288708862c57dbe01ebd2cf2c77c4455e184fe4 SHA512 5b85ec43cd09d8d297edc703d44c8f198e8a4221d83a0d9fc4c98ecbdf545d382ce5d17dba27f1dd68f1f9f34bc6c5df608f46557a135a875f4a4a88c66bf50c -EBUILD libmicrohttpd-1.0.1-r1.ebuild 2484 BLAKE2B 543a78363715828ccf38dad5ecff627bd8c84e5973b5d3a022042a62a7b8821985f1b347109e8766a15611ce6ffec44fbd1ad7ef7a723c3d86c2bfe9498a9996 SHA512 cf80e50eabafa08280227c6276dd4afc8a1c943e992575c1b0964a14867ede3142d8528bc508feb68dbc9f0f09f5c660296d88541221128a1c4656ae48f2826a +EBUILD libmicrohttpd-1.0.1-r1.ebuild 2479 BLAKE2B 7b28b1ea6020d87e14ebcfd0d9ad0e51be30d038f6a7cbb01bf38b27ea934a11b843dbf8b3e8326a184c6a24b966629ff1edc2dfb6eeb9ebd3d8eb92b652224a SHA512 9d601cfcd522e09b435f32de8d50b35cd835954b0fecf92c7a74f01c11b8304e3223b315b1e048f308840d00419e47c1456a5ad0e647e8259a9bc34e4a8bbb1b EBUILD libmicrohttpd-1.0.1.ebuild 2232 BLAKE2B ff78ba0b6e2aa49cd5426185a95599b850cf9cb2fc194bd1718337a1f848800500892e6f1f929c630e5886ef4a6f6911b51b79bec90269f59467b6bbacbfc288 SHA512 52ffaca5f2e4c69e92259fe92b5b67b9735c761bbc110489c6f63dea58e0fd8d4bc992740bf86368c500c45d649be4b36498377c4f25533963e881ee700836d8 MISC metadata.xml 739 BLAKE2B d56bb58c6d6347fc17894e8f7a5d287fcbd99f613b47fd4e589e992eb3726b55e4cc0218267db884c6e1c2006a2acad9f677a9681e73eb4498b61bd9558dd246 SHA512 b8643f623f3b874e9ff9d6ce2c9f5d0ddee1722fbb58f4e5250e1a8a784295b0f88a36fc78f15047ec2447b7fafd3d3d3fc1394ca40c9944a306d730fa48644a diff --git a/net-libs/libmicrohttpd/libmicrohttpd-1.0.1-r1.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-1.0.1-r1.ebuild index 24ef94c0237f..85631f1a890f 100644 --- a/net-libs/libmicrohttpd/libmicrohttpd-1.0.1-r1.ebuild +++ b/net-libs/libmicrohttpd/libmicrohttpd-1.0.1-r1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="|| ( LGPL-2.1+ !ssl? ( GPL-2+-with-eCos-exception-2 ) )" SLOT="0/12" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="debug +epoll +eventfd ssl static-libs test +thread-names verify-sig" REQUIRED_USE="epoll? ( kernel_linux )" RESTRICT="!test? ( test )" diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest index 7a7125cd9758..acbd5f1834d7 100644 --- a/net-libs/libsearpc/Manifest +++ b/net-libs/libsearpc/Manifest @@ -1,8 +1,4 @@ AUX libsearpc-3.3.0-clang16.patch 4788 BLAKE2B 4606c82c47f7c5be22a160fffc5b914ffaf229ebef76401657f0f62f1eaeb2f768716f5267d48cff2420503f629fe19246428cb63d715416e66d8efdaeba497d SHA512 5223412dd582a5c2f708612557d4cadee900c97843aff108bceac4c58abed393192fbf99b85f89115daf233268906d417f6f32dd1d2ff653305fdd698348a68d -DIST libsearpc-3.2.0.tar.gz 52303 BLAKE2B 34707b504b4e63017549e5ed04e8e1e8d1e98b873aebe2ad3f675fe88e209bb73d8b56d1aef137bc4bead2a2fbcf7410dfdf1d02a92a8f37efbaaf0d56d79a4c SHA512 071784b6d34f6ddf947748474c210f0f803e3451373e351b6a768b0cf4a17ddcdaf415ff4ce5f020f1a68df3f6f0a0e53a78ad9e2df286fafea870e303c8f6dd -DIST libsearpc-3.2.0_p1.tar.gz 54011 BLAKE2B 9bdfa72b207eb57d1242384e5581eea9083f4f30616a9bc8da1255b281c0a847ec1fc6d23db7510dc7988a67d7c836762b8343ac4fdffe07ce6296b65d9cf8c8 SHA512 2e1580ffa54e233b078385a94d2d9a7e080bfb2f8ccbaf96645c94f86d0eda686bd84277341cff39840afa03fc67abd05cb2f57a81d117fff4773280f9da265a DIST libsearpc-3.3.0.tar.gz 54140 BLAKE2B 6645a7e4c14c9d50b59ce8ebaecd13bb247d16d66449b0d251d27d12d46507cc2e4b8468e87f6f1b222da2243b59fc01b69349eb06e96b5cd0d6aabd1aeff72b SHA512 0fd07dcd417b540cb8ed53f1103a03bc6b1a2b9bbb8ca0858aef44a352e3d5d2b6ad51901a29ac6be27acfe25f93233530003982315d0f6e268fa43992f04240 -EBUILD libsearpc-3.2.0-r2.ebuild 826 BLAKE2B 876a3c8c97bc437473fd40be2d77b96aa416bcca9736214bf7c8efc6acc48cb76105335f24708c8ee3968414cd00acdcce7449c3d3e6859a9e9a825dea60837a SHA512 b83a046c98135bc0cabeb5b0838184405930a665ff6f4f54f5059aa70c8bf8f48539063d66d71058d7edc9f93a33fc6ce716e1377fba326143d530d50c60f707 -EBUILD libsearpc-3.2.0_p1.ebuild 1016 BLAKE2B bcaec952b0f4b61bcd125f40c0a9108e6d451554139b6108279fc0c09c16456c137f80977bf6f369a7ccf09d9ce0037a32c24cf1a3432d3c107f1223172cabb7 SHA512 82b959bd4dd4c7b77c696de7bbe9788276c5cf0cdd482fee491057b92d1304e01dee5de4a37178a5eea3ac0be40b229aecba6dc42883f63c3d472b9c984db02b -EBUILD libsearpc-3.3.0-r2.ebuild 999 BLAKE2B af48b1628eee9850440aa34018f4e03880cacd253147a5fbc07880af1f3aaf76264abd85fa16190950e8657736a950976dc4b12ad51b9a43612b6ea2635dab4d SHA512 b98dbb6cfef0519096c9f9756f9d6ca7144be8614dd829e36b0f6f0eb2344d9c218d6b15980c16858f1693e6d9c96eb30f974e6649e66f083fce907a42a5eba7 +EBUILD libsearpc-3.3.0-r2.ebuild 1000 BLAKE2B 0b509602d776fd3229bfdfa00aad3af3b50fe307ab8bb8764eb3e351cc1cdc15c403566978ae5e0d7b36a09eb0479d4257341f60ddb3ca4171297e81c544a8a7 SHA512 e80b6de07619daf1045507646caddbe2a62cbb2367f1ff1f67b377d5abcfbe7aff2bdcacfd25490b19a72b6ff781a00ca94b921192420a35482756bede1ad04a MISC metadata.xml 249 BLAKE2B 2481ac9004392d829d86fabbe6eaee8241513cb133449a3950e000c6eaefb78da5d16c658f628fef46214042a6d5bcea75559ff85ce94d2ebb986b245e33d107 SHA512 52fbeac94bed4ea9fd1f1015bfedac5a8ad1b1ec55a1312f72efea5c5e32a7c2fd33e6314452ce0b2f9e1c697cbe96fe3d6d30f740afb9a7b4ce91388f9ba6cf diff --git a/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild b/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild deleted file mode 100644 index fc6391668460..000000000000 --- a/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit autotools python-single-r1 - -DESCRIPTION="Simple C language RPC framework" -HOMEPAGE="https://github.com/haiwen/libsearpc/ https://seafile.com/" -SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.26.0 - >=dev-libs/jansson-2.2.1:=" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/simplejson[${PYTHON_USEDEP}] - ')" - -src_prepare() { - default - sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die - eautoreconf -} - -src_install() { - default - # Remove unnecessary .la files - find "${ED}" -name '*.la' -delete || die -} diff --git a/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild b/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild deleted file mode 100644 index 2df7833d444e..000000000000 --- a/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) - -# Upstream is moving tags repeatedly, then we use commit hash. -RELEASE_COMMIT="54145b03f4240222e336a9a2f402e93facefde65" #tag v3.2_latest - -inherit autotools python-single-r1 - -DESCRIPTION="Simple C language RPC framework" -HOMEPAGE="https://github.com/haiwen/libsearpc/ https://seafile.com/" -SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.26.0 - >=dev-libs/jansson-2.2.1:=" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/simplejson[${PYTHON_USEDEP}] - ')" - -src_prepare() { - default - sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die - eautoreconf -} - -src_install() { - default - # Remove unnecessary .la files - find "${ED}" -name '*.la' -delete || die -} diff --git a/net-libs/libsearpc/libsearpc-3.3.0-r2.ebuild b/net-libs/libsearpc/libsearpc-3.3.0-r2.ebuild index 4b9a30057f37..5784ebeeb82b 100644 --- a/net-libs/libsearpc/libsearpc-3.3.0-r2.ebuild +++ b/net-libs/libsearpc/libsearpc-3.3.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) # Upstream is moving tags repeatedly, then we use commit hash. RELEASE_COMMIT="15f6f0b9f451b9ecf99dedab72e9242e54e124eb" #tag v3.3-latest diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest index aad00045e57e..18f308154980 100644 --- a/net-libs/libtirpc/Manifest +++ b/net-libs/libtirpc/Manifest @@ -2,4 +2,5 @@ DIST libtirpc-1.3.4.tar.bz2 563292 BLAKE2B 33371e83e9f54e9d6d434b75d3a95bedefce6 DIST libtirpc-glibc-nfs.tar.xz 8948 BLAKE2B 7316623d9f2b6928e296137fe2bf6794b208d549c2ffba9e4a35b47f7b04bf023798a09f38c02d039debf6adc466d7689cf3c8274d71a22eaff08729642c0a28 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba EBUILD libtirpc-1.3.4-r1.ebuild 1645 BLAKE2B a71c82b4ccf5cde1a4758be01fbd1f96cd5b388b0938f8de63359e8475d6cf1569adc83fa282b80eaeb6d098a85a6f76aede2d1836fc2c222f21180c380050d6 SHA512 1a29dd82842eb22c999e36864d5c092afe12de6e36649f42ae3fad106ab18230be5be58a9aed4600ef28867d5599dd2d4c5c1be2ff0a224c7b3cd4cc7faa19c8 EBUILD libtirpc-1.3.4-r2.ebuild 1505 BLAKE2B a84ed79a8c5cc51c38d2613c189c6c024c83c0e20564fd8a2bb331c466ec7efbdd19668812f2dbbeecc5233e0f8673acffe6a3a857a72c6064fd0e94ae61cd4b SHA512 4a8945c97143f4969e5f8e38713785aa8f516d856eca81a596fb610036621fa90df0d2cb681be313b55c2bd8dfb2194039b0b833258af01707c2233f7bae09db +EBUILD libtirpc-1.3.4-r3.ebuild 1561 BLAKE2B d085bdca07f005324b9837d54d8e212eb4897e731972fc26a36be7eed0c7075585762b9c359d1e2f88cc3fba7b8b7bc12d24463136cc2e3a350c6533ab0224ba SHA512 c5d10a2ecf76728d75cbba79eea8a955276979572e0d7ca61629ace15273e3ba5ab62473e1da32a7780910a4dbd85961fa5b15353cacd4daa70c6ca07b617de6 MISC metadata.xml 405 BLAKE2B 3006391cb2dac9927f450164f2705d31c35172560ddb436edb76f6c56efc2915a63d57e5be8835801b3b4bbe77526cdaf681b49c4fa43285549b7f0707af4814 SHA512 63489cba710ba40c334508406bf10c28ddc2133cd3eab86afde1670e3d4bb126d0e77abb45c99fd7b6abd438a9e7cc5a10b6742563be51601c7945c87419c928 diff --git a/net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild b/net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild new file mode 100644 index 000000000000..b37b2dd4d804 --- /dev/null +++ b/net-libs/libtirpc/libtirpc-1.3.4-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic libtool multilib-minimal + +DESCRIPTION="Transport Independent RPC library (SunRPC replacement)" +HOMEPAGE="https://sourceforge.net/projects/libtirpc/ https://git.linux-nfs.org/?p=steved/libtirpc.git" +SRC_URI=" + https://downloads.sourceforge.net/${PN}/${P}.tar.bz2 + mirror://gentoo/${PN}-glibc-nfs.tar.xz +" + +LICENSE="BSD BSD-2 BSD-4 LGPL-2.1+" +SLOT="0/3" # subslot matches SONAME major +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="kerberos static-libs" + +RDEPEND="kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )" +DEPEND=" + ${RDEPEND} + elibc_musl? ( sys-libs/queue-standalone ) +" +BDEPEND=" + app-arch/xz-utils + virtual/pkgconfig +" + +src_prepare() { + cp -ra "${WORKDIR}"/tirpc "${S}"/ || die + + default + elibtoolize +} + +multilib_src_configure() { + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + local myeconfargs=( + $(use_enable kerberos gssapi) + $(use_enable static-libs static) + KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + + insinto /etc + doins doc/netconfig + + insinto /usr/include/tirpc + doins -r "${WORKDIR}"/tirpc/* + + # makes sure that the linking order for nfs-utils is proper, as + # libtool would inject a libgssglue dependency in the list. + if ! use static-libs ; then + find "${ED}" -name "*.la" -delete || die + fi +} diff --git a/net-libs/msgraph/Manifest b/net-libs/msgraph/Manifest new file mode 100644 index 000000000000..af50ac9ad919 --- /dev/null +++ b/net-libs/msgraph/Manifest @@ -0,0 +1,3 @@ +DIST msgraph-0.2.3.tar.xz 95904 BLAKE2B 5c0476511784861e1a6e3f3cb4ecaa50ad494b484b8b60f9305aae95539e8d4e9c0e491298d5d1df0031f28a9c472eb6f197acf02a69625e904c4095263b831a SHA512 23a9c24dde6125a7e6fc8a9db61248423a78e2e50a95880a59662d5824fc3f171b2354ab6ae66c77c75fd1737b1d4b19b7a35f8c6fe9ba393c5b116f3c56128f +EBUILD msgraph-0.2.3.ebuild 1072 BLAKE2B 734df5a279eddf7f5a6eb8659b0411e96f955af8a66d024ff09815d0902940d0cb0b179a5e97010f6d798cec9c1dbdacfa4559da047d8dd6f79a22bdbde178a0 SHA512 cf8f17b66d3444b9f779827bfc0dd8c43caf0f3881cda2e962d7fdff9fd8ce428e3c6b46829031b9d98d4fbcd032746ac7dea6e46180bc752d3bd223ada14755 +MISC metadata.xml 348 BLAKE2B 96a74107d88bee480e104b6a5ba1c60a1f3534a472464d64951aef3b0df4b492b9e55729cb107513433955024d7c5cefdd5a18c376b635730b02eb136a95d133 SHA512 3ee07de0faeb8e726f240919f83ff8e3e6dfb18c186e5d40e581890a222fa4b434d01f831b8207d34ee8631439896d2021b50ec37591c6b7b5001caaa6d14a20 diff --git a/net-libs/msgraph/metadata.xml b/net-libs/msgraph/metadata.xml new file mode 100644 index 000000000000..6dc85afd66c7 --- /dev/null +++ b/net-libs/msgraph/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + GNOME/msgraph + + diff --git a/net-libs/msgraph/msgraph-0.2.3.ebuild b/net-libs/msgraph/msgraph-0.2.3.ebuild new file mode 100644 index 000000000000..f8d84f7c0d8b --- /dev/null +++ b/net-libs/msgraph/msgraph-0.2.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson + +DESCRIPTION="GLib-based library for accessing online serive APIs using MS Graph protocol." +HOMEPAGE="https://gitlab.gnome.org/GNOME/msgraph" + +LICENSE="LGPL-2+" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +IUSE="debug gtk-doc +introspection man test" +REQUIRED_USE="gtk-doc? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.28.0:2 + dev-libs/json-glib + net-libs/rest:1.0 + net-libs/libsoup:3.0 + net-libs/gnome-online-accounts:= + >=net-libs/uhttpmock-0.11.0:1.0 + introspection? ( >=dev-libs/gobject-introspection-0.6.2:= ) +" + +DEPEND="${RDEPEND} + >=dev-util/gdbus-codegen-2.30.0 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + dev-libs/gobject-introspection-common +" +BDEPEND=" + gtk-doc? ( dev-util/gi-docgen ) + test? ( net-libs/uhttpmock:1.0 ) +" + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use test tests) + ) + meson_src_configure +} diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 32ec9a6db8cb..370b1325b543 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -10,7 +10,7 @@ EBUILD ngtcp2-1.1.0.ebuild 1212 BLAKE2B 3875ba79a79fed3e82d572c597975c7cfa27c674 EBUILD ngtcp2-1.2.0.ebuild 1212 BLAKE2B d6b2095d78dd941d7d077872edcdb3a84fa7d2a948eec5093107b641e86c7e56d640b881a796ebe6df0d9aaef82ca00db701de1f2e36d93ce2aef27d6c6979f2 SHA512 035d5c88c5d003e4befdc0d751b41ca5ab57fec3665aca217fe88236b22a1a25172ff2ff94e1a0754a6f9ca7adc04f7e025e4cb75187b7f9b737c0c9239ef8f7 EBUILD ngtcp2-1.3.0.ebuild 1212 BLAKE2B d6b2095d78dd941d7d077872edcdb3a84fa7d2a948eec5093107b641e86c7e56d640b881a796ebe6df0d9aaef82ca00db701de1f2e36d93ce2aef27d6c6979f2 SHA512 035d5c88c5d003e4befdc0d751b41ca5ab57fec3665aca217fe88236b22a1a25172ff2ff94e1a0754a6f9ca7adc04f7e025e4cb75187b7f9b737c0c9239ef8f7 EBUILD ngtcp2-1.4.0.ebuild 1212 BLAKE2B d6b2095d78dd941d7d077872edcdb3a84fa7d2a948eec5093107b641e86c7e56d640b881a796ebe6df0d9aaef82ca00db701de1f2e36d93ce2aef27d6c6979f2 SHA512 035d5c88c5d003e4befdc0d751b41ca5ab57fec3665aca217fe88236b22a1a25172ff2ff94e1a0754a6f9ca7adc04f7e025e4cb75187b7f9b737c0c9239ef8f7 -EBUILD ngtcp2-1.5.0.ebuild 1281 BLAKE2B 271fd230a6d3070e69287dbf085f2afc72ec31cb16baa11fc03185c42e67a98a7545a7485f1a2b958bc0c94f077384109dff58c52b575bc9b60c3b01bd84572e SHA512 93855f40210bc70ffde8df23ed779e724b8f420d8ba94209d026d0b1bd45440f70df54dd0028cd92e676fa074b814e659e3fca746cca54d25f9ffcd8fe872ab3 +EBUILD ngtcp2-1.5.0.ebuild 1279 BLAKE2B cd46a3d51926dd3154f9b03fac3e285bfcba86b9e09bfa0d7dc00673289bb4734806d3d2707a050dbbe17f9764547692f3b2d921ecf9f0266c9ec15d5d2f05e0 SHA512 bac06a9a9d9272394965377c969d648eb4099d810bbf91d67ca906a39022bee6ab603aa374a029650c6bff7dca552efcb46de64caffe32f0087787e273a37808 EBUILD ngtcp2-1.6.0.ebuild 1284 BLAKE2B 27cfec0b6a3477d6c1537206ef7ecf0824941f1d50a1340e0443e541a83ce5bdb57c8c7a658e4e755838dd6801fbe4dc3f1f4820fc9d280d8b26a6c09655a843 SHA512 dca267e0da95cbf87ede5fcbbf24acad6ae0fc1ef877ac8fe5d7c9eab3920bcf00aa06b9718b6b8023a480fe1f67e1b2d3a575de319efda29e1f4a78809a4cab EBUILD ngtcp2-9999.ebuild 1265 BLAKE2B 8312e2b64f40763ddedaf1f6919b11b8fe1c35b4ea363488e33478bafc0e4b795a97c884b5608fd6dee95184f176b1f3ee1e59b29434b2b0bf432558024aa773 SHA512 ed38e5101eb870d6c7c110dfa2671c2d67d8cb595a992aeeca2ee6e12884069796a5b0ff75aa39d91d251e35d2dab06cd8c527791bbcf97964bba69e53c066e1 MISC metadata.xml 445 BLAKE2B d27a34331ff5bd772b6228ff26ca20440a3bf932ccc88720a33409f329d41165d5fad6750221bae1fed3386d6e8244458c1c5073df8b36251156598e599bb15e SHA512 c09f5ac61f3c3b16bda0f12c2f31188aaaba469fbfde31e71d4f9834609b4c8d0cb7152a688934ba0b90c491da4e8b707e6ad5e54d5965b4109cbdc29ee0a4a2 diff --git a/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild index f34d254989be..bc6df468fc15 100644 --- a/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild +++ b/net-libs/ngtcp2/ngtcp2-1.5.0.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc64 ~riscv x86" fi DESCRIPTION="Implementation of the IETF QUIC Protocol" diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index f7775ea68c5a..9e9a6196f112 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -2,25 +2,25 @@ AUX nodejs-18.16.0-paxmarking.patch 3470 BLAKE2B 4de01a4b3267d24c7c899a9caf8dae3 AUX nodejs-20.11.0-riscv.patch 7660 BLAKE2B 8af657b4c87f892a7e8ab4e0b0f6c8927841585cf71971cb3a0e9b508c182222ace7178fd76f12000432df8a1b51c1a553616a3797a16b35f9499edce1e84638 SHA512 29b42307e017de0ef54c2e80e5e56d771a04f282ca858bcd3300c68ef4d72bb2fb5f2841a85a9845ee17f1909a33a64c798da9ed624feb34fcb11661dbe9fe69 AUX nodejs-20.6.0-paxmarking.patch 3143 BLAKE2B 34b93f63481177f1b70d26bdbdb27674533016dd5cefe4161cfa49c3defc6316cbbf22df024d28e9d42687be78fb0a6ce6e95334cad386d6371ff1f7fd9063ee SHA512 6604a1c8041e28bea0ea8c4dd168d44fb4ae7d25b15db4e20c220bcf3697d08de5205dde502dda4d061ace36e3f8f3511f646b00acc0382c2c8dff64cf1bf8b8 AUX nodejs-22.2.0-riscv.patch 1760 BLAKE2B f5f033dd589637481d2a2f3e67cdbb7a6052bdb187d2666b145a76f23da6e36adeddfe2b6e1718ae4412df914f8517bec2cdc5c15b18eb9dca5dad7a6668cc04 SHA512 f2ff6da8cf5dcc994a7a20342e2928dc1821fbbf42891009a6234b6051277e0200d7e3fbba63b9a2773887591d0ad5ceb1bb3d25e5efeb557f6d00109a80253c -DIST node-v18.20.1.tar.xz 40434200 BLAKE2B 560e04d5da8c2f3f4ef82e67b483f2c5d9a59b0646108a1dfc0bd80b410b60b15ee517be7d720834232fc49ed5d94785ebd64282c9abd3c10bdcb883a6960a38 SHA512 08864a164cfde08e369653abd17f6fe549db014697bd36abd07233d5ae746417ef18ea80e3d3f3630503a21110bb5e0ebd0073b4f2885b00c2d46e6f31c386a3 DIST node-v18.20.3.tar.xz 40610412 BLAKE2B 7f1cb88cd4bf51ca8933344a11f710c8748b88a9cfa38f6960b8f12f0b78afbecd0fae86608b81fcaca44d98042aae5807924bb09e2088491831d6eb08615ca2 SHA512 0f518e8f3985274d5b0f48eb574675fa0a1ade6f5e59a9de706b2ade3f8a82dbea1557611a6353422090a95846b5ed107ea2476f78bee787ef4f0db8c07bc999 DIST node-v18.20.4.tar.xz 40445740 BLAKE2B 0675f2aba1d9a9cd9aeb665ecb3a0f61b9caf39daeb6154941f84b9c423caa7a658c14b8c2c5e12d94424b2470748ec7fad28ecb10390d37f92eb7e50f8adc26 SHA512 1ccef99ebee3906f5bad3c1582f9551ced9bed15e6a047d59d1a23c6110004fb46ea4bebcf9899748c64109f78788d7365ee956444e645eaf397dabbcddda21e -DIST node-v20.12.1.tar.xz 41743360 BLAKE2B 1e2819724051720321a429bb18967a12608e8f93ef1760c520a40c9130e6138f95ab4e87f1acbaa72142bdd801ec3050bc42d7e4fae8d6a62192c3511b922e0a SHA512 c51c4aa37cc80f3fe34381f2cdf431053124ec6b83fc8490573502adfab48601c382448132c9962ab135bebaffc257a9d5b63334ba8ff480db57b5706bbfed67 DIST node-v20.14.0.tar.xz 41795876 BLAKE2B 588c380751c12f05ccc95146f6e7f9c3eadfc77e769d836cdca1832a7739a40723fd9a7a4e59a2ab4ad087a2b2def5da76ec28077996b59ae0a6d5b2bd15d2c6 SHA512 b6148c705b2152b20c6567a9bbcbbb3925972d17273e126613b350d1d117600e2d895a93d70f793523cb903337ace9527c541a38cb10137eb81ba992778ed243 DIST node-v20.15.0.tar.xz 41868532 BLAKE2B 07049df11e18b90ee3ebc72fdd953a64a4a925f234fcf7bfb26c472d841bd3f6f34233670d1cc67ba592eeaa714de74c6a7b89ac5a9f62a321764023a86760de SHA512 2b041ee368ca27fa1f92ec8a43237423b7e2f81dabf525e20df7b9b200a46e6d9a8c4b82beb33ec58a9351e0eea865eadfadac3d9e4d3733b1d699f0b5d4bbf3 DIST node-v20.15.1.tar.xz 41880412 BLAKE2B f113856db03a3306d50a659e21d11f585e9e78b85ce7ad9926cc778837f905c618ac762faf56e03caaa862ab0a38c5f34770cd2bfb0854d79650ee9d9b9e2bfe SHA512 2a2935490c4c629f47cc67819094904a1b91eaf0b75cbb8ebe92f5eb34b0929230932fa456bf1bec00213155ea8b6337b2e02e946fc18606543c8c71082615b9 +DIST node-v20.16.0.tar.xz 41822608 BLAKE2B 90421b9bf5fad96fadee3eb6fc12461aa6a3456a5266a03f1286f977429af6992e5b1c81a72faa54b3349d46e93881fbfad8970bdebe56afde16b17a1a59dd26 SHA512 494ac16904ecb9f799789f190b869b7509bc66e99713d72723d2bf5051a8a5ca57a4f7303c732aa1fd121cff0defd238be4f656cb4d4e81cc7416b63d9c8677d DIST node-v22.3.0.tar.xz 44517412 BLAKE2B 38ed4e6de9be48fb252b809a0174420f0f201f583ef5fb46a446d74168a25b39e1fa95ede44bfee8e7099dfe5636b3fb2bcd1ba3d626d7dfcac01dec0bd84d0a SHA512 70d1508bb576d98ef138db5618a5b07ca4412ec8a2aa35c8ff1d76fc93221bff6d7b418ff60b9194c420ad810523d5aeb0ffa662d2fa99f9cecf299317698710 DIST node-v22.4.0.tar.xz 46116620 BLAKE2B 262fc22bfe8bab2158a9e9fa274b03bb1ffd875814144fbd6cee45bf2641813363061affa5ebb9b657066899722616d41486046be11425d1a2005fa1261796e3 SHA512 6f7907021ec8c0b16d737da68ae9efa1e424aa38964456e01eb10a3f0111a6d6ceff31ba0f8876cd9df19d92de202e17cccf528b844242e5c66ff1f6b1867f55 DIST node-v22.4.1.tar.xz 46125104 BLAKE2B 7e54a7e01f821d752abbec03212c5be838b2e12fdb10c50cfe05b0ec25ddbe71eaa3187ba25d99efb258ab14d31927216e6816aacdfa29efdb1dc70a06e9b135 SHA512 840423e9738cad9f6024e9b51b683893eab16487ba18183251a189b5d4acf9b4168e9245623092705b014bff2058174127d5d7ecb31c1a8b324961074cb8ca54 -EBUILD nodejs-18.20.1.ebuild 7503 BLAKE2B c7be4811471e0ed644c73c3048a35db4161b5b2cb63406b1a7930d706f5aaeebe6fc2da7c5df029a515ff5e35d9156c105fc0c713d8ae246272213fe8e966f09 SHA512 f812b52b80baacd098d9866e52890f44be403b9796299c723d448ab67e4c72d720bfa0095f997cb75f53178806105b5a2d9f04ccda3d148fa2d784a589f18f1e -EBUILD nodejs-18.20.3.ebuild 7505 BLAKE2B 2affe487e99801ba244e1e349c9457838c5783a8f785bc794c2db0259b73198ac0fc37d89e957435571435e0d9da344d5887e27b6237397d26da7d77d6fdef7f SHA512 9467046796e809361f488dbce9c5e0369e7aa13c335bc2d66bb935d653da3c81350f0c3e27bc78a56c6bcd86d132131490aef71cd1927b4aa784b2ffa2322cf9 -EBUILD nodejs-18.20.4.ebuild 7508 BLAKE2B 7c519a34638cc83888bc1fc863f8f6d3de36fdf2b12a93e7595d2319199c81f26d31e149b7cd09dd695d83cc173f2aeba08b99f1019f5bb90aa44902c921ab2b SHA512 04324d08e31f260e65ff08278fd8233757557df0f7d623b08fb76c8b960e2299137b700008fa03bae00f6f8570a670932ef67de961c98a55fa2f5d7951727710 -EBUILD nodejs-20.12.1.ebuild 7669 BLAKE2B 3ea845ebc8d48c05bc051cd6ad6c25e11397289e451d99c9e990e69d193aaf5cf56fb4039bdbbaaddae8db7b926da1837a59a895f05da2c168028a07df1bab16 SHA512 92aa4740141154b32fbc9cbb36a0c9814e453c5da7c38df241e029d24775b4b4a8a95fcd03c73bff60c866f177ade0c4e82a9e9a66f73efbf0535849a8523f33 -EBUILD nodejs-20.14.0.ebuild 7634 BLAKE2B a6b2acbb1f5f7d7a34589ca12f65365506d785c0a7fb5ebeb905f868b24815b1e51f7cab6fa4f4528ab0b3ed648237c6e487ee0fd9c4e934c1b2ae5a0423212b SHA512 cb49cd5b10268b0fd966af4982f5322e56730722a66aee102a8f60d6be98b980018e7ab19a8bf5afc5ddb03f32d1c934a52525f564bca6d6d016e321ec7bb9e1 +DIST node-v22.5.1.tar.xz 46149824 BLAKE2B 99a215e211ac12fe83106dee142d9411ea4e0fcbe8b360431b2211148ee34cbe041c19eaf2936f21ccf6405ab18aec5ba983a280942101682347ffb319babea6 SHA512 ad0efb9552cf9658b16a7d97edca8ac601841d9ef5b2383927d53181505fd5f0893bb0b4bbf2b42a17b15db66c6690d8e5a1c9e7f8d031325368bc6d47d0642c +EBUILD nodejs-18.20.3.ebuild 7503 BLAKE2B 01da001379fd0c808128bf8dd43ec64296ae38da432673c118909a71c25408b5f6b2913b63733c35d52116b666addeeac93e838ecf254c219076e4083fcc6673 SHA512 509cd980b28b7b6e9ce2c4443dce9c2bf718d31845b7daf4a868d3d87e0ebca53071bc8727629234aa28cba2479e0cab2b90fe41f28e6955c69b24172b0adcfc +EBUILD nodejs-18.20.4.ebuild 7504 BLAKE2B 01439061d5d8387eaf9a5d3edc735a2cbd38200fab5b3fb02f679b3ca7460b32342fc06d2a106f7a94a4488dff940bbf99f2db384b62b37d41fede1f6eb7abc0 SHA512 4a9f36b1be0915e4388a2f3e1331e51014b706be26b656983d3f80c9c01aef5cb9fc6e2b2c93f7cd79769f7507e0f269dc2cee47b6c0765d03c170a50e937ea8 +EBUILD nodejs-20.14.0.ebuild 7632 BLAKE2B fe815e1f2a056086cd89ce022c39505821c6713aaa42b48977ae8e0d68c094c36a48213b7b2bc5167a63e729a04beeb2e2829bf657b96a0b523bb10767ec431e SHA512 c491b0397f2f7a3df0e7a6df014d9fd810cd1e797e5b7bf2599e7897be5d2cf3b6e7851f40a03fd4c55a295f971a12b03bf496b4440ec5cb7039e9cf47e200d6 EBUILD nodejs-20.15.0.ebuild 7637 BLAKE2B e0e8ca287ce5101a824749335f977532714d63f705c520c2b08873401a43d361638886437406356b5d47ff9fb417a5fd88623b89d4f1c1747aa225b8d40255f2 SHA512 fcb0f4e24ededa3d7b16488626f0717d9e5a08b0bc40baa50c51a11e9384ee70485aec04bb09f8baf872e4590195dd66ca6606c342f78403ab346a065898fb89 -EBUILD nodejs-20.15.1.ebuild 7685 BLAKE2B 4a799633667d4cd5843b997865824d7cd90e82c964539ff36dc0ad988167fdbb96d07b42da571395f2d21486d4143a52773c0ce7701ca8c65ed8eb4af9ed5916 SHA512 2cd4e06e9311006400c977e6a58a8f3092c2f9fe8a32c237249aa0dc43eb4491558138718201a6dd4063c84c7c2e1ab46c2a852a8c71619217f104591148a42c -EBUILD nodejs-22.3.0.ebuild 7928 BLAKE2B 16058a289679c5edd59deec0e02acc90ffc82fcaa27962256f30292f454a21e6a7e2cd6fc328237562a1c9dc4b7ab7d820ec8d51e16c2b52a8b3a52054b85fdd SHA512 98b6673863f70e23b81122cd17d040f8813575e0d6e0eb09b29e0d7eecd4dbfcb017b17ed2ee961abfc4b537ac24f76af3bc7348397d18224a59c5b938444154 -EBUILD nodejs-22.4.0.ebuild 8048 BLAKE2B d8f7437a97a33734934ce1273033fdea18e9cfd5b2f79c0e04f5b0f4caac0727e673e3bb3d3ae3fd1360b5653534b3d8570a39eba4eebf76000fc8a9d81688e7 SHA512 293cd71e549db103cd9908151f1a5bb68b9aebaaa62f714caa9fd4c914963b90ceed6ad821af73157b73b23395af2d50e0da908536a959e36ad1d4fdef9d4a63 -EBUILD nodejs-22.4.1.ebuild 8185 BLAKE2B 0d0093911f58c3f2de2e2d21da3ecc6e74435a1eabe2aaa8e13ce9490e6bf4f9ec3df26f2384116e568363a0dbb5566dfe1ebbebe100f101a645be6a8b84b24c SHA512 f4555b2f1f062d2ecfaeb1174babe1f335981e8ffdcf226e2d167678d5d29f0d03560e5e764204dc7397c7e47ef45105aefcb90596e166fc99283a435e1ffee9 -EBUILD nodejs-99999999.ebuild 7476 BLAKE2B 06e8febf19caae25e9cfba50d3d65f2ef06b5740a773a318d84fa361d4ca077b5000c16aa59376d6d4c71a01030434c3f0a77e034638c817167f6b6f5187fe06 SHA512 6657ab7f0bb925231d0c28e41c678a63b204b7b1f5b729c7b6b9ca72cc8a72fdf1070fc7e466a7fe67adf7fa1c2757e1510190c561e06360c79823b1d050d1e6 +EBUILD nodejs-20.15.1.ebuild 7681 BLAKE2B 0eb6795ab6b6ae40522bbf3b0e93d7db7d9ff58afedd291ac4ef91299ff8c157cf4e1bdcb461276007b9ff97d908e9072d2502338d4a0625ce931b47469f540c SHA512 f0dbe0e6587240ac6e18816a80419d305759c032321fc04473139ce35dde725c5b0f6d1a86c6feb8fad14b5bd5334635f43dd73a82d74ab1526f677a0c65a354 +EBUILD nodejs-20.16.0.ebuild 7833 BLAKE2B 2aa442bd9bb246a3a8713681c875ed69ee6044750f48f5a11fe9d714d2b75027035a6ed637f48275c66c5d4c33f4ce8c40b44d2443c210e40211be53c2c6ce9b SHA512 a0079249b72eb151a8f1bb55cf17f4187c2a5e55e247d41ca7239bb1bd6455e6df481209e16e85d85810abcf6a8183a3d53c161835667a28bd3e441dc97a06bb +EBUILD nodejs-22.3.0.ebuild 7997 BLAKE2B 4c6845d076745ed3f5a27c68b43ae9cd0ea3a782e67b41bf8ccdfcf28d237cc476448261a09e370e3daf8ec3a09eaa27894cdcfd8b9502a7af622da5986c8a3b SHA512 ea929b174fafdb05f0022b114ccefa01e19e6b11cf952273c486c82c7705350973f4a60b72051844fa2f1f89aa694f4cf5cd6f82c2e1a065d7067cd9f612dbf8 +EBUILD nodejs-22.4.0.ebuild 8119 BLAKE2B cd87a7ec25e3fa4226144f1b9687204e3e668f2cd92fa5d24c4ed234a64c25b91d1e6b8ca9cffa5ca06619f902d48f6c5b631b3210b5cca0044dccab15052f05 SHA512 e9e1b0dd910c511b154a1f2c56e05383d367f0f1f59f495d88429fcf738b0f63d05e4925d1fa989bdac694a2accf55b5ca58058b490b4a679b3ebaf7b7b66bb4 +EBUILD nodejs-22.4.1-r1.ebuild 8481 BLAKE2B 282ab8e501299e3558c110679fe266fc9465d6130fd4e1fd6d04e6f15fbee8f37f8ecffb0ca72e4b7605c28b184a33ca661e5b6102963df6eb6c09c2f8e16db9 SHA512 427896732aab549c9cf618e6a5b9148e55a0b95ef15417a27740b991018b139eaaccfcd2c38fbd58f6ee9331cbeb45c06d24c17c6982001f88c34f16fe46be71 +EBUILD nodejs-22.5.1.ebuild 8383 BLAKE2B f3fb0a8d83e54b3084e211824e9120f47e0d64f450dd1bc9f375939b7918446c161e889a2ee02b79b278f3efcb4a6d51c6808af949d4c8d2649d949a1804bf8a SHA512 aad50270b0723100d2b6d09160e5e6e42eea4a73b2abefce832029d956f78179b9d35e9c0b3dfb61758cf65f17ce0e6287c5b55687cb9558533de294ab18eaca +EBUILD nodejs-99999999.ebuild 8383 BLAKE2B f3fb0a8d83e54b3084e211824e9120f47e0d64f450dd1bc9f375939b7918446c161e889a2ee02b79b278f3efcb4a6d51c6808af949d4c8d2649d949a1804bf8a SHA512 aad50270b0723100d2b6d09160e5e6e42eea4a73b2abefce832029d956f78179b9d35e9c0b3dfb61758cf65f17ce0e6287c5b55687cb9558533de294ab18eaca MISC metadata.xml 983 BLAKE2B 7e455047a955185d1e53797b2b0592c5242b7eb849617cf39366acbab41e4fd066d36d723dbc32760f591c933f068e643475fc1b58a2873a2f1221e1c5d44b71 SHA512 5e08a76e2704000aa83a2c63f6e821e83c302939c1a729c4ac73774cc85189da4eccc1a19b700babfe87c8f07327865171526550ddf16a4fc25fed834f4bf7a6 diff --git a/net-libs/nodejs/nodejs-18.20.1.ebuild b/net-libs/nodejs/nodejs-18.20.1.ebuild deleted file mode 100644 index a62874b1d629..000000000000 --- a/net-libs/nodejs/nodejs-18.20.1.ebuild +++ /dev/null @@ -1,257 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/nodejs/node" - SLOT="0" -else - SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl systemtap test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl )" - -RESTRICT="!test? ( test )" - -RDEPEND=">=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.44.0:= - >=net-dns/c-ares-1.18.1:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - corepack? ( !sys-apps/yarn ) - system-icu? ( >=dev-libs/icu-67:= ) - system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) - sys-devel/gcc:*" -BDEPEND="${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-debug/systemtap ) - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -# These are measured on a loong machine with -ggdb on, and only checked -# if debugging flags are present in CFLAGS. -# -# The final link consumed a little more than 7GiB alone, so 8GiB is the lower -# limit for memory usage. Disk usage was 19.1GiB for the build directory and -# 1.2GiB for the installed image, so we leave some room for architectures with -# fatter binaries and set the disk requirement to 22GiB. -CHECKREQS_MEMORY="8G" -CHECKREQS_DISK_BUILD="22G" - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." - - if [[ ${MERGE_TYPE} != "binary" ]]; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - python-any-r1_pkg_setup - linux-info_pkg_setup -} - -src_prepare() { - tc-export AR CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - sed -i -e "/'-O3'/d" common.gypi node.gypi || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.16.0-paxmarking.patch ) - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-lto - # nodejs unconditionally links to libatomic #869992 - # specifically it requires __atomic_is_lock_free which - # is not yet implemented by sys-libs/compiler-rt (see - # https://reviews.llvm.org/D85044?id=287068), therefore - # we depend on gcc and force using libgcc as the support lib - tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" - - local myconf=( - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - if use system-icu; then - myconf+=( --with-intl=system-icu ) - elif use icu; then - myconf+=( --with-intl=full-icu ) - else - myconf+=( --with-intl=none ) - fi - use corepack || myconf+=( --without-corepack ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot || myconf+=( --without-node-snapshot ) - if use ssl; then - use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) - else - myconf+=( --without-ssl ) - fi - - local myarch="" - case "${ARCH}:${ABI}" in - *:amd64) myarch="x64";; - *:arm) myarch="arm";; - *:arm64) myarch="arm64";; - loong:lp64*) myarch="loong64";; - riscv:lp64*) myarch="riscv64";; - *:ppc64) myarch="ppc64";; - *:x32) myarch="x32";; - *:x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${EPYTHON}" configure.py \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - $(use_with systemtap dtrace) \ - "${myconf[@]}" || die -} - -src_compile() { - emake -C out -Onone -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - default - - pax-mark -m "${ED}"/usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - docinto html - dodoc -r "${S}"/doc/* - fi - - if use npm; then - keepdir /etc/npm - echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm - doenvd "${T}"/50npm - - # Install bash completion for `npm` - local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi - - use corepack && - "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - local drop_tests=( - test/parallel/test-dns-resolveany.js - test/parallel/test-dns-resolveany-bad-ancount.js - test/parallel/test-dns-setserver-when-querying.js - test/parallel/test-fs-mkdir.js - test/parallel/test-fs-utimes-y2K38.js - test/parallel/test-release-npm.js - test/parallel/test-socket-write-after-fin-error.js - test/parallel/test-strace-openat-openssl.js - test/sequential/test-util-debug.js - ) - [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) - rm -f "${drop_tests[@]}" || die "disabling tests failed" - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - if use npm; then - ewarn "remember to run: source /etc/profile if you plan to use nodejs" - ewarn " in your current shell" - fi -} diff --git a/net-libs/nodejs/nodejs-18.20.3.ebuild b/net-libs/nodejs/nodejs-18.20.3.ebuild index 3ac6c44169ac..e813e02ffe60 100644 --- a/net-libs/nodejs/nodejs-18.20.3.ebuild +++ b/net-libs/nodejs/nodejs-18.20.3.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == *9999 ]]; then else SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi diff --git a/net-libs/nodejs/nodejs-18.20.4.ebuild b/net-libs/nodejs/nodejs-18.20.4.ebuild index 52528eb8a7f6..95ff26c5ed70 100644 --- a/net-libs/nodejs/nodejs-18.20.4.ebuild +++ b/net-libs/nodejs/nodejs-18.20.4.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == *9999 ]]; then else SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" SLOT="0/$(ver_cut 1)" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi diff --git a/net-libs/nodejs/nodejs-20.12.1.ebuild b/net-libs/nodejs/nodejs-20.12.1.ebuild deleted file mode 100644 index d3b343d9babb..000000000000 --- a/net-libs/nodejs/nodejs-20.12.1.ebuild +++ /dev/null @@ -1,263 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/nodejs/node" - SLOT="0" -else - SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl ) - x86? ( cpu_flags_x86_sse2 )" - -RESTRICT="!test? ( test )" - -RDEPEND=">=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.46.0:= - >=net-dns/c-ares-1.18.1:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - corepack? ( !sys-apps/yarn ) - system-icu? ( >=dev-libs/icu-71:= ) - system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) - sys-devel/gcc:*" -BDEPEND="${PYTHON_DEPS} - app-alternatives/ninja - sys-apps/coreutils - virtual/pkgconfig - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -# These are measured on a loong machine with -ggdb on, and only checked -# if debugging flags are present in CFLAGS. -# -# The final link consumed a little more than 7GiB alone, so 8GiB is the lower -# limit for memory usage. Disk usage was 19.1GiB for the build directory and -# 1.2GiB for the installed image, so we leave some room for architectures with -# fatter binaries and set the disk requirement to 22GiB. -CHECKREQS_MEMORY="8G" -CHECKREQS_DISK_BUILD="22G" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - python-any-r1_pkg_setup - linux-info_pkg_setup -} - -src_prepare() { - tc-export AR CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - sed -i -e "/'-O3'/d" common.gypi node.gypi || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) - - # bug 922725 - use riscv && PATCHES+=( "${FILESDIR}"/${PN}-20.11.0-riscv.patch ) - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-lto - # nodejs unconditionally links to libatomic #869992 - # specifically it requires __atomic_is_lock_free which - # is not yet implemented by sys-libs/compiler-rt (see - # https://reviews.llvm.org/D85044?id=287068), therefore - # we depend on gcc and force using libgcc as the support lib - tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" - - local myconf=( - --ninja - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - if use system-icu; then - myconf+=( --with-intl=system-icu ) - elif use icu; then - myconf+=( --with-intl=full-icu ) - else - myconf+=( --with-intl=none ) - fi - use corepack || myconf+=( --without-corepack ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot || myconf+=( --without-node-snapshot ) - if use ssl; then - use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) - else - myconf+=( --without-ssl ) - fi - - local myarch="" - case "${ARCH}:${ABI}" in - *:amd64) myarch="x64";; - *:arm) myarch="arm";; - *:arm64) myarch="arm64";; - loong:lp64*) myarch="loong64";; - riscv:lp64*) myarch="riscv64";; - *:ppc64) myarch="ppc64";; - *:x32) myarch="x32";; - *:x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${EPYTHON}" configure.py \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - "${myconf[@]}" || die -} - -src_compile() { - emake -Onone -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - default - - pax-mark -m "${ED}"/usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - docinto html - dodoc -r "${S}"/doc/* - fi - - if use npm; then - keepdir /etc/npm - echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm - doenvd "${T}"/50npm - - # Install bash completion for `npm` - local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi - - use corepack && - "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - local drop_tests=( - test/parallel/test-dns-resolveany-bad-ancount.js - test/parallel/test-dns-setserver-when-querying.js - test/parallel/test-fs-mkdir.js - test/parallel/test-fs-read-stream.js - test/parallel/test-fs-utimes-y2K38.js - test/parallel/test-fs-watch-recursive-add-file.js - test/parallel/test-process-euid-egid.js - test/parallel/test-process-initgroups.js - test/parallel/test-process-setgroups.js - test/parallel/test-process-uid-gid.js - test/parallel/test-release-npm.js - test/parallel/test-socket-write-after-fin-error.js - test/parallel/test-strace-openat-openssl.js - test/sequential/test-util-debug.js - ) - [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) - rm -f "${drop_tests[@]}" || die "disabling tests failed" - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - if use npm; then - ewarn "remember to run: source /etc/profile if you plan to use nodejs" - ewarn " in your current shell" - fi -} diff --git a/net-libs/nodejs/nodejs-20.14.0.ebuild b/net-libs/nodejs/nodejs-20.14.0.ebuild index 811cc261d154..19cb5426039c 100644 --- a/net-libs/nodejs/nodejs-20.14.0.ebuild +++ b/net-libs/nodejs/nodejs-20.14.0.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == *9999 ]]; then else SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi diff --git a/net-libs/nodejs/nodejs-20.15.1.ebuild b/net-libs/nodejs/nodejs-20.15.1.ebuild index c64c7c0937b6..e57e4aeace72 100644 --- a/net-libs/nodejs/nodejs-20.15.1.ebuild +++ b/net-libs/nodejs/nodejs-20.15.1.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == *9999 ]]; then else SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" SLOT="0/$(ver_cut 1)" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi diff --git a/net-libs/nodejs/nodejs-20.16.0.ebuild b/net-libs/nodejs/nodejs-20.16.0.ebuild new file mode 100644 index 000000000000..810d175eaacf --- /dev/null +++ b/net-libs/nodejs/nodejs-20.16.0.ebuild @@ -0,0 +1,266 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CONFIG_CHECK="~ADVISE_SYSCALLS" +PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils + +DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" +HOMEPAGE="https://nodejs.org/" +LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nodejs/node" + SLOT="0" +else + SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" + SLOT="0/$(ver_cut 1)" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + S="${WORKDIR}/node-v${PV}" +fi + +IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" +REQUIRED_USE="inspector? ( icu ssl ) + npm? ( ssl ) + system-icu? ( icu ) + system-ssl? ( ssl ) + x86? ( cpu_flags_x86_sse2 )" + +RESTRICT="!test? ( test )" + +RDEPEND=">=app-arch/brotli-1.0.9:= + >=dev-libs/libuv-1.46.0:= + >=net-dns/c-ares-1.18.1:= + >=net-libs/nghttp2-1.41.0:= + >=net-libs/ngtcp2-1.1.0:= + sys-libs/zlib + corepack? ( !sys-apps/yarn ) + system-icu? ( >=dev-libs/icu-73:= ) + system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) + sys-devel/gcc:*" +BDEPEND="${PYTHON_DEPS} + app-alternatives/ninja + sys-apps/coreutils + virtual/pkgconfig + test? ( net-misc/curl ) + pax-kernel? ( sys-apps/elfix )" +DEPEND="${RDEPEND}" + +# These are measured on a loong machine with -ggdb on, and only checked +# if debugging flags are present in CFLAGS. +# +# The final link consumed a little more than 7GiB alone, so 8GiB is the lower +# limit for memory usage. Disk usage was 19.1GiB for the build directory and +# 1.2GiB for the installed image, so we leave some room for architectures with +# fatter binaries and set the disk requirement to 22GiB. +CHECKREQS_MEMORY="8G" +CHECKREQS_DISK_BUILD="22G" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + fi +} + +pkg_setup() { + python-any-r1_pkg_setup + linux-info_pkg_setup +} + +src_prepare() { + tc-export AR CC CXX PKG_CONFIG + export V=1 + export BUILDTYPE=Release + + # fix compilation on Darwin + # https://code.google.com/p/gyp/issues/detail?id=260 + sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die + + # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 + local LIBDIR=$(get_libdir) + sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die + sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die + + # Avoid writing a depfile, not useful + sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die + + sed -i -e "/'-O3'/d" common.gypi node.gypi || die + + # debug builds. change install path, remove optimisations and override buildtype + if use debug; then + sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die + BUILDTYPE=Debug + fi + + # We need to disable mprotect on two files when it builds Bug 694100. + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) + + default +} + +src_configure() { + xdg_environment_reset + + # LTO compiler flags are handled by configure.py itself + filter-lto + # nodejs unconditionally links to libatomic #869992 + # specifically it requires __atomic_is_lock_free which + # is not yet implemented by sys-libs/compiler-rt (see + # https://reviews.llvm.org/D85044?id=287068), therefore + # we depend on gcc and force using libgcc as the support lib + tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" + + local myconf=( + --ninja + --shared-brotli + --shared-cares + --shared-libuv + --shared-nghttp2 + --shared-ngtcp2 + --shared-zlib + ) + use debug && myconf+=( --debug ) + use lto && myconf+=( --enable-lto ) + if use system-icu; then + myconf+=( --with-intl=system-icu ) + elif use icu; then + myconf+=( --with-intl=full-icu ) + else + myconf+=( --with-intl=none ) + fi + use corepack || myconf+=( --without-corepack ) + use inspector || myconf+=( --without-inspector ) + use npm || myconf+=( --without-npm ) + use snapshot || myconf+=( --without-node-snapshot ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi + + local myarch="" + case "${ARCH}:${ABI}" in + *:amd64) myarch="x64";; + *:arm) myarch="arm";; + *:arm64) myarch="arm64";; + loong:lp64*) myarch="loong64";; + riscv:lp64*) myarch="riscv64";; + *:ppc64) myarch="ppc64";; + *:x32) myarch="x32";; + *:x86) myarch="ia32";; + *) myarch="${ABI}";; + esac + + GYP_DEFINES="linux_use_gold_flags=0 + linux_use_bundled_binutils=0 + linux_use_bundled_gold=0" \ + "${EPYTHON}" configure.py \ + --prefix="${EPREFIX}"/usr \ + --dest-cpu=${myarch} \ + "${myconf[@]}" || die +} + +src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS) " + emake -Onone +} + +src_install() { + local LIBDIR="${ED}/usr/$(get_libdir)" + default + + pax-mark -m "${ED}"/usr/bin/node + + # set up a symlink structure that node-gyp expects.. + dodir /usr/include/node/deps/{v8,uv} + dosym . /usr/include/node/src + for var in deps/{uv,v8}/include; do + dosym ../.. /usr/include/node/${var} + done + + if use doc; then + docinto html + dodoc -r "${S}"/doc/* + fi + + if use npm; then + keepdir /etc/npm + echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm + doenvd "${T}"/50npm + + # Install bash completion for `npm` + local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" + "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" + newbashcomp "${tmp_npm_completion_file}" npm + + # Move man pages + doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* + + # Clean up + rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} + rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} + + local find_exp="-or -name" + local find_name=() + for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ + ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ + "*.md" "*.markdown" "*.bat" "*.cmd"; do + find_name+=( ${find_exp} "${match}" ) + done + + # Remove various development and/or inappropriate files and + # useless docs of dependend packages. + find "${LIBDIR}"/node_modules \ + \( -type d -name examples \) -or \( -type f \( \ + -iname "LICEN?E*" \ + "${find_name[@]}" \ + \) \) -exec rm -rf "{}" \; + fi + + use corepack && + "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin + + mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die +} + +src_test() { + local drop_tests=( + test/parallel/test-dns.js + test/parallel/test-dns-resolveany-bad-ancount.js + test/parallel/test-dns-setserver-when-querying.js + test/parallel/test-fs-mkdir.js + test/parallel/test-fs-read-stream.js + test/parallel/test-fs-utimes-y2K38.js + test/parallel/test-fs-watch-recursive-add-file.js + test/parallel/test-process-euid-egid.js + test/parallel/test-process-get-builtin.mjs + test/parallel/test-process-initgroups.js + test/parallel/test-process-setgroups.js + test/parallel/test-process-uid-gid.js + test/parallel/test-release-npm.js + test/parallel/test-socket-write-after-fin-error.js + test/parallel/test-strace-openat-openssl.js + test/sequential/test-util-debug.js + ) + use inspector || drop_tests+=( test/sequential/test-watch-mode.mjs ) + [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) + rm -f "${drop_tests[@]}" || die "disabling tests failed" + + out/${BUILDTYPE}/cctest || die + "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die +} + +pkg_postinst() { + if use npm; then + ewarn "remember to run: source /etc/profile if you plan to use nodejs" + ewarn " in your current shell" + fi +} diff --git a/net-libs/nodejs/nodejs-22.3.0.ebuild b/net-libs/nodejs/nodejs-22.3.0.ebuild index 283abb2440d7..3e25b06b15e3 100644 --- a/net-libs/nodejs/nodejs-22.3.0.ebuild +++ b/net-libs/nodejs/nodejs-22.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="threads(+)" inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils python-any-r1 toolchain-funcs xdg-utils @@ -20,7 +20,7 @@ if [[ ${PV} == *9999 ]]; then else SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi @@ -259,6 +259,7 @@ src_test() { test/sequential/test-util-debug.js ) [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) + use inspector || drop_tests+=( test/sequential/test-watch-mode.mjs ) rm -f "${drop_tests[@]}" || die "disabling tests failed" out/${BUILDTYPE}/cctest || die diff --git a/net-libs/nodejs/nodejs-22.4.0.ebuild b/net-libs/nodejs/nodejs-22.4.0.ebuild index c209e3637d9d..f3e2f9cc26af 100644 --- a/net-libs/nodejs/nodejs-22.4.0.ebuild +++ b/net-libs/nodejs/nodejs-22.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="threads(+)" inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils python-any-r1 toolchain-funcs xdg-utils @@ -263,6 +263,7 @@ src_test() { test/sequential/test-util-debug.js ) [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) + use inspector || drop_tests+=( test/sequential/test-watch-mode.mjs ) rm -f "${drop_tests[@]}" || die "disabling tests failed" out/${BUILDTYPE}/cctest || die diff --git a/net-libs/nodejs/nodejs-22.4.1-r1.ebuild b/net-libs/nodejs/nodejs-22.4.1-r1.ebuild new file mode 100644 index 000000000000..23dc8fd48d7a --- /dev/null +++ b/net-libs/nodejs/nodejs-22.4.1-r1.ebuild @@ -0,0 +1,284 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CONFIG_CHECK="~ADVISE_SYSCALLS" +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils + +DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" +HOMEPAGE="https://nodejs.org/" +LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nodejs/node" + SLOT="0" +else + SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" + SLOT="0/$(ver_cut 1)" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + S="${WORKDIR}/node-v${PV}" +fi + +IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" +REQUIRED_USE="inspector? ( icu ssl ) + npm? ( ssl ) + system-icu? ( icu ) + system-ssl? ( ssl ) + x86? ( cpu_flags_x86_sse2 )" + +RESTRICT="!test? ( test )" + +RDEPEND=">=app-arch/brotli-1.0.9:= + dev-db/sqlite:3 + >=dev-libs/libuv-1.46.0:= + >=dev-libs/simdjson-3.9.1:= + >=net-dns/c-ares-1.18.1:= + >=net-libs/nghttp2-1.61.0:= + >=net-libs/ngtcp2-1.3.0:= + sys-libs/zlib + corepack? ( !sys-apps/yarn ) + system-icu? ( >=dev-libs/icu-73:= ) + system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) + sys-devel/gcc:*" +BDEPEND="${PYTHON_DEPS} + app-alternatives/ninja + sys-apps/coreutils + virtual/pkgconfig + test? ( net-misc/curl ) + pax-kernel? ( sys-apps/elfix )" +DEPEND="${RDEPEND}" + +# These are measured on a loong machine with -ggdb on, and only checked +# if debugging flags are present in CFLAGS. +# +# The final link consumed a little more than 7GiB alone, so 8GiB is the lower +# limit for memory usage. Disk usage was 19.1GiB for the build directory and +# 1.2GiB for the installed image, so we leave some room for architectures with +# fatter binaries and set the disk requirement to 22GiB. +CHECKREQS_MEMORY="8G" +CHECKREQS_DISK_BUILD="22G" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + fi +} + +pkg_setup() { + python-any-r1_pkg_setup + linux-info_pkg_setup +} + +src_prepare() { + tc-export AR CC CXX PKG_CONFIG + export V=1 + export BUILDTYPE=Release + + # fix compilation on Darwin + # https://code.google.com/p/gyp/issues/detail?id=260 + sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die + + # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 + local LIBDIR=$(get_libdir) + sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die + sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die + + # Avoid writing a depfile, not useful + sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die + + sed -i -e "/'-O3'/d" common.gypi node.gypi || die + + # debug builds. change install path, remove optimisations and override buildtype + if use debug; then + sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die + BUILDTYPE=Debug + fi + + # We need to disable mprotect on two files when it builds Bug 694100. + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) + + # bug 931256 + use riscv && PATCHES+=( "${FILESDIR}"/${PN}-22.2.0-riscv.patch ) + + default +} + +src_configure() { + xdg_environment_reset + + # LTO compiler flags are handled by configure.py itself + filter-lto + # GCC with -ftree-vectorize miscompiles node's exception handling code + # causing it to fail to catch exceptions sometimes + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 + tc-is-gcc && append-cxxflags -fno-tree-vectorize + # nodejs unconditionally links to libatomic #869992 + # specifically it requires __atomic_is_lock_free which + # is not yet implemented by sys-libs/compiler-rt (see + # https://reviews.llvm.org/D85044?id=287068), therefore + # we depend on gcc and force using libgcc as the support lib + tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" + + local myconf=( + --ninja + # ada is not packaged yet + # https://github.com/ada-url/ada + # --shared-ada + --shared-brotli + --shared-cares + --shared-libuv + --shared-nghttp2 + --shared-ngtcp2 + --shared-simdjson + # sindutf is not packaged yet + # https://github.com/simdutf/simdutf + # --shared-simdutf + --shared-sqlite + --shared-zlib + ) + use debug && myconf+=( --debug ) + use lto && myconf+=( --enable-lto ) + if use system-icu; then + myconf+=( --with-intl=system-icu ) + elif use icu; then + myconf+=( --with-intl=full-icu ) + else + myconf+=( --with-intl=none ) + fi + use corepack || myconf+=( --without-corepack ) + use inspector || myconf+=( --without-inspector ) + use npm || myconf+=( --without-npm ) + use snapshot || myconf+=( --without-node-snapshot ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi + + local myarch="" + case "${ARCH}:${ABI}" in + *:amd64) myarch="x64";; + *:arm) myarch="arm";; + *:arm64) myarch="arm64";; + loong:lp64*) myarch="loong64";; + riscv:lp64*) myarch="riscv64";; + *:ppc64) myarch="ppc64";; + *:x32) myarch="x32";; + *:x86) myarch="ia32";; + *) myarch="${ABI}";; + esac + + GYP_DEFINES="linux_use_gold_flags=0 + linux_use_bundled_binutils=0 + linux_use_bundled_gold=0" \ + "${EPYTHON}" configure.py \ + --prefix="${EPREFIX}"/usr \ + --dest-cpu=${myarch} \ + "${myconf[@]}" || die +} + +src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS)" + emake -Onone +} + +src_install() { + local LIBDIR="${ED}/usr/$(get_libdir)" + default + + pax-mark -m "${ED}"/usr/bin/node + + # set up a symlink structure that node-gyp expects.. + dodir /usr/include/node/deps/{v8,uv} + dosym . /usr/include/node/src + for var in deps/{uv,v8}/include; do + dosym ../.. /usr/include/node/${var} + done + + if use doc; then + docinto html + dodoc -r "${S}"/doc/* + fi + + if use npm; then + keepdir /etc/npm + echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm + doenvd "${T}"/50npm + + # Install bash completion for `npm` + local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" + "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" + newbashcomp "${tmp_npm_completion_file}" npm + + # Move man pages + doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* + + # Clean up + rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} + rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} + + local find_exp="-or -name" + local find_name=() + for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ + ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ + "*.md" "*.markdown" "*.bat" "*.cmd"; do + find_name+=( ${find_exp} "${match}" ) + done + + # Remove various development and/or inappropriate files and + # useless docs of dependend packages. + find "${LIBDIR}"/node_modules \ + \( -type d -name examples \) -or \( -type f \( \ + -iname "LICEN?E*" \ + "${find_name[@]}" \ + \) \) -exec rm -rf "{}" \; + fi + + use corepack && + "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin + + mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die +} + +src_test() { + local drop_tests=( + test/parallel/test-dns.js + test/parallel/test-dns-resolveany-bad-ancount.js + test/parallel/test-dns-setserver-when-querying.js + test/parallel/test-fs-mkdir.js + test/parallel/test-fs-read-stream.js + test/parallel/test-fs-utimes-y2K38.js + test/parallel/test-fs-watch-recursive-add-file.js + test/parallel/test-process-euid-egid.js + test/parallel/test-process-get-builtin.mjs + test/parallel/test-process-initgroups.js + test/parallel/test-process-setgroups.js + test/parallel/test-process-uid-gid.js + test/parallel/test-release-npm.js + test/parallel/test-socket-write-after-fin-error.js + test/parallel/test-strace-openat-openssl.js + test/sequential/test-util-debug.js + ) + [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) + [[ $(tc-get-ptr-size) == 4 ]] && drop_tests+=( test/sequential/test-watch-mode.mjs ) + use inspector || drop_tests+=( test/sequential/test-watch-mode.mjs ) + rm -f "${drop_tests[@]}" || die "disabling tests failed" + + out/${BUILDTYPE}/cctest || die + "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die +} + +pkg_postinst() { + if use npm; then + ewarn "remember to run: source /etc/profile if you plan to use nodejs" + ewarn " in your current shell" + fi +} diff --git a/net-libs/nodejs/nodejs-22.4.1.ebuild b/net-libs/nodejs/nodejs-22.4.1.ebuild deleted file mode 100644 index 745f2560bf03..000000000000 --- a/net-libs/nodejs/nodejs-22.4.1.ebuild +++ /dev/null @@ -1,279 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..12} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/nodejs/node" - SLOT="0" -else - SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - SLOT="0/$(ver_cut 1)" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl ) - x86? ( cpu_flags_x86_sse2 )" - -RESTRICT="!test? ( test )" - -RDEPEND=">=app-arch/brotli-1.0.9:= - dev-db/sqlite:3 - >=dev-libs/libuv-1.46.0:= - >=dev-libs/simdjson-3.9.1:= - >=net-dns/c-ares-1.18.1:= - >=net-libs/nghttp2-1.61.0:= - >=net-libs/ngtcp2-1.3.0:= - sys-libs/zlib - corepack? ( !sys-apps/yarn ) - system-icu? ( >=dev-libs/icu-73:= ) - system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) - sys-devel/gcc:*" -BDEPEND="${PYTHON_DEPS} - app-alternatives/ninja - sys-apps/coreutils - virtual/pkgconfig - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -# These are measured on a loong machine with -ggdb on, and only checked -# if debugging flags are present in CFLAGS. -# -# The final link consumed a little more than 7GiB alone, so 8GiB is the lower -# limit for memory usage. Disk usage was 19.1GiB for the build directory and -# 1.2GiB for the installed image, so we leave some room for architectures with -# fatter binaries and set the disk requirement to 22GiB. -CHECKREQS_MEMORY="8G" -CHECKREQS_DISK_BUILD="22G" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - python-any-r1_pkg_setup - linux-info_pkg_setup -} - -src_prepare() { - tc-export AR CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - sed -i -e "/'-O3'/d" common.gypi node.gypi || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) - - # bug 931256 - use riscv && PATCHES+=( "${FILESDIR}"/${PN}-22.2.0-riscv.patch ) - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-lto - # nodejs unconditionally links to libatomic #869992 - # specifically it requires __atomic_is_lock_free which - # is not yet implemented by sys-libs/compiler-rt (see - # https://reviews.llvm.org/D85044?id=287068), therefore - # we depend on gcc and force using libgcc as the support lib - tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" - - local myconf=( - --ninja - # ada is not packaged yet - # https://github.com/ada-url/ada - # --shared-ada - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-ngtcp2 - --shared-simdjson - # sindutf is not packaged yet - # https://github.com/simdutf/simdutf - # --shared-simdutf - --shared-sqlite - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - if use system-icu; then - myconf+=( --with-intl=system-icu ) - elif use icu; then - myconf+=( --with-intl=full-icu ) - else - myconf+=( --with-intl=none ) - fi - use corepack || myconf+=( --without-corepack ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot || myconf+=( --without-node-snapshot ) - if use ssl; then - use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) - else - myconf+=( --without-ssl ) - fi - - local myarch="" - case "${ARCH}:${ABI}" in - *:amd64) myarch="x64";; - *:arm) myarch="arm";; - *:arm64) myarch="arm64";; - loong:lp64*) myarch="loong64";; - riscv:lp64*) myarch="riscv64";; - *:ppc64) myarch="ppc64";; - *:x32) myarch="x32";; - *:x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${EPYTHON}" configure.py \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - "${myconf[@]}" || die -} - -src_compile() { - export NINJA_ARGS=" $(get_NINJAOPTS)" - emake -Onone -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - default - - pax-mark -m "${ED}"/usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - docinto html - dodoc -r "${S}"/doc/* - fi - - if use npm; then - keepdir /etc/npm - echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm - doenvd "${T}"/50npm - - # Install bash completion for `npm` - local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi - - use corepack && - "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - local drop_tests=( - test/parallel/test-dns.js - test/parallel/test-dns-resolveany-bad-ancount.js - test/parallel/test-dns-setserver-when-querying.js - test/parallel/test-fs-mkdir.js - test/parallel/test-fs-read-stream.js - test/parallel/test-fs-utimes-y2K38.js - test/parallel/test-fs-watch-recursive-add-file.js - test/parallel/test-process-euid-egid.js - test/parallel/test-process-get-builtin.mjs - test/parallel/test-process-initgroups.js - test/parallel/test-process-setgroups.js - test/parallel/test-process-uid-gid.js - test/parallel/test-release-npm.js - test/parallel/test-socket-write-after-fin-error.js - test/parallel/test-strace-openat-openssl.js - test/sequential/test-util-debug.js - ) - [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) - [[ $(tc-get-ptr-size) == 4 ]] && drop_tests+=( test/sequential/test-watch-mode.mjs ) - rm -f "${drop_tests[@]}" || die "disabling tests failed" - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - if use npm; then - ewarn "remember to run: source /etc/profile if you plan to use nodejs" - ewarn " in your current shell" - fi -} diff --git a/net-libs/nodejs/nodejs-22.5.1.ebuild b/net-libs/nodejs/nodejs-22.5.1.ebuild new file mode 100644 index 000000000000..42854806e256 --- /dev/null +++ b/net-libs/nodejs/nodejs-22.5.1.ebuild @@ -0,0 +1,283 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CONFIG_CHECK="~ADVISE_SYSCALLS" +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 xdg-utils + +DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" +HOMEPAGE="https://nodejs.org/" +LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nodejs/node" + SLOT="0" +else + SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" + SLOT="0/$(ver_cut 1)" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" + S="${WORKDIR}/node-v${PV}" +fi + +IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" +REQUIRED_USE="inspector? ( icu ssl ) + npm? ( ssl ) + system-icu? ( icu ) + system-ssl? ( ssl ) + x86? ( cpu_flags_x86_sse2 )" + +RESTRICT="!test? ( test )" + +RDEPEND=">=app-arch/brotli-1.0.9:= + dev-db/sqlite:3 + >=dev-libs/libuv-1.46.0:= + >=dev-libs/simdjson-3.9.1:= + >=net-dns/c-ares-1.18.1:= + >=net-libs/nghttp2-1.61.0:= + >=net-libs/ngtcp2-1.3.0:= + sys-libs/zlib + corepack? ( !sys-apps/yarn ) + system-icu? ( >=dev-libs/icu-73:= ) + system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) + sys-devel/gcc:*" +BDEPEND="${PYTHON_DEPS} + app-alternatives/ninja + sys-apps/coreutils + virtual/pkgconfig + test? ( net-misc/curl ) + pax-kernel? ( sys-apps/elfix )" +DEPEND="${RDEPEND}" + +# These are measured on a loong machine with -ggdb on, and only checked +# if debugging flags are present in CFLAGS. +# +# The final link consumed a little more than 7GiB alone, so 8GiB is the lower +# limit for memory usage. Disk usage was 19.1GiB for the build directory and +# 1.2GiB for the installed image, so we leave some room for architectures with +# fatter binaries and set the disk requirement to 22GiB. +CHECKREQS_MEMORY="8G" +CHECKREQS_DISK_BUILD="22G" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + fi +} + +pkg_setup() { + python-any-r1_pkg_setup + linux-info_pkg_setup +} + +src_prepare() { + tc-export AR CC CXX PKG_CONFIG + export V=1 + export BUILDTYPE=Release + + # fix compilation on Darwin + # https://code.google.com/p/gyp/issues/detail?id=260 + sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die + + # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 + local LIBDIR=$(get_libdir) + sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die + sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die + + # Avoid writing a depfile, not useful + sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die + + sed -i -e "/'-O3'/d" common.gypi node.gypi || die + + # debug builds. change install path, remove optimisations and override buildtype + if use debug; then + sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die + BUILDTYPE=Debug + fi + + # We need to disable mprotect on two files when it builds Bug 694100. + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) + + # bug 931256 + use riscv && PATCHES+=( "${FILESDIR}"/${PN}-22.2.0-riscv.patch ) + + default +} + +src_configure() { + xdg_environment_reset + + # LTO compiler flags are handled by configure.py itself + filter-lto + # GCC with -ftree-vectorize miscompiles node's exception handling code + # causing it to fail to catch exceptions sometimes + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 + tc-is-gcc && append-cxxflags -fno-tree-vectorize + # nodejs unconditionally links to libatomic #869992 + # specifically it requires __atomic_is_lock_free which + # is not yet implemented by sys-libs/compiler-rt (see + # https://reviews.llvm.org/D85044?id=287068), therefore + # we depend on gcc and force using libgcc as the support lib + tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" + + local myconf=( + --ninja + # ada is not packaged yet + # https://github.com/ada-url/ada + # --shared-ada + --shared-brotli + --shared-cares + --shared-libuv + --shared-nghttp2 + --shared-ngtcp2 + --shared-simdjson + # sindutf is not packaged yet + # https://github.com/simdutf/simdutf + # --shared-simdutf + --shared-sqlite + --shared-zlib + ) + use debug && myconf+=( --debug ) + use lto && myconf+=( --enable-lto ) + if use system-icu; then + myconf+=( --with-intl=system-icu ) + elif use icu; then + myconf+=( --with-intl=full-icu ) + else + myconf+=( --with-intl=none ) + fi + use corepack || myconf+=( --without-corepack ) + use inspector || myconf+=( --without-inspector ) + use npm || myconf+=( --without-npm ) + use snapshot || myconf+=( --without-node-snapshot ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi + + local myarch="" + case "${ARCH}:${ABI}" in + *:amd64) myarch="x64";; + *:arm) myarch="arm";; + *:arm64) myarch="arm64";; + loong:lp64*) myarch="loong64";; + riscv:lp64*) myarch="riscv64";; + *:ppc64) myarch="ppc64";; + *:x32) myarch="x32";; + *:x86) myarch="ia32";; + *) myarch="${ABI}";; + esac + + GYP_DEFINES="linux_use_gold_flags=0 + linux_use_bundled_binutils=0 + linux_use_bundled_gold=0" \ + "${EPYTHON}" configure.py \ + --prefix="${EPREFIX}"/usr \ + --dest-cpu=${myarch} \ + "${myconf[@]}" || die +} + +src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS)" + emake -Onone +} + +src_install() { + local LIBDIR="${ED}/usr/$(get_libdir)" + default + + pax-mark -m "${ED}"/usr/bin/node + + # set up a symlink structure that node-gyp expects.. + dodir /usr/include/node/deps/{v8,uv} + dosym . /usr/include/node/src + for var in deps/{uv,v8}/include; do + dosym ../.. /usr/include/node/${var} + done + + if use doc; then + docinto html + dodoc -r "${S}"/doc/* + fi + + if use npm; then + keepdir /etc/npm + echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm + doenvd "${T}"/50npm + + # Install bash completion for `npm` + local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" + "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" + newbashcomp "${tmp_npm_completion_file}" npm + + # Move man pages + doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* + + # Clean up + rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} + rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} + + local find_exp="-or -name" + local find_name=() + for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ + ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ + "*.md" "*.markdown" "*.bat" "*.cmd"; do + find_name+=( ${find_exp} "${match}" ) + done + + # Remove various development and/or inappropriate files and + # useless docs of dependend packages. + find "${LIBDIR}"/node_modules \ + \( -type d -name examples \) -or \( -type f \( \ + -iname "LICEN?E*" \ + "${find_name[@]}" \ + \) \) -exec rm -rf "{}" \; + fi + + use corepack && + "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin + + mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die +} + +src_test() { + local drop_tests=( + test/parallel/test-dns.js + test/parallel/test-dns-resolveany-bad-ancount.js + test/parallel/test-dns-setserver-when-querying.js + test/parallel/test-fs-mkdir.js + test/parallel/test-fs-read-stream.js + test/parallel/test-fs-utimes-y2K38.js + test/parallel/test-fs-watch-recursive-add-file.js + test/parallel/test-process-euid-egid.js + test/parallel/test-process-get-builtin.mjs + test/parallel/test-process-initgroups.js + test/parallel/test-process-setgroups.js + test/parallel/test-process-uid-gid.js + test/parallel/test-release-npm.js + test/parallel/test-socket-write-after-fin-error.js + test/parallel/test-strace-openat-openssl.js + test/sequential/test-util-debug.js + ) + [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) + use inspector || drop_tests+=( test/sequential/test-watch-mode.mjs ) + rm -f "${drop_tests[@]}" || die "disabling tests failed" + + out/${BUILDTYPE}/cctest || die + "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die +} + +pkg_postinst() { + if use npm; then + ewarn "remember to run: source /etc/profile if you plan to use nodejs" + ewarn " in your current shell" + fi +} diff --git a/net-libs/nodejs/nodejs-99999999.ebuild b/net-libs/nodejs/nodejs-99999999.ebuild index dd3156015b8c..42854806e256 100644 --- a/net-libs/nodejs/nodejs-99999999.ebuild +++ b/net-libs/nodejs/nodejs-99999999.ebuild @@ -4,10 +4,10 @@ EAPI=8 CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="threads(+)" -inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils python-any-r1 toolchain-funcs xdg-utils +inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 xdg-utils DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" HOMEPAGE="https://nodejs.org/" @@ -25,8 +25,7 @@ else fi IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" -REQUIRED_USE="corepack? ( !npm ) - inspector? ( icu ssl ) +REQUIRED_USE="inspector? ( icu ssl ) npm? ( ssl ) system-icu? ( icu ) system-ssl? ( ssl ) @@ -35,9 +34,12 @@ REQUIRED_USE="corepack? ( !npm ) RESTRICT="!test? ( test )" RDEPEND=">=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.44.0:= + dev-db/sqlite:3 + >=dev-libs/libuv-1.46.0:= + >=dev-libs/simdjson-3.9.1:= >=net-dns/c-ares-1.18.1:= - >=net-libs/nghttp2-1.41.0:= + >=net-libs/nghttp2-1.61.0:= + >=net-libs/ngtcp2-1.3.0:= sys-libs/zlib corepack? ( !sys-apps/yarn ) system-icu? ( >=dev-libs/icu-73:= ) @@ -84,9 +86,6 @@ src_prepare() { # https://code.google.com/p/gyp/issues/detail?id=260 sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - # less verbose install output (stating the same as portage, basically) - sed -i -e "/print/d" tools/install.py || die - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 local LIBDIR=$(get_libdir) sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die @@ -104,7 +103,10 @@ src_prepare() { fi # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.16.0-paxmarking.patch ) + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) + + # bug 931256 + use riscv && PATCHES+=( "${FILESDIR}"/${PN}-22.2.0-riscv.patch ) default } @@ -114,6 +116,10 @@ src_configure() { # LTO compiler flags are handled by configure.py itself filter-lto + # GCC with -ftree-vectorize miscompiles node's exception handling code + # causing it to fail to catch exceptions sometimes + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 + tc-is-gcc && append-cxxflags -fno-tree-vectorize # nodejs unconditionally links to libatomic #869992 # specifically it requires __atomic_is_lock_free which # is not yet implemented by sys-libs/compiler-rt (see @@ -123,10 +129,19 @@ src_configure() { local myconf=( --ninja + # ada is not packaged yet + # https://github.com/ada-url/ada + # --shared-ada --shared-brotli --shared-cares --shared-libuv --shared-nghttp2 + --shared-ngtcp2 + --shared-simdjson + # sindutf is not packaged yet + # https://github.com/simdutf/simdutf + # --shared-simdutf + --shared-sqlite --shared-zlib ) use debug && myconf+=( --debug ) @@ -171,6 +186,7 @@ src_configure() { } src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS)" emake -Onone } @@ -234,16 +250,25 @@ src_install() { src_test() { local drop_tests=( + test/parallel/test-dns.js + test/parallel/test-dns-resolveany-bad-ancount.js test/parallel/test-dns-setserver-when-querying.js test/parallel/test-fs-mkdir.js + test/parallel/test-fs-read-stream.js test/parallel/test-fs-utimes-y2K38.js test/parallel/test-fs-watch-recursive-add-file.js + test/parallel/test-process-euid-egid.js + test/parallel/test-process-get-builtin.mjs + test/parallel/test-process-initgroups.js + test/parallel/test-process-setgroups.js + test/parallel/test-process-uid-gid.js test/parallel/test-release-npm.js test/parallel/test-socket-write-after-fin-error.js test/parallel/test-strace-openat-openssl.js test/sequential/test-util-debug.js ) [[ "$(nice)" -gt 10 ]] && drop_tests+=( "test/parallel/test-os.js" ) + use inspector || drop_tests+=( test/sequential/test-watch-mode.mjs ) rm -f "${drop_tests[@]}" || die "disabling tests failed" out/${BUILDTYPE}/cctest || die @@ -253,6 +278,6 @@ src_test() { pkg_postinst() { if use npm; then ewarn "remember to run: source /etc/profile if you plan to use nodejs" - ewarn " in your current shell" + ewarn " in your current shell" fi } diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest index e4f1cd4e0af8..899c18c177aa 100644 --- a/net-libs/tox/Manifest +++ b/net-libs/tox/Manifest @@ -1,10 +1,12 @@ AUX confd 27 BLAKE2B 16d0801db1dceed2044c14e9f1220ee4f31268622102a50669135dcb199ed21c2d6e0fd61e639d2eb669ee00c53088db2b6290dc98149ce20b0fafd8700c891c SHA512 1f7d9888a794ca4db64332430f6fd4ed3e257618fd87855922ff9186bca332827197f4f5aa199a27586fd2fcee04ed4d617bbaeb3866d9ba6f9c37ff8cb61ba1 -AUX initd 655 BLAKE2B bc837b09c4d75cb086bc1757ba1b1963b60ae2123ba041a53557a2ae7c05145be0898ce5c10d60c894ef369c46afe2a65454ab9e2d2a23d1c859c074d80b8a86 SHA512 c7eaf934497329a369ea9fe5eefe061937719e34d965c464ccea6b72b12bf16c7b79bd821e3550fecb1fde3b014f40afad61c10cf4d7140f42d3d8ba964acdc6 +AUX initd 676 BLAKE2B 2ea3b4f82a6f432d7afbe5256fd61aea5d39313a1c02b001319d2dab760694b76b5846bb8fd2594589e026b123918fa7fb84580860f4deccd8005febcc3ee464 SHA512 0913e9eff00fac22af5b0929c05413e5e78c7268020c53d1f42c33ecc586a8ec9c921cb555157a8866af86ee8ec98a1c2e3ee2ab4d6842ca1913baee3ca16744 AUX tox-bootstrapd.conf 2397 BLAKE2B 336317dc2b2a7958420164d3ef3197ea2aefbb51822791d2feccb8e44cf09e90779986210bf854c0cff0d1b4519c1b4acd92723e92b8b262859f7d9da7ee55e9 SHA512 0d90ffb47e42013af68b5eb7ffb03d670523b20de17ba7fe63e227502188cfd72242450d09e94d381fa201cdff459307622c9ab19f3bf651d6948979e103e3c6 -AUX tox-bootstrapd.service 365 BLAKE2B f17891d280007180811414f85f1f8a4defd85436410113f11cffd60dd14a02cd24a0637c347a75ea11322c050e4030702e9f95f02810705aef512df6558e66d5 SHA512 d565430c53b91343d57b6db573884c9f11aaf8bbddfd70bf3a46a6dede91c01ab8f1371ae052b4dd529cc521bef28924069fc7f4bc3d610c01cbd6d6569707f8 +AUX tox-bootstrapd.service 504 BLAKE2B 3ce3e96734220da225e292c2feffa1507917ba84372a9e76be34b3ffddd70f1d896f4ac2058b3a8826e5cd9b2d7b441cca5f39305c785422ecc5e12a9f65b757 SHA512 eb1dddc7c6de009c31c646a1384984fa92612414d51d531a4247057b34523f8ea32e0a615500a63a55910c994e99535018bfea8c8879926704e0c84ff102ab6f DIST c-toxcore-0.2.13.tar.gz 511533 BLAKE2B 8c68180710e3d06eaaef9fc05dc0ff2492907586934d1d6f57f147e07bb78b262f78b0057911e4b5cd27d2d1efb51cb714f757b90caa269988e604cafa62cd00 SHA512 f4ed9ea4afb7f9c14a5afd949f3a52e7880838c910acaf5adc39acb09ad574406be08f43b76a9fbdd4fc4bd14f0d73212dc7bd10783565055c910c6c3e5e357a DIST c-toxcore-0.2.18.tar.gz 653247 BLAKE2B c27da02753aede5056c42e5bf1949920fc30e98a23c058ab445c2fe345271e442885a3eeb011e8fde16d8fc8451376a015c5f821145785c75e7d0dda3a8b72eb SHA512 e9b0d73a2e0460290c8453a0a64fc91deed2e0cf87f945d0ba203b929f19a296571d7140f4df89b06f7e67f2b61894460ce4dd32ab9ecf6ea7d5b67538fadb23 +DIST c-toxcore-0.2.19.tar.gz 860531 BLAKE2B 5c341d85f9af2d44656600f1e2e95d5bc420effd7cb084f7568276831c489712ea39b8ffac7e901c50672f1a7adb68bcb9eab72cb3123bed5a5e7cc3a4749777 SHA512 793070e2f53e9736e23803d5e60dab8997b2e1f0b0655807b32667d660ee240b1904842aee1910f508ef26f0d4af8ca003fe384e6c59f26787a1059f5d5a5b22 EBUILD tox-0.2.13-r1.ebuild 2923 BLAKE2B 48eb83d424000252e60af6e2402157450cfde117592a9a8c4dfe95bf13aecd9e79abd192366417c307ec196c8b3461e8c0d3f7be8729b8c42859bd9bfb437df1 SHA512 08bfa551014c05320a6ef30121ff5a21838b95779da7341f559a4a0e4f0e43ab2f3f9e8ca3b358ac98059c3f7b679c5379e6dd146db997a30c3790f127d7b0af EBUILD tox-0.2.18-r3.ebuild 3219 BLAKE2B e1790ab52dd89432e92cb90b8afcd7f515e11fadf76f19bc1ebc81682b33eab99ba87a3215cae778ae3347195e8b707bf087b210809d0822f5b40b42aea6365e SHA512 594d430d78a9895e013f0b34831404dadcaa327b6808f59dd770e4be0c0906da682f5da564d24e6fbe28080822ee5aca8b51bc659c4bc8e6bb77d6be1e21163d -EBUILD tox-9999.ebuild 3333 BLAKE2B 1261442ee05fe59801104eda78ac2799d400d8623e9f257d144801b78e092ef8a579fdd0e7cfa44b5a505ca29f3e97ab82fa5736e52c7a47b1bfa00cd8cecca9 SHA512 fdbd9aaadf36b5e56393bd3f17eae78c989d37a6ff9cf7942c48112fb1245a50a33ab495d8fc5ef7de459040fddfba02f944dc500c91b8c7051c6531238c2c4e -MISC metadata.xml 985 BLAKE2B a77c49ccdcb1407dc40590f2fbcd4a932d1167dbaad973c878da09107def195cc9755c6d5f1a824cf22006543f1f6db3461d03e11ba7a21b3f321b6173c8aee8 SHA512 67eecd0db74c985cd97c840414ff6860a1d5a3ac9eaa00cd73c5c61e59831ff458a596251605af9515817f074d76eb342c12714409e7b31176d56e9ee311fc0c +EBUILD tox-0.2.19.ebuild 3017 BLAKE2B 1fa0e8e6c9e40da4408020b8a62031d6fefb94bec7a4021791c59878921a341682cdfea63b39d29e599b0a350c70dc19406db7a36e0f8cfd34d29fd071b4b38a SHA512 f172e747b6c9ed90b6588fddcfcdd2a6973aa76db2eab9f56c31994bf1c988e6afaba556970b31ea5b3c355f0e519e04a8e3416e1dfcfc66a7b9d0fc23e4e11e +EBUILD tox-9999.ebuild 2812 BLAKE2B a7b1eb295d0bea191282e9bd1086ad5d1f2138fe884fea4e070832f284b1ed66b00304028e8979e3ea1e1b0074ee96ca05a2539dbfd6b4105a7d65f189f2cdc5 SHA512 d5c779416ebca8fce9dbaf26d476b7677446af31bb07afb54b2516fa38436e5cd6d30c54a19eb96dfd7a198b3e54019f4dbd7202c6b37d60600793ceb4a54486 +MISC metadata.xml 1049 BLAKE2B 4150b812ccf96ccd8a98066054d37b0e74123f8c68b2f68a0cbe6e7227e628a34ed7813ea012b6e468f23b2e8f27a67922108014d8c019fe303e1f57a0dbb7ad SHA512 ed549db2d83091dbd6fba5c7b1997e3062b0739b83e12a7113f9da0fa3e70ee97871e52dfca4465ec13746c3f43002dd02db19168ce07437bcefe9dcd69bfbaf diff --git a/net-libs/tox/files/initd b/net-libs/tox/files/initd index 49880897a1a0..b5ef4cd4db41 100644 --- a/net-libs/tox/files/initd +++ b/net-libs/tox/files/initd @@ -16,6 +16,8 @@ start() { checkpath -d -q -o "${TOX_USER}":"${TOX_GROUP}" "${PIDDIR}" checkpath -d -q -o "${TOX_USER}":"${TOX_GROUP}" "${KEYSDIR}" + set rc_ulimts 4096 + start-stop-daemon --start \ --pidfile "${PIDFILE}" \ --user="${TOX_USER}" --group="${TOX_GROUP}" \ diff --git a/net-libs/tox/files/tox-bootstrapd.service b/net-libs/tox/files/tox-bootstrapd.service index ae2f238cd60c..aec928c7054e 100644 --- a/net-libs/tox/files/tox-bootstrapd.service +++ b/net-libs/tox/files/tox-bootstrapd.service @@ -5,7 +5,11 @@ After=network.target [Service] User=tox Group=tox +#Since the daemon can use around 600 tcp sockets, +#increase the soft limit on open files to 4096 +LimitNOFILE=4096 RuntimeDirectory=tox-bootstrapd +RuntimeDirectoryMode=750 PIDFile=/run/tox-bootstrapd/tox-bootstrapd.pid WorkingDirectory=/var/lib/tox-bootstrapd ExecStart=/usr/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf diff --git a/net-libs/tox/metadata.xml b/net-libs/tox/metadata.xml index 434e886648f5..c98525545bf6 100644 --- a/net-libs/tox/metadata.xml +++ b/net-libs/tox/metadata.xml @@ -12,6 +12,7 @@ Adds support for audio and video. Enables DHT Bootstrap Node. + Enables the experimental api Builds utilities to create custom keys and profiles Log level: 1 Log level: 2 diff --git a/net-libs/tox/tox-0.2.19.ebuild b/net-libs/tox/tox-0.2.19.ebuild new file mode 100644 index 000000000000..87981c32e0e5 --- /dev/null +++ b/net-libs/tox/tox-0.2.19.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +MY_P="c-toxcore-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" +HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" +SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0/0.2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+av debug daemon dht-node experimental ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" + +REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) + daemon? ( dht-node )" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal(-)] + av? ( + media-libs/libvpx:= + media-libs/opus + ) + daemon? ( dev-libs/libconfig:= )" + +RDEPEND="${DEPEND} + daemon? ( + acct-group/tox + acct-user/tox + ) + key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] ) )" + +src_prepare() { + cmake_src_prepare + + #Remove faulty tests + for testname in lan_discovery; do + sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die + done +} + +src_configure() { + local mycmakeargs=( + -DAUTOTEST=$(usex test ON OFF) + -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) + -DBUILD_FUN_UTILS=$(usex key-utils ON OFF) + -DBUILD_FUZZ_TESTS=OFF #Requires the compiler to be Clang + -DBUILD_MISC_TESTS=$(usex test ON OFF) + -DBUILD_TOXAV=$(usex av ON OFF) + -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) + -DDHT_BOOTSTRAP=$(usex dht-node ON OFF) + -DENABLE_SHARED=ON + -DENABLE_STATIC=OFF + -DEXPERIMENTAL_API=$(usex experimental ON OFF) + -DFULLY_STATIC=OFF + -DMUST_BUILD_TOXAV=$(usex av ON OFF) + -DUNITTEST=OFF + ) + + if use test; then + mycmakeargs+=( + -DNON_HERMETIC_TESTS=OFF + -DPROXY_TEST=OFF + -DTEST_TIMEOUT_SECONDS=150 + -DUSE_IPV6=$(usex ipv6 ON OFF) + ) + else + mycmakeargs+=(-DUSE_IPV6=OFF) + fi + + if use log-trace; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE") + elif use log-debug; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG") + elif use log-info; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO") + elif use log-warn; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING") + elif use log-error; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR") + else + mycmakeargs+=(-DMIN_LOGGER_LEVEL="") + einfo "Logging disabled" + fi + + cmake_src_configure +} + +src_test() { + cmake_src_test -j1 +} + +src_install() { + cmake_src_install + + if use daemon; then + newinitd "${FILESDIR}"/initd tox-dht-daemon + newconfd "${FILESDIR}"/confd tox-dht-daemon + insinto /etc + doins "${FILESDIR}"/tox-bootstrapd.conf + systemd_dounit "${FILESDIR}"/tox-bootstrapd.service + fi +} + +pkg_postinst() { + if use daemon; then + elog "Before you can run the daemon, you need to add nodes to" + elog "configuration which exists at /etc/tox-bootstrapd.conf" + elog "Details about these nodes can be found at https://nodes.tox.chat" + elog "Then run, if necessary, #rc-update add tox-dht-daemon default" + fi +} diff --git a/net-libs/tox/tox-9999.ebuild b/net-libs/tox/tox-9999.ebuild index e8d52a959406..0ecda67307a5 100644 --- a/net-libs/tox/tox-9999.ebuild +++ b/net-libs/tox/tox-9999.ebuild @@ -20,7 +20,7 @@ fi LICENSE="GPL-3+" SLOT="0/0.2" -IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" +IUSE="+av debug daemon dht-node experimental ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) daemon? ( dht-node )" @@ -45,7 +45,7 @@ src_prepare() { cmake_src_prepare #Remove faulty tests - for testname in lan_discovery save_load; do + for testname in lan_discovery; do sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die done } @@ -55,21 +55,24 @@ src_configure() { -DAUTOTEST=$(usex test ON OFF) -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) -DBUILD_FUN_UTILS=$(usex key-utils ON OFF) - -DBUILD_FUZZ_TESTS=OFF #Upstream reports that this breaks all other tests + -DBUILD_FUZZ_TESTS=OFF #Requires the compiler to be Clang -DBUILD_MISC_TESTS=$(usex test ON OFF) -DBUILD_TOXAV=$(usex av ON OFF) -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) -DDHT_BOOTSTRAP=$(usex dht-node ON OFF) -DENABLE_SHARED=ON -DENABLE_STATIC=OFF + -DEXPERIMENTAL_API=$(usex experimental ON OFF) -DFULLY_STATIC=OFF -DMUST_BUILD_TOXAV=$(usex av ON OFF) + -DUNITTEST=OFF ) if use test; then mycmakeargs+=( - -DTEST_TIMEOUT_SECONDS=150 -DNON_HERMETIC_TESTS=OFF + -DPROXY_TEST=OFF + -DTEST_TIMEOUT_SECONDS=150 -DUSE_IPV6=$(usex ipv6 ON OFF) ) else @@ -109,16 +112,3 @@ src_install() { systemd_dounit "${FILESDIR}"/tox-bootstrapd.service fi } - -pkg_postinst() { - if use dht-node; then - ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" - ewarn "developers and is on their TODO list. For more information," - ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'" - ewarn "" - ewarn "There is currently an unresolved issue with tox DHT Bootstrap node" - ewarn "that causes the program to be built with a null library reference." - ewarn "This causes an infinite loop for certain revdep-rebuild commands." - ewarn "If you aren't running a node, please consider disabling the dht-node use flag." - fi -} diff --git a/net-libs/uhttpmock/Manifest b/net-libs/uhttpmock/Manifest index c0d5cf5dc754..d0784e22f54d 100644 --- a/net-libs/uhttpmock/Manifest +++ b/net-libs/uhttpmock/Manifest @@ -1,5 +1,7 @@ +DIST uhttpmock-0.11.0.tar.bz2 49657 BLAKE2B 81973db6ca92baa7c89b09804f13ba156a6d9fca92ff486ba5f303502954a0fdb35969534da6a8cdbfd10fe49570ca808d0ba42b7d865388fc5452151271c648 SHA512 6af6029e6b0fe4cf4eafd4dc46d999856a546f5a5273b3e2d05ca5f253f334124ab35ad2f366e451d48cd833b1054f2d1a3a3e3fb136ead1bf112088cd37beda DIST uhttpmock-0.5.5.tar.bz2 47013 BLAKE2B 1b59801c13909525e05ec88f5ccfde1606cf427fc41896b14411344281046148bbe652162726aa643610bda447d04c64041a292b46838a3b98b849d670ce6909 SHA512 0fa6e03095c7b66ebd02736b95222b66e1232e5854839a352ee2ec59822ab027bdcf6c871b23433da46725a9807232b0b6bdd0c4cb8a59a23604787acd3d5f0f DIST uhttpmock-0.9.0.tar.bz2 48659 BLAKE2B 02eb787e2bf778a107088b0361fd9efb9e68be16c1c9db656fb9692cbedf5bd0012c085c753a5c2f26317afd7d963c9c79d668836872b583890a4437a5c43930 SHA512 5f238b6aee339608000c2b1fb62a62197935555842d335517beb57319f427a618166c29ce67d929199af94ecc5de1a4a0641d049fecc66dcd9b49a5c539fbbf1 +EBUILD uhttpmock-0.11.0.ebuild 1009 BLAKE2B 0227cb2291335f29d51cdd2d0b4f12d1299299085247057a7bdd1af67858a9b09f1b6275f1abe62dbe4c8639db6564bf93acc6a844922ee516411c8dc804765d SHA512 5c9cc4a5c3139aeb823c40e01d8d61555576f6d7e4838b3c252bb8bdfb92bd61ca7b3bb501de9ba171d091966876d652d701881d4da539568dd10b8e48e85800 EBUILD uhttpmock-0.5.5-r1.ebuild 1001 BLAKE2B 3aeb9fa55aa6882421b112291a6c3c7bacefe3a6064ce63ce71266523b65201b830d3a30814a5cbe13822b40de6e2dc421822c12ea54420f15aae923ef02d056 SHA512 a5f3f55f8792abc578f12d29c671ff70d95017f861b204320cfb3ed8279857f2a05174f4d59e7829dd33d6ad7589a623f98b9cb83d5eeb9515763d9d6f849272 EBUILD uhttpmock-0.9.0.ebuild 1002 BLAKE2B e7c281970a8b9939e8a20ac344695e6d45a85e392c32b1837c73b6af0a8fd60a4571d466c000e6b20d542b4e6bf6811964f09186a023603e39020009bef11eb7 SHA512 1591f58e81375a350c15456bed84ad241680cc13b372eb501f65485f0082f2b626d4a2a80b879f2f0e35f07cddbba932cf18ffcf6e97b5a744700608904b7bf0 MISC metadata.xml 360 BLAKE2B 8bebb909e33d88b6c1a9e5761004f5b7d71a2ffeb4ab11ba06c5cd31f70aee799b1549b72898cb2eb906fedf5a0f08d852894fabf157473977a1d56cfebda4ab SHA512 392603340b60d71e84b4f09f3db707dd995e04df0fdd03475880767e88b7b48275058afb7bcb21fef2a58acb6d7c4ff53d57f1ce53296969877e0fa8ecb836b7 diff --git a/net-libs/uhttpmock/uhttpmock-0.11.0.ebuild b/net-libs/uhttpmock/uhttpmock-0.11.0.ebuild new file mode 100644 index 000000000000..7ff43bb4e554 --- /dev/null +++ b/net-libs/uhttpmock/uhttpmock-0.11.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala + +DESCRIPTION="HTTP web service mocking library" +HOMEPAGE="https://gitlab.freedesktop.org/pwithnall/uhttpmock" +SRC_URI="https://gitlab.freedesktop.org/pwithnall/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2+" +SLOT="1.0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="gtk-doc +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.38.0:2 + >=net-libs/libsoup-3.1.2:3.0 + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + gtk-doc? ( + dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 + ) + vala? ( $(vala_depend) ) + virtual/pkgconfig +" + +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_use introspection) + $(meson_feature vala vapi) + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} -- cgit v1.2.3