diff options
Diffstat (limited to 'net-libs')
109 files changed, 3503 insertions, 1174 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 2d063a7b6fc5..f9e8d3b7e991 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz 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/gnome-online-accounts/Manifest b/net-libs/gnome-online-accounts/Manifest index 70d4ad90b7af..3ea973b5b9e4 100644 --- a/net-libs/gnome-online-accounts/Manifest +++ b/net-libs/gnome-online-accounts/Manifest @@ -1,3 +1,5 @@ DIST gnome-online-accounts-3.48.1.tar.xz 383124 BLAKE2B a9e18bf034454429a84be0920110f4d74fba9462fb1f7f23e74f304e963323413d99af2d84caa9ef1c6841917f5b8249ac94dc433ba04546f2ae23d6268dcd70 SHA512 8f191994b8f38bee4b922b10b94e96d6f7cb323de0e9a1f29febea848cb2002320357262ccf6f28839e32e9216faeb28a871f878e1ad9478c61650fdd3549737 +DIST gnome-online-accounts-3.50.3.tar.xz 406404 BLAKE2B ff1d52b76720ccc28619a988d6c9a584cf8a44a9919368761c64d3b39e735b740ca1eb3ce18cd11e6998ee1a68deee12b0dc838f76c733a650fdf7ee72700a09 SHA512 c8ac65e9610ced7644239d72ab7bb137eea3ac9ca266c79ca0ad75f16982ba10bea7a880259309bbd96aedd057091eb088c78a86756fc24332f0ad7b37683a46 EBUILD gnome-online-accounts-3.48.1.ebuild 1893 BLAKE2B 02d3810304f050b48df6e17c770aac35dddfb09e175b2c5be1eed4eab39a758256c4986f1626ff8e9d1ae3e1d35a525fa13b74118f0a7cca375a568a89423b2f SHA512 29cc129d6f0c88c5c720022f5ed5052b019cf7e1c9d3b95c7f2702f481e05bdb1946c51744a147442aeefd8d6a8dadb1e1c70ae352e82305b6f12a93f21c61ae -MISC metadata.xml 497 BLAKE2B c9f25a548f7d6c51efc6dcd12d2c23ce4121621bccd62b0dd29ea9c83170eb5d91ccdb208362c7d4a246207162bc34f5c9f447baaa079b46a848c64ba26ee9a7 SHA512 9950752a3f1465eca98bc46d691ec3105f9d6806449923189884028e4d591977b2840f515348b948985cc75ec9e389155d4a54c2a460e4fc6c757ca30ad466bc +EBUILD gnome-online-accounts-3.50.3.ebuild 1881 BLAKE2B eebdaa9aaf23d5e2bd8f5307f3d343195a52299c1da8e661c29e57c2d7438ab990b499df351ddf75a5d2ed28c9e1090988ec6306756f5e1e1e19edcb0c480116 SHA512 be852eebac969568c3942afc78396b9e2f7d25c0b7a55dd376dfa693f079b7c103fb41c6984967b9cc332779b37776792a6e0a934409f5f03b14316de4e2d106 +MISC metadata.xml 557 BLAKE2B a564170cd2de44047981d14337d1e662bb0aba9b5b871322b97ce0a9ede8922bfacd00ef5bbbb6b4e07b0675c8cd5956e9a632338eab111cb3df27872eb0d97b SHA512 f73bdc3e4b36ea069373cd04687afce87027ea61d2335e782e94b998d85df814ffd234f073ede09e4c2319c72c4219d7304e5444ea1791c5b8e28f3b9bd08d21 diff --git a/net-libs/gnome-online-accounts/gnome-online-accounts-3.50.3.ebuild b/net-libs/gnome-online-accounts/gnome-online-accounts-3.50.3.ebuild new file mode 100644 index 000000000000..4989d24db326 --- /dev/null +++ b/net-libs/gnome-online-accounts/gnome-online-accounts-3.50.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala xdg + +DESCRIPTION="GNOME framework for accessing online accounts" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-online-accounts" + +LICENSE="LGPL-2+" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +IUSE="debug gnome gtk-doc +introspection kerberos man ms365 +vala" +REQUIRED_USE="vala? ( introspection )" + +# libsoup used in goaoauthprovider +# goa kerberos provider is incompatible with app-crypt/heimdal, see +# https://bugzilla.gnome.org/show_bug.cgi?id=692250 +# json-glib-0.16 needed for bug #485092 +RDEPEND=" + >=dev-libs/glib-2.67.4:2 + sys-apps/dbus + introspection? ( >=dev-libs/gobject-introspection-0.6.2:= ) + >=gui-libs/libadwaita-1.4 + >=gui-libs/gtk-4.10:4 + >=dev-libs/json-glib-0.16 + >=app-crypt/libsecret-0.5 + >=net-libs/libsoup-3.0:3.0 + dev-libs/libxml2:2 + >=net-libs/rest-0.9.0:1.0 + kerberos? ( + >=app-crypt/gcr-4.1.0:4=[gtk] + app-crypt/mit-krb5 + ) +" +# goa-daemon can launch gnome-control-center +PDEPEND="gnome? ( >=gnome-base/gnome-control-center-3.2[gnome-online-accounts(+)] )" + +DEPEND="${RDEPEND} + vala? ( $(vala_depend) ) + dev-libs/libxslt + >=dev-util/gdbus-codegen-2.30.0 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + + dev-libs/gobject-introspection-common + gnome-base/gnome-common +" +BDEPEND="gtk-doc? ( dev-util/gtk-doc )" + +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + # TODO: Give users a way to set the G/FB/Windows Live secrets + local emesonargs=( + -Dgoabackend=true + -Dexchange=true + -Dfedora=false + -Dgoogle=true + -Dimap_smtp=true + $(meson_use kerberos) + -Downcloud=true + -Dwebdav=true + -Dwindows_live=true + $(meson_use gtk-doc gtk_doc) + $(meson_use ms365 ms_graph) + $(meson_use introspection) + -Dman=true + $(meson_use vala vapi) + ) + meson_src_configure +} diff --git a/net-libs/gnome-online-accounts/metadata.xml b/net-libs/gnome-online-accounts/metadata.xml index 06d4624d4d58..24a224e308b7 100644 --- a/net-libs/gnome-online-accounts/metadata.xml +++ b/net-libs/gnome-online-accounts/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="gnome">Use <pkg>gnome-base/gnome-control-center</pkg> to set GNOME online accounts preferences</flag> + <flag name="ms365">Enable Microsoft 365 provider</flag> </use> <upstream> <remote-id type="gnome-gitlab">GNOME/gnome-online-accounts</remote-id> diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest index 882880f74cac..690f5de55056 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -9,9 +9,12 @@ DIST gnutls-3.8.3.tar.xz 6463720 BLAKE2B 27a4bb4d8a5697e2187113351b2ad1e849bca7b DIST gnutls-3.8.3.tar.xz.sig 580 BLAKE2B 25875eb17d9e59bf1f1b6a61dfc7657d838ac154dbb3e26c8df1995884077878ca607de62a8ce3b9287df1ea7ff523c0abc7c4548f1ca789c308eb6bda0edbaa SHA512 5b2ca0648ca5feeda1de933de2bbaf71fadb70e830a8f0d494d2f0380b6d0d7b79445257cc79e59bba1a7ff639ab4573da3e3e124eb80c20ac6141e29a4827ff DIST gnutls-3.8.5.tar.xz 6491504 BLAKE2B 30ea0e213b426df896af7cddfc39a7c50fd3130f99ced8386dc55e851122a37f6171722d2cb4abb68b9d2523cd3ba044b01248d740571a3bdd0cadf555894cdf SHA512 4bac1aa7ec1dce9b3445cc515cc287a5af032d34c207399aa9722e3dc53ed652f8a57cfbc9c5e40ccc4a2631245d89ab676e3ba2be9563f60ba855aaacb8e23c DIST gnutls-3.8.5.tar.xz.sig 119 BLAKE2B 62ff7b33fb80422774f8252f574560679b7dc4fa56fa680a4cf570320fa9692aa6f8b6a7e4683a684572287cfd22168f58679d2dc4cc507dc50269ed126990fd SHA512 b0f7a8ec348765112cac75fd732e066adaa1595bb83024cfeff6633aba35277d8aceda145c733c3d95f1e0eb4d34fead2479abdb08d6041362094a235460fa67 +DIST gnutls-3.8.6.tar.xz 6517476 BLAKE2B 58910e252231c02cfaa1183b38f3127f61aa991d266078bef8fb65709930a2d2dda1adad5fa32cdb203fda65955bcab9193ce71b5fba0b74e6a36a218bc0dd94 SHA512 58631c456dfb43f8cb6a1703ffa91c593a33357f37dc146e808d88692e19c7ac10aeabea40bee9952205be97e00648879e9f0fa80e670e8e695f8633ba726513 +DIST gnutls-3.8.6.tar.xz.sig 119 BLAKE2B 044d0e31a5fa402daa73e88ce140f57e30cb143324c7cce1515a3bc6c444fe2f1fa2dd954dec69de09c7b4726766e17ec05410bbbbcf5b35dda1cb0f6452a0a5 SHA512 3f9552cdf5fa96184fbe394dd484fb55e6a3577d1e048aea373b82cda335ea0f174f2fb11926dc58532c1f950cd10a6a35bc36e9fe813a1259eae5c5364920b2 EBUILD gnutls-3.7.8.ebuild 4510 BLAKE2B 071712c5a26ac5208b8c3b76e8e30cd697bfe46c15c0ac9de5290e7c3a438ee50e84d77d2dd7fa56e7f1a0f6367d79d0ce41f8142cc135213307f4753ea960f2 SHA512 ed2aa57344cae948b72a5d3929d9fbfb85317a31d74b3c686bd2da1e054266d879289d461fb67c1bfa51a9c77acd11b9e0f0ae577afd80cdcd27081b04935990 EBUILD gnutls-3.7.9.ebuild 4518 BLAKE2B 1677d20875850c62130350dcbc92b61f51c6aa5de64d16179944caad10616859f082c11bf327d57f836b7cc24e3803821b61e2df4fc2c17862d35a26a033aaeb SHA512 e30ea13f425d0a6eba30b1235e3a6240e9f0481df318c7f0b6699088bb8c98c07e146a891c8ccd8efe0cc0b8f70a8456d84e62f8db118ad8ae380e679769259b 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-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: +# <libgnutls.so number>.<libgnutlsxx.so number> +SLOT="0/30.30" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~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 <alloca.h>' 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/grpc/Manifest b/net-libs/grpc/Manifest index b8e78bb80472..04ef98bf4c77 100644 --- a/net-libs/grpc/Manifest +++ b/net-libs/grpc/Manifest @@ -1,15 +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 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.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 6461 BLAKE2B 373439f0a87eed2ec4fde054ab8c789047062410f5639fdee8e744a9b7d89a071ed0979694017e2b3971ec227ab66fd91a0d228e734f9feed708485b98d0bc80 SHA512 0e3b6ebc2956838a756a6e0be625447070141477851d1f78920cb2829183497ae1a3773f32651514246ef32ea395962ee59da2dfc6ff58739cda1aa8e314db94 +EBUILD grpc-1.62.1.ebuild 6435 BLAKE2B a88a4f4c63a00114a1376dc895f2ba92e79eb8d0d914658513db3ffdf6e1cd7a78029d95458c77b6a855f66834c5777c4398ada623d65f718722e124ab4d960d SHA512 5e90f37e970c1c3cbb2d1bea2c8df5cf0cf627b48dbbcc89781b251bb8663a62b7e1af858fb754366bc21dc65ef32b11ff203e164b975d60eaa8c8df1c131ced +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 new file mode 100644 index 000000000000..878ce10f8ffd --- /dev/null +++ b/net-libs/grpc/files/grpc-1.65.0-system-gtest.patch @@ -0,0 +1,84 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d4d798f..824c4ed 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3504,77 +3504,8 @@ if(gRPC_INSTALL) + endif() + + if(gRPC_BUILD_TESTS) +- +-add_library(gtest +- third_party/googletest/googlemock/src/gmock-cardinalities.cc +- third_party/googletest/googlemock/src/gmock-internal-utils.cc +- third_party/googletest/googlemock/src/gmock-matchers.cc +- third_party/googletest/googlemock/src/gmock-spec-builders.cc +- third_party/googletest/googlemock/src/gmock.cc +- third_party/googletest/googletest/src/gtest-assertion-result.cc +- third_party/googletest/googletest/src/gtest-death-test.cc +- third_party/googletest/googletest/src/gtest-filepath.cc +- third_party/googletest/googletest/src/gtest-matchers.cc +- third_party/googletest/googletest/src/gtest-port.cc +- third_party/googletest/googletest/src/gtest-printers.cc +- third_party/googletest/googletest/src/gtest-test-part.cc +- third_party/googletest/googletest/src/gtest-typed-test.cc +- third_party/googletest/googletest/src/gtest.cc +-) +- +-target_compile_features(gtest PUBLIC cxx_std_14) +- +-set_target_properties(gtest PROPERTIES +- VERSION ${gRPC_CORE_VERSION} +- SOVERSION ${gRPC_CORE_SOVERSION} +-) +- +-if(WIN32 AND MSVC) +- set_target_properties(gtest PROPERTIES COMPILE_PDB_NAME "gtest" +- COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" +- ) +- if(gRPC_INSTALL) +- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gtest.pdb +- DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL +- ) +- endif() +-endif() +- +-target_include_directories(gtest +- PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> +- PRIVATE +- ${CMAKE_CURRENT_SOURCE_DIR} +- ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} +- ${_gRPC_RE2_INCLUDE_DIR} +- ${_gRPC_SSL_INCLUDE_DIR} +- ${_gRPC_UPB_GENERATED_DIR} +- ${_gRPC_UPB_GRPC_GENERATED_DIR} +- ${_gRPC_UPB_INCLUDE_DIR} +- ${_gRPC_XXHASH_INCLUDE_DIR} +- ${_gRPC_ZLIB_INCLUDE_DIR} +- third_party/googletest/googletest/include +- third_party/googletest/googletest +- third_party/googletest/googlemock/include +- third_party/googletest/googlemock +-) +-target_link_libraries(gtest +- ${_gRPC_ALLTARGETS_LIBRARIES} +- ${_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 +-) +- +- ++ find_package(GTest REQUIRED) ++ enable_testing() + endif() + + add_library(upb_base_lib diff --git a/net-libs/grpc/grpc-1.62.1.ebuild b/net-libs/grpc/grpc-1.62.1.ebuild index f8449433e9f8..868f18efcae3 100644 --- a/net-libs/grpc/grpc-1.62.1.ebuild +++ b/net-libs/grpc/grpc-1.62.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 CMAKE_IN_SOURCE_BUILD=1 -PYTHON_COMPAT=( python3_{10,12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit cmake flag-o-matic python-any-r1 MY_PV="${PV//_pre/-pre}" @@ -57,14 +57,12 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-1.62.1-system-gtest.patch" ) python_check_deps() { - 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}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup + 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() { 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..e82424fe2c4f 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 1720 BLAKE2B dd8e0fa70c31638a87ad6617507afb056e8df2fba6b27124f0b31334164273552d4eed28d592b91016196176e08c2dd3b81f23e5388a235f91f950d7885d995b SHA512 53645b511084968a3d664a206135b9347cd4a12ddb07060996b4cde02cdc6f3f46f2048d35f38bbadb747700d0d192ff53f0350ecee37f2ca3b53fddabe40fdc 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..dccf068e8704 --- /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 a74f355b8976..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 1078 BLAKE2B 00312fde58ceed86d5876d42acd77a27326cada1ba90cc0e853d24ae236321c078c746ad0afcff1af63f2f2933a806b8c70c75ac9ad5932e475d95a3820b3711 SHA512 71a425b518aa96f92ee9debf36c4fd738aa804393b3154d367d57dfc04eec52aaabb029a2d0a9cc04dc6fc6c16fb8317253a0199ee94fbaca6246bf949116fc9 +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 c8e58dcb0a55..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" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" fi LICENSE="CC0-1.0 GPL-3+" diff --git a/net-libs/libgssglue/Manifest b/net-libs/libgssglue/Manifest index c7c034a81fe0..d55b9d2e037e 100644 --- a/net-libs/libgssglue/Manifest +++ b/net-libs/libgssglue/Manifest @@ -3,7 +3,9 @@ AUX libgssglue-0.4-implicit-declarations.patch 530 BLAKE2B ee86f8cc22ec18834944c DIST libgssglue-0.4.tar.gz 346984 BLAKE2B 5815db41ff3f65b014e713b68667bb49d3aecab943e891de881af2a2d157cceddc5173e7eff9ed2eac714b2e1341429694f1051ad98a3c4b728a61eaceeaddfb SHA512 25d514c08320e42851ff153d7691267a8454f205492faf942f566aa30c1ac1c83bd095732a1a0fcc010ba3a5d48b4c95a196ad05bc821598cc1fc3a2c4960d29 DIST libgssglue-libgssglue-0.7.tar.bz2 31415 BLAKE2B 4017ff17b876b00d93d5120ca8fe2a1f472b61c7b73dec0194d0ebaa244176b5d6f85fbfe5ce52cd77bcce9e1718f979b36e8926577640bbad38208fcea78f5a SHA512 04ea9af9f56afeca40b1dd22708dfa2e844d587106f370820a8976a22e8b95c646cdc5c5ef4256e34780cdb34c5617c45187fe3866670662f15ac579ef22dcca DIST libgssglue-libgssglue-0.8.tar.bz2 34586 BLAKE2B 4dcd39f53904c2d5e559b15329bd6c1b8931dda426ef156d65e21d68cce85bc12d20338254a0d9fffb6acc7cec074a56e355f4bc95c065e4dafe787d4b8c077b SHA512 7866875d7394fd8c6eeb9621a88ab0393c0d30606c407fa5d5b25a30579642d37bdafb81b748bb84cf026f47716e4c4f68da6e6eb2d5afeedfb37270f1749aa1 +DIST libgssglue-libgssglue-0.9.tar.bz2 35115 BLAKE2B 365e872c0e730e5a04d2c9b0be4796ca9c6667f4a9713d51b820d0b7c89ca675052b4fe09073a4bdd9b4f57e336f51d4eee46d049550730a3adf2a93c37fd05b SHA512 fc452883e1ce0f22c1dae80f948b4f4fd581a025cad66d3f1a8c701657a01f537c327d8e0ec5c7840650e99b6012a47de8b269e279df2aaf007045273356ca48 EBUILD libgssglue-0.4-r1.ebuild 903 BLAKE2B a39345262e7bba32ae36f9f5eefa51c67ce2a9b5f814eb7d039b72495705242d9aee2f051ffc28cd3376622f5e60e2d520334c4d2c622aebae49ed0437119cb5 SHA512 46e8474611fc03c69c8de11c3f5bb5d106187e0a49b53284012262af666cdc31cd5eedbe70aec7c627d711ba9571307ec68a6735a9a7fb76106c6c1cbf17c5bf EBUILD libgssglue-0.7.ebuild 1155 BLAKE2B 8019fe52e88dda13a2aef13ecb9cba8de9fc23dcd2dc7d7ed4fdfff85946b2c77cbbc0c0d436e00ab67f2059b33d54d8cc73ac6fd2873c0206dafb9423c2605b SHA512 0f2d818f0dd9bfbf9b31101645006551e8d900cad06341af5995a465b30dbc3bf5d4dba3571a767694ce0b2e408518a485507b2850d7c436a246b0129c258d14 EBUILD libgssglue-0.8.ebuild 1163 BLAKE2B 310a4c99037b8e1a6c1ba908f75394d46fc735891a29c60277d06b54c9527713b4507e74530cc0b8bf3cf6b396bf6b2573ffee35b6cb4a0976b8627917c332ea SHA512 48eef80a0614adb90acabb3023ed9011c6969e838ee8d26c5f1c12e9014d22f9a2dd2424be484f0a377258a07f180889dd84f6c48cfd793710659be1d35ecf67 +EBUILD libgssglue-0.9.ebuild 1163 BLAKE2B f75c78abc21e182af98116c14685fdc6f07b06343596d601c6f978ac01a26321285feeb0aa51cae187f3bdcc187dca5fe7812a9708feb124a2d4939ed3a3de47 SHA512 54d1472378c2a8ea6534dd32cabe2be9d08af6cfe7c32c32b0539fcbf252f7f05bf869746cb0a8bd89b66207bd5140bd087806197b70a330ac329dde4d4a2588 MISC metadata.xml 249 BLAKE2B 83b0c3cbb109f3a5fe471176078244f62b6db5cd38cc72a2a4ca3d7accc1bf39c12bf0e3e902cd8ecf4f80b72159f658e31cd55065893da3882c7b471551ec5a SHA512 235a0cd45a87d913d5f64cb14acad34258055a7f7cac2808aec35cc022fdfb5c76780016dc22131281235634424d23a6ddaafdaa4ee62a577ac5e3ef40cce843 diff --git a/net-libs/libgssglue/libgssglue-0.9.ebuild b/net-libs/libgssglue/libgssglue-0.9.ebuild new file mode 100644 index 000000000000..326e3beaf672 --- /dev/null +++ b/net-libs/libgssglue/libgssglue-0.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools readme.gentoo-r1 + +DESCRIPTION="Exports a gssapi interface which calls other random gssapi libraries" +HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux https://gitlab.com/gsasl/libgssglue" +SRC_URI="https://gitlab.com/gsasl/libgssglue/-/archive/${P}/${PN}-${P}.tar.bz2" +S="${WORKDIR}"/${PN}-${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND="virtual/krb5" + +DOC_CONTENTS=" +This package allows choosing a Kerberos or GSSAPI implementation +at runtime. + +See +https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ +for more details. + +A system-wide implementation can be chosen by editing ${EPREFIX}/etc/gssapi_mech.conf, +or it can be set per-process via the GSSAPI_MECH_CONF environment variable. +" + +src_prepare() { + default + + eautoreconf +} + +src_install() { + default + + readme.gentoo_create_doc + + insinto /etc + doins doc/gssapi_mech.conf + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 08a1a0c782b7..d6fe9ceac5f8 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.1.tar.xz 605856 BLAKE2B d6579444952e5d2e1a0912eb799a17f39988944229979deed0ecb236515b15a9eb9776891204ad2846a5b32d6745c1e2fc3b780206f1caae85fc3208a87230a5 SHA512 ed72ecb72a5810fe93ba1b038520cd374284ba73030790c015960316d1194f5c47d4796cdb5ba040695b31b0e7fa98b9fcc41d8367692f826f80ea7b6a4e4e75 +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.1.ebuild 1410 BLAKE2B a5e89c76a4258826c11bdb6cc907b0b0296e91ed9bf1892fd3fa04394f5e0df3860c88eefebe26a7e8bc437f51f1a4f05dc2ea00a46bae973e2cc137ea6aa652 SHA512 2948f3c2a252b0308b6262fb5240b2494940f787c88cb7d4a2c5a4e7abb4c25854bfbbc67195db25908a918b1b4c129fa8a0150c4aee12a3f529e2e4cb70a2e8 +EBUILD libktorrent-24.05.2.ebuild 1429 BLAKE2B 9385c2f22b0bd2b0116c3d5fca5177bacbec119a81ec29b60e59f18e739fcd01866c67dcbe527873e507f9a3fddce876ec9d2c2fe4570c853327316500d1392c SHA512 8b67dd05a78c90a65597e0cf12ed15a1a57a6e0cd1f0e83b0814cc3120b08b3099ace47b6e2c6df3e6f62f38fead40022b65ca4fe03c0480e9c4b70a01e56ee7 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-libs/libktorrent/libktorrent-24.05.1.ebuild b/net-libs/libktorrent/libktorrent-24.05.2.ebuild index 1740a7f54320..cf1763fcbd13 100644 --- a/net-libs/libktorrent/libktorrent-24.05.1.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" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="" COMMON_DEPEND=" diff --git a/net-libs/libmicrodns/Manifest b/net-libs/libmicrodns/Manifest index 6d66485ac646..cc5ba9723ddb 100644 --- a/net-libs/libmicrodns/Manifest +++ b/net-libs/libmicrodns/Manifest @@ -1,4 +1,6 @@ DIST microdns-0.1.2.tar.xz 49420 BLAKE2B 247a82c3bb038487390ba967387e9d4cec638ee5315290387c5b8863afbd45cc0700a3ee6c0308db253a161b5c1d345f77808de96df3f31bfaa2ff74e8fa3c05 SHA512 a6b15c65c74560fdba8973c63ffae9cdde4445f54196bb2d7d6348f6c15f8f162ef0a4e91b969ea3f2a60c701c3cc72799fcfba2fbf08c37f71ba8d5e3409702 +DIST microdns-0.2.0.tar.xz 50544 BLAKE2B 6f224f7c891e2f14e7c1c97a259ffb323193f8362a728559a506dada6726b25618f86b71f33d7dd0c240d943f5e6b44fadcd2deabff7bacaa53968128d350a0c SHA512 fc642d463f52409e76515897e3662b7b08ee35dc760e595980c343a4fd24f1b76cdfbd4f91ea2115a02243be8ae8908670440ead96715c8983abb2a8559702b6 EBUILD libmicrodns-0.1.2.ebuild 697 BLAKE2B 55ddb8252a091d04220bafc621bc8372c0889af4d871bd91a28f530268c5556b078a1794ace5408881e13ee27ffebe51c61bb20e0821669f72a08a96d5e7d564 SHA512 513205c31d900d803c11ff97d67cd944ae2bf0d01b229fefe350e85c4b6148bdaae11cab0736de4dda8d73d4d85d706080fa28c505a0dfaa3670b2e5e68c818f -EBUILD libmicrodns-9999.ebuild 702 BLAKE2B 450e158c3a29a2aae07524991544e20e0f32f21a384b6adf1fe41a0e906d9a7b25e464a4cda3fac3fad1d3d8d3e99abf98b13f132ab8b36f3055b1bcbece848c SHA512 d6be2b918b1eb3656648ecfabab89b5ebd841ec3d2cdf9898ab17535e9c7de638dca67aeb58cbcc0f47e6528cdf1f819aca8fafa51673c3ae6003ccdadf4fcb8 +EBUILD libmicrodns-0.2.0-r1.ebuild 704 BLAKE2B 459e4bfb9ba3629ad948929ff39b4e4adf5a8e7a6bec76656c11300208392a41ddaab3c66fa06713845bf80c81a3335ba1ac1e1c3ad6c14f94c75abb075fafcc SHA512 8ca6ddd7dbf6372077947873f6efcc23866955ad9204f16c7f3154e5ce5a6dfb5c2a31851e0128840596cbdced2ac43d26f01007b88b8829eb11474db1b21ecd +EBUILD libmicrodns-9999.ebuild 704 BLAKE2B 459e4bfb9ba3629ad948929ff39b4e4adf5a8e7a6bec76656c11300208392a41ddaab3c66fa06713845bf80c81a3335ba1ac1e1c3ad6c14f94c75abb075fafcc SHA512 8ca6ddd7dbf6372077947873f6efcc23866955ad9204f16c7f3154e5ce5a6dfb5c2a31851e0128840596cbdced2ac43d26f01007b88b8829eb11474db1b21ecd MISC metadata.xml 254 BLAKE2B 4f83405f0c5f776131825e94db2344f42dbcae710a30024d85374b3d0a3945f711c4f45f85f30a3b09eed0775dd38be7e73c2cc27016cbf2203e0ebef6addf41 SHA512 1df82bee3f7e4594a26a409efeda2283088993cafd502ccc7bf68fc73b2c857b1d61268a0a32933ef99f413d9541e8473e69969805240855da97ebdec9601f99 diff --git a/net-libs/libmicrodns/libmicrodns-0.2.0-r1.ebuild b/net-libs/libmicrodns/libmicrodns-0.2.0-r1.ebuild new file mode 100644 index 000000000000..6a076c8ef15a --- /dev/null +++ b/net-libs/libmicrodns/libmicrodns-0.2.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Minimal mDNS resolver (and announcer) library" +HOMEPAGE="https://videolabs.io" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/videolabs/${PN}" +else + SRC_URI="https://github.com/videolabs/${PN}/releases/download/${PV}/${P/lib/}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}/${P/lib/}" +fi + +LICENSE="LGPL-2.1+" +SLOT="0/1" +IUSE="examples test" +RESTRICT="!test? ( test )" + +src_configure() { + local emesonargs=( + $(meson_feature examples) + $(meson_feature test tests) + ) + meson_src_configure +} diff --git a/net-libs/libmicrodns/libmicrodns-9999.ebuild b/net-libs/libmicrodns/libmicrodns-9999.ebuild index a32f68efe0d1..6a076c8ef15a 100644 --- a/net-libs/libmicrodns/libmicrodns-9999.ebuild +++ b/net-libs/libmicrodns/libmicrodns-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit meson @@ -18,7 +18,7 @@ else fi LICENSE="LGPL-2.1+" -SLOT="0" +SLOT="0/1" IUSE="examples test" RESTRICT="!test? ( test )" diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest index 20e54cfdd781..be3a03049c60 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 2478 BLAKE2B 4f4f097ce9047fe871cbba0973a162a309cb32e1c1a6313dbc2d917f121b3b81431f671a3bb84c0062a19f29a57394b47e3daee16908d73d84397f41b2a0870e SHA512 c987da0b51a7791de5a82471e7aa80bd3234c8c619eb5a70785203a65fdb314c5ad16788cd1bfdcf0acf1b5c5955f8f2f9ca5c19e0eab5974a8455008dec4be8 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..85706c6b87d1 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/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 7e45956a304b..d5da6e6f083e 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -1,6 +1,9 @@ DIST libnftnl-1.2.6.tar.xz 336684 BLAKE2B a08010b26db0c7a5429f33a92ca4f17e8e158005befa5f7e3f37d60456d1b481a3f95f46c0bcec74e98ab040940f533acc279672226f0abc6ce73a26ff56718a SHA512 0c8c369eec84b0c568f0067598bece6e3be9a0fbd977e443ae3b14a5a6d842a6086ceb5426a65f8c77204709655f148c1241193f1a928f8c12154a57e3548b34 DIST libnftnl-1.2.6.tar.xz.sig 566 BLAKE2B 8ad336d0d8c693beb6335e874ad62040257e0c4527f8acb32fcc8b4889eea88ba3a42c9b2b795db6f6e3d148066ee0a9217b1e30c7e784c793458dd480ee624a SHA512 61288aa03fb80d43d09866ce549815202f682b30b283cf3119ced0fe59536d10f1c029e433651d1cb31115e977b660886a153f3361f5cafdbb0ed6da602e5b2f +DIST libnftnl-1.2.7.tar.xz 343876 BLAKE2B 42decbfdfce07c4743e7a55cf3d5d03a244ab6ac5e0f33107322ab44edcc96d360ac02f0376786656a5f7d43986499474e20a5b835f838e06d12efb017dd8eb4 SHA512 24ff3e7e97f51cb5dfda2fbd2f5e175abcec0dd58f94936022800ec356ff004a531f0915df72278b867769ba71473d407b01d52cc33a3cafb043d9a90b051f9d +DIST libnftnl-1.2.7.tar.xz.sig 566 BLAKE2B ad79b0a149d37c0ae32bcf8c64b34e02146242ce731f6860bd8d63d90e96a58e04616d543783b8edc13a0f2ca6286c16c9d8b17c34d8e8920f680a17ee70bde0 SHA512 8bf9188a287850a5057be452541871af69187c4dacde580c57be15e7f3357ab4a874745f326880260e2c2b1486e59b684db41b0d8afd57bab9d77ad62ba052bd EBUILD libnftnl-1.2.6-r1.ebuild 1562 BLAKE2B 3430f30c2094da8ae0182df379a27e86d37cb2600c2b8dcebb72d1facc95150ea6046c67dea3697119ef9524c38eb2da416b6ed579a61f716449ccc0d2159a2b SHA512 2e3e2bac94db2611524b0b06f29196fd42e7d67fd0cbbd2b71e728cee653bb731ae5c0f7dadf8d3b0e75e211a662ff5898bb5d7b81da6caec5909b9ef2ee2c50 EBUILD libnftnl-1.2.6.ebuild 1603 BLAKE2B 46c2bbd8bc269cbcfb3a1ed821aa80b9e3f6636b3071ffaabe7540414655cf961b318e13fe04f40e24701548fea2309c2c73dd0a36dc601ef4c0c4702350debf SHA512 026670ea52ac3999946baafd5e4987ac94235c0a8fd24ebfeb1251b0c30034a17d9e5fde7208e30ca66a360f771ec2d6522a51357f4a2c6e0a6590f5a4cb0b88 +EBUILD libnftnl-1.2.7.ebuild 1570 BLAKE2B 87955db35b0fb5aaa053a3e40746b5f893c1890760cbc26b25f843479d67fea8f37a003d5d78f2557f713c046379e9ee6943e123e290302023f7db707eb680dc SHA512 df1e228e7323c4e1e35477f6647c90e3cae9cb68b29fdb41e4f296ba578ed2d1f3980a86e15941140b3225eddee70d553747e40fb516dd51903120330c38508d EBUILD libnftnl-9999.ebuild 1570 BLAKE2B 87955db35b0fb5aaa053a3e40746b5f893c1890760cbc26b25f843479d67fea8f37a003d5d78f2557f713c046379e9ee6943e123e290302023f7db707eb680dc SHA512 df1e228e7323c4e1e35477f6647c90e3cae9cb68b29fdb41e4f296ba578ed2d1f3980a86e15941140b3225eddee70d553747e40fb516dd51903120330c38508d MISC metadata.xml 338 BLAKE2B fc63cdfa0a08b5933c6606290f44c4aee56f65224222425b6bf3b1c88427d17b5222a31126c38b326bbf8095786cacce65121103fcd45ce27aa16f9bde979a82 SHA512 1875b393684566e8dee08cfaa9fb0f19196121e500bab6deef6895784d33cdf2e2a7a96469ae57a02654f7dbc22e8af03b15f5a8a3dd840743ef077dc68edc71 diff --git a/net-libs/libnftnl/libnftnl-1.2.7.ebuild b/net-libs/libnftnl/libnftnl-1.2.7.ebuild new file mode 100644 index 000000000000..3559fe7f2439 --- /dev/null +++ b/net-libs/libnftnl/libnftnl-1.2.7.ebuild @@ -0,0 +1,71 @@ +# 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/netfilter.org.asc +inherit linux-info verify-sig + +DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" +HOMEPAGE="https://netfilter.org/projects/nftables/" + +if [[ ${PV} =~ ^[9]{4,}$ ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.netfilter.org/${PN}" +else + SRC_URI=" + https://netfilter.org/projects/${PN}/files/${P}.tar.xz + verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.xz.sig ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )" +fi + +LICENSE="GPL-2" +SLOT="0/11" # libnftnl.so version +IUSE="examples static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=net-libs/libmnl-1.0.4:= +" +BDEPEND+=" + virtual/pkgconfig +" +DEPEND="${RDEPEND}" + +pkg_setup() { + if kernel_is ge 3 13; then + CONFIG_CHECK="~NF_TABLES" + linux-info_pkg_setup + else + eerror "This package requires kernel version 3.13 or newer to work properly." + fi +} + +src_prepare() { + default + + [[ ${PV} =~ ^[9]{4,}$ ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die + + if use examples; then + find examples/ -name 'Makefile*' -delete || die "Could not rm examples" + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest index 59fde3ad9b19..6156f6380601 100644 --- a/net-libs/libnice/Manifest +++ b/net-libs/libnice/Manifest @@ -1,6 +1,8 @@ AUX libnice-0.1.19-remove-graphviz-dependency.patch 1054 BLAKE2B f0e6b17994794e7418bfd4b5fbd070d078258d419e2704ab600aa426f911d1d4e95f8c97bc5f598da1901b940e180c537b38751c69f48b9c39ca17220a22eb5b SHA512 770caf8a3dfce997cf8145fff83c511b193beca747479752241186dea367f1b4b0722696945736102f6f9bc7a4a3c3e77d30644ea4406bdee8dd8376a8f4b007 DIST libnice-0.1.19.tar.gz 453407 BLAKE2B 7bffde82a3e55d9aeeaadd159d944346a5192871e7f574e278dc43e8171e5fde472cd28186777a0b6cddd8bde34e035794b1c6b8f152c7fb4fae5202025bfdac SHA512 1c63cc0b7655186fd6f83da4dd607183d6ccfab9b7ad7189c1bea2ba7413183f24076aba5d6c7231d2ab3fbd471827256729a8a0c0d1bda48803586e68b3778b DIST libnice-0.1.21.tar.gz 460086 BLAKE2B 61f0807ad0d959ffbaf8dce7b0321a19ae42e4c57cc6ac9b8f39bd27645ef60bb342f4105b6ce4c4c82573592a52388888d72031033e9e7368f8b5d53afa37d6 SHA512 acbd1e0e8aacb0a65cad5b70b470a74a7c4a4f1306bc4e17cd4fd899f2fae2bb538bd099e6c0f9cba6bb9a38e95bc14087aa4f77f6aa5b70d6398179783c6e26 +DIST libnice-0.1.22.tar.gz 460696 BLAKE2B ebc4877664568e9a93bd3eeb93c1e6fd067df81596cff2d4ca74fc8e30c7b3af0eb0dd98e605f58161d6f002a5b91b13237ae63fd719d37ad3126a2bc3f0a7e7 SHA512 c3aae2d36d2cec8654b87ecc464296711a4a64335052dfc1477f43f59e90341f7a6a01ebd4edf91a72d9ec425440e6dd0bd8f817c77e03578854e70193b3306b EBUILD libnice-0.1.19-r1.ebuild 1655 BLAKE2B 83d1bee97d72aadb74b65b7f8ff5b5579db17a164220a6feb715eb1aec302a7131eb881be94adbfadc78b8c5026f185e12c1d9542454cc49ed909993fe8fba71 SHA512 23a8ddb951117577b405db4cc891f104d657fbe41d1e473e3143e5b1d5c14905f718d8762c322da9ab29d4db0757c29ad411d26f193a8ad2062b2e9cfe97fa23 EBUILD libnice-0.1.21.ebuild 1655 BLAKE2B 83d1bee97d72aadb74b65b7f8ff5b5579db17a164220a6feb715eb1aec302a7131eb881be94adbfadc78b8c5026f185e12c1d9542454cc49ed909993fe8fba71 SHA512 23a8ddb951117577b405db4cc891f104d657fbe41d1e473e3143e5b1d5c14905f718d8762c322da9ab29d4db0757c29ad411d26f193a8ad2062b2e9cfe97fa23 +EBUILD libnice-0.1.22.ebuild 1662 BLAKE2B c3cf7bb2cbcd653c847e769ce1aeb70189aefde82778a8676b8b6cfac24351777f6fc0fb8dee8294507c32eb0aa43e610e833ec445278cdc6682cc15e56753bc SHA512 6f6c657de3da3dc4bcf656d79eb471a964503090558f7dd0836ed3bfd3659af58c47b49508d8610c97eeaa754fafaaffe10aa21702a436702db6415fe34c8ee3 MISC metadata.xml 265 BLAKE2B 62185df549a5149fbedc3226512a38a2ab3a45bb6bed1c57c52f7e1d03832d47bffeaed10fb1bbe2d4dcdaaafb988f00c48c60247c069b527a8fb772855c3636 SHA512 1511e91cb7da5a9f719039f4d8da162d3fc746831b20685fa5945d0a8d549cc7f0d22ca6b3f0f741d276913dcd2037a685cca1ed3fcb3fa65580190b442f64f6 diff --git a/net-libs/libnice/libnice-0.1.22.ebuild b/net-libs/libnice/libnice-0.1.22.ebuild new file mode 100644 index 000000000000..4000a0166136 --- /dev/null +++ b/net-libs/libnice/libnice-0.1.22.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit meson-multilib xdg + +DESCRIPTION="An implementation of the Interactice Connectivity Establishment standard (ICE)" +HOMEPAGE="https://libnice.freedesktop.org/" +SRC_URI="https://libnice.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+gnutls gtk-doc +introspection test +upnp" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.30.0:= ) + gnutls? ( >=net-libs/gnutls-2.12.0:0=[${MULTILIB_USEDEP}] ) + !gnutls? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + upnp? ( >=net-libs/gupnp-igd-0.2.4:0=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.1.2 ) +" + +PATCHES=( + # bugs 877451, 889820 + "${FILESDIR}/libnice-0.1.19-remove-graphviz-dependency.patch" +) + +src_prepare() { + default + + # Broken w/ network-sandbox on (bug #847844) + sed -i -e '/test-set-port-range/d' tests/meson.build || die +} + +multilib_src_configure() { + # gstreamer plugin split off into media-plugins/gst-plugins-libnice + local emesonargs=( + -Dgstreamer=disabled + -Dcrypto-library=$(usex gnutls gnutls openssl) + $(meson_native_use_feature introspection) + $(meson_feature test tests) + $(meson_feature upnp gupnp) + $(meson_native_use_feature gtk-doc gtk_doc) + ) + + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs +} diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest index 6ffdedc13a50..d1c1155775f8 100644 --- a/net-libs/libnpupnp/Manifest +++ b/net-libs/libnpupnp/Manifest @@ -1,5 +1,3 @@ -DIST libnpupnp-6.1.1.tar.gz 549925 BLAKE2B b7d8db7ddf58f77ee855dd6e82567a8e0edf1cbad468e2f4fa9a813908ec3c25a304fd3f41c592f5dfda46831998bf74a39a1be4cb3cd63cdac55f5aa2bc08a0 SHA512 905c0dfc7f018a80380406682550271893d795a1964bb5e7c4a56c6934ce06b9b6e29a2c5a7a9c4bf1a5a2348637ad6af3fd99cd38d7bba9d935fdbec6a6dce5 DIST libnpupnp-6.1.3.tar.gz 448010 BLAKE2B 3bba4abac3702fc5f675110aacdebba0e0850cbf5edfe357944415aff4319c375674fc30418cbf74bfcc6a43ab4c8e308310f20cdb87eb5a9f3338895facf4f8 SHA512 763bf891a45efd1e022259839ac258b961a81a0e1e45d0b14c8a84a1ee3cdd02897ab98b9c4264871e2ec9cbc6cd315311d0a058f3fa0040b0f1198d1bd4b986 -EBUILD libnpupnp-6.1.1.ebuild 852 BLAKE2B 2b0f81f1c8b03e27b691658f994fae6db0359faa1a4855cd6c03cc41ebc9378d6b7878741b448362bc768520cb08867fb31e41dfe205b75e09203db46f88779a SHA512 36193dc55749a53b9402c1d6b9bb4e7cdcafa96abb98f3b4a39c59543b2eb8ce03ae40edca004463b3a0d4d5137d8ef27762226fb8c66be9958a05fe81aa5c5e -EBUILD libnpupnp-6.1.3.ebuild 493 BLAKE2B 880a96df116c17641eb798c5035a05a9b1c08b644884b8e623d69749b13360d117c70aa4800161701d63e58b8f7f444c7e3631ffaf3b5c86687095ffe0b7c9dd SHA512 42fc1f1d7a6ad79e5356207bba6541745f9a98d18ad97137f5cab0e0f5abacf3e30c22b7e3adbc4546fab27dd1efa9074a0c8945b6a9222d6fd8da989b63c7c5 +EBUILD libnpupnp-6.1.3.ebuild 491 BLAKE2B 2458a0acfbe7be59021770859a9e46cd64b076ffac81af61add19de5f0cf7387a700533838b9e34b2d4016afb7aa07ea0474768b3f05223dca936f8d89683672 SHA512 73b4caa4e784e78a5a5e47fc08f489c067fc9d1e07380f7157aefd1f36b233bc151c9c869c4c6b1445dcc01ab6192846e3730300cec0c7141fb17594db19e01a MISC metadata.xml 536 BLAKE2B 10f40312537ef0896c90f23ff327c320fd6c983227f182b46fa2d2d3bbe83044894f07449c9c119c5aa89dc8a889405f14437c0a84c6c52d0116818f9d169d39 SHA512 82d22e0273ed07ff51ce763851f8ea0070e10f6665763543cf96518ab9ef53005c88588cfe3f94855da74a17eae68118d263f12478f0928aca4cad6cce849677 diff --git a/net-libs/libnpupnp/libnpupnp-6.1.1.ebuild b/net-libs/libnpupnp/libnpupnp-6.1.1.ebuild deleted file mode 100644 index cc6a0334d4dd..000000000000 --- a/net-libs/libnpupnp/libnpupnp-6.1.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp" -HOMEPAGE="https://framagit.org/medoc92/npupnp" -SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-libs/expat - net-libs/libmicrohttpd:= - net-misc/curl -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --enable-client \ - --enable-debug \ - --enable-device \ - --enable-gena \ - --enable-ipv6 \ - --enable-optssdp \ - --enable-reuseaddr \ - --enable-soap \ - --enable-ssdp \ - --enable-tools \ - --enable-webserver -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/net-libs/libnpupnp/libnpupnp-6.1.3.ebuild b/net-libs/libnpupnp/libnpupnp-6.1.3.ebuild index 95bffb2a221d..1b39d463d420 100644 --- a/net-libs/libnpupnp/libnpupnp-6.1.3.ebuild +++ b/net-libs/libnpupnp/libnpupnp-6.1.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-libs/expat 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/libssh/Manifest b/net-libs/libssh/Manifest index 1116f247a920..79d1d594138a 100644 --- a/net-libs/libssh/Manifest +++ b/net-libs/libssh/Manifest @@ -1,7 +1,7 @@ AUX libssh-0.10.6-ipv6-hostname-parsing.patch 5095 BLAKE2B d231effe7a624f3d42ccae9ae2f8db5d567da3ff4c32f18ad217b11a19f9fa919b6feb42aeb82b8f9b15063ac252db44d79efe27e056f533d1eebdfe9b3d4b8e SHA512 8612f8c9f90e480e8ce4657ba6a150a09ad080c2ed8d4f4a1902fd57b4008d68edaaa31dd3cfb423f2619f580ec0c8b6cd711a91ad6c161f207c8e719200f385 AUX libssh-0.10.6-libgcrypt-type-mismatches.patch 2544 BLAKE2B 14999447e240fa7a2a5e09d04a09f7a95049482eec3aa9e7094d11ed5a5720a901ac69b663e680e5413dac418792a0701ce3bd294b84e1d2310c8a5ca837de70 SHA512 949789b95347a23eccf9a1d4e4f37a1b410a912895d369aa3c845f44a3dd2213cd507b49ea3ef7f42b83fcb758ddcba7bc443e2f260253eec46e0c2d3adb4222 DIST libssh-0.10.6.tar.xz 561036 BLAKE2B 6ae1c611b685fa8ec5e5fb159f93493edf4d8ae8536300cd9a357daadc28ca2fbd8a64a22157744bc97e2e672b0b84b58e1167d7369fe88306b3581098af9f57 SHA512 40c62d63c44e882999b71552c237d73fc7364313bd00b15a211a34aeff1b73693da441d2c8d4e40108d00fb7480ec7c5b6d472f9c0784b2359a179632ab0d6c1 -EBUILD libssh-0.10.6-r1.ebuild 3629 BLAKE2B c8b7ece541317689831e5197cc0066a80bbeb2962a611006f364077133efc929ce010d2868bc7d9a25f658f310f9b9b30578a28f3b65346b9353ad2a4f2ebf1d SHA512 b47081dcdcad2846ab6d0617c4b9751c78e3db9250d9216c636807c622401d8add916cc4cd1e4f5c2276a89e87038915f9ba49bb45bca91e6f9e9997714bd723 +EBUILD libssh-0.10.6-r1.ebuild 3622 BLAKE2B 12282339db8d0c4d42ffba5f998331ca6479319e4a4cb1510a01d88beda631d91a05ffb531cbe94560fd5b6eec50decbc9796aba753621a49a420643d11e8517 SHA512 5ee450cd25a0c0b8f9462cd53e44d7db14786b38c4f1e705ca7b60113d56bd4bd128e725aed7787f833b224d7a07aba7f28fc7f8a0d9f23c492644805a58038f EBUILD libssh-0.10.6.ebuild 3495 BLAKE2B 14035950f9906974d2e25f5aed3bc1ffbccc2c5f6628d43f00c495d39a2a9fd52fd84257e252468b04430540ccbcc2351248c49489a17e501ee88977d96577d2 SHA512 9feed2dda2d5d3c0db116d01e34adf695b15149ca0e4532074a84cd279ced5ece624c5bd4297b59ea8847061af366ffda9d605e46e6a034273910479f1dd0266 EBUILD libssh-9999.ebuild 3503 BLAKE2B a91bb2d862b5e15f9c57619325781a603b685fe8fc2995a287136fc0178c1b2461b9471822a2be4623ce77b852063139590ae54af6cc52d797598e4103a7090a SHA512 0ef5869b0e59a14dce1069dc6dbea6720df0ea32a89831a045d3654548535c4bb9b7262b2dbbee77d573e584d70eca3e9522cb2350a16e61d2446cecc022868d MISC metadata.xml 783 BLAKE2B 79be0ef9802a5f1d58b866dd2738a721696b0a4a1b6fcf44b024c74593ba9737e4a64ce2cf1cb8ba4a17139da06ccbe2fe3d8365221159ebf797de1c4aa5b490 SHA512 f2204075966244ebc337663f1a9d010320dffeda90954c6bac69c22859fefd2b6ca0ff5809fc2d34743de6400e3d9da234c5b8a9ef211cc634f381ded5d97825 diff --git a/net-libs/libssh/libssh-0.10.6-r1.ebuild b/net-libs/libssh/libssh-0.10.6-r1.ebuild index fcdd767eddc4..e1eda0f17777 100644 --- a/net-libs/libssh/libssh-0.10.6-r1.ebuild +++ b/net-libs/libssh/libssh-0.10.6-r1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]] ; then EGIT_REPO_URI="https://git.libssh.org/projects/libssh.git" else SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" fi LICENSE="LGPL-2.1" 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/libupnpp/Manifest b/net-libs/libupnpp/Manifest index 84c39c25cdd8..1806eea192a8 100644 --- a/net-libs/libupnpp/Manifest +++ b/net-libs/libupnpp/Manifest @@ -1,5 +1,3 @@ -DIST libupnpp-0.26.3.tar.gz 485173 BLAKE2B 9afc516118410bd5ddffe8f59848f25f5fc1da3247127b0fee2d1d6cb18c21247c14628e0e82d1d5ecc640d217a5b463bb692e39864740966a83025801173f9b SHA512 78f9f3fabfbe3f79dc75153e95dc12e6a45064ee853ba19d8e0354baa37e7a2f673d4bc27b73196d91053f976fca7d5837b60de485a48150f6d20217ecedfc78 DIST libupnpp-0.26.5.tar.gz 127254 BLAKE2B ea34f4bac12a75bb63c6e3f05d10fb5b7e37083d4ee98b5b9c28c7078d4e864f200cbb42cd4a8c1e6c7f567f062d0682f827f36e0afa27047881d8887e7e1531 SHA512 619de7f1448dd7473af8bc980e6806c60a6223b26ebcccb1e0a857af48868fe81d8f28cdc713d84c720072f07630751149d1ab5b2a1c5a0890822308ce7bd18e -EBUILD libupnpp-0.26.3.ebuild 566 BLAKE2B 72b6e0734841f17e7666776c9becd16b68f3cb7a384d73a06fff3051a1124b54517e1408e340e94e1fadd9663093957958906cc80845760dd0138132c5d96b4e SHA512 38e01153177b77d25dc9c58a2cbe855371f59d4a7a4201f3e9b71c187fef552114038f9f488c75659d372ce13263031dade438de6350f63cb06a777f5221c2e7 -EBUILD libupnpp-0.26.5.ebuild 473 BLAKE2B 8acf2c717b8155452d40e1b8d6044609a55fed3afb23c4a83fa1bc478a756630cee5dfa8fc4d7afa837869d47b4a9aea973d23a43005bd006c9d7d5f091db616 SHA512 476298e13542f36ca9f7c2b44358f9172275e46b3db226188f95e5cef74e814f0793854ed3049a4317a2aa032e7cc24b1d12fc620cdf082f7c299f2714dc9020 +EBUILD libupnpp-0.26.5.ebuild 471 BLAKE2B f6a40dc96bb39ccf94b8de349a24d4ff3ed80de4cfc815d21163d60abd5f1efbdba189f153622b726b37df1ecdf6eea5b21c5d598da6a7cad6201ac1b0152b0f SHA512 12c6c620dff80a3d33bab6f5835395d7a4157df1817e59205426959c3a61ce435b3dfefb2339bbde06c71224f735fca77dfda04749e4d57680ab54f7b64dcc45 MISC metadata.xml 218 BLAKE2B a724c5fc41f88a8b75cf9091c58241ae839c3d8a0275a28e4b61e76d8d51865b3dc363752961f61562b702b9e70c49643533164340360ac2d1fd41f8487d5c82 SHA512 e4a1847c2fb757c0e4fef284e730e49814e005f0fd7fcc12a3a4ed70867160635cede513455be1e88ca1b7fd8e671655ac6475be3ea8fe47d979523970ed2851 diff --git a/net-libs/libupnpp/libupnpp-0.26.3.ebuild b/net-libs/libupnpp/libupnpp-0.26.3.ebuild deleted file mode 100644 index d0c5cec12aa7..000000000000 --- a/net-libs/libupnpp/libupnpp-0.26.3.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DESCRIPTION="The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay" -HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli" -SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -DEPEND=" - dev-libs/expat - net-libs/libnpupnp - net-misc/curl -" -RDEPEND="${DEPEND}" - -src_install() { - default_src_install - find "${ED}" -name '*.la' -delete || die "Couldn't delete .la files" -} diff --git a/net-libs/libupnpp/libupnpp-0.26.5.ebuild b/net-libs/libupnpp/libupnpp-0.26.5.ebuild index ebcc007281ee..3a5d54e39669 100644 --- a/net-libs/libupnpp/libupnpp-0.26.5.ebuild +++ b/net-libs/libupnpp/libupnpp-0.26.5.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND=" dev-libs/expat diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index 17076118c8e1..5ed65255e680 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,5 +1,3 @@ -DIST libwebsockets-4.3.2.tar.gz 15616264 BLAKE2B 3b8657b79828102cbfba71ea789acd3b7aec7faaa6317974d182b3cb4b5091d8efcf1f184278f71674624a0f1968450ab056e1d91f9faf2c35c67c6c6f4cb695 SHA512 68d18574dea0563fa4f080c5d0d1cfe21a115bffdb17c6190f6741998f1e5db0739e252ef344ffe6fa4bd6781372456b240539471dd2aa900e43759e0f2d42ad DIST libwebsockets-4.3.3.tar.gz 15618186 BLAKE2B 24393e0238160767e77a428b1db8430ae5c6efa715e9d917a3fc64c8272e92c8617031c50a75adea4199d678f5ba752f49c24a5d9214aaf43d4e2349c03494ca SHA512 2ffd248ddf283369725097ca7410f947fe0389c360b329c76f0754afab4ba87c20a0687c5e7b8bd991b157f9d20c6faa3049757b3398e66d08662c3aa7ff9658 -EBUILD libwebsockets-4.3.2-r1.ebuild 2374 BLAKE2B f67e0a055bb88559743e3fd018e936d49113ff79bdb45ea95754181b4f24863f14af52164c14ff3c0470cb8f19ad50d158259efc98c893d257d64b504e13b251 SHA512 211bba79d0ad03e18a94e9ae1aa1d2ba17bde80e1ae01756183cfeabdde19cfdd947aaea43e847302d7e00993758fb252832d700f42f039bdac08d6840604faf -EBUILD libwebsockets-4.3.3.ebuild 2379 BLAKE2B 210ddb377a0d241494fe512175979bb4b9055efe572a871658155ef1c0dd3bba83c24eb4df2e47ec5dd2582eefb7a3799bf9fa9cd6eda509e693e40ada24c12e SHA512 6652095947e2a9ab5cc11a83d633b9d6848b6c8c655905bcadc8c9de21d22fd45ab5fa56da71423a2de6e8bc7e8e0ef0d61a2ee332b73889c8079b15bf52d6e9 -MISC metadata.xml 1306 BLAKE2B 8985a2b8d74a56814b7cdc48bc0c97d925f80110bbb6528e5bc9775e651af3eda8ab9ff671850fc29ef0c4a57d2da7b3222da368b5130ac00bcde76aed55f795 SHA512 f1312c493a7a33fb96de4e466ebca8f9317c177c9b98287845be6b6ebbd713a184016b03509743fb820c060fad38b4565e15b2037eba907b6f8744a33ed45065 +EBUILD libwebsockets-4.3.3.ebuild 2374 BLAKE2B 5527fb927baf23004f04a042b26b7787726c0cf83e0433d7d9610952ec80414ea5b6bdac35323b76971d7a287c84c84f2a920ebeafaea4aba43cb09456164228 SHA512 55dde56b88038faf1a207c2dba2b9b517af7448ee24f0513d51d80741aa691dbd17e1ff6709a30d5e66f02cadc9a0a6fdadbafabd8bb0e0a9c76e8d9aca84882 +MISC metadata.xml 1444 BLAKE2B 2273176491418aba627a4aa9f2e0d944af502632eb83a6896ddb86483567842b67c37a50e226448dd21d0fb51ddebf254919960fd40c824ba9a6a0ecaf9f7830 SHA512 b958602935b6c0e72ce6e1044345980b8dcc1469e875771bb147fda2911a04382b290828c22c440d39a67ba5e36b0b7989cde08a6f06f53667963c393e36355c diff --git a/net-libs/libwebsockets/libwebsockets-4.3.2-r1.ebuild b/net-libs/libwebsockets/libwebsockets-4.3.2-r1.ebuild deleted file mode 100644 index fef44cb5492c..000000000000 --- a/net-libs/libwebsockets/libwebsockets-4.3.2-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="A flexible pure-C library for implementing network protocols" -HOMEPAGE="https://libwebsockets.org/" -SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/19" # libwebsockets.so.19 -KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv x86" -IUSE="access-log caps cgi client dbus extensions generic-sessions http-proxy http2 ipv6 - +lejp libev libevent libuv mbedtls peer-limits server-status smtp socks5 - sqlite3 ssl threads zip" - -REQUIRED_USE=" - access-log? ( http2 ) - generic-sessions? ( smtp sqlite3 ) - http-proxy? ( client ) - mbedtls? ( ssl ) - smtp? ( libuv ) - socks5? ( client http-proxy ) - ?? ( libev libevent )" - -RDEPEND=" - sys-libs/zlib - caps? ( sys-libs/libcap ) - dbus? ( sys-apps/dbus ) - http-proxy? ( net-libs/libhubbub ) - libev? ( dev-libs/libev ) - libevent? ( dev-libs/libevent:= ) - libuv? ( dev-libs/libuv:= ) - sqlite3? ( dev-db/sqlite:= ) - ssl? ( - !mbedtls? ( dev-libs/openssl:0= ) - mbedtls? ( net-libs/mbedtls:= ) - )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-lang/perl - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - -DDISABLE_WERROR=ON - -DLWS_BUILD_HASH="unknown" - -DLWS_HAVE_LIBCAP=$(usex caps) - -DLWS_IPV6=$(usex ipv6) - -DLWS_ROLE_DBUS=$(usex dbus) - -DLWS_WITHOUT_CLIENT=$(usex !client) - -DLWS_WITHOUT_TEST_CLIENT=$(usex !client) - -DLWS_WITH_ACCESS_LOG=$(usex access-log) - -DLWS_WITH_CGI=$(usex cgi) - -DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions) - -DLWS_WITH_HTTP2=$(usex http2) - -DLWS_WITH_HTTP_PROXY=$(usex http-proxy) - -DLWS_WITH_HUBBUB=$(usex http-proxy) - -DLWS_WITH_LEJP=$(usex lejp) - -DLWS_WITH_LIBEV=$(usex libev) - -DLWS_WITH_LIBEVENT=$(usex libevent) - -DLWS_WITH_LIBUV=$(usex libuv) - -DLWS_WITH_MBEDTLS=$(usex mbedtls) - -DLWS_WITH_PEER_LIMITS=$(usex peer-limits) - -DLWS_WITH_SERVER_STATUS=$(usex server-status) - -DLWS_WITH_SMTP=$(usex smtp) - -DLWS_WITH_SOCKS5=$(usex socks5) - -DLWS_WITH_SQLITE3=$(usex sqlite3) - -DLWS_WITH_SSL=$(usex ssl) - -DLWS_WITH_STATIC=OFF - -DLWS_WITH_STRUCT_JSON=$(usex lejp) - -DLWS_WITH_THREADPOOL=$(usex threads) - -DLWS_WITH_ZIP_FOPS=$(usex zip) - -DLWS_WITHOUT_EXTENSIONS=$(usex !extensions) - -DLWS_WITHOUT_TESTAPPS=ON - ) - - cmake_src_configure -} diff --git a/net-libs/libwebsockets/libwebsockets-4.3.3.ebuild b/net-libs/libwebsockets/libwebsockets-4.3.3.ebuild index 172b26185c71..2e0c4457d823 100644 --- a/net-libs/libwebsockets/libwebsockets-4.3.3.ebuild +++ b/net-libs/libwebsockets/libwebsockets-4.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}. LICENSE="MIT" SLOT="0/19" # libwebsockets.so.19 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv x86" IUSE="access-log caps cgi client dbus extensions generic-sessions http-proxy http2 ipv6 +lejp libev libevent libuv mbedtls peer-limits server-status smtp socks5 sqlite3 ssl threads zip" diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml index 20cee98014f4..d8e0bc1dddcd 100644 --- a/net-libs/libwebsockets/metadata.xml +++ b/net-libs/libwebsockets/metadata.xml @@ -1,13 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>mpagano@gentoo.org</email> + <name>Mike Pagano</name> + </maintainer> <use> <flag name="access-log">Support generating Apache-compatible access logs</flag> <flag name="client">The client part of the library and libwebsockets-test-client</flag> <flag name="extensions">Compile with extensions (permessage-deflate)</flag> <flag name="generic-sessions">With the Generic Sessions plugin</flag> <flag name="http-proxy">Support for rewriting HTTP proxying</flag> + <flag name="ipv6">Compile without support for ipv6</flag> <flag name="lejp">With the Lightweight JSON Parser</flag> <flag name="libev">Support event loops via <pkg>dev-libs/libev</pkg></flag> <flag name="libevent">Support event loops via <pkg>dev-libs/libevent</pkg></flag> diff --git a/net-libs/mbedtls/Manifest b/net-libs/mbedtls/Manifest index 7c1b7c3147db..7b112d56381a 100644 --- a/net-libs/mbedtls/Manifest +++ b/net-libs/mbedtls/Manifest @@ -2,6 +2,6 @@ DIST mbedtls-2.28.7.tar.gz 3990571 BLAKE2B 91a11d9d56fc058c3aef797e644c2c141cd70 DIST mbedtls-2.28.8.tar.bz2 3343796 BLAKE2B 1efde6698662873c40df9733bae902db4e009f3dd26a937e05707ca1a208b71675df0737b44b5895a60cfbf42f18f92dae88cba62f32b55733947b9c0481880e SHA512 c8e91ec50ab2caf1f33e907279dc30fca2a8cd97e6e531be857149589e52aeffb95b445b2a9fa674886f0071f446381da3bb8107f7e850f3390128b069ac9ea7 DIST mbedtls-3.6.0.tar.bz2 4811255 BLAKE2B d453f072c39aa2ca5669f0fe84ab01ea826a98e1e48b59b5a788e3ae948c33500e8e0565ed6481ef049ee3efc72eb92828c9d08f5606766cb6c9dbde749459b8 SHA512 5c395890d486144af882aa96c9430103f79df889139969a64a490c0cafbdd5631a72bb668aa59b062204f19a5bb36dfcc5a096b59d76c7ef27f2560cd2388682 EBUILD mbedtls-2.28.7.ebuild 2784 BLAKE2B 7cc403832b6bdfd94244755f94021771d1252ded59e52062d4c9692660935bce71df7ec11df01af02c8cfd1ec86896133b096cf1e2e67ecf528143a3047fd3c8 SHA512 e6e4847a94a9092c4fb161c1e86e778c6581dbb65f8948367723fce817438be8f5fbab46dde49a87b4c06937ed65b74f364e4db2fb29210b2452fa9d82ddc9bb -EBUILD mbedtls-2.28.8.ebuild 2783 BLAKE2B e1d56a0251125cd8a343aa49e5160ff6eda00e07f5484ac59a56d4e2e2bd3904d1ccb8b4117a2cef997696ad99fa70d972c8c96d30512de650467647d48c26fd SHA512 2191649f677a9d8e5cdc39e2a1ef272c07f607449747e8f5d83424f06653a198dbe790045d323053aa8588b5ed5fab2a77fdfaf0bc5d0da5421911fa64a56365 +EBUILD mbedtls-2.28.8.ebuild 2776 BLAKE2B 5624472a6c9b6493e54bca57557d551b89236f51d381a4e7c3f0194ccda700a52813c1a4da196e68ceb5195b8cb27734b497596f6c69c6906026f591930c9d3f SHA512 b2ec7f9bcb002a7c1920d286d6434ae8be34941b8b524edec32fbb1e4959ae12dbb38b5b671ae8a13c6e43ccc602116fbaf685f0b3c26fa3a95399a6b9572645 EBUILD mbedtls-3.6.0.ebuild 2490 BLAKE2B 12db043b219c7e107907e09aeb8817663ede8e7bddc3f9832d6fc0f90d4135da90032d06263e0ebad8c784d8a354b2beafdb8e99182091136326ba65885dbfe7 SHA512 01f664005db60f5eb04b5187be6568aa54c00016dc92264759cc291ecddbbcaf958dbbc2e9086c3139f13e1d8376ff69b5d562d184e8eb8c45782f1142c3f2af MISC metadata.xml 1058 BLAKE2B 6b3d24de59849c4fe1a629007300b3bc85aa9e7808e54f91a257c5d9de5eaf7b0567ad248aa928ea6b30a8977ff2d70410721bb03a7839c3f97d7d1c5f416e13 SHA512 8f8a6fef48532d23d10efc7a2334606840ae80d46373a423ab1898950e23487587c8babca2aacfbe7fa5dd4d1327d42e171ad01235f813541acfce27a0fa968b diff --git a/net-libs/mbedtls/mbedtls-2.28.8.ebuild b/net-libs/mbedtls/mbedtls-2.28.8.ebuild index 3a5fad9968c5..a63bff66a5c6 100644 --- a/net-libs/mbedtls/mbedtls-2.28.8.ebuild +++ b/net-libs/mbedtls/mbedtls-2.28.8.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/Mbed-TLS/mbedtls/releases/download/v${PV}/${P}.tar.b LICENSE="|| ( Apache-2.0 GPL-2+ )" SLOT="0/7.14.1" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} -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="cmac cpu_flags_x86_sse2 doc havege programs static-libs test threads zlib" RESTRICT="!test? ( test )" diff --git a/net-libs/meanwhile/Manifest b/net-libs/meanwhile/Manifest index 1d6eea1cf995..e522aa072560 100644 --- a/net-libs/meanwhile/Manifest +++ b/net-libs/meanwhile/Manifest @@ -2,5 +2,7 @@ AUX meanwhile-1.0.2-gentoo-fhs-samples.patch 588 BLAKE2B 1905d0d49a814157ae8f6c8 AUX meanwhile-1.0.2-glib2.31.patch 6461 BLAKE2B 1d46f23d60776dd3f3743ca8c892828b966bc3bcf679d7e3f33739fb1d54fe999bf9ff605590c7458b3d4e12a374109903ba53bad1763e343c30224c506b89bf SHA512 b22a45ff231f33294808e65dd0e0461810be26078d94493c56e3e0303fa9d5606f7916f14edee7f94a2b78574300ba76df433b9e3c1ba0b5df3da0d07aa9ca70 AUX meanwhile-1.0.2-presence.patch 1163 BLAKE2B ba471439dd6acaa5e4b3db78432b76379570c8bde5c760ce0ce388ef33b41527e43c001445c7bfad3e998590c8e80e13b6b12723d340bfac338e9394ed4b8e9a SHA512 f4caf5f727464b044ed533abcb3929227bc55cba4132b55587411ae5c78c320c916924c5b9228a34634af68f4a00d8103616c64b4b77f04e15f66d8ff62dbbd7 DIST meanwhile-1.0.2.tar.gz 479325 BLAKE2B 70b032ab9b1fc6f556a16afceec5eac72b8efc686977734c84068fb34e49fed01c2c20743ba058cd99de155dd0172ea2132c8bdbfbbfcaa572f889c15da96e01 SHA512 ba356124352ed522bc4c62282e4267960e0d3751c990cc422957ae263c70932264dee2d5e3dfe436325ad53f1833ff541eda4b36a6b78441374256ef54c786e6 +DIST meanwhile-1.1.1.tar.gz 180449 BLAKE2B ec4c2a4713f78b6e780f4b7c64b0efbde98275643814010fca995cedb49e7141a0d3065807cab19b78ef9d9813ebc91e2dcf7ee1abc956df91c64af5a7e2aa45 SHA512 89ddb1711ee5c5f5ec2e47b47e4eaf4623b5638a121a87bc905f86b201af753a2689b68ec8397a7cd1578a5a773a289bbe53f38acde2bf0598ce3f25c0dd645c EBUILD meanwhile-1.0.2-r1.ebuild 993 BLAKE2B fc43af5e4adcb81196b489d655318b7ad6f06593cec39d8bb662790d049ca5c3d6040ce4371238921cf039492db3b8882c384ef961a9f68327f8b1a85ac27f49 SHA512 c12b43a4a3d3418cf594b617d13b8b65cf6580bd057ec13cd18fc67cfedba90f2390ee47687290ae0d6004213ca85f86c29e7d08f8cccc5daac4b7e93eecf0e3 -MISC metadata.xml 247 BLAKE2B 74c28276074552d0fc5d810dd61a5545f6fb763a986b82e4ae8d2d0fa46c114c6e192a43415a01d92eaddeebce452a391a6fcde5dea93059d653e6bfe2a1c660 SHA512 620b20721d49742e3afb9c30ec96c54f1223fa8a89d27489c8ae0bd20702f87748a53991d3e396264f8260b967fab8ddc1eb832a49614d729757a828ecda2aeb +EBUILD meanwhile-1.1.1.ebuild 1032 BLAKE2B 098e1bd8b8f0a4abd7c5517021c61a80a82a699329cf58c442585d045410a8e8538b8540bc35f9669c2237661fe69f09761971dc44d0b5ee849dabb12a5ca0cf SHA512 b2c1e72a4aa8be00e96b1b7f607a09d713931dd75facf816b3a19e795c14f2099750c87e728e3c4a84f2bf66a065714d5246c281ecb1524a0a78a22b07bd9ff5 +MISC metadata.xml 305 BLAKE2B ffcaa8843ef1d8da4d897419a86e53a1ae494120a3a9313cb3536cb4c5d71962d95a4563411ed5ecf68cff8b7c2336e416394288d2402a650cb6edc1b8821341 SHA512 1420e494c215907f681f075d4395152e436a4831362418e1b53d4975fb8947149dfd10aee5318765c5b3785f965ad645b188caf17ffab33f8564746e46b3656c diff --git a/net-libs/meanwhile/meanwhile-1.1.1.ebuild b/net-libs/meanwhile/meanwhile-1.1.1.ebuild new file mode 100644 index 000000000000..537d35f99a4d --- /dev/null +++ b/net-libs/meanwhile/meanwhile-1.1.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Meanwhile (Sametime protocol) library" +HOMEPAGE="https://meanwhile.sourceforge.net/ + https://github.com/obriencj/meanwhile" +SRC_URI="https://github.com/obriencj/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc debug" + +RDEPEND="dev-libs/glib:2" +DEPEND=" + ${RDEPEND} + dev-libs/gmp" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen )" + +PATCHES=( + # bug 241298 + "${FILESDIR}"/${PN}-1.0.2-gentoo-fhs-samples.patch +) + +src_prepare() { + default + # bug #935514 + sed -i -e "s|-g -O0 -Weverything||g" configure.ac || die + eautoreconf +} + +src_configure() { + append-cflags -fno-tree-vrp + + econf \ + --enable-doxygen=$(usex doc) \ + $(use_enable debug) +} + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die +} diff --git a/net-libs/meanwhile/metadata.xml b/net-libs/meanwhile/metadata.xml index ee356aab7e29..174bdd362ed4 100644 --- a/net-libs/meanwhile/metadata.xml +++ b/net-libs/meanwhile/metadata.xml @@ -4,5 +4,6 @@ <!-- maintainer-needed --> <upstream> <remote-id type="sourceforge">meanwhile</remote-id> + <remote-id type="github">obriencj/meanwhile</remote-id> </upstream> </pkgmetadata> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <upstream> + <remote-id type="gnome-gitlab">GNOME/msgraph</remote-id> + </upstream> +</pkgmetadata> 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/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 05b018d81518..0769ce820e22 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -1,8 +1,6 @@ -DIST nghttp3-1.2.0.tar.xz 387592 BLAKE2B b3ad897fda5d616a93f063bafde760eda6f597c90de6c81793abef3ff30de05bb2a06388fa868f95c0871a6592331d17a2d344c63817179ad21c6390bc0e499b SHA512 51ade6b17215eb15c92b18ad7a94b70e0a442d5968aee31ec734e5826d09ca34197e64407a1ac3f7bfb4ed1a0b3c3b58afc4a152542bacdcc4c71140931a7652 DIST nghttp3-1.3.0.tar.xz 390176 BLAKE2B 8ff17da3e53efb27b13e9ab17dba4ca27cc8fd948b160a36a0b0496f61a49c2729f1281f9a29cb8fecd4dd2c274696885a3c5e001be3dcfc30f5f1c9b6339467 SHA512 a862e7a3c3f6722b07d5437976850b2998032d1f7b9da7a49e6863d59c611ff7204c9923e8e570301a9bfbd91931a30f8f85e96cfb35481783adfc2f955a8b8c DIST nghttp3-1.4.0.tar.xz 389036 BLAKE2B f8292aded56c0778dc285cf7d8261494c89e70e1e2128b0196be97706b1ce45edfd885031d069990429ef82c56c4922e0fe07d7471d4851642ce5e8afaf02bb9 SHA512 39ff9418009dcf84ae58d8297f53427da91509a69ecc4fc78c4c00f0fe6bbe348f7afffeafe535ae4c02ff9f0413016b4f51de6a87d8e8c8f6b415bb7f2b0895 -EBUILD nghttp3-1.2.0-r2.ebuild 742 BLAKE2B e279425fed0370a7b99265a40b05f88ee0fb26a92d6b2fcb34be2b89d501d53db508a58cffdd12e40450cc74d73a27540504119c7225d583f7ea335822eab0c8 SHA512 23a87ea01d7396498e8a5ddd9b7106451fcbd693b3670e1db1d99d9ff69d67711dbe105450ada8e6caf32f622ae392a31c74fe7807f379c89545f456f56f7dc1 -EBUILD nghttp3-1.3.0.ebuild 757 BLAKE2B 47f7189cceacc6e8c745a5f3d7e99bfea2096e57767e0c256f48fd87b95793743cd6f937b796310d5457c0a8f50906ca1f0c1d30d5e5615e0e8ee05590b4606f SHA512 b4b8d39ad767f52d34e778b92866049036e482de4533da52a5d29fdf51555e95db7befb1087354365d32648f13914c6fde6a983205ce22d26c520d3f218dbc57 -EBUILD nghttp3-1.4.0.ebuild 765 BLAKE2B 862651712201949094aa91ca90bd669e96e087a6c54ad46f93f006b0733bc64c6db37ff6e7d90051f3d791b308e11d27436cf86c71282216265c1aa430846fa0 SHA512 313b0e4b30b22c71b3c78207cf1858ac2a3adad342774cb88ff2c2df9d462f3bf7fe1e495f72844d84d1bb83fa992a9129f3d94f9a8546f94aa3e83fb757f1af -EBUILD nghttp3-9999.ebuild 742 BLAKE2B e279425fed0370a7b99265a40b05f88ee0fb26a92d6b2fcb34be2b89d501d53db508a58cffdd12e40450cc74d73a27540504119c7225d583f7ea335822eab0c8 SHA512 23a87ea01d7396498e8a5ddd9b7106451fcbd693b3670e1db1d99d9ff69d67711dbe105450ada8e6caf32f622ae392a31c74fe7807f379c89545f456f56f7dc1 +EBUILD nghttp3-1.3.0.ebuild 746 BLAKE2B 7e8bf9eb00e1fb789ba685bc09b4c8a6939489968f6594c5cc67c8dc27c3612610d49d39c320ee846f855fe28ee80432d563a4c3a23bd942bb982eaa78e72b09 SHA512 c42cc1142c47a08b34c6be7c7a5d621358582c0b1535496437d210e4b4b2b0dba2c63b1b84619bd113a6e945d9f7bfa3485736788127a13c845f926d8744323a +EBUILD nghttp3-1.4.0.ebuild 902 BLAKE2B 5f14f88242e36ec9060f5ff52ab8390428d6c7f01b2dad642c4d051f4a048386312d3097c7d89b2c26acf8bb99965ced72be956c6a01a1c0013b074a37ea663f SHA512 37a5f8ccc8ee93a2ad06006ea0a2c1833e5ef5f92cea9db088e655811ea4a306b2c1e690779517538c668768c781eb0feec328c63c1e9655e47356a2834c7a6a +EBUILD nghttp3-9999.ebuild 902 BLAKE2B 5f14f88242e36ec9060f5ff52ab8390428d6c7f01b2dad642c4d051f4a048386312d3097c7d89b2c26acf8bb99965ced72be956c6a01a1c0013b074a37ea663f SHA512 37a5f8ccc8ee93a2ad06006ea0a2c1833e5ef5f92cea9db088e655811ea4a306b2c1e690779517538c668768c781eb0feec328c63c1e9655e47356a2834c7a6a MISC metadata.xml 328 BLAKE2B 6f0147cead329ef6b779485417ff33e5814b0cd86e99b571b0dc5653a7ca8f80f65fddb8b1b58fe249b7b86c0aecd32a446d415065fc70a0c72bf69651b19d25 SHA512 54e49a9c82c6a7f7a50daf557416845fa5c548f11ca243ff236105ad97903ea983436e94067c831b93ca95da154dd2561e314e96e8bde6d4678efd1adaf02f11 diff --git a/net-libs/nghttp3/nghttp3-1.2.0-r2.ebuild b/net-libs/nghttp3/nghttp3-1.2.0-r2.ebuild deleted file mode 100644 index 6715be902969..000000000000 --- a/net-libs/nghttp3/nghttp3-1.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 - -inherit cmake-multilib - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git" - inherit git-r3 -else - SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~hppa" -fi - -DESCRIPTION="HTTP/3 library written in C" -HOMEPAGE="https://github.com/ngtcp2/nghttp3/" - -LICENSE="MIT" -SLOT="0/0" -IUSE="static-libs" - -BDEPEND="virtual/pkgconfig" -RDEPEND="" - -multilib_src_configure() { - local mycmakeargs=( - -DENABLE_LIB_ONLY=ON - -DENABLE_STATIC_LIB=$(usex static-libs) - -DENABLE_EXAMPLES=OFF - ) - cmake_src_configure -} - -multilib_src_test() { - cmake_build check -} diff --git a/net-libs/nghttp3/nghttp3-1.3.0.ebuild b/net-libs/nghttp3/nghttp3-1.3.0.ebuild index 3e88aaed40b1..610121890c67 100644 --- a/net-libs/nghttp3/nghttp3-1.3.0.ebuild +++ b/net-libs/nghttp3/nghttp3-1.3.0.ebuild @@ -21,7 +21,6 @@ SLOT="0/0" IUSE="static-libs" BDEPEND="virtual/pkgconfig" -RDEPEND="" multilib_src_configure() { local mycmakeargs=( diff --git a/net-libs/nghttp3/nghttp3-1.4.0.ebuild b/net-libs/nghttp3/nghttp3-1.4.0.ebuild index 0d2dcc6e27ff..b342674b4fa5 100644 --- a/net-libs/nghttp3/nghttp3-1.4.0.ebuild +++ b/net-libs/nghttp3/nghttp3-1.4.0.ebuild @@ -18,10 +18,14 @@ HOMEPAGE="https://github.com/ngtcp2/nghttp3/" LICENSE="MIT" SLOT="0/0" -IUSE="static-libs" + +IUSE="static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + test? ( static-libs ) +" BDEPEND="virtual/pkgconfig" -RDEPEND="" multilib_src_configure() { local mycmakeargs=( @@ -29,9 +33,10 @@ multilib_src_configure() { -DENABLE_STATIC_LIB=$(usex static-libs) -DENABLE_EXAMPLES=OFF ) + use test && mycmakeargs+=( -DBUILD_TESTING=ON ) cmake_src_configure } multilib_src_test() { - cmake_build check + multilib_is_native_abi && cmake_build check } diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild b/net-libs/nghttp3/nghttp3-9999.ebuild index 6715be902969..b342674b4fa5 100644 --- a/net-libs/nghttp3/nghttp3-9999.ebuild +++ b/net-libs/nghttp3/nghttp3-9999.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~hppa" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~x86" fi DESCRIPTION="HTTP/3 library written in C" @@ -18,10 +18,14 @@ HOMEPAGE="https://github.com/ngtcp2/nghttp3/" LICENSE="MIT" SLOT="0/0" -IUSE="static-libs" + +IUSE="static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + test? ( static-libs ) +" BDEPEND="virtual/pkgconfig" -RDEPEND="" multilib_src_configure() { local mycmakeargs=( @@ -29,9 +33,10 @@ multilib_src_configure() { -DENABLE_STATIC_LIB=$(usex static-libs) -DENABLE_EXAMPLES=OFF ) + use test && mycmakeargs+=( -DBUILD_TESTING=ON ) cmake_src_configure } multilib_src_test() { - cmake_build check + multilib_is_native_abi && cmake_build check } 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 d9ad38314b26..2febbbc349cd 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -2,19 +2,27 @@ 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-v20.12.1.tar.xz 41743360 BLAKE2B 1e2819724051720321a429bb18967a12608e8f93ef1760c520a40c9130e6138f95ab4e87f1acbaa72142bdd801ec3050bc42d7e4fae8d6a62192c3511b922e0a SHA512 c51c4aa37cc80f3fe34381f2cdf431053124ec6b83fc8490573502adfab48601c382448132c9962ab135bebaffc257a9d5b63334ba8ff480db57b5706bbfed67 +DIST node-v18.20.4.tar.xz 40445740 BLAKE2B 0675f2aba1d9a9cd9aeb665ecb3a0f61b9caf39daeb6154941f84b9c423caa7a658c14b8c2c5e12d94424b2470748ec7fad28ecb10390d37f92eb7e50f8adc26 SHA512 1ccef99ebee3906f5bad3c1582f9551ced9bed15e6a047d59d1a23c6110004fb46ea4bebcf9899748c64109f78788d7365ee956444e645eaf397dabbcddda21e 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 -EBUILD nodejs-18.20.1.ebuild 7433 BLAKE2B e366853288364eddb38a0a598db70f83e5188a489ac2c5970eb21f9c993abd4807d87826536d0a1ea12315603edd5f0a714876d95d2aae1ef8e1ded8ee3e7030 SHA512 0a20a965b9c25f7319bc5dfca87e0ddf9f78f603a4dc334c68e750b847d5687b0e636fa199f089a004e72536435b334309ad042753a95f93800fb65515d77402 -EBUILD nodejs-18.20.3.ebuild 7435 BLAKE2B 39bec2924b1aa7fc0ee0670bfcb5b51cff9dbc82942512d615465d788e5e952fd1899f293e3e3e23e45b6d65691b5c33b0127ff1e41dfd4874e755281bd7c785 SHA512 2c0f6652acf55b924790dbed8bdcec2103f7752de31b69b32a82862fb646cb9411d8bcd5f3233b6352f9e7c1c0e5ac439f9b41c9704eee25c53ac89e4faaf72a -EBUILD nodejs-20.12.1.ebuild 7599 BLAKE2B 10339e186e827ab88b9830fbd76bab4a12a181fab9d6a6ce054948d8e1e64c32e54491bcc29ef6304827da39352f25ad73b01122c872c2667ee9d945f43368ca SHA512 cac02959f6cdfc3d99dbf918b910453a8175b2fce0a8dcaeebc64a21e4cb4186b19d5f4ce46b237de52c7e66e8f9a9dc4a353b9c12969f7370c82d91ef281b02 -EBUILD nodejs-20.14.0.ebuild 7564 BLAKE2B 2ea907259a8a6be81ef34562eeabcb7da8daf8fdff565dfaef87177c3cdff02d8c111e7748c59e3e59e041484485c997b8438ecabccca21f9e5215bed296bcb7 SHA512 6505abdde39cd07d2925c98597e2ccdb29db66631a0330b1b7c2dd00ad0e5995c47102fb351f5067b50d03e350fc0317b51c1799e84ac352d5086d33986dfe74 -EBUILD nodejs-20.15.0.ebuild 7567 BLAKE2B f91ca9f6bc88e927ae20a5af0f74a8fad87c995610eda2132a55ddbe9ab2df279d0f717dcc8e3e660358d6609de50dbb3fd76c6d4715c8e4d0e8b4016b7c65c0 SHA512 730eac7fa64742cda816d710720ca30d42a1a95db9b60e85282c7895115c437bb4e27986ff713657199a6947bb0b0cda8a2fc94912c8f7f0c032155eafe9509b -EBUILD nodejs-22.3.0.ebuild 7858 BLAKE2B 60f8887f76550810e2deb1742cf159c345d4d268919d357f3c7933dcf4bf5aa0cf2292477b067c60a25a3bb25a4377ddff8e514451540536ccf554ca146fc9e2 SHA512 cd7dcb08cd265757c685a6aa2e32774659c45494b6abd965ef2f98a1ef76dfb02037b3b1c817f0c2b6665175a856abdb8ea7d0a399a897fe503a6b4e6b8e3e6a -EBUILD nodejs-22.4.0.ebuild 7970 BLAKE2B c2795d8d18ebf7c04a7e1cf8640fa01a963a0ca8382195436635f71e6527e7758fbdd394a14eedf8ea9610f26b31a9b80b1d7691692f9de8c1821893ca8a9cbb SHA512 a1f35f8c14fc2481db4df530ccd3fe209493204f69b27e55fffd58a2b40810d0e3e103b48ee87421da7a96aa3d6f1002761989bbd4e5adb7fb889c117e339053 -EBUILD nodejs-99999999.ebuild 7406 BLAKE2B 71b0f9acf3a3cdf3181c7f1dc3ca2a290c5fefce6be6ab017483750a31f7bf3c996984b91f03e1144b2b6bf3cb852529b9f620974ab0484928d6a390890cf2dc SHA512 bc0b7c5171f11b9b2d29915e03614272653baba609d505885e4aaf5d51ed40291e82c5970bb7e914e41604dcb3788ecb85a0d5e8a9770aea73f77136f6915d1e +DIST node-v22.4.1.tar.xz 46125104 BLAKE2B 7e54a7e01f821d752abbec03212c5be838b2e12fdb10c50cfe05b0ec25ddbe71eaa3187ba25d99efb258ab14d31927216e6816aacdfa29efdb1dc70a06e9b135 SHA512 840423e9738cad9f6024e9b51b683893eab16487ba18183251a189b5d4acf9b4168e9245623092705b014bff2058174127d5d7ecb31c1a8b324961074cb8ca54 +DIST node-v22.5.1.tar.xz 46149824 BLAKE2B 99a215e211ac12fe83106dee142d9411ea4e0fcbe8b360431b2211148ee34cbe041c19eaf2936f21ccf6405ab18aec5ba983a280942101682347ffb319babea6 SHA512 ad0efb9552cf9658b16a7d97edca8ac601841d9ef5b2383927d53181505fd5f0893bb0b4bbf2b42a17b15db66c6690d8e5a1c9e7f8d031325368bc6d47d0642c +DIST node-v22.6.0.tar.xz 46900628 BLAKE2B 52d566fcc25c370dd2cddbc21f4f9a9d7293b454b832eaaece979fa25232fef59270ba980ebfe6b8ac2424c733ef3ec33a7e7f689b818a30071ec9d3854bc553 SHA512 31a1ad99bf131917b45ec353929525686d22ed3eea1ea9f9498b5a43c0bf38b5f68885fc4a174f9d819a01745767a8b4e8d0577a7eec150456b4a102ddad639b +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 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-22.6.0.ebuild 8495 BLAKE2B 33ef4cc2f41f4feac8dc85b8686a62b63e9e2a6be3847b29bb38fc15c9419e14365b4e266c94606982ae53efc25b15d05eb1ccb5bb20c63a579f7dd6ffb1d1f0 SHA512 e9f23d84e4aa99fd26344a718e875bfe3f171efc6e7e8d276d6dca508de71759e1b782c24264699d397830273aed4e03fcf403986cf0165ff40e4fabeb77653f +EBUILD nodejs-99999999.ebuild 8495 BLAKE2B 33ef4cc2f41f4feac8dc85b8686a62b63e9e2a6be3847b29bb38fc15c9419e14365b4e266c94606982ae53efc25b15d05eb1ccb5bb20c63a579f7dd6ffb1d1f0 SHA512 e9f23d84e4aa99fd26344a718e875bfe3f171efc6e7e8d276d6dca508de71759e1b782c24264699d397830273aed4e03fcf403986cf0165ff40e4fabeb77653f MISC metadata.xml 983 BLAKE2B 7e455047a955185d1e53797b2b0592c5242b7eb849617cf39366acbab41e4fd066d36d723dbc32760f591c933f068e643475fc1b58a2873a2f1221e1c5d44b71 SHA512 5e08a76e2704000aa83a2c63f6e821e83c302939c1a729c4ac73774cc85189da4eccc1a19b700babfe87c8f07327865171526550ddf16a4fc25fed834f4bf7a6 diff --git a/net-libs/nodejs/nodejs-18.20.3.ebuild b/net-libs/nodejs/nodejs-18.20.3.ebuild index 33e59e2f721c..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 @@ -242,6 +242,7 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-18.20.1.ebuild b/net-libs/nodejs/nodejs-18.20.4.ebuild index 643af9340905..95ff26c5ed70 100644 --- a/net-libs/nodejs/nodejs-18.20.1.ebuild +++ b/net-libs/nodejs/nodejs-18.20.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{10..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 @@ -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 @@ -38,7 +38,7 @@ RDEPEND=">=app-arch/brotli-1.0.9:= >=net-libs/nghttp2-1.41.0:= sys-libs/zlib corepack? ( !sys-apps/yarn ) - system-icu? ( >=dev-libs/icu-67:= ) + system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) sys-devel/gcc:*" BDEPEND="${PYTHON_DEPS} @@ -242,6 +242,7 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-20.14.0.ebuild b/net-libs/nodejs/nodejs-20.14.0.ebuild index 5ad9958a8c0e..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 @@ -247,6 +247,7 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-20.15.0.ebuild b/net-libs/nodejs/nodejs-20.15.0.ebuild index 1ce818bc4013..53ca55f77715 100644 --- a/net-libs/nodejs/nodejs-20.15.0.ebuild +++ b/net-libs/nodejs/nodejs-20.15.0.ebuild @@ -247,6 +247,7 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-20.12.1.ebuild b/net-libs/nodejs/nodejs-20.15.1.ebuild index 8d0580848c34..e57e4aeace72 100644 --- a/net-libs/nodejs/nodejs-20.12.1.ebuild +++ b/net-libs/nodejs/nodejs-20.15.1.ebuild @@ -4,10 +4,10 @@ EAPI=8 CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..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 toolchain-funcs xdg-utils DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" HOMEPAGE="https://nodejs.org/" @@ -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 @@ -37,9 +37,10 @@ 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-71:= ) + system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) sys-devel/gcc:*" BDEPEND="${PYTHON_DEPS} @@ -102,9 +103,6 @@ src_prepare() { # 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 } @@ -126,6 +124,7 @@ src_configure() { --shared-cares --shared-libuv --shared-nghttp2 + --shared-ngtcp2 --shared-zlib ) use debug && myconf+=( --debug ) @@ -170,6 +169,7 @@ src_configure() { } src_compile() { + export NINJA_ARGS=$(get_NINJAOPTS) emake -Onone } @@ -248,6 +248,7 @@ src_test() { 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 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 306ba6b072c8..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 @@ -258,6 +258,8 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-22.4.0.ebuild b/net-libs/nodejs/nodejs-22.4.0.ebuild index 87f095c8c487..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 @@ -106,7 +106,7 @@ src_prepare() { use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) # bug 931256 - use riscv && PATCHES+=( "${FILESDIR}"/${P}-riscv.patch ) + use riscv && PATCHES+=( "${FILESDIR}"/${PN}-22.2.0-riscv.patch ) default } @@ -262,6 +262,8 @@ src_test() { 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 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.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-22.6.0.ebuild b/net-libs/nodejs/nodejs-22.6.0.ebuild new file mode 100644 index 000000000000..40e5d335039b --- /dev/null +++ b/net-libs/nodejs/nodejs-22.6.0.ebuild @@ -0,0 +1,288 @@ +# 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/parallel/test-inspector-emit-protocol-event.js + test/parallel/test-inspector-network-domain.js + 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 8f647b977a19..40e5d335039b 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,15 +250,30 @@ 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/parallel/test-inspector-emit-protocol-event.js + test/parallel/test-inspector-network-domain.js + test/sequential/test-watch-mode.mjs + ) rm -f "${drop_tests[@]}" || die "disabling tests failed" out/${BUILDTYPE}/cctest || die @@ -252,6 +283,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/serf/Manifest b/net-libs/serf/Manifest index ba2a4bae667a..726b70cf05b3 100644 --- a/net-libs/serf/Manifest +++ b/net-libs/serf/Manifest @@ -1,13 +1,4 @@ -AUX serf-1.3.8-openssl.patch 960 BLAKE2B ba24959e39cafd03d041e349806b03feeca52fc1432fa96a39cf44fe392ad5e25bfc11e305d20b752f0469445f3a0932bd1d1de0646c3a95a9c24aec36560d81 SHA512 902f0b28a0166bb2c30127600eeacd8117ab9c8a21787aec7f6ee77b94554a613ec1bdcaef3bbbd730254c9c26a7c40b47906b296ca869af909ec18d9f2ad59b AUX serf-1.3.8-static-lib.patch 1922 BLAKE2B 66e518933fd12141916e93955d9648149de4d82f82ba66b9c574a21720d7bad61ea2d575363426d297f1649d394cfac4fcd8b5f963dd307d60db2f08fa3e2a2f SHA512 c5d7cbc7ed7632e3ead1a1eec36106a4e50f89c42b7099d8e6bc2a3021b4b3058c16cb1aef1fedbb26e6bd5b4d0b12b34567d40c38c0f1c5cb6528e924db9e84 -AUX serf-1.3.9-libressl.patch 1220 BLAKE2B e1ef55dfd5e93b59dba6bf0dbd2378c241781f89b282691f9f7cb577430affdcfc933c4ef25da2fb2130f7af67ee003cdbe66c452a888b7c5b8cca0dc11a6fef SHA512 89957ae479cfb12b94c1e60c1dca832fef9ba3ca91f835226e035d0dbbd9ef7a8ac7e99abce879774bacc3800d0d3e7743c61fd3bd9f26d0a2632a010679ad99 -AUX serf-1.3.9-openssl-3-bio-ctrl.patch 708 BLAKE2B 20c6116838461540a7040537ad40394f9ae7ae23bc972bc4f9d66f79d2d3167f6ccda54066ba6e921050b9fdda4aab6a6f86b098f2b71fc4086b6a4075b7a8d8 SHA512 b7631c6cfd76ca42e2f999bb328f147214d5f12546a26cd2ff90f774164db2458f0045c07fb0cbdc5b54c09f5c6f6b461365ab0d6326aa5e0151454c9a9a2495 -AUX serf-1.3.9-openssl-3-errgetfunc.patch 402 BLAKE2B d142dc567dad42966ff7a9bf84e5354e8778df7d696c260b1c895718e01311e51f1141f58cb6d4827b4f9631f11da286ce0eaaedf60e8d6b0517fbeadd3ebf96 SHA512 2f8b8ee93255aae2633f73c16fdec498db6885d25c4d31a5623170a629b616ab4e56bfe6f8db13d8617cc994ec775b1d90777d5596452f14e97338648d5af10c -AUX serf-1.3.9-python3-check.patch 2896 BLAKE2B b757a9d1d3c4d5f9928e70a0182b3c7a0756ddea3b081378a7180f334eca697cccc5fe637dc8226d72daafbe5440aa595def447f76a52ab9f11e8bc626be846b SHA512 2538c2c80f924fa823a28e00e40688af0a38cb94ae2302cee83070645017e8321a0647e947a98c9d541228054acb8e470a465e4f2d5782b99a9b782aac86dfc1 -AUX serf-1.3.9-python3.patch 965 BLAKE2B 0f7444b19ec1f2b32c165ddf08d96113cb22ca3518eb7257885a582ed50dd3119a6459a52f134d149729cfc967265d6b9c478ec5d6f08a8a589bb5db0893d7bf SHA512 cf6726b860b876503820d8a42ff821f932bd1bf9a6157c98ebcbe77ebe71835ab4d2395fb9463fa187ef457100ededa59f9a7c430f98735c59f878cff600ff07 -AUX serf-1.3.9-python3_byte.patch 1079 BLAKE2B 7e8c328d101c3642cc82be9f92f26e9af49ada5df040da088e35869efddeaaf043cba06fe6c626380e9a68b10f1f5a61e393405d039bb7b59d9d00d00d95e066 SHA512 b02b3eb8fa27a7a133ebe6bd958f378bcc5daf9a1871e5a4015ec8fb292736cf65ba7776ef3297ceb3b4fb767ae4f22cc44e0e3b4a222887c73107e3c03e4533 DIST serf-1.3.10.tar.bz2 147744 BLAKE2B fed9ef4d5b16a5f1276a4a6f72ab938db18d4bd51c2a58311d2918f52f891bdb636f947cdc612b12a8978f75d27715b7695f21730d1b8a0545746281535369fc SHA512 19165274d35c694935cda33f99ef92a7663a5d9c540fb7fd6792aa0efe39941b2fa87ff8b61afd060c6676baec634fd33dc2e9d34ecbee45ed99dfaed077802c -DIST serf-1.3.9.tar.bz2 145132 BLAKE2B 59776f85b409b2eaea81f3e07b0301515e20cbd2aa0ef05c1c38aa8152a6d5627e526e4bc160abb1fd438e9fa46f97096c639860729d2ea8e0b2fcfcf8222002 SHA512 9f5418d991840a08d293d1ecba70cd9534a207696d002f22dbe62354e7b005955112a0d144a76c89c7f7ad3b4c882e54974441fafa0c09c4aa25c49c021ca75d EBUILD serf-1.3.10.ebuild 1847 BLAKE2B c2b82faded6c21ce8f41710959e6fd42337847ebcb8d5477ffbba29c538f9fce0555b63486c4dc0e35627b86dcab7f600e03721cb129251244279d7a6fceda8c SHA512 39c12c7e8c95f3e4c43a182184b32a64e32ad5c2194a0d442d6ddefcefb72f327deee4d6ebbabd2f1f97bbd6dbd7bc4ffe3e1cdb005580afc26fe229a1651913 -EBUILD serf-1.3.9-r4.ebuild 2187 BLAKE2B 239e0c488972e1535cd32bb8dae10f25eaad37e49125cb441f38caacfad7ffbebff0e5cbc9705238f9a612a699fb6b047a8d036d86113164f7e6007a306e76d9 SHA512 5e5a57e7f462f8353bafdd4bb7c15e9d57a43506ffcad6bd5af0fbf6fab04b4ea264f8cbd2521af776558843120d7081577b1bf74bad11aba5967a610c84876f MISC metadata.xml 242 BLAKE2B 9323724392947eec7347e9052aadab6d31da88b1fe94720fdd3993f37aeb74d00e43a34ec26642c79b0d471bd0146aaaf3489a3ab341445c6ddfcf305c581989 SHA512 c20cc4c38ff85c11dafe9981b45f20d2343d817cdfbb0c1e8cb77b0964e5d2b74762dfb8384c9fb47e8f0427b1f3f3e38a3a81f81c76ca30ade4a0994db14cea diff --git a/net-libs/serf/files/serf-1.3.8-openssl.patch b/net-libs/serf/files/serf-1.3.8-openssl.patch deleted file mode 100644 index 4cc3719303bb..000000000000 --- a/net-libs/serf/files/serf-1.3.8-openssl.patch +++ /dev/null @@ -1,28 +0,0 @@ -the build doesn't actually use the openssl var for anything useful. -it blindly adds it to the -I/-L paths which causes problems when you -cross-compile and when you link (it also adds it to -rpath). punt -the setting and forget about it. - ---- a/SConstruct -+++ b/SConstruct -@@ -354,8 +354,6 @@ else: - apr_libs = '' - apu_libs = '' - -- env.Append(CPPPATH=['$OPENSSL/include']) -- env.Append(LIBPATH=['$OPENSSL/lib']) - - - # If build with gssapi, get its information and define SERF_HAVE_GSSAPI -@@ -369,8 +369,9 @@ if sys.platform == 'win32': - # On some systems, the -R values that APR describes never make it into actual - # RPATH flags. We'll manually map all directories in LIBPATH into new - # flags to set RPATH values. --for d in env['LIBPATH']: -- env.Append(RPATH=':'+d) -+if env.get('LIBPATH', None): -+ for d in env['LIBPATH']: -+ env.Append(RPATH=':'+d) - - # Set up the construction of serf-*.pc - pkgconfig = env.Textfile('serf-%d.pc' % (MAJOR,), diff --git a/net-libs/serf/files/serf-1.3.9-libressl.patch b/net-libs/serf/files/serf-1.3.9-libressl.patch deleted file mode 100644 index bfb07bd5a0ad..000000000000 --- a/net-libs/serf/files/serf-1.3.9-libressl.patch +++ /dev/null @@ -1,35 +0,0 @@ -This backported patch avoids the upstream scons check to prevent unintended -issues and can be removed next release bump where it may be preferable to -use the newer cmake build system. - -https://bugs.gentoo.org/906123 -https://bugs.gentoo.org/903001 -https://github.com/apache/serf/commit/df0d2d0dbdf88576f26da9c71df3ab6249d351dc - -From df0d2d0dbdf88576f26da9c71df3ab6249d351dc Mon Sep 17 00:00:00 2001 -From: Stefan Sperling <stsp@apache.org> -Date: Tue, 20 Dec 2016 09:57:08 +0000 -Subject: [PATCH] Fix another build problem with LibreSSL. - -* SConstruct: Check for OpenSSL_malloc_init() and provide the - SERF_HAVE_OPENSSL_MALLOC_INIT feature flag. - -* buckets/ssl_buckets.c - (init_ssl_libraries): Use SERF_HAVE_OPENSSL_MALLOC_INIT instead - of USE_LEGACY_OPENSSL. - -git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1775242 13f79535-47bb-0310-9956-ffa450edef68 - -diff --git a/buckets/ssl_buckets.c b/buckets/ssl_buckets.c -index b01e535..27c84c7 100644 ---- a/buckets/ssl_buckets.c -+++ b/buckets/ssl_buckets.c -@@ -1156,7 +1156,7 @@ static void init_ssl_libraries(void) - } - #endif - --#ifdef USE_OPENSSL_1_1_API -+#ifndef LIBRESSL_VERSION_NUMBER - OPENSSL_malloc_init(); - #else - CRYPTO_malloc_init(); diff --git a/net-libs/serf/files/serf-1.3.9-openssl-3-bio-ctrl.patch b/net-libs/serf/files/serf-1.3.9-openssl-3-bio-ctrl.patch deleted file mode 100644 index 6bf3aba6de47..000000000000 --- a/net-libs/serf/files/serf-1.3.9-openssl-3-bio-ctrl.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://src.fedoraproject.org/rpms/libserf/raw/rawhide/f/libserf-1.3.9-bio-ctrl.patch -https://bugs.gentoo.org/805161 -https://issues.apache.org/jira/projects/SERF/issues/SERF-198 ---- a/buckets/ssl_buckets.c -+++ b/buckets/ssl_buckets.c -@@ -407,7 +407,7 @@ static int bio_bucket_destroy(BIO *bio) - - static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr) - { -- long ret = 1; -+ long ret = 0; - - switch (cmd) { - default: -@@ -415,6 +415,7 @@ static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr) - break; - case BIO_CTRL_FLUSH: - /* At this point we can't force a flush. */ -+ ret = 1; - break; - case BIO_CTRL_PUSH: - case BIO_CTRL_POP: diff --git a/net-libs/serf/files/serf-1.3.9-openssl-3-errgetfunc.patch b/net-libs/serf/files/serf-1.3.9-openssl-3-errgetfunc.patch deleted file mode 100644 index 2823ee88e17b..000000000000 --- a/net-libs/serf/files/serf-1.3.9-openssl-3-errgetfunc.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://src.fedoraproject.org/rpms/libserf/raw/rawhide/f/libserf-1.3.9-errgetfunc.patch -https://bugs.gentoo.org/805161 ---- a/buckets/ssl_buckets.c -+++ b/buckets/ssl_buckets.c -@@ -1204,6 +1204,10 @@ - } - } - -+#ifndef ERR_GET_FUNC -+#define ERR_GET_FUNC(ec) (0) -+#endif -+ - static int ssl_need_client_cert(SSL *ssl, X509 **cert, EVP_PKEY **pkey) - { - serf_ssl_context_t *ctx = SSL_get_app_data(ssl); diff --git a/net-libs/serf/files/serf-1.3.9-python3-check.patch b/net-libs/serf/files/serf-1.3.9-python3-check.patch deleted file mode 100644 index fbbfe36fefe0..000000000000 --- a/net-libs/serf/files/serf-1.3.9-python3-check.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 05eae144c6b3ed85f0829de6278a8f89505506f0 Mon Sep 17 00:00:00 2001 -From: Bert Huijben <rhuijben@apache.org> -Date: Mon, 2 Nov 2015 17:50:29 +0000 -Subject: [PATCH] * build/check.py Print a bit more information about the - failed test. The returncode might be interesting to track down signal - problems. - -git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1712098 13f79535-47bb-0310-9956-ffa450edef68 ---- - build/check.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/build/check.py b/build/check.py -index fc49d336..75287016 100755 ---- a/build/check.py -+++ b/build/check.py -@@ -55,13 +55,13 @@ - print "== Testing %s ==" % (case) - try: - subprocess.check_call([SERF_RESPONSE_EXE, case]) -- except subprocess.CalledProcessError: -- print "ERROR: test case %s failed" % (case) -+ except subprocess.CalledProcessError, x: -+ print "ERROR: test failed in '%s', exit code=%d" % (x.cmd, x.returncode) - sys.exit(1) - - print "== Running the unit tests ==" - try: - subprocess.check_call(TEST_ALL_EXE) -- except subprocess.CalledProcessError: -- print "ERROR: test(s) failed in test_all" -+ except subprocess.CalledProcessError, x: -+ print "ERROR: test(s) failed in '%s', exit code=%d" % (x.cmd, x.returncode) - sys.exit(1) -From 773a2ee2ca7a48dd8356707fa6774afcf5b85470 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Branko=20=C4=8Cibej?= <brane@apache.org> -Date: Sat, 9 Jun 2018 08:10:10 +0000 -Subject: [PATCH] Make the tests run with Python 3.x. - -* build/check.py: Add parentheses around 'print' statement arguments - so that they work when 'print' is a function. - -git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1833223 13f79535-47bb-0310-9956-ffa450edef68 ---- - build/check.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/build/check.py b/build/check.py -index 75287016..e05760f9 100755 ---- a/build/check.py -+++ b/build/check.py -@@ -52,16 +52,16 @@ - - # Find test responses and run them one by one - for case in glob.glob(testdir + "/testcases/*.response"): -- print "== Testing %s ==" % (case) -+ print("== Testing %s ==" % (case)) - try: - subprocess.check_call([SERF_RESPONSE_EXE, case]) -- except subprocess.CalledProcessError, x: -- print "ERROR: test failed in '%s', exit code=%d" % (x.cmd, x.returncode) -+ except subprocess.CalledProcessError as x: -+ print("ERROR: test failed in '%s', exit code=%d" % (x.cmd, x.returncode)) - sys.exit(1) - -- print "== Running the unit tests ==" -+ print("== Running the unit tests ==") - try: - subprocess.check_call(TEST_ALL_EXE) -- except subprocess.CalledProcessError, x: -- print "ERROR: test(s) failed in '%s', exit code=%d" % (x.cmd, x.returncode) -+ except subprocess.CalledProcessError as x: -+ print("ERROR: test(s) failed in '%s', exit code=%d" % (x.cmd, x.returncode)) - sys.exit(1) diff --git a/net-libs/serf/files/serf-1.3.9-python3.patch b/net-libs/serf/files/serf-1.3.9-python3.patch deleted file mode 100644 index 7ba43d91968c..000000000000 --- a/net-libs/serf/files/serf-1.3.9-python3.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 1c0241847e845a8da265aa89f297d3db6ae483b1 Mon Sep 17 00:00:00 2001 -From: Bert Huijben <rhuijben@apache.org> -Date: Wed, 4 Oct 2017 14:56:22 +0000 -Subject: [PATCH] Fix syntax of a print() in the scons file to unbreak building - with most recent scons version. - -* SConstruct - Use Python 3.0 valid syntax to make Scons 3.0.0 happy on both python 3.0 - and 2.7. - -git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1811083 13f79535-47bb-0310-9956-ffa450edef68 ---- - SConstruct | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/SConstruct b/SConstruct -index e5d407b..fab9828 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -199,7 +199,7 @@ CALLOUT_OKAY = not (env.GetOption('clean') or env.GetOption('help')) - - unknown = opts.UnknownVariables() - if unknown: -- print 'Warning: Used unknown variables:', ', '.join(unknown.keys()) -+ print('Warning: Used unknown variables:', ', '.join(unknown.keys())) - - apr = str(env['APR']) - apu = str(env['APU']) diff --git a/net-libs/serf/files/serf-1.3.9-python3_byte.patch b/net-libs/serf/files/serf-1.3.9-python3_byte.patch deleted file mode 100644 index ab86af2082d9..000000000000 --- a/net-libs/serf/files/serf-1.3.9-python3_byte.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 9d30108b630b77f732ef94d1642b159066ffd890 Mon Sep 17 00:00:00 2001 -From: Andreas Stieger <astieger@apache.org> -Date: Wed, 8 Nov 2017 17:05:28 +0000 -Subject: [PATCH] Follow-up to r1811083, fix building with scons 3.0.0 and - Python3 - -* SConstruct: Append decode('utf-8) to FILE.get_contents() to avoid - TypeError: cannot use a string pattern on a bytes-like object - - -git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1814604 13f79535-47bb-0310-9956-ffa450edef68 ---- - SConstruct | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/SConstruct b/SConstruct -index 5f5036b..71e5b0a 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -182,7 +182,7 @@ env.Append(BUILDERS = { - match = re.search('SERF_MAJOR_VERSION ([0-9]+).*' - 'SERF_MINOR_VERSION ([0-9]+).*' - 'SERF_PATCH_VERSION ([0-9]+)', -- env.File('serf.h').get_contents(), -+ env.File('serf.h').get_contents().decode('utf-8'), - re.DOTALL) - MAJOR, MINOR, PATCH = [int(x) for x in match.groups()] - env.Append(MAJOR=str(MAJOR)) diff --git a/net-libs/serf/serf-1.3.9-r4.ebuild b/net-libs/serf/serf-1.3.9-r4.ebuild deleted file mode 100644 index 0d7c80cd62a3..000000000000 --- a/net-libs/serf/serf-1.3.9-r4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic - -DESCRIPTION="HTTP client library" -HOMEPAGE="https://serf.apache.org/" -SRC_URI="mirror://apache/${PN}/${P}.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="kerberos" -# Many test failures. -RESTRICT="test" - -RDEPEND="dev-libs/apr:1= - dev-libs/apr-util:1= - dev-libs/openssl:0= - sys-libs/zlib:0= - kerberos? ( virtual/krb5 )" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-build/scons-2.3.0" - -PATCHES=( - "${FILESDIR}"/${PN}-1.3.8-static-lib.patch - "${FILESDIR}"/${PN}-1.3.8-openssl.patch - "${FILESDIR}"/${PN}-1.3.9-python3.patch - "${FILESDIR}"/${PN}-1.3.9-python3_byte.patch - "${FILESDIR}"/${PN}-1.3.9-python3-check.patch - "${FILESDIR}"/${PN}-1.3.9-openssl-3-bio-ctrl.patch - "${FILESDIR}"/${PN}-1.3.9-openssl-3-errgetfunc.patch - "${FILESDIR}"/${PN}-1.3.9-libressl.patch #903001, 906123 -) - -src_prepare() { - default - - # https://code.google.com/p/serf/issues/detail?id=133 - sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct || die - - # need limits.h for PATH_MAX (only when EXTENSIONS is enabled) - [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__EXTENSIONS__ -} - -src_compile() { - myesconsargs=( - BUILD_STATIC=no - PREFIX="${EPREFIX}/usr" - LIBDIR="${EPREFIX}/usr/$(get_libdir)" - # These config scripts are sent through a shell with an empty env - # which breaks the SYSROOT usage in them. Set the vars inline to - # avoid that. - APR="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apr-1-config" - APU="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apu-1-config" - AR="$(tc-getAR)" - RANLIB="$(tc-getRANLIB)" - CC="$(tc-getCC)" - CPPFLAGS="${CPPFLAGS}" - CFLAGS="${CFLAGS}" - LINKFLAGS="${LDFLAGS}" - ) - - if use kerberos; then - myesconsargs+=( GSSAPI="${SYSROOT}${EPREFIX}/usr/bin/krb5-config" ) - fi - - escons "${myesconsargs[@]}" -} - -src_test() { - escons check -} - -src_install() { - escons install --install-sandbox="${D}" -} 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 @@ <use> <flag name="av">Adds support for audio and video.</flag> <flag name="dht-node">Enables DHT Bootstrap Node.</flag> + <flag name="experimental">Enables the experimental api</flag> <flag name="key-utils">Builds utilities to create custom keys and profiles</flag> <flag name="log-error">Log level: 1</flag> <flag name="log-warn">Log level: 2</flag> 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 +} diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index ab38cb452a39..eab7bf6ac8f3 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -2,8 +2,13 @@ AUX 2.42.3-arm64-non-jumbo-fix-925621.patch 1025 BLAKE2B 6a9641b4c05b62c143b2be5 AUX 2.44.1-branch-patchset.patch 11288 BLAKE2B 0966d524063bc6137464eca431d161ac3b8ec0687f5cb2fa318d95734ceebd6bf9a4bef8db39b135f02a5e64ab453a9e74b3484db1411cf8ad85292d9d4cf034 SHA512 7f2420e49e085fecd630a62866ba2df0470e89f5bf92251436e9aca55200a158b96e866bf15bef283abf4b81d484d9747368fcd3ed2c58d0650aee1df9d9cd52 AUX 2.44.1-non-unified-build-fixes.patch 11799 BLAKE2B 6928f61428c4bc6594a46f7427e644143b071c39cc7405b143d693f956631519860efd958dd928f55c1e6139334966fd6bb92e42594c7b7b9b11236d5b0154f2 SHA512 c3ee1b48bebe8c6e504b6d15277b67261cceffa9790a212972f2d0ffd32d68c60c96373a2fecc0af9c6400114ecc84130bb23d81d03e08473b60eaadc3df9802 AUX 2.44.1-riscv.patch 2977 BLAKE2B 37a6e22cea8f621e1857141a77b886d82afca1bec70d56b5ecce4b5f89eefc1c0c311f11521840872314a1372ef4666b71000ed14eec787a26c4dc694a1168b3 SHA512 ee5ecbc98c0a40d41477975adc9d4d093cecb9dfe26901f6a5eed510bcefb505885fd7dc99cccc20a79661df900a70a985d2cf740f51481037a8888961488cda +AUX 2.44.2-excessive-cpu-usage.patch 2972 BLAKE2B 2d01af909030900b4c2de7e441b4c667cdd739d3856ee21a2ec1f49ea74430159b1e66b7dd2cefbf6be6c4684a6ea70b39b7064d751076e2d409cff40e7a7521 SHA512 6a0b65e7c70d5d7ad1c80ca4441a3442dcfb399f55dd1c3c1771f710e20da45bb92490967e9efe8943b89b0c298812a65112100bdb0fcacefc24cb695b1bb61c DIST webkitgtk-2.44.1.tar.xz 36280696 BLAKE2B a5fff4c4fe90bcd0ea098930e51a36ea60152da47fd06e78abbc10f146437838aa19fed15cf58732b538046e1f42d8461cd5c0e0859096506932c9fae150cc16 SHA512 b1752303f9ee38ef98c1e5c0cad001d389eaedbbf07d13fed8699104e6e311cb47a9bed7089868cb92c53d2777aaff441147353da13123d5c8eee4adf8709169 +DIST webkitgtk-2.44.2.tar.xz 36289060 BLAKE2B f92ba55adf7bfea165d9950ffbea6f848466be7c6a96b50e0c1c080964415b3e1b44f65c22fa8f64e907e6e7785bd86082452ce15c62ff52811ebc7b8d6b1071 SHA512 b7eb85c1695b7240285fd467443829c94b0c015fba9953a6e370d2195a3e3afab951bab279c922e7499ba7ca150949f3c1126b6100b30b08bef3338f84f08ac5 EBUILD webkit-gtk-2.44.1-r410.ebuild 8153 BLAKE2B 06c69a117128b5489925c4ee7d373d4152679155a30b83472e3c382be96fda4ec19322f3b73ce7a9524f5be61db71b6fe126876817777be22ba9844de84d2854 SHA512 1af3eabd3e18786bc027eb72168b03ccacec24daddfc9eeaf886d97bbf6ab29d7a5039e191d5ebf9fe156cc069ca9c57b09f58f3955f5b8905ffe2f1188ddb58 EBUILD webkit-gtk-2.44.1-r600.ebuild 8923 BLAKE2B 060e3e00a95a062cea4710d2d1e47cf77dae266aa978dd1883cfb37f07f835048494b18b936c3aa262fa8f4e5aa519559704bb657e0d6ceeb1afcd0b060c3b99 SHA512 35edaf1c7839d3f5f522ebc5e02c6d2f6f1fd57a6a963c120a62ecac8cefc21da5e027501acad4342aaa2d7b43f475ff39a92372ddbfa20c2899ce711cc93578 EBUILD webkit-gtk-2.44.1.ebuild 8001 BLAKE2B 1ecfff526fca6a304d9334a095f031a59d619645b5dcd6fdc8b2f9024af99e82e0a0fbd790b702894780fad3612971dad37257cd10dcd2ceb1ef75fb010723fc SHA512 9a08a2ff8248c40751d7ff5b6bee72d214ed86cbf7c6c00cac87b24d184dba07d618f329efd31026a2291ae9cb29393eb0f078f875b54dd381e2d061c5ff6df1 +EBUILD webkit-gtk-2.44.2-r410.ebuild 8125 BLAKE2B 1d2a1d4e29b1c433fadee219742305bf3fe2f03dca0df4c58dac3ec7272080db41da1dc44ab8fc5e67ac3dbe0a18e379ffb0b91f9f4946f1a8822fa1edefd44c SHA512 07b96ad0f5101a12ee959b91cd0150eba2c7fe1ab883802db44c2003a001e4e4fc34c7b4db7a09666c428490f53be2ad1397cedff0a74d35b4f68c0d5cb97674 +EBUILD webkit-gtk-2.44.2-r600.ebuild 8818 BLAKE2B 87dfee81987caabeb99c4a78f2d0238f05e3c8b32dd573b3213608a47b5e491d917147e905a89ec8e1915db60d4c4ac3ab2a9e02e94592587552c31ef1ccdb6a SHA512 1582a6c8ceedbfed31f39efb843e383683e149c7c8f6ddcf848663623d23bf0cb94c11701d65d63786d6b12336915091378d2b71b69388604af050ea8d433a31 +EBUILD webkit-gtk-2.44.2.ebuild 7973 BLAKE2B 662e808d05ec4a4f49678acdaa68be406d6c272058ee8c9a0dacc0ab8f1573b942b6f92e1c2356bb823c34179e98e64bd7c3df3a1bb127f8b8127d8b768fd133 SHA512 d5f9b2aea3e53c495286ca7200429fc95b844a8df4c63c75561529028575afb60f2ed50c5ea6f9bdccdb97f07ac4a18cc035d8237faaeb43e35f906d0668b4e8 MISC metadata.xml 615 BLAKE2B 5527ca0439e337193601d221df1b5f9b85c6f4ea0b0867fe8ac0548307672de45fe956fe61c0044b778644c8079271eba565854ab041ce45738dd98a9b3db39e SHA512 4681816de7821ede7c252e62a4cb29ee5c6e88f1799972a7325b40ed1998f9462835ca38c42dc65eeac4c0bcb0d672593af857fcf442cced865bdfdefe063eb1 diff --git a/net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch b/net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch new file mode 100644 index 000000000000..215e92e532c9 --- /dev/null +++ b/net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch @@ -0,0 +1,53 @@ +From c6f625d1c91df9986d79a928b01399dce4beb1cc Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro <mcatanzaro@redhat.com> +Date: Sat, 18 May 2024 08:25:37 -0500 +Subject: [PATCH] Revert "Cherry-pick 276798@main (f91aeb92bd8e). + https://bugs.webkit.org/show_bug.cgi?id=260455" + +Unreviewed. This reverts commit 30ad9a720e6b12a6c958fcef0d7dd3f52da485bd. + +See: https://bugs.webkit.org/show_bug.cgi?id=274261 +Canonical link: https://commits.webkit.org/274313.257@webkitglib/2.44 +--- + ...e-muted-scroll-and-seek-crash-expected.txt | 4 -- + ...ia-source-muted-scroll-and-seek-crash.html | 65 ------------------- + .../gstreamer/MediaPlayerPrivateGStreamer.cpp | 14 +--- + 3 files changed, 3 insertions(+), 80 deletions(-) + delete mode 100644 LayoutTests/media/media-source/media-source-muted-scroll-and-seek-crash-expected.txt + delete mode 100644 LayoutTests/media/media-source/media-source-muted-scroll-and-seek-crash.html + +diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp +index 7b28083fae71..a5fb5d679153 100644 +--- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp ++++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp +@@ -328,8 +328,8 @@ void MediaPlayerPrivateGStreamer::load(const String& urlString) + m_fillTimer.stop(); + + ASSERT(m_pipeline); +- setPlaybinURL(url); + setVisibleInViewport(player->isVisibleInViewport()); ++ setPlaybinURL(url); + + GST_DEBUG_OBJECT(pipeline(), "preload: %s", convertEnumerationToString(m_preload).utf8().data()); + if (m_preload == MediaPlayer::Preload::None && !isMediaSource()) { +@@ -4027,18 +4027,10 @@ void MediaPlayerPrivateGStreamer::setVisibleInViewport(bool isVisible) + if (!isVisible) { + GstState currentState; + gst_element_get_state(m_pipeline.get(), ¤tState, nullptr, 0); +- // WebKitMediaSrc cannot properly handle PAUSED -> READY -> PAUSED currently, so we have to avoid transitioning +- // back to READY when the player becomes visible. +- GstState minimumState = isMediaSource() ? GST_STATE_PAUSED : GST_STATE_READY; +- if (currentState >= minimumState) ++ if (currentState > GST_STATE_NULL) + m_invisiblePlayerState = currentState; + m_isVisibleInViewport = false; +- // Avoid setting the pipeline to PAUSED unless the playbin URL has already been set, +- // otherwise it will fail, and may leave the pipeline stuck on READY with PAUSE pending. +- if (!m_url.isValid()) +- return; +- [[maybe_unused]] auto setStateResult = gst_element_set_state(m_pipeline.get(), GST_STATE_PAUSED); +- ASSERT(setStateResult != GST_STATE_CHANGE_FAILURE); ++ gst_element_set_state(m_pipeline.get(), GST_STATE_PAUSED); + } else { + m_isVisibleInViewport = true; + if (m_invisiblePlayerState != GST_STATE_VOID_PENDING) diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.2-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.2-r410.ebuild new file mode 100644 index 000000000000..ef91968ef052 --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.2-r410.ebuild @@ -0,0 +1,257 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{10..12} ) +USE_RUBY="ruby31 ruby32 ruby33" + +inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" +REQUIRED_USE="|| ( aqua wayland X )" + +# Tests do not run when built from tarballs +# https://bugs.webkit.org/show_bug.cgi?id=215986 +RESTRICT="test" + +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream +# media-libs/mesa dep is for libgbm +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +# TODO: gst-plugins-base[X] is only needed when build configuration ends up +# with GLX set, but that's a bit automagic too to fix +# Softblocking webkit-gtk-2.38:4 as at that time WebKitWebDriver migrated to SLOT=4.1; currently it is found in SLOT=6 +RDEPEND=" + >=x11-libs/cairo-1.16.0[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + dev-libs/libtasn1:= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-61.2:= + media-libs/libjpeg-turbo:0= + >=media-libs/libepoxy-1.5.4[egl(+)] + >=net-libs/libsoup-3.0.8:3.0[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3 + sys-libs/zlib:0 + media-libs/libwebp:= + >=app-accessibility/at-spi2-core-2.46.0:2 + + >=dev-libs/glib-2.70.0:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) + x11-libs/libdrm + media-libs/mesa + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0[egl,X?] + media-libs/gst-plugins-base:1.0[opengl] + >=media-plugins/gst-plugins-opus-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + ) + + X? ( x11-libs/libX11 ) + + dev-libs/hyphen + jpegxl? ( >=media-libs/libjxl-0.7.0:= ) + avif? ( >=media-libs/libavif-0.9.0:= ) + lcms? ( media-libs/lcms:2 ) + + media-libs/libglvnd + wayland? ( + >=dev-libs/wayland-1.20 + >=dev-libs/wayland-protocols-1.24 + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) + !<net-libs/webkit-gtk-2.38:4 +" +DEPEND="${RDEPEND}" +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + dev-util/unifdef + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP + + wayland? ( dev-util/wayland-scanner ) +" + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and +# gnome2_src_prepare, and both apply ${PATCHES[@]} +PATCHES=() + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + + if ! test-flag-CXX -std=c++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + gnome2_src_prepare + + # Fix USE=-jumbo-build compilation on arm64 + eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch + # Fix USE=-jumbo-build on all arches + eapply "${FILESDIR}"/2.44.1-non-unified-build-fixes.patch + # https://bugs.webkit.org/show_bug.cgi?id=274261 + eapply "${FILESDIR}"/${PV}-excessive-cpu-usage.patch +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) + filter-lto + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # Sigbuses on SPARC with mcpu and co., bug #??? + use sparc && filter-flags "-mvis" + + # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 + use ppc64 && append-flags "-mminimal-toc" + + # Try to use less memory, bug #469942 (see Fedora .spec for reference) + # --no-keep-memory doesn't work on ia64, bug #502492 + if ! use ia64; then + append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") + fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + local RUBY + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then + RUBY="$(type -P ${rubyimpl})" + ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" + # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly + # so it doesn't respect RUBY_EXECUTABLE, bug #771744. + sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die + + # TODO: Check Web Audio support + # should somehow let user select between them? + + local mycmakeargs=( + -DPython_EXECUTABLE="${PYTHON}" + ${ruby_interpreter} + # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + # Source/cmake/WebKitFeatures.cmake + -DENABLE_API_TESTS=OFF + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_PDFJS=$(usex pdf) + -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) + -DENABLE_SPELLCHECK=$(usex spell) + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_VIDEO=$(usex gstreamer) + -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) + -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) + -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 + -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.1 and use the webkit2gtk-6.0 one + -DENABLE_WEBGL=ON + -DENABLE_WEB_AUDIO=$(usex gstreamer) + -DUSE_AVIF=$(usex avif) + # Source/cmake/OptionsGTK.cmake + -DENABLE_DOCUMENTATION=OFF + -DENABLE_INTROSPECTION=$(usex introspection) + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DENABLE_X11_TARGET=$(usex X) + -DUSE_GBM=ON + -DUSE_GTK4=OFF + -DUSE_JPEGXL=$(usex jpegxl) + -DUSE_LCMS=$(usex lcms) + -DUSE_LIBBACKTRACE=OFF + -DUSE_LIBDRM=ON + -DUSE_LIBHYPHEN=ON + -DUSE_LIBSECRET=$(usex keyring) + -DUSE_SOUP2=OFF + -DUSE_WOFF2=ON + ) + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +pkg_postinst() { + optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" + optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" + optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" + optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" + optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" +} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.2-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.2-r600.ebuild new file mode 100644 index 000000000000..309e406ec616 --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.2-r600.ebuild @@ -0,0 +1,269 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{10..12} ) +USE_RUBY="ruby31 ruby32 ruby33" + +inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="6/0" # soname version of libwebkit2gtk-6.0 +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" +REQUIRED_USE="|| ( aqua wayland X )" + +# Tests do not run when built from tarballs +# https://bugs.webkit.org/show_bug.cgi?id=215986 +RESTRICT="test" + +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream +# media-libs/mesa dep is for libgbm +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +# TODO: gst-plugins-base[X] is only needed when build configuration ends up +# with GLX set, but that's a bit automagic too to fix +# Softblocking <webkit-gtk-2.38:4 and <webkit-gtk-2.44:4.1 as since 2.44 this SLOT ships the WebKitWebDriver binary; +# WebKitWebDriver is an automation tool for web developers, which lets one control the browser via WebDriver API - only one SLOT can ship it +# TODO: There is build-time conditional depend on gtk-4.13.4 for using more efficient DmaBuf buffer type instead of EglImage, and gtk-4.13.7 for a11y support - ensure it at some point with a min dep +# TODO: at-spi2-core (atspi-2.pc) is checked at build time, but not linked to in the gtk4 SLOT - is it an upstream check bug and only gtk-4.14 a11y support is used? +RDEPEND=" + >=x11-libs/cairo-1.16.0[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + dev-libs/libtasn1:= + >=gui-libs/gtk-4.6.0:4[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-61.2:= + media-libs/libjpeg-turbo:0= + >=media-libs/libepoxy-1.5.4[egl(+)] + >=net-libs/libsoup-3.0.8:3.0[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3 + sys-libs/zlib:0 + media-libs/libwebp:= + >=app-accessibility/at-spi2-core-2.46.0:2 + + >=dev-libs/glib-2.70.0:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) + x11-libs/libdrm + media-libs/mesa + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0[egl,X?] + media-libs/gst-plugins-base:1.0[opengl] + >=media-plugins/gst-plugins-opus-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + ) + + X? ( x11-libs/libX11 ) + + dev-libs/hyphen + jpegxl? ( >=media-libs/libjxl-0.7.0:= ) + avif? ( >=media-libs/libavif-0.9.0:= ) + lcms? ( media-libs/lcms:2 ) + + media-libs/libglvnd + wayland? ( + >=dev-libs/wayland-1.20 + >=dev-libs/wayland-protocols-1.24 + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) + !<net-libs/webkit-gtk-2.38:4 + !<net-libs/webkit-gtk-2.44:4.1 +" +DEPEND="${RDEPEND}" +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + dev-util/unifdef + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP + + wayland? ( dev-util/wayland-scanner ) +" + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and +# gnome2_src_prepare, and both apply ${PATCHES[@]} +PATCHES=() + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + + if ! test-flag-CXX -std=c++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + gnome2_src_prepare + + # Fix USE=-jumbo-build compilation on arm64 + eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch + # Fix USE=-jumbo-build on all arches + eapply "${FILESDIR}"/2.44.1-non-unified-build-fixes.patch + # https://bugs.webkit.org/show_bug.cgi?id=274261 + eapply "${FILESDIR}"/${PV}-excessive-cpu-usage.patch +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) + filter-lto + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # Sigbuses on SPARC with mcpu and co., bug #??? + use sparc && filter-flags "-mvis" + + # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 + use ppc64 && append-flags "-mminimal-toc" + + # Try to use less memory, bug #469942 (see Fedora .spec for reference) + # --no-keep-memory doesn't work on ia64, bug #502492 + if ! use ia64; then + append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") + fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + local RUBY + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then + RUBY="$(type -P ${rubyimpl})" + ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" + # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly + # so it doesn't respect RUBY_EXECUTABLE, bug #771744. + sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die + + # TODO: Check Web Audio support + # should somehow let user select between them? + + local mycmakeargs=( + -DPython_EXECUTABLE="${PYTHON}" + ${ruby_interpreter} + # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + # Source/cmake/WebKitFeatures.cmake + -DENABLE_API_TESTS=OFF + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_PDFJS=$(usex pdf) + -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) + -DENABLE_SPELLCHECK=$(usex spell) + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_VIDEO=$(usex gstreamer) + -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) + -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) + -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 + -DENABLE_WEBDRIVER=ON + -DENABLE_WEBGL=ON + -DENABLE_WEB_AUDIO=$(usex gstreamer) + -DUSE_AVIF=$(usex avif) + # Source/cmake/OptionsGTK.cmake + -DENABLE_DOCUMENTATION=OFF + -DENABLE_INTROSPECTION=$(usex introspection) + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DENABLE_X11_TARGET=$(usex X) + -DUSE_GBM=ON + -DUSE_GTK4=ON # webkit2gtk-6.0 + -DUSE_JPEGXL=$(usex jpegxl) + -DUSE_LCMS=$(usex lcms) + -DUSE_LIBBACKTRACE=OFF + -DUSE_LIBDRM=ON + -DUSE_LIBHYPHEN=ON + -DUSE_LIBSECRET=$(usex keyring) + -DUSE_SOUP2=OFF + -DUSE_WOFF2=ON + ) + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /usr/share/gtk-doc/html + # This will install API docs specific to webkit2gtk-6.0 + doins -r "${S}"/Documentation/{jsc-glib,webkitgtk,webkitgtk-web-process-extension}-6.0 +} + +pkg_postinst() { + optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" + optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" + optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" + optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" + optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" +} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.2.ebuild new file mode 100644 index 000000000000..a2297929dbcd --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.2.ebuild @@ -0,0 +1,255 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{10..12} ) +USE_RUBY="ruby31 ruby32 ruby33" + +inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="4/37" # soname version of libwebkit2gtk-4.0 +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" +REQUIRED_USE="|| ( aqua wayland X )" + +# Tests do not run when built from tarballs +# https://bugs.webkit.org/show_bug.cgi?id=215986 +RESTRICT="test" + +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream +# media-libs/mesa dep is for libgbm +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +# TODO: gst-plugins-base[X] is only needed when build configuration ends up +# with GLX set, but that's a bit automagic too to fix +RDEPEND=" + >=x11-libs/cairo-1.16.0[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + dev-libs/libtasn1:= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-61.2:= + media-libs/libjpeg-turbo:0= + >=media-libs/libepoxy-1.5.4[egl(+)] + >=net-libs/libsoup-2.54:2.4[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3 + sys-libs/zlib:0 + media-libs/libwebp:= + >=app-accessibility/at-spi2-core-2.46.0:2 + + >=dev-libs/glib-2.70.0:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) + x11-libs/libdrm + media-libs/mesa + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.20:1.0 + >=media-libs/gst-plugins-base-1.20:1.0[egl,X?] + media-libs/gst-plugins-base:1.0[opengl] + >=media-plugins/gst-plugins-opus-1.20:1.0 + >=media-libs/gst-plugins-bad-1.20:1.0 + ) + + X? ( x11-libs/libX11 ) + + dev-libs/hyphen + jpegxl? ( >=media-libs/libjxl-0.7.0:= ) + avif? ( >=media-libs/libavif-0.9.0:= ) + lcms? ( media-libs/lcms:2 ) + + media-libs/libglvnd + wayland? ( + >=dev-libs/wayland-1.20 + >=dev-libs/wayland-protocols-1.24 + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) +" +DEPEND="${RDEPEND}" +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + dev-util/unifdef + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP + + wayland? ( dev-util/wayland-scanner ) +" + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and +# gnome2_src_prepare, and both apply ${PATCHES[@]} +PATCHES=() + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + + if ! test-flag-CXX -std=c++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + gnome2_src_prepare + + # Fix USE=-jumbo-build compilation on arm64 + eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch + # Fix USE=-jumbo-build on all arches + eapply "${FILESDIR}"/2.44.1-non-unified-build-fixes.patch + # https://bugs.webkit.org/show_bug.cgi?id=274261 + eapply "${FILESDIR}"/${PV}-excessive-cpu-usage.patch +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) + filter-lto + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # Sigbuses on SPARC with mcpu and co., bug #??? + use sparc && filter-flags "-mvis" + + # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 + use ppc64 && append-flags "-mminimal-toc" + + # Try to use less memory, bug #469942 (see Fedora .spec for reference) + # --no-keep-memory doesn't work on ia64, bug #502492 + if ! use ia64; then + append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") + fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + local RUBY + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then + RUBY="$(type -P ${rubyimpl})" + ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" + # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly + # so it doesn't respect RUBY_EXECUTABLE, bug #771744. + sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die + + # TODO: Check Web Audio support + # should somehow let user select between them? + + local mycmakeargs=( + -DPython_EXECUTABLE="${PYTHON}" + ${ruby_interpreter} + # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + # Source/cmake/WebKitFeatures.cmake + -DENABLE_API_TESTS=OFF + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_PDFJS=$(usex pdf) + -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) + -DENABLE_SPELLCHECK=$(usex spell) + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_VIDEO=$(usex gstreamer) + -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) + -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) + -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 + -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.1 and use the webkit2gtk-6.0 one + -DENABLE_WEBGL=ON + -DENABLE_WEB_AUDIO=$(usex gstreamer) + -DUSE_AVIF=$(usex avif) + # Source/cmake/OptionsGTK.cmake + -DENABLE_DOCUMENTATION=OFF + -DENABLE_INTROSPECTION=$(usex introspection) + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DENABLE_X11_TARGET=$(usex X) + -DUSE_GBM=ON + -DUSE_GTK4=OFF + -DUSE_JPEGXL=$(usex jpegxl) + -DUSE_LCMS=$(usex lcms) + -DUSE_LIBBACKTRACE=OFF + -DUSE_LIBDRM=ON + -DUSE_LIBHYPHEN=ON + -DUSE_LIBSECRET=$(usex keyring) + -DUSE_SOUP2=ON + -DUSE_WOFF2=ON + ) + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +pkg_postinst() { + optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" + optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" + optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" + optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" + optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" +} diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest index 14df1a6b6dab..9cc008ad3977 100644 --- a/net-libs/xdp-tools/Manifest +++ b/net-libs/xdp-tools/Manifest @@ -1,6 +1,5 @@ -AUX 1.4.1-fix-memory-leak-in-xsk_setup_xdp_prog.patch 1120 BLAKE2B c922ec5fec6b4a7d73289a56aab40505dfca1d79ec36038631e6c337fcc5aa6c22671110b278bfd9e8fc68410a212bf3a1b9bdc8a61e867d0c803c554607e266 SHA512 05387a2625dc25349d8ac941c16fc0fd9216453c771cdd166bfef0afba61df512888bd9e14b55222f51b5956fd54db41b45be0487fd8fc0fd65d861109837aac -DIST xdp-tools-1.4.1.tar.gz 339878 BLAKE2B 30ed245dd0da8404cf67313ea4d5f9a148507d14bd7330bdac3b03c07d1cc0b38eb1a376636551cb8ea14c8a2e77d02527da363733a1059e1c2ebaee9ac90392 SHA512 9d2ad42713aa53c10ccbde2c344bf2696524e317544f3693114b343ab74240187699c3802cfc6efa05b3e9f9bfec80fd2537799aa3ae050717bb1f6aab435996 DIST xdp-tools-1.4.2.tar.gz 340864 BLAKE2B c5197330ff917043e03a16346823acab760db5fe903f2e039bd2c178ad34bb04d96a0d6b321fd3565256c39422f3f1f7b475970bd22ab487e30468c96e11c711 SHA512 aedf79859872523d514f18e7a6e8b7999bd1942021968dbba9a7e86cde1c193e31b328bc56d6bf2b3fbc7f266c9df8d942d90a70bbd9d514ce38d56c07cd18ca -EBUILD xdp-tools-1.4.1-r1.ebuild 2363 BLAKE2B 9627ed4b09696b64d526355136b7fc8b9a0e99bd19fd43b6d8b3aed25c20b4b25365dcfbc9c50d8f51a2d2355c25048272ecbee7c9b39d09f3e2170f90a9967a SHA512 dc760636998c615a295367be28171b629815f867254506ba2365b1f1f30e7a355528580104049236eff52ff2a749718931be9aca75b119bf46a5e99e8ecdf4a3 +DIST xdp-tools-1.4.3.tar.gz 339989 BLAKE2B 836eb66a2264e9d46124a009a8b3e039da23f28f83460fb3aa724c8ca4c37952979278e3041e9acca44acd68cc94423d73f381febc107c454db7da01f583ae41 SHA512 3ba176e573d02feefc1baf81570b514bc25a61d7be3256ce530128092f07b246b8731430289cdcd874f8846122a4451f0bcd06891565dd1b48beaa10b854c646 EBUILD xdp-tools-1.4.2.ebuild 2285 BLAKE2B 1782fc7c7fd82f8bf779ee1f9c292c5c0985f3e8fda4c51b67ec7c9b30440d9263b389f285021d289ff4e0bf0fccf454530e46753ffa9dabe1811a8f6077da94 SHA512 33bdd3e3df88cfe77b0d431d9dddf4f9ceac1e86d34706900c67c4e9622726373faf5017bd16be00dfd604ad60e211d3ecb71f4fdc051a0c358603397409dd25 +EBUILD xdp-tools-1.4.3.ebuild 2286 BLAKE2B f628edd88fd0dc18f02e46bc5e2fa7bfb11ea6483f6d6d14a11fd7e0be0c97032902a4a3eaa9b57b85fc784ff15a16335d48f35c92fa338e4dbf3f2a38c4f74a SHA512 b26960a9d91d9997aaa4c7c7f5817e5709ca4636f25aa03ed5f7f804640d81b4a62af8a7693d46a967c5d35227763d2f87dfb2c73d5725d4d589c7d3f2f09989 MISC metadata.xml 731 BLAKE2B a9c958d31f9ece376e4518e213823c14474df47747205020b76da7a0a67f7ed926ec55002b586143ce84cb965a23ad1794a42862597278682ef3605fc7d07911 SHA512 78774e4bcc6e05d56fe82b0aacd46e4d23e3bd89aa5bb55900adb94648d06b3251c575d4d0b6108cdad0f2ffbabcc2973e50e804b120a73e8923cd679601384f diff --git a/net-libs/xdp-tools/files/1.4.1-fix-memory-leak-in-xsk_setup_xdp_prog.patch b/net-libs/xdp-tools/files/1.4.1-fix-memory-leak-in-xsk_setup_xdp_prog.patch deleted file mode 100644 index 6c95a970f876..000000000000 --- a/net-libs/xdp-tools/files/1.4.1-fix-memory-leak-in-xsk_setup_xdp_prog.patch +++ /dev/null @@ -1,34 +0,0 @@ - -Patch from: -https://github.com/xdp-project/xdp-tools/commit/cae9c91353cd3ed51753168203ed101905b9ac9e - -From cae9c91353cd3ed51753168203ed101905b9ac9e Mon Sep 17 00:00:00 2001 -From: Ric Li <ming3.li@intel.com> -Date: Tue, 21 Nov 2023 15:36:57 +0800 -Subject: [PATCH] libxdp: Fix xdp prog memory leak in xsk_setup_xdp_prog - -In the xsk_setup_xdp_prog function, the xsk structure -temporarily takes ownership of an xdp_prog and stores it in -ctx->xdp_prog. However, the allocated memory is not freed -in xsk_destroy_xsk_struct, leading to a memory leak. This -commit addresses the issue by adding a call to -xdp_program_close to properly release the allocated -xdp_prog memory. - -Signed-off-by: Ric Li <ming3.li@intel.com> ---- - lib/libxdp/xsk.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/libxdp/xsk.c b/lib/libxdp/xsk.c -index a854f771..b3527fb6 100644 ---- a/lib/libxdp/xsk.c -+++ b/lib/libxdp/xsk.c -@@ -978,6 +978,7 @@ static struct xsk_ctx *xsk_create_ctx(struct xsk_socket *xsk, - - static void xsk_destroy_xsk_struct(struct xsk_socket *xsk) - { -+ xdp_program__close(xsk->ctx->xdp_prog); - free(xsk->ctx); - free(xsk); - } diff --git a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild index 62df6baaace5..6861f5e2c969 100644 --- a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild +++ b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2 LGPL-2.1 BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="+tools" DEPEND=" @@ -32,10 +32,6 @@ QA_PREBUILT="usr/lib/bpf/*.o" MAKEOPTS+=" V=1" -PATCHES=( - "${FILESDIR}"/1.4.1-fix-memory-leak-in-xsk_setup_xdp_prog.patch -) - src_prepare() { # remove -Werror: #899744 sed -i 's/-Werror//g' lib/Makefile lib/defines.mk || die diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index f78fff01b942..a8ac2de8c413 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -1,8 +1,6 @@ AUX cmsd.initd 885 BLAKE2B 9198afa01850da74519a6869894ebd86313f87781e3e2401d429e5e05a938a19a583feca808f78c4b497fd459a8adaece01d0482b132646033575cd50ad5b1b7 SHA512 7f666e98634b205964d69fd540fb79c7ff3b6f1b423ed416a966d1e0d6a18d950908e1dc463e3cc8029fc062b2ff7d29693af8e5af2fb13a36500d40b16345e9 AUX frm_purged.initd 895 BLAKE2B c192a3c69d3161a8342242789cfc1559f189c0748cd0bdd1ee6baf9b5ba98c80d8103fa55344e1c9b040a513045c7a473272da46c800ff2afa45a0665a93c3b2 SHA512 f9c09f8baae7ed391d5248f5dfb7a1d4d60f23605b2646e6f3c2ec33b05838918a4ba4874424e9b4e674f1ca127d57760364552f6f948dcd3ef84245730efc30 AUX frm_xfrd.initd 899 BLAKE2B bdfc83f7bbad7e0d7aea91720798c10367c7ac27851414b99013c01d4f9681e010082bfef332ba2cc520afdbef67051ea80ee6922e515a30de32e735f0a6c6a7 SHA512 1c38b20c9b54cab17706c040a90b00df61c9b2f5e4e7a9cc26fa3b125e1d132097222921b5627a33f69b80c8ae5a64cfbaea0a4880588de9fa9d18f6aaa04768 -AUX xrootd-4.8.3-crc32.patch 1987 BLAKE2B be57f7be2a897a2399f923e4670d219be79053221cc62ca0f6cf9b7abe6fae4f99dde0ccc72f6617bb07a871a396072db59aa57265382dab7928cbffdac1706e SHA512 4c390ed4329f21839ca2b481408c0114e5d4839cf0b04e673677e175c2e7e92573c9f56ec69660d4f5256c824676f65f9fb6c683d0e77d3b1f97bee7e5f65bc9 -AUX xrootd-5.4.3-cmake_no_python.patch 403 BLAKE2B 8e13c64de9bb8504dae8c309fccfb52a13bf5c86be40493272002437c8b5838c75badbdfc8eef3d04e7f62d15509dda138fcecfd4299794c73bbb92f4665182c SHA512 0d082f52a4c6fd0e569d6df9653065d1438a55c047edefbdb882465a6c83d66bca1c358e64e724a656595a2d1e453adaaa662915d74382508338f3d98e98e44e AUX xrootd-5.4.3-python_tests_py3.patch 4491 BLAKE2B 61e3eb0e10de6e746b1447c7a1df8d6345c9533e6285e21263f5e65f8d7c4a6e7d50eef56be48fb9ac88c4efaee488e6f90fe046cbd9b24ace322a8781a5ea5a SHA512 6b854907e1fa45b44492c5224eb977ac7b4682ad1a74319efdf3a9907b252a2bdfd9510fa942f253319b80fa25947b05e3ab2f92b23d7fc1be0282c248741c9d AUX xrootd.confd 651 BLAKE2B a35bf51b82334757dbd27bd48923e59f955361ab009c4b92eef83050d5d4e23904abc2b0b9577f8a5888c875c34bf736cf4072b6684a91ca6ad8cd90fe9a2ba9 SHA512 60ab5b6d77cf79437960044bf201127c8adf5134e7f61a18dcccd2e474a4e41eda971e3ada71dea987716080fb308af98a5237bab2a0b82f50f932ff59e3fdea AUX xrootd.initd 858 BLAKE2B 306970196c9f69db3f94c095c8518b837f5f4723a1cbae273273821e4d77d30a7fe65ac4fccbb640ad5e0b6f879e549dbbc4e799f87b5b5c813d66f2d270af2b SHA512 dcdb75341d904c9850c2bf97393ccbb68ad37b095e0a20ca4dab27b10dd7525874c8ad6e07e5b9c1f3c3566391a50c06dee70622d865fa51a7e73aa4096da955 diff --git a/net-libs/xrootd/files/xrootd-4.8.3-crc32.patch b/net-libs/xrootd/files/xrootd-4.8.3-crc32.patch deleted file mode 100644 index 9f27c4369880..000000000000 --- a/net-libs/xrootd/files/xrootd-4.8.3-crc32.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 64f81b7fad227097f5e135d25a5574cfecf4d50d Mon Sep 17 00:00:00 2001 -From: Guilherme Amadio <amadio@cern.ch> -Date: Fri, 18 May 2018 11:30:58 +0200 -Subject: [PATCH] Remove declarations of crc32 and adler32 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -These break compilation with the error below: - -xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc: - In function ‘int DoA32(const char*)’: -xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc:418:34: - error: expected initializer before ‘OF’ -ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); - ^^ ---- - src/XrdSsi/XrdSsiShMam.cc | 2 +- - tests/XrdSsiTests/XrdShMap.cc | 3 --- - 2 files changed, 1 insertion(+), 4 deletions(-) - -diff --git a/src/XrdSsi/XrdSsiShMam.cc b/src/XrdSsi/XrdSsiShMam.cc -index 013dc855..a4803d71 100644 ---- a/src/XrdSsi/XrdSsiShMam.cc -+++ b/src/XrdSsi/XrdSsiShMam.cc -@@ -882,7 +882,7 @@ bool XrdSsiShMam::GetItem(void *data, const char *key, int hash) - /******************************************************************************/ - - int XrdSsiShMam::HashVal(const char *key) --{ ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); -+{ - uLong crc; - int hval, klen = strlen(key); - -diff --git a/tests/XrdSsiTests/XrdShMap.cc b/tests/XrdSsiTests/XrdShMap.cc -index bb642ac3..860fa7ad 100644 ---- a/tests/XrdSsiTests/XrdShMap.cc -+++ b/tests/XrdSsiTests/XrdShMap.cc -@@ -415,7 +415,6 @@ void Explain(const char *what) - - int DoA32(const char *buff) - { -- ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); - uLong adler = adler32(0L, Z_NULL, 0); - - // Check for ID request now -@@ -438,8 +437,6 @@ int DoA32(const char *buff) - - int DoC32(const char *buff) - { -- ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); -- - // Check for ID request now - // - if (!buff) {int myID; memcpy(&myID, "c32 ", sizeof(int)); return myID;} --- -2.17.0 - diff --git a/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch b/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch deleted file mode 100644 index 04607cdd7b04..000000000000 --- a/net-libs/xrootd/files/xrootd-5.4.3-cmake_no_python.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/bindings/python/CMakeLists.txt -+++ b/bindings/python/CMakeLists.txt -@@ -32,6 +32,7 @@ - - configure_file(${SETUP_PY_IN} ${SETUP_PY}) - -+if (0) - string(FIND "${PIP_OPTIONS}" "--prefix" PIP_OPTIONS_PREFIX_POSITION) - if( "${PIP_OPTIONS_PREFIX_POSITION}" EQUAL "-1" ) - string(APPEND PIP_OPTIONS " --prefix \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}") -@@ -100,3 +101,4 @@ - )" - ) - endif() -+endif() |