diff options
Diffstat (limited to 'net-libs')
134 files changed, 3905 insertions, 2091 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex dd1273d5a33d..375933182351 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/enet/Manifest b/net-libs/enet/Manifest index ba9d0d90d19a..a6afabd89c02 100644 --- a/net-libs/enet/Manifest +++ b/net-libs/enet/Manifest @@ -1,4 +1,6 @@ DIST enet-1.3.17.tar.gz 703278 BLAKE2B d31838a173f629a2216f59173c259cf7cb35985913c5f8f016641ceb189dc20308effa206f03391cafde842ad6e43ec1776d38ce02283bd5990ccf38eadf4d6b SHA512 efa0cb093a6ca295e5012a4fdebc5ffd6516a66a967e97b386b72781b18ce4a118c9bf94e87adbbdcd0ed441e22c62a05c24ff39fd6b475919e8efe9ab4715e4 +DIST enet-1.3.18.tar.gz 737164 BLAKE2B 13a4543d11d7b4c727badac2293b28e1fe465e6990b59139ec2af6d43f827aa83e243fe35aa789b22498898faa8091b26c8bbc38165ef2c5980d775e48d93bcc SHA512 d39b3bc78274ed4040580a0b13f7e628829d88993aa1bae15ab02afe64598badb2c6863b128f25234e27c3a8c4bcfbda360b3b237c92388675714549e9757bb5 EBUILD enet-1.3.17-r1.ebuild 651 BLAKE2B 774101b32dd8e39315a591756d748eabeded15ad08128ac9412fb49bbb986aa664c3236d810caf4dd4578b2cdbcbacebaa31f38077b97be95afa0aea28ba9e8e SHA512 9742b9c5ebdb0f30309cd58daec6952720fe273c6b5bd66a48c3c2dc5c29e9c79a78b838542877bb9c0b1dd76caee8ae815736ba08f1c1f459f3ebc402c188be EBUILD enet-1.3.17.ebuild 647 BLAKE2B 51c3569a5f8eb3923b3585804a9dc2e5dd74e76e844f2c9f0b8942ff945923400e4fe30d47a408d6e1c616469b38f93f2d10bbbd40cb4a1b8620749e51babe5e SHA512 689c3e54ef29a620b40e225016c4b2b09f3aa36db43ac6ff64e251c4db64355d888195eeecf331d136c21ed27dc1858cd02ddfdc68dbcd3166cf580e76fe7a93 +EBUILD enet-1.3.18.ebuild 651 BLAKE2B 5a749203ea800acf3e376bbf2477b94e61a006e68da63ead8a6bf0e652d69f867f9b711a9020702587c98fe74ad0b57be1e3e4275e0e5d27be8e753173c0d7cd SHA512 88b54b9f86d915d8637bbbf49597544aadaba84fecc9503aa496207aaadfbe9af024fb107d1fac25627a79e33363f1ffe64013650bce4f97bc93fcc2fb346a2c MISC metadata.xml 412 BLAKE2B 531f035737f5646642c3d08352d94b25a3fb7e96d8c6a52e9c1f1b3c69af949dda25456c32cfb599ebfca68657cb8699afbb4f583b69d929dd4693f65f01ed51 SHA512 acb6f886f4759fbed4bdb5c785b3f38eb5e1d8d07def250f8678db4fb00c96cec8ef0f7397b10b0aac7dcd2f6a243c0a4930c2de52d7c5339532a4c2ffa6c4c5 diff --git a/net-libs/enet/enet-1.3.18.ebuild b/net-libs/enet/enet-1.3.18.ebuild new file mode 100644 index 000000000000..3ea586ef1690 --- /dev/null +++ b/net-libs/enet/enet-1.3.18.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +DESCRIPTION="Relatively thin, simple and robust network communication layer on top of UDP" +HOMEPAGE="http://enet.bespin.org/ https://github.com/lsalzman/enet/" +SRC_URI="http://enet.bespin.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.3/8" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs" + +RDEPEND="!${CATEGORY}/${PN}:0" + +src_prepare() { + default + elibtoolize +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} 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 5a7928a1bf43..1eb26124d059 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -1,4 +1,6 @@ AUX gnutls-3.8.5-fix-rsaes-pkcs1-systemd-wide-config.patch 7361 BLAKE2B ca74ef7ca3070f2b44b6958547595acaac0c3aa783a6a67897ad9536f32f27838df6538bbe2fa5cb6430279c81373dd9bec9c7828db5d88492f8f24b679be045 SHA512 0319255a2427b993a6191b42cb034876909c6ff3cf5132cda60bc4bdff6f3fb1db191c6394beb9457d0abd99e375505c2c572f74a2ca263996eaedc7e186d318 +AUX gnutls-3.8.7.1-configure-brotli.patch 5647 BLAKE2B 7d19434915ad74687ebd4540f6abe3ee153ee8e2c5a44ede6955f7d70993fdb746f08ad26e74b13a404a9e26200e482b86507f370e7bb0b6671e29ec3c5cd7ac SHA512 2418bab977fccbe33bc05966fc4f60336e34c9eaef8592588531f18ad0f85e4498bb9f59fe98395f2ecaa8be3eb75b8ddaee72d51c6a903b3f44c9bc4e1b95d2 +AUX gnutls-3.8.7.1-tests.patch 1372 BLAKE2B 56cbc8d129acfd84eaf9b2094952bd7d8837f244c620f47c09d12f7a531d251dcdb7273dfe66f8bb62cebc1a24209a1dc67e9b9b1b86c8af755e9464d3f0f100 SHA512 54925063c7571500860627f3d3e60c91d540bedd79da6582c8575e08b08f96fac776e61c835f2ead35eab9e0db57c9ce9e83a4f201a1357326da6b702d0025ed DIST gnutls-3.7.8.tar.xz 6029220 BLAKE2B 0a21e63c7cb0ba4eeff23593c7282e0b4d704fa2d2a1cd5289998fd04b58ea36fc343f872225ad05478e278b1cdebbcd0fd376459abcb58547f8fa1488485530 SHA512 4199bcf7c9e3aab2f52266aadceefc563dfe2d938d0ea1f3ec3be95d66f4a8c8e5494d3a800c03dd02ad386dec1738bd63e1fe0d8b394a2ccfc7d6c6a0cc9359 DIST gnutls-3.7.8.tar.xz.sig 1250 BLAKE2B 66c6a335c3b2290a4e44ffa6ae715ad71d2bcd7df485c1d2d9490985d9dcd445768d6eb021ad3a61614431183c6652254c63ebd8abd0f0a03d3164a6193b6192 SHA512 cecf9843e8683a278d065b663dc98ac2b5fcad1905ee25333038c93c2289b518c974629367e77e66552ac1c9d122d551616edba35cb0c4204202ec676f1a2db7 DIST gnutls-3.7.9.tar.xz 6377212 BLAKE2B c8263381132b0c96f23a580823cfaf57112056876e5f2cc21aec4eeddec641b0c01fa02ff9493ea686f49fd917190b06f89379eb448a510cf4d50fe3a0742851 SHA512 56ccbab5f214f9e3cf10a43dd90dedc1e10a38d08b8359a4305dc05c59ddb4a1d3680b282077b6446605c31675a4261cd0579c2c0d976e0b2ced02e6dba224c1 @@ -11,10 +13,13 @@ DIST gnutls-3.8.5.tar.xz 6491504 BLAKE2B 30ea0e213b426df896af7cddfc39a7c50fd3130 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 +DIST gnutls-3.8.7.1.tar.xz 6695404 BLAKE2B 43334190ce1e45c5302b195f17d06e767d1bea7376278bfbc6ff181a2f57423ba5f334c00ae1833938c7a7a8d15cf607ac862e57435a756ccfa98527d469fd3a SHA512 429cea78e227d838105791b28a18270c3d2418bfb951c322771e6323d5f712204d63d66a6606ce9604a92d236a8dd07d651232c717264472d27eb6de26ddc733 +DIST gnutls-3.8.7.1.tar.xz.sig 580 BLAKE2B ca627d7b3f089205c94f556bee9c06428ada9e0116bb50486dc7dd70f611ae744416d96b17452749d102ccd16bf7b400577b1886a7c8be55833c9e2fde85f9ae SHA512 53ebdaa9775ae22f7eb5e7d6f5411ec667c9c880cea84e23651b6d1994fb1398c09d8efa39b21c96f8be29fa09c2436bdd732a061308956ca1650e3e1878ed57 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.ebuild 4683 BLAKE2B dfd03e9f80c1c9142ba16145414d4c9204fc79a5d5b3e956a8042ac93f7aa12e1207ae031e6b3e4df17fe309367a96eb9b2fed94eecca8c8da90137cc2d39856 SHA512 8e2aad44f15ef216cc2a641bb955c878dcd7eea71209db38cf7df6381a1b9d1647b6e724a13d3fa2f997ac3d28ad111e2fb49548dcba832a3e3be0d2e46949d7 +EBUILD gnutls-3.8.6-r1.ebuild 4981 BLAKE2B ee9e1bbf553c95b6b60aecda5d7884e5a7dcaa7dd0919f3485c7420a36dfff630128cd0d48d98998f4c0abd208f9e908768702564de75604e34637ccc513766a SHA512 c17b8c22a80cb5c933408b9ce87326ff7ca2c3520161c808e06acd5da1399b62e9ea652109e55f046f0b8903521504a0645506d0e8b4d5251dd1663d6534ee41 +EBUILD gnutls-3.8.7.1-r1.ebuild 5243 BLAKE2B de7475b9ed9fa8b3f1454293bfb3d1425062001937e2838ee7ee92ec98302a469ee35678ca8c3f309b65d58e83a191cde535af6edd98b208780706523a763077 SHA512 c8e3663420c7b13ac07383ff66b81e2d9213b9b02582fe0c355c2a74d09a761867147ee78e66f7ca748f37b7337db1374861f04696bc807ff7b1d2490de5e643 MISC metadata.xml 1141 BLAKE2B 70657c924a576930a14064d750074cce08bfe3f99970987aca13f9f1dc49024d8a99de54336b5e51f7cee4fa944045a323cf8384e0363189c4ee60962b185a42 SHA512 467370ffa9762eff75e73ffcb959c7bbe65528b33256c871b702be90c7b6f06e6b60a0a358c81dadba43388ec803a9dabe09a6f7cb3616ee3c65eaa6416140ee diff --git a/net-libs/gnutls/files/gnutls-3.8.7.1-configure-brotli.patch b/net-libs/gnutls/files/gnutls-3.8.7.1-configure-brotli.patch new file mode 100644 index 000000000000..1dac6f514f0b --- /dev/null +++ b/net-libs/gnutls/files/gnutls-3.8.7.1-configure-brotli.patch @@ -0,0 +1,156 @@ +https://bugs.gentoo.org/937997 +https://gitlab.com/gnutls/gnutls/-/merge_requests/1867 + +From 292f96f26d7ce80e4a165c903c4fd569b85c1c1f Mon Sep 17 00:00:00 2001 +From: Daiki Ueno <ueno@gnu.org> +Date: Fri, 16 Aug 2024 09:42:15 +0900 +Subject: [PATCH 1/3] build: fix setting AM_CONDITIONAL for brotli and zstd + +As the with_{libbrotli,libzsttd} variables are unset if configured +with --without-{brotli,zstd}, check the unequality to "no" doesn't +work; use explicit matching with "yes" instead. + +Signed-off-by: Daiki Ueno <ueno@gnu.org> +--- a/configure.ac ++++ b/configure.ac +@@ -1158,7 +1158,7 @@ if test x$ac_brotli != xno; then + else + AC_MSG_RESULT(no) + fi +-AM_CONDITIONAL(HAVE_LIBBROTLI, test "$with_libbrotlienc" != "no" && test "$with_libbrotlidec" != "no") ++AM_CONDITIONAL(HAVE_LIBBROTLI, test "$with_libbrotlienc" = yes && test "$with_libbrotlidec" = yes) + + AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ + save_CFLAGS=$CFLAGS +@@ -1203,7 +1203,7 @@ if test x$ac_zstd != xno; then + else + AC_MSG_RESULT(no) + fi +-AM_CONDITIONAL(HAVE_LIBZSTD, test "$with_libzstd" != "no") ++AM_CONDITIONAL(HAVE_LIBZSTD, test "$with_libzstd" = yes) + + AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ + save_CFLAGS=$CFLAGS +-- +GitLab + + +From 546153198d2fb8fc4902f23de6254bb7988de534 Mon Sep 17 00:00:00 2001 +From: Daiki Ueno <ueno@gnu.org> +Date: Fri, 16 Aug 2024 09:48:31 +0900 +Subject: [PATCH 2/3] build: don't emit Requires.private for dlopened libraries + +Signed-off-by: Daiki Ueno <ueno@gnu.org> +--- a/configure.ac ++++ b/configure.ac +@@ -1100,11 +1100,6 @@ if test x$ac_zlib != xno; then + PKG_CHECK_EXISTS(zlib, ZLIB_HAS_PKGCONFIG=y, ZLIB_HAS_PKGCONFIG=n) + if test "$ZLIB_HAS_PKGCONFIG" = "y" ; then + PKG_CHECK_MODULES(ZLIB, [zlib]) +- if test "x$GNUTLS_REQUIRES_PRIVATE" = x; then +- GNUTLS_REQUIRES_PRIVATE="Requires.private: zlib" +- else +- GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE, zlib" +- fi + ac_zlib=yes + else + AC_LIB_HAVE_LINKFLAGS(z,, [#include <zlib.h>], [compress (0, 0, 0, 0);]) +@@ -1134,6 +1129,13 @@ AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ + compress (0, 0, 0, 0);])]) + LIBS="$save_LIBS" + CFLAGS="$save_CFLAGS" ++], ++ [test "$ZLIB_HAS_PKGCONFIG" = y && test "$ac_zlib" = yes], [ ++ if test "x$GNUTLS_REQUIRES_PRIVATE" = x; then ++ GNUTLS_REQUIRES_PRIVATE="Requires.private: zlib" ++ else ++ GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE, zlib" ++ fi + ]) + + AC_ARG_WITH(brotli, +@@ -1146,11 +1148,6 @@ if test x$ac_brotli != xno; then + PKG_CHECK_MODULES(LIBBROTLIDEC, [libbrotlidec >= 1.0.0], [with_libbrotlidec=yes], [with_libbrotlidec=no]) + if test "${with_libbrotlienc}" = "yes" && test "${with_libbrotlidec}" = "yes"; then + AC_DEFINE([HAVE_LIBBROTLI], 1, [Define if BROTLI compression is enabled.]) +- if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then +- GNUTLS_REQUIRES_PRIVATE="Requires.private: libbrotlienc, libbrotlidec" +- else +- GNUTLS_REQUIRES_PRIVATE="${GNUTLS_REQUIRES_PRIVATE}, libbrotlienc, libbrotlidec" +- fi + need_ltlibdl=yes + else + AC_MSG_WARN(*** LIBBROTLI was not found. You will not be able to use BROTLI compression.) +@@ -1180,6 +1177,13 @@ AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ + BrotliDecoderVersion();])]) + LIBS="$save_LIBS" + CFLAGS="$save_CFLAGS" ++], ++ [test "$with_libbrotlienc" = yes && test "$with_libbrotlidec" = yes], [ ++ if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then ++ GNUTLS_REQUIRES_PRIVATE="Requires.private: libbrotlienc, libbrotlidec" ++ else ++ GNUTLS_REQUIRES_PRIVATE="${GNUTLS_REQUIRES_PRIVATE}, libbrotlienc, libbrotlidec" ++ fi + ]) + + AC_ARG_WITH(zstd, +@@ -1191,11 +1195,6 @@ if test x$ac_zstd != xno; then + PKG_CHECK_MODULES(LIBZSTD, [libzstd >= 1.3.0], [with_libzstd=yes], [with_libzstd=no]) + if test "${with_libzstd}" = "yes"; then + AC_DEFINE([HAVE_LIBZSTD], 1, [Define if ZSTD compression is enabled.]) +- if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then +- GNUTLS_REQUIRES_PRIVATE="Requires.private: libzstd" +- else +- GNUTLS_REQUIRES_PRIVATE="${GNUTLS_REQUIRES_PRIVATE}, libzstd" +- fi + need_ltlibdl=yes + else + AC_MSG_WARN(*** LIBZSTD was not found. You will not be able to use ZSTD compression.) +@@ -1215,6 +1214,13 @@ AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ + ZSTD_versionNumber();])]) + LIBS="$save_LIBS" + CFLAGS="$save_CFLAGS" ++], ++ [test "$with_libzstd" = yes], [ ++ if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then ++ GNUTLS_REQUIRES_PRIVATE="Requires.private: libzstd" ++ else ++ GNUTLS_REQUIRES_PRIVATE="${GNUTLS_REQUIRES_PRIVATE}, libzstd" ++ fi + ]) + + AC_ARG_WITH(liboqs, +-- +GitLab + + +From 8d0ec0ccdfeaae0d56426169d4c7b490e3b07826 Mon Sep 17 00:00:00 2001 +From: Daiki Ueno <ueno@gnu.org> +Date: Fri, 16 Aug 2024 13:35:47 +0900 +Subject: [PATCH 3/3] build: add liboqs in Requires.private in gnutls.pc if + needed + +When --with-liboqs is specified and liboqs cannot be dlopen'ed, it +will be linked at build time. In that case gnutls.pc should indicate +that through Requires.private. + +Signed-off-by: Daiki Ueno <ueno@gnu.org> +--- a/configure.ac ++++ b/configure.ac +@@ -1256,6 +1256,13 @@ AS_IF([test "$ac_cv_dlopen_soname_works" = yes], [ + OQS_version ();])]) + LIBS="$save_LIBS" + CFLAGS="$save_CFLAGS" ++], ++ [test "$have_liboqs" = yes], [ ++ if test "x$GNUTLS_REQUIRES_PRIVATE" = x; then ++ GNUTLS_REQUIRES_PRIVATE="Requires.private: liboqs" ++ else ++ GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE, liboqs" ++ fi + ]) + + AM_CONDITIONAL(NEED_LTLIBDL, test "$need_ltlibdl" = yes) +-- +GitLab diff --git a/net-libs/gnutls/files/gnutls-3.8.7.1-tests.patch b/net-libs/gnutls/files/gnutls-3.8.7.1-tests.patch new file mode 100644 index 000000000000..1e1b3b54f49d --- /dev/null +++ b/net-libs/gnutls/files/gnutls-3.8.7.1-tests.patch @@ -0,0 +1,45 @@ +https://gitlab.com/gnutls/gnutls/-/commit/f3e8eac0586a19f4dafd89f68006a536b826e65a + +From f3e8eac0586a19f4dafd89f68006a536b826e65a Mon Sep 17 00:00:00 2001 +From: Andreas Metzler <ametzler@bebt.de> +Date: Thu, 15 Aug 2024 16:22:02 +0200 +Subject: [PATCH] revert back to datefudge for "openssl ocsp". + +openssl's -attime only changes the verification logic but not the +generation. + +Broken by: d1bc7f644422c4d87edfcd9fafe7f292a1a3a6de + +Signed-off-by: Andreas Metzler <ametzler@bebt.de> +--- a/tests/ocsp-tests/ocsp-must-staple-connection.sh ++++ b/tests/ocsp-tests/ocsp-must-staple-connection.sh +@@ -48,6 +48,8 @@ fi + + . "${srcdir}/scripts/common.sh" + ++skip_if_no_datefudge ++ + eval "${GETPORT}" + # Port for gnutls-serv + TLS_SERVER_PORT=$PORT +@@ -69,7 +71,6 @@ fi + + CERTDATE="2016-04-28 00:00:00" + TESTDATE="2016-04-29 00:00:00" +-EPOCHTESTDATE=1461888000 + EXP_OCSP_DATE="2016-03-27 00:00:00" + + OCSP_PID="" +@@ -129,8 +130,8 @@ cp "${srcdir}/ocsp-tests/certs/ocsp_index.txt.attr" ${ATTRFILE} + # SO_REUSEADDR usage. + PORT=${OCSP_PORT} + launch_bare_server \ +- "${OPENSSL}" ocsp -attime "${EPOCHTESTDATE}" \ +- -index "${INDEXFILE}" -text \ ++ "$FAKETIME" "${TESTDATE}" \ ++ "${OPENSSL}" ocsp -index "${INDEXFILE}" -text \ + -port "${OCSP_PORT}" \ + -rsigner "${srcdir}/ocsp-tests/certs/ocsp-server.pem" \ + -rkey "${srcdir}/ocsp-tests/certs/ocsp-server.key" \ +-- +GitLab diff --git a/net-libs/gnutls/gnutls-3.8.6.ebuild b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild index 19002c19728c..2eadf62b1861 100644 --- a/net-libs/gnutls/gnutls-3.8.6.ebuild +++ b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnutls.asc -inherit libtool multilib-minimal verify-sig +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/" @@ -22,10 +22,11 @@ IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 seccomp sslv2 sslv3 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.6:=[gmp,${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}] ) @@ -80,6 +81,13 @@ src_prepare() { # 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 } diff --git a/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild b/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild new file mode 100644 index 000000000000..8dee2bec3d09 --- /dev/null +++ b/net-libs/gnutls/gnutls-3.8.7.1-r1.ebuild @@ -0,0 +1,168 @@ +# 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 autotools 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 )" +if [[ ${PV} == 3.8.7.1 ]] ; then + # Workaround for botched dist tarball + S="${WORKDIR}"/gnutls-3.8.7 +fi + +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 +) + +PATCHES=( + "${FILESDIR}"/${PN}-3.8.7.1-configure-brotli.patch + "${FILESDIR}"/${PN}-3.8.7.1-tests.patch +) + +src_prepare() { + default + + # bug #520818 + export TZ=UTC + + use doc && HTML_DOCS+=( doc/gnutls.html ) + + # don't try to use system certificate store on macOS, it is + # confusingly ignoring our ca-certificates and more importantly + # fails to compile in certain configurations + sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die + + # Use sane .so versioning on FreeBSD. + #elibtoolize + + # Switch back to elibtoolize after 3.8.7.1 + eautoreconf +} + +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[@]}" + + if [[ ${CHOST} == *-solaris* ]] ; then + # gnulib ends up defining its own pthread_mutexattr_gettype + # otherwise, which is causing versioning problems + echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >> config.h || die + fi +} + +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/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest index e8c5da673e00..53dd3e6c2f24 100644 --- a/net-libs/google-cloud-cpp/Manifest +++ b/net-libs/google-cloud-cpp/Manifest @@ -1,12 +1,4 @@ -AUX google-cloud-cpp-0.9.0-offline_nlohmannjson.patch 680 BLAKE2B bf5fdffaad3ec131f71b5053bcabe05826c395eea3cb3f02579fa841d3e18f9f72d8359c66d715206fc7521be9dd678a5370250acae0cd9fab0a367935e414cb SHA512 6af1508b86add950d3df2c051b846caf8bf8a44d042b2934417cfaf79c130378637a4ba13775045163ad44ca913837cbcd53d52398250933f062158e4b58023e -DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3 -DIST google-cloud-cpp-1.36.0.tar.gz 4522003 BLAKE2B f436935b3a95fa911fb04429ee20b0712eeaf58f8ebfdd1b75f848e19ffa88d17b1be1d917f5693f1996ce6eaff6bd6053958c2b20cf29370164bccf2794c76c SHA512 a9885f9e0726de64eaee0376f3d1ed3a00c32919f2b9a911479206f2965a62eea5ff292b459f61eae97d5d2fe336c410c615296fcb0c7506faf45c57bd6f8871 DIST google-cloud-cpp-2.19.0.tar.gz 12289079 BLAKE2B 915acacdc8e757e95244c715b74618e34ae3a22ea39bd0ae3e628dcd07f0dc99a2baaa11f4f69b9d2134ffc10af9e9437cf8862eff19a720ff415e0b1b15e6b8 SHA512 a392da19ac353409ecbf30e390803b2e34670552fd54466a08ee554a77c893d447289b30d5841c7f79b2a23244a269d8ecac8f7fbd8a34dda45ce2d8b1d46817 DIST googleapis-0e3b813b0d0da539eacbe86b8716feeed00943c5.tar.gz 7914422 BLAKE2B 05dfb0523a4208c84d51e99bb3edd531b1d4069971fb6810ab2c31b7bc1b14824be9a4c5d0e176ad741d1b902242702be7f125595d22dd5a6d75d0a9e8790ed8 SHA512 56a9fd1ff464f33d80dcce1bfc927e4332fe2e986f731b3f8ceb583265a2b23a659273dc6777a100d563ed972672353f8fd0292f894c42b4142bb5d7882f8ef6 -DIST googleapis-28c6bb97cac6f16c69879be4e655674a74b886ef.tar.gz 5448352 BLAKE2B 0421ba9506e931d0bd7b01011832a91235f04ae825489021204da17d543671994e68dfecd97eeb8ee90f42726450d375955e1458e7dfba8551854c036bdc6069 SHA512 59f4d78c268280323314b8d471d4877cacc4238bfac3a769aa86cedd22d79ebeb50f2aaa8a60f9264976d12ef629a2a3d1a0da1c0d6723ec08f517ef0fae9450 -DIST googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97.tar.gz 746503 BLAKE2B c0cba88c19c658ba7e9e65b80557903f8ded280d25438120b32f8c29a714b58a527c9218f0f73b53646949ecc073d873fee712b370b95523bdea5c28747eeb25 SHA512 92795397dfb9a6aa931be7b191ee91f9f2678a7175dea6babf19a50f61923373d288832cf10edf1ff252ca5148fe649c1bf95535e7c21513129495afae4c0ff7 -DIST nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d -EBUILD google-cloud-cpp-0.10.0-r2.ebuild 1601 BLAKE2B 5d2a5d1d2b0ad146b9055da95506826e6b88f23d51fd1c6c554fffc9c54da87ac501523d2288082c6de3398681853de636b8adbbb1356b74b508b0e04909037c SHA512 a8bc381dc4372b2fd02d4fea10862120cf8ae498ce8041aca2758736fee8c93bfb15e245c9bd71e417022d4207c983d75eae9f29c8017b2bdd4a6f1102eb5ea1 -EBUILD google-cloud-cpp-1.36.0.ebuild 1408 BLAKE2B a20d831144c3a38b589066f37a61ca4f8bc366fceb32a1d6b83c48260ab40332829e72b52de02553754bcfb1aaeafff9a2c5312a19dcb596cb9270f50737829a SHA512 187397204b92809d920cca7d5ef665e72a9be3454467a705727a08c44fdbb702b7e3736e388c09c944655005bb30f15fd5c8d24278c0b7f4675f09488fcbe6bf EBUILD google-cloud-cpp-2.19.0.ebuild 1433 BLAKE2B eb246c8915994d3d2c9e2aa9badb4c5aa3ff6d9eeeecb48d74083da8bf67507a75f71f1b050537a52752385319b387b4d6f97369e1d9456481bb87f7c395f513 SHA512 618caad34db506064d06ef4ae1ec57fb59a005ee706269683a3d07c58dafeb17b6e1a8d6c7e15d193d3e850765b6ad3ee9d6ab073e6dd1236816d172db8102ca MISC metadata.xml 349 BLAKE2B d7c6fa69328ca31edb61e77701132c5e0a1c0eaa7b6cbcf7e65620b56933eff5f893c332e279d76b2b0096e4f55fd5099542cd746f56d9d11e238668c1377878 SHA512 dddd2bcd06fcd7b1984db18a4fabb6e17643f67b62659b8543a37f61270fd9bc5338fa21ff90bcfc3a35ca96fde9095cc7cefeb21ffd0769b44d696aab3e62bf diff --git a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch b/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch deleted file mode 100644 index b528647311eb..000000000000 --- a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/cmake/DownloadNlohmannJson.cmake b/cmake/DownloadNlohmannJson.cmake -index 1db953bed..4bbbe35fa 100644 ---- a/cmake/DownloadNlohmannJson.cmake -+++ b/cmake/DownloadNlohmannJson.cmake -@@ -37,6 +37,10 @@ function (_download_json_hpp) - execute_process(COMMAND "${CMAKE_COMMAND}" -E sleep - "${sleep_seconds}") - endif () -+ if (EXISTS "${DEST}/json.hpp") -+ set(download_error_code 0) -+ break() -+ endif () - file(DOWNLOAD "${JSON_URL}" "${DEST}/json.hpp" STATUS download_status) - list(GET download_status 0 download_error_code) - if (download_error_code EQUAL 0) diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild deleted file mode 100644 index b441242910a4..000000000000 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake - -JSON_VER="3.4.0" -GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97" - -DESCRIPTION="Google Cloud Client Library for C++" -HOMEPAGE="https://cloud.google.com/" -SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp - https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RESTRICT="test" -RDEPEND="dev-libs/protobuf:= - dev-libs/crc32c - dev-libs/openssl:= - net-misc/curl - net-libs/grpc:=" -DEPEND="${RDEPEND} - dev-cpp/gtest" - -DOCS=( README.md ) -PATCHES=( - "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch" -) - -src_configure() { - local mycmakeargs=( - -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package - -DBUILD_TESTING=OFF - -DCMAKE_CXX_STANDARD=17 - ) - - cmake_src_configure - - mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die - cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die - - mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die - cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \ - "${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die -} - -src_test() { - # test fails - local myctestargs=( - -E internal_parse_rfc3339_test - ) - - cmake_src_test -} diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild deleted file mode 100644 index d0954a056cf3..000000000000 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -# From cmake/GoogleapisConfig.cmake -GOOGLEAPIS_COMMIT="28c6bb97cac6f16c69879be4e655674a74b886ef" - -DESCRIPTION="Google Cloud Client Library for C++" -HOMEPAGE="https://cloud.google.com/" -SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -# Tests need a GCP account -RESTRICT="test" -RDEPEND="dev-cpp/abseil-cpp:= - dev-cpp/nlohmann_json - dev-libs/protobuf:= - dev-libs/crc32c - dev-libs/openssl:= - dev-libs/re2:= - net-misc/curl - net-libs/grpc:= - sys-libs/zlib" -DEPEND="${RDEPEND} - dev-cpp/gtest - test? ( - dev-cpp/benchmark - )" - -DOCS=( README.md ) - -src_configure() { - local mycmakeargs=( - -DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF - -DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF - -DBUILD_TESTING=$(usex test) - -DCMAKE_CXX_STANDARD=17 - ) - - cmake_src_configure - - mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die - cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \ - "${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die -} - -src_test() { - # test fails - local myctestargs=( - -E internal_parse_rfc3339_test - ) - - cmake_src_test -} 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/ldns/Manifest b/net-libs/ldns/Manifest index e405086783ec..1b2ea82537b0 100644 --- a/net-libs/ldns/Manifest +++ b/net-libs/ldns/Manifest @@ -5,5 +5,5 @@ AUX ldns-1.8.3-swig-4.2.0.patch 2935 BLAKE2B 15626ba3f3835bc9e3f86a639177eb6ceb8 DIST ldns-1.8.3.tar.gz 1299856 BLAKE2B 2250445da3beec76c96fbb5cbc00f8d6a5bb6ed5867da7f23511d46ac73d6101303eb6ad85def426b7f9287f6a629a95117bcfa6eb46b775d07ed84048162c7f SHA512 c318747bd975ade389d048680b80495fb083b46507d8dcea7d4d42c75823f56a35b438dcc5320803d39583e5a1e515a51686f7f9010c061a6e8199e1a5505ae9 EBUILD ldns-1.8.3-r1.ebuild 1943 BLAKE2B d37692bced21132fb8da0c52219641fe340a10bc8e63c1e756fa04765fb6fa5bc621973f029c3c291bc296daec6e322ea0dc33896e59dd0f324ddbeae6f31b16 SHA512 7a612d4b5a1dbbb833059529905b94ec272f0bde71fe60295ab54a52be37f17909fcaa5e0752de6f5e453ef568c07cda32d4bfa453caaecfad55f9068dc793c5 EBUILD ldns-1.8.3-r2.ebuild 1996 BLAKE2B e5dbca6c36a8a230a51482b1c1b7db3b25d27ab51416fb9350d8d8d61fedbc299289c36b3415c9238e386f16b4fc8ff640367f03554d945bfce9a2fd81eae32f SHA512 976894604aed6d47baabceed8a0185312daa589ce9ec7b433dff899462b181fdc6120c4cef490e03c78ca445cb3ba51d43d1dd92d5c34bb885f23437c6b369b0 -EBUILD ldns-1.8.3-r3.ebuild 2044 BLAKE2B 0360197134fca8a35703e9a5877c7e0f2d6d1e82c25026209e1c0bbce9ffca965cae84c8741d8cd421e155bda298bcc75e44c8d1a4f577dbb18c08d225290e76 SHA512 33310741725f287b2525b4122f487dabd4725bc4ebd46bbb721893f36977273e54a179bc11863bf11df51622e203f842919238f2fc21c137c62354525b2bdcf5 +EBUILD ldns-1.8.3-r3.ebuild 2132 BLAKE2B c2803874e71f091b73afe047a64bde81fccb43fe494c6585aea23e5a4fef816226c8186216e54a51343d86d05a166d619d0deb92324f30c21f46659ac2368ed1 SHA512 8041a693a9aa04f91d1245e020c6e00d7e1f82fb539a20f43e5df689d7b160ce81ea9b6b88fc8a3168fd0fda801e2f7b45558743a5df88bff9a27e6587b69583 MISC metadata.xml 616 BLAKE2B 17f79a6324d889cc626bb3fceef622a45f112587618bad54422503d7a43914c46a03563f5e0b8d9d170e25c2e77666325607e485d421853359cbae13e7f00b34 SHA512 a764ec840b5dc9cc90c5952b93e2e226914c9eaca52f18f0c4f4d7d128bd1b2bc1eea9e699720d37b2c041fb6b01e0b298ac7f000ed72f0a7e0e2dce733febff diff --git a/net-libs/ldns/ldns-1.8.3-r3.ebuild b/net-libs/ldns/ldns-1.8.3-r3.ebuild index 1c0a0c3058a2..a7f5067f7cc5 100644 --- a/net-libs/ldns/ldns-1.8.3-r3.ebuild +++ b/net-libs/ldns/ldns-1.8.3-r3.ebuild @@ -34,6 +34,11 @@ RDEPEND=" ${DEPEND} " +# False positive, always fails, bug #898658 +QA_CONFIG_IMPL_DECL_SKIP+=( + ioctlsocket +) + MULTILIB_CHOST_TOOLS=( /usr/bin/ldns-config ) diff --git a/net-libs/libbloom/Manifest b/net-libs/libbloom/Manifest index 410fd2bae887..7332c04d4d1c 100644 --- a/net-libs/libbloom/Manifest +++ b/net-libs/libbloom/Manifest @@ -1,6 +1,4 @@ AUX libbloom-1.5-AR.patch 492 BLAKE2B 1149e58d6c333b0ae442633e1c4824fc37cd07eb29d75c18cd0509f36114c8e458773fb4aee38b9b01193a92ace06aa193dee133da49c007d42399c8977d9e48 SHA512 da775a1e99a161c8f3433930b224aafaff681ffd96f89441bbce9b39a789d75de055eea95e799cac3769c9f9c5d14308968ee65a7daf5121d5ef024f3350c2ed -DIST libbloom-1.5.tar.gz 1210081 BLAKE2B 8af463c487c2898c5a4cf3f7541490e2b069d4667ccda4b536f347535be5c7f5664c8ee17e0789ac5325feb8f325ae30a89e2de34323962e89378724cf130a84 SHA512 0dd69e3ee102e5808ba4350c71d212876db56235e263f8d5a66d6c3616d2e51cc18b5ca3a5a946d79c12751d9cc5667f7c633d77645c4b88a4d16ea344b51929 DIST libbloom-1.6.tar.gz 1872005 BLAKE2B de3368724e9c05489efae74ce36e880e2db29f78792b84b13325a24a3c302154fdbb621d672e9ef7f612ef00df1ec8fe010c59461822f5d04b4c5b27996ef773 SHA512 3dd4343d68def05800dd6ffc5a05b05d0702a8c0c9f0a397f105d4389c88a7bffa419734aeb4fa4e1a2c418b12a8192fa27ddcbaeee72906450d64cbfd64db15 -EBUILD libbloom-1.5-r2.ebuild 594 BLAKE2B ed1a294523463079b1199bd73c2d8bd7da125cce47fa52808ccf9d46ca4b7f5a39415f3fcd656c48f210439e205fbf3583e308af8fb4974735d437d22b3e998c SHA512 c9d7681619def50b64aa577210973ca8e9ce1e1511b9e68d6ecd4f40ad22caac5a7b0a1536bee0cdf7ac039050a33c80916aaf9c97acb3df2400340bcf2b8a3e -EBUILD libbloom-1.6.ebuild 601 BLAKE2B 283f36b78a30ab73787c343a122205af7be6c3ba8cf524c305556a3697ad25882d6e7512ac0ffb880984ef19ccbb295a69cba0ea85593371f6e0a0681ee4c733 SHA512 8228296056c3805666f0864745475b6bb9f4e4dba8e0e8b6759a9355fc451d45a5db9d53c4dfcb7afb058061dbf8ff1c9cb974bb3b870f053a706b93cee1d327 +EBUILD libbloom-1.6.ebuild 571 BLAKE2B 2f686de951b76123db2f37c503ba9c5ca3ba1c05de901508d8e906344135374d79c21bb7027de1a392f9e2212745bbafaba8d52eacbb818cd6612fc62a9ea0f9 SHA512 146ddc3dc1caf93835c194d2c3962b7a40d4bcbf31719ba62e62a6c1b245772bb40fcf7f07daf5cea62532fecbd1adbb8f6dd39b53ab2afce0281fd9cffc41a1 MISC metadata.xml 322 BLAKE2B ccf8ee2efd91b7e6ada82afcb00f67de420d5d2c1680e0fe1c3c4d5f2d1556494f5a9ed50c994d0e23d3fca239c2d8b24ae00bc25babe950d042c99a514820ab SHA512 5cfd32799c2bad0dd515be059453d54b23bb4c7e19718e9477549bd33baafff1a11debc9f25e9eba5979cc83d748b8cdddedad09d7d469fefa08a7dba8bdc1d4 diff --git a/net-libs/libbloom/libbloom-1.5-r2.ebuild b/net-libs/libbloom/libbloom-1.5-r2.ebuild deleted file mode 100644 index 17be8bdca711..000000000000 --- a/net-libs/libbloom/libbloom-1.5-r2.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="A simple and small bloom filter implementation in plain C" -HOMEPAGE="https://github.com/jvirkki/libbloom" -SRC_URI="https://github.com/jvirkki/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -PATCHES=("${FILESDIR}"/${PN}-1.5-AR.patch) - -src_compile() { - tc-export AR CC - emake BITS=default OPT= -} - -src_install() { - doheader bloom.h - dolib.so build/${PN}.so* -} diff --git a/net-libs/libbloom/libbloom-1.6.ebuild b/net-libs/libbloom/libbloom-1.6.ebuild index a792f191fa46..9a4c0b1e0169 100644 --- a/net-libs/libbloom/libbloom-1.6.ebuild +++ b/net-libs/libbloom/libbloom-1.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,10 +12,6 @@ SRC_URI="https://github.com/jvirkki/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" PATCHES=("${FILESDIR}"/${PN}-1.5-AR.patch) diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index 5037fb169e7c..8bc548b21b35 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,5 +1,7 @@ DIST libktorrent-23.08.5.tar.xz 604184 BLAKE2B e4fc72be9fe20b06220b25fa558a1f86dd029e4eec15da2c8f26ed4acc69e1c06db3fea6ed8dfdb643a01beaf2146c7c0939e8a0da05920712e7f5614e4b4a47 SHA512 c38f944167436a7190e46093cbc928d3db375f7414fa5acdf5b3fd9e77007435259740027941daed422c784d691532f3c9a6c824ce9ac23c091edbedc563aa11 DIST libktorrent-24.05.2.tar.xz 605972 BLAKE2B 136951dd13029c4b05ce7f5785b913c14c2dcd47c575e10ca223ef9cd0fd187dd0654c49d1e65032ff9d9a4713c772c9bb48512b040d004736d67fce34b47016 SHA512 fb2fca63079988e8f623e77adeff21dfb49c15c604d6ae35da172be3b012c529e73139245061ead46a895bb5af8f4a3be35668295c0a2f5c5fbe1d0a7bc92711 +DIST libktorrent-24.08.0.tar.xz 605840 BLAKE2B 575899a932e2b3633cda64566aa60d34b9b110a53939a66aa624c2fbcd700d8958c3938014fcec47300417c7aae9f3368601379c1fc355ed8333f5c164aff1c6 SHA512 272bb03e7acf1b86443ab2cab93eb79703df98b3e49a27cd89b37bb5256bdd2056715f6249b0615ed9e8a03ec11305d8b2a4f05cd03987bc83c2adbabe04c802 EBUILD libktorrent-23.08.5.ebuild 1424 BLAKE2B c75dcab9838324cb487b6af948687ba3044e452494b1068eb1cf8499fd5ae9fad84a137e4043f76093e14aabb6347277e13e9aacffbff7d6927ac66e32ce4152 SHA512 a1b47ee5380a6d5d505d19f55958c0c122a8c7c9ee75e63db84affe38865753e46c0adbc590dea381cf2ff7a72333cb9e653a0f888af0f2212c6b86e93bf0d22 -EBUILD libktorrent-24.05.2.ebuild 1410 BLAKE2B a5e89c76a4258826c11bdb6cc907b0b0296e91ed9bf1892fd3fa04394f5e0df3860c88eefebe26a7e8bc437f51f1a4f05dc2ea00a46bae973e2cc137ea6aa652 SHA512 2948f3c2a252b0308b6262fb5240b2494940f787c88cb7d4a2c5a4e7abb4c25854bfbbc67195db25908a918b1b4c129fa8a0150c4aee12a3f529e2e4cb70a2e8 +EBUILD libktorrent-24.05.2.ebuild 1429 BLAKE2B 9385c2f22b0bd2b0116c3d5fca5177bacbec119a81ec29b60e59f18e739fcd01866c67dcbe527873e507f9a3fddce876ec9d2c2fe4570c853327316500d1392c SHA512 8b67dd05a78c90a65597e0cf12ed15a1a57a6e0cd1f0e83b0814cc3120b08b3099ace47b6e2c6df3e6f62f38fead40022b65ca4fe03c0480e9c4b70a01e56ee7 +EBUILD libktorrent-24.08.0.ebuild 1429 BLAKE2B fc1d5664e8ac6a20cb666c3b245842f38d7f07158a78eaf44d47b8c2aba25293dd7f62463a8d37308f47712c0fa88e896e6fe820ae974e176a64db7aee2c488b SHA512 a7f0bd60df89e5ea198872b209f0f7473914b3955c56f77288d2b2fe09a3ac61a99d769297c37486b6ed398d9014c3a63193534697e942dd56b02f4476e7bc95 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-libs/libktorrent/libktorrent-24.05.2.ebuild b/net-libs/libktorrent/libktorrent-24.05.2.ebuild index 1740a7f54320..cf1763fcbd13 100644 --- a/net-libs/libktorrent/libktorrent-24.05.2.ebuild +++ b/net-libs/libktorrent/libktorrent-24.05.2.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent" LICENSE="GPL-2+" SLOT="6" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="" COMMON_DEPEND=" diff --git a/net-libs/libktorrent/libktorrent-24.08.0.ebuild b/net-libs/libktorrent/libktorrent-24.08.0.ebuild new file mode 100644 index 000000000000..b4e75e71fc67 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-24.08.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm gear.kde.org + +DESCRIPTION="BitTorrent library based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent" + +LICENSE="GPL-2+" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +COMMON_DEPEND=" + >=app-crypt/qca-2.3.7:2[qt6] + >=dev-libs/gmp-6.0.0a:0= + dev-libs/libgcrypt:0= + >=dev-qt/qtbase-${QTMIN}:6[network,xml] + >=dev-qt/qt5compat-${QTMIN}:6 + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.71 +" +RDEPEND="${COMMON_DEPEND} + !dev-libs/botan[gmp(-)] +" +BDEPEND="sys-devel/gettext" + +src_prepare() { + ecm_src_prepare + + # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this + sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \ + CMakeLists.txt || die + sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \ + KTorrent6Config.cmake.in || die +} + +src_test() { + # failing network tests + local myctestargs=( + -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)" + ) + + ecm_src_test +} diff --git a/net-libs/libmicrodns/Manifest b/net-libs/libmicrodns/Manifest index e13a18c394ba..cc5ba9723ddb 100644 --- a/net-libs/libmicrodns/Manifest +++ b/net-libs/libmicrodns/Manifest @@ -1,6 +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-0.2.0.ebuild 702 BLAKE2B 038522448de8769fe798548748d5287525fcf723a67de3d160a76c66f5acfa60dbeb72bd788cdc18927a11c10bb505cd7e3fe1d5100188ec15616282e57678f7 SHA512 4aa3d43afba636f1593a07d1a3f4bb3532cea020354b91a4c20ba7d96f2952462605935e40351020f68cd53a195bc53c17c076ded1546fa03a01e60772bed3df -EBUILD libmicrodns-9999.ebuild 702 BLAKE2B 038522448de8769fe798548748d5287525fcf723a67de3d160a76c66f5acfa60dbeb72bd788cdc18927a11c10bb505cd7e3fe1d5100188ec15616282e57678f7 SHA512 4aa3d43afba636f1593a07d1a3f4bb3532cea020354b91a4c20ba7d96f2952462605935e40351020f68cd53a195bc53c17c076ded1546fa03a01e60772bed3df +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.ebuild b/net-libs/libmicrodns/libmicrodns-0.2.0-r1.ebuild index f69d9a32988b..6a076c8ef15a 100644 --- a/net-libs/libmicrodns/libmicrodns-0.2.0.ebuild +++ b/net-libs/libmicrodns/libmicrodns-0.2.0-r1.ebuild @@ -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/libmicrodns/libmicrodns-9999.ebuild b/net-libs/libmicrodns/libmicrodns-9999.ebuild index f69d9a32988b..6a076c8ef15a 100644 --- a/net-libs/libmicrodns/libmicrodns-9999.ebuild +++ b/net-libs/libmicrodns/libmicrodns-9999.ebuild @@ -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..d4cc81d561b8 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 2477 BLAKE2B 51337cf3f93bc482bacfef53496a4b6dd2d3af7d1f346b222ef3dbafe7b686050bca82dc87de09b1bb052295732cafefbc3b494d9c2ed83ee85694398cfcd42d SHA512 f187c122fc33448470468970ee346ce7a39b2bd9a710ec8422050d63fa5758dc93071018fa610501305805bd3f4dc51110e1933c0107762d299b0083fe3b7f42 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..c5db1e343220 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/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/libosmo-dsp/Manifest b/net-libs/libosmo-dsp/Manifest index 9a70238b9c7f..29d4e3fd4884 100644 --- a/net-libs/libosmo-dsp/Manifest +++ b/net-libs/libosmo-dsp/Manifest @@ -1,5 +1,5 @@ AUX libosmo-dsp-0.4.0-version.patch 318 BLAKE2B 401bbd22649d72bc7f93d5e33222c9779cd7bde3c9d4f12ea02cf79e79bb54a39aaf57a78b773230bc75eae2abf26efcb33c69b19dc233ddedcabfe67d541d22 SHA512 15b8080497615cd22384b57cf961cf66c467c966dfd3b2c7466b6a9c72527ec8901e0110ac212b7b188b409f8a112128a1f7797f4e7fa7d948ee291a9a916fee DIST libosmo-dsp-0.4.0.tar.gz 43664 BLAKE2B 10f1718868971492cc93bc13b8a0648ee8c15bbbdc06119b9783851fdfb9959f52cbefabf23ec18b03d961b8a3f7ae81a936008ae71e5001606ba24b78de4ac0 SHA512 364a4ac3fca3e10216057d647ae1ea77550f3d4d3707978c457f363dae66ec252e8eb60dc53db5f45f85bcdda26d54b13d56b60eb8eb3133479d21482ccf96da -EBUILD libosmo-dsp-0.4.0.ebuild 1073 BLAKE2B dcc3a888eccf055762fca9864ba65b282cb50d3a8d3c2d0d25af9fb78e3185ae3dd1cba31c28ed0b980ac8627320b72037bae1d7fd1d87b1c21659c5eb2da788 SHA512 3b5247ce6d68697b1b439067cf022fd424f84b2ba9bb2e17c7c364d72e6d9c808d9ffd9ffa7559122208459564841adfdd9bac29bb66a10f8bcaf6f0c88d5141 -EBUILD libosmo-dsp-9999.ebuild 879 BLAKE2B 676cd54b4f766b977e983d74a480a49ab8407db80092c43c4ffed9ce2f8340a7ed347077a817717d3894461542a9dba2cbf1e73daf3b1d97fa67653857d9f8c9 SHA512 e7a6aae7b00ca184e91b36a71ef0ce5a7cc5502d644405b6e264a3c43be16186cbb82fc12c60b3c2c75323c0e66b6ab4cd4bc5f46070b9a27f44f8313d565673 +EBUILD libosmo-dsp-0.4.0.ebuild 1080 BLAKE2B e616cbd9c2413d6477214eb423b9d2a7e7ac0323db0e477617f1447f4a38df6a43447f706713927f2da0e2c7666f90adb4ef7e855e3cb2da4e431a51d2f043ab SHA512 09dbaef298b3800de74c8ca2808adb84fc4fdc3c43effa086fa3e5229e8be051ef96b4f26d6f08b588f122a8999d761779f1345b5beb55a8a709689c59cee5d2 +EBUILD libosmo-dsp-9999.ebuild 886 BLAKE2B 35e3608a9a33558bd1e0d20ce6443bc85f7699b7aec9d378eac4f7fa639094453f7a9eb5124ede60c61a6ee64ce428735fef9ca989d7e3c7c9e078129a99ff56 SHA512 ab7fba2b52e143fc84d193d1800d6d4467f514428442111d7910faa2f3b241a68942327378f0f35f96a739e9c3e542cc7244ff4e746b23110ac614432763029b MISC metadata.xml 335 BLAKE2B 4a59f01a0e3aaf3293297ab368ff1438eb9d5e5bae3edfbbb1dd9f7191ccb47e9c504fa318a1a54752bbcf507f33c96d8808343f6f77a7de7a8c1fe1d84146ac SHA512 443b02d3f3aa162d3a176ffd081f6e0ff3bdd3276b48b817a03da2f43ab360b2db99add599f501ba1efcb47a12b30cf64587c5d307dc9c3583b46265150ba2d3 diff --git a/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild index c7cc5eaddb37..7c799237ee1c 100644 --- a/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild +++ b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild @@ -5,12 +5,12 @@ EAPI=7 inherit autotools -DESCRIPTION="A library with SDR DSP primitives" -HOMEPAGE="http://git.osmocom.org/libosmo-dsp/" +DESCRIPTION="Library with SDR DSP primitives" +HOMEPAGE="https://gitea.osmocom.org/sdr/libosmo-dsp/" if [[ ${PV} == 9999* ]]; then inherit git-r3 - EGIT_REPO_URI="git://git.osmocom.org/${PN}" + EGIT_REPO_URI="https://git.osmocom.org/${PN}" else SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~riscv ~x86" diff --git a/net-libs/libosmo-dsp/libosmo-dsp-9999.ebuild b/net-libs/libosmo-dsp/libosmo-dsp-9999.ebuild index 5793baf98d52..8b3e4cfa9f92 100644 --- a/net-libs/libosmo-dsp/libosmo-dsp-9999.ebuild +++ b/net-libs/libosmo-dsp/libosmo-dsp-9999.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools -DESCRIPTION="A library with SDR DSP primitives" -HOMEPAGE="http://git.osmocom.org/libosmo-dsp/" +DESCRIPTION="Library with SDR DSP primitives" +HOMEPAGE="https://gitea.osmocom.org/sdr/libosmo-dsp/" if [[ ${PV} == 9999* ]]; then inherit git-r3 - EGIT_REPO_URI="git://git.osmocom.org/${PN}" + EGIT_REPO_URI="https://git.osmocom.org/${PN}" else SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" KEYWORDS="~amd64 ~arm ~x86" diff --git a/net-libs/libpsl/Manifest b/net-libs/libpsl/Manifest index a4692199aea5..96a71cf232c0 100644 --- a/net-libs/libpsl/Manifest +++ b/net-libs/libpsl/Manifest @@ -1,6 +1,4 @@ AUX libpsl-0.21.2-tests-optional.patch 1141 BLAKE2B a72459d3e735391222d0a4e2fb7e42eccdd07a0c2ef05c381b49f3a967df797d3da225fcb5cb6d98ad8a14eb460589e60f7f16d338171c7b081741d5382b09ed SHA512 1b3fee48b1f5c85f58f704e3447e831b1a0b17a07b7f1e9456e8fde54ece4222be79c3f11811bfc5c601317b5a4b18ac7c358e5d438a08c6452b4ccdbd53b2aa -DIST libpsl-0.21.2.tar.gz 7617025 BLAKE2B b50f805bb467dc3284bc91645a37a2208098ad809d3771c74ef13c3b8f6029a07ad80a56702c7e3d1a1125d272403c85dd97b64a28465b9ff2d095eaf94b9a4d SHA512 f1df72220bf4391d4701007100b0df66c833a2cbcb7481c9d13f0b9e0cad3b66d2d15d4b976e5bad60d2ad1540355112fa1acb07aa925c241d2d7cd20681c71d DIST libpsl-0.21.5.tar.gz 7624251 BLAKE2B a0076f622b85df99f866de6707850ac216b764bdb68c6d516f4603da42dac8eae3ee4c53d68dbb6af6f779c2c7f1b9caab74c8b558209b1f6823f95c13fc3ceb SHA512 c14d575cecc0f1693894dd79565b6b9220084ddfa43b908a1cefe16d147cdd5ec47796eb0c2135e2f829a951abaf39d8a371ab5c1352f57b36e610e25adf91f5 -EBUILD libpsl-0.21.2.ebuild 1311 BLAKE2B b5f9fb3476567bad769fb93ec34e0acc6ad46abff57b51caf28323c8a671277758f5551d4387ca511ca99ae0e6470cf3084fa4312a5240f82a9353970500fe0b SHA512 50c828251a50b878458cbe9616356bf2c1bfab4f41f7383c11a91d4e0a05754b916670a25dcf07e02961d28a92ccd4e020df3233947d17c575cec1da7656ddff EBUILD libpsl-0.21.5.ebuild 1305 BLAKE2B ee7b8a1f57eaa49833d9be6f70d610ccbfb30cefbc92b16d0dfa75177af097596989c169066aaf280e760e4217d2d250172a384c51798f09dc33f8d8ea838a9a SHA512 971c9c2dc9755bf29656d0c9445c0ba749108d74be137d02981594116da38b1dacb2a06ec7345079fca857778e3864c84c1e6a3f459b7cba3f611661ba0ceaab MISC metadata.xml 341 BLAKE2B 8b4e137684e24b96357cbd463dc95b7d1c0bdc6bd33f51f0a43b8bb80063db494c56afafc5c48f369f0b12fa87d468792bb7e883a1ee7dbb93370922d050a7f4 SHA512 48594aec5e8bb724ddbab35405d9257688ea5ac8eeb39cd4b06f9f9e53c95d821b7bb11a61f3fd54da85fe902c296fb2bb4e5d79ed866e93d3a5c7da330f8a44 diff --git a/net-libs/libpsl/libpsl-0.21.2.ebuild b/net-libs/libpsl/libpsl-0.21.2.ebuild deleted file mode 100644 index 8dba8ae8ee92..000000000000 --- a/net-libs/libpsl/libpsl-0.21.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit meson-multilib python-any-r1 - -DESCRIPTION="C library for the Public Suffix List" -HOMEPAGE="https://github.com/rockdaboot/libpsl" -SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="icu +idn test" -RESTRICT="!test? ( test )" - -RDEPEND=" - icu? ( !idn? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) ) - idn? ( - dev-libs/libunistring:=[${MULTILIB_USEDEP}] - net-dns/libidn2:=[${MULTILIB_USEDEP}] - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-tests-optional.patch -) - -pkg_pretend() { - if use icu && use idn ; then - ewarn "\"icu\" and \"idn\" USE flags are enabled. Using \"idn\"." - fi -} - -multilib_src_configure() { - local emesonargs=( - $(meson_use test tests) - ) - - # Prefer idn even if icu is in USE as well - if use idn ; then - emesonargs+=( - -Druntime=libidn2 - -Dbuiltin=true - ) - elif use icu ; then - emesonargs+=( - -Druntime=libicu - -Dbuiltin=true - ) - else - emesonargs+=( - -Druntime=no - ) - fi - - meson_src_configure -} 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/libsignon-glib/Manifest b/net-libs/libsignon-glib/Manifest deleted file mode 100644 index 6357011a66cc..000000000000 --- a/net-libs/libsignon-glib/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX libsignon-glib-2.1-docs-optional.patch 693 BLAKE2B 7a03207ee21e674b89e5b6203d000b4657e49283ff4ba28515b7a814092aafa8b6ce373a932d7ba8ce8f11b37ec4923cbe223265eb96093a06a4fc699364f8f6 SHA512 280d54782c2390456caabb6a7a590349d0b4ff29d0490fda6c9b8d140b229548f6a4d4bd3553f16c5bf57055f3bc61996161cce99963d317dc21f82efe6eeeb3 -AUX libsignon-glib-2.1-meson-0.61.patch 1027 BLAKE2B 83f70af857671b42287b556931fa8edc7a2253842868e704b7a0b56e1d538d60e3f81909455a0912256102e80eeac2a72f44c535bef0709953e1bced14187354 SHA512 13ef68824ab388ac20873bfbef61182ee71e5793f9ac19c53bd2c7bf539aec78998786134b2552e99d6c8b6eb546a14dc08836cea797626f01ec97084b66251e -DIST libsignon-glib-2.1.tar.gz 52440 BLAKE2B edc27f5f09c3f6d05f32ff6b560934dc003072940b44932fd90021511510fb56beaec7f25dd051b3c1d12d10942f292cc906a9fc4b74bb7f2daf8b885f15e644 SHA512 45d8e26263a16b98517cda0fff8e46fb1ffcc4bb833a6364454f120eb9819b48ee04bdb338bf5e9f0b0fe344af5940f35ed56f0765ca3605dead5b3755657dcf -EBUILD libsignon-glib-2.1-r2.ebuild 2055 BLAKE2B ee48514514bc191ed87b095d03d9dd31cb744f744c78a071806da8c0630a3f2b0dce8219046cc83c954e36a57a2b87a21d41cd508e3ea9524a1b61d2d51784c9 SHA512 b1c9ecd081e7dfd081fadbcf8807c41db5428501a0ce24f868918afbedefb3418839dc4372b5a2b7c1e900a8c5d35b6042976eca9035f139d76e077d2a988a84 -MISC metadata.xml 250 BLAKE2B f3e9395137ebb9adf46cd35c1b6156f82c04cfa94f964f6da24fe71eb560cf51b4f70ebfa10daaa4884400ec22782d819ab794dfd29e7a47559f07208397195d SHA512 78c4ff15eed76ba883b457be95dabd41e928a0e64a42b758b5eab4d8a95afca27d5ea6a7cfe0948de578b169153a05f08aadfce1ddd41a88732212a1e76e565f diff --git a/net-libs/libsignon-glib/files/libsignon-glib-2.1-docs-optional.patch b/net-libs/libsignon-glib/files/libsignon-glib-2.1-docs-optional.patch deleted file mode 100644 index b31bd46a825e..000000000000 --- a/net-libs/libsignon-glib/files/libsignon-glib-2.1-docs-optional.patch +++ /dev/null @@ -1,28 +0,0 @@ -From fc1098b3a376a04020c9e733eafda9fa0ac51723 Mon Sep 17 00:00:00 2001 -From: Pino Toscano <toscano.pino@tiscali.it> -Date: Sat, 2 Jan 2021 14:19:18 +0100 -Subject: [PATCH] build: make documentation really optional - -Build of the documentation only if the meson option for it is enabled. ---- - meson.build | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 5d0de55..b10f80d 100644 ---- a/meson.build -+++ b/meson.build -@@ -23,7 +23,9 @@ endif - root_dir = include_directories ('.') - - subdir('libsignon-glib') --subdir('docs') -+if get_option('documentation') -+ subdir('docs') -+endif - - if get_option('python') - subdir('pygobject') --- -GitLab - diff --git a/net-libs/libsignon-glib/files/libsignon-glib-2.1-meson-0.61.patch b/net-libs/libsignon-glib/files/libsignon-glib-2.1-meson-0.61.patch deleted file mode 100644 index 66254e398029..000000000000 --- a/net-libs/libsignon-glib/files/libsignon-glib-2.1-meson-0.61.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 4fae9155a19aca601072f361768e0bf8ed556b1e Mon Sep 17 00:00:00 2001 -From: Heiko Becker <heirecka@exherbo.org> -Date: Tue, 11 Jan 2022 22:05:11 +0100 -Subject: [PATCH] Fix build with meson >= 0.61.0 - -Otherwise it fails with "docs/reference/meson.build:21:6: ERROR: -gnome.gtkdoc keyword argument 'expand_content_files' was of type -array[File] but should have been array[str]". ---- - docs/reference/meson.build | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/docs/reference/meson.build b/docs/reference/meson.build -index 654404b..3927109 100644 ---- a/docs/reference/meson.build -+++ b/docs/reference/meson.build -@@ -47,9 +47,9 @@ gnome.gtkdoc( - 'libsignon-glib.types', - ], - content_files: doc_content_files, -- expand_content_files: files( -+ expand_content_files: [ - 'migrating-1to2.xml' -- ), -+ ], - fixxref_args: [ - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), --- -GitLab - diff --git a/net-libs/libsignon-glib/libsignon-glib-2.1-r2.ebuild b/net-libs/libsignon-glib/libsignon-glib-2.1-r2.ebuild deleted file mode 100644 index 84711961b404..000000000000 --- a/net-libs/libsignon-glib/libsignon-glib-2.1-r2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..12} ) -inherit meson python-r1 vala - -DESCRIPTION="GLib binding for the D-Bus API provided by signond" -HOMEPAGE="https://accounts-sso.gitlab.io/" -SRC_URI="https://gitlab.com/accounts-sso/${PN}/-/archive/VERSION_${PV}/${PN}-VERSION_${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-VERSION_${PV}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="debug doc +introspection python test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )" -# needs more love -RESTRICT="test" - -RDEPEND=" - dev-libs/glib:2 - net-libs/signond - introspection? ( dev-libs/gobject-introspection:= ) - python? ( - ${PYTHON_DEPS} - dev-python/pygobject:3[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND}" -BDEPEND="$(python_gen_any_dep) - $(vala_depend) - dev-util/gdbus-codegen - dev-util/glib-utils - doc? ( dev-util/gtk-doc ) - test? ( dev-libs/check ) -" - -PATCHES=( - "${FILESDIR}/${P}-docs-optional.patch" - "${FILESDIR}/${P}-meson-0.61.patch" -) - -python_check_deps() { return 0; } - -pkg_setup() { - python_setup -} - -src_prepare() { - default - vala_setup - - cp libsignon-glib/*.xml libsignon-glib/interfaces || die -} - -src_configure() { - myconfigure() { - local emesonargs=( - -Ddebugging=$(usex debug true false) - -Ddocumentation=$(usex doc true false) - -Dintrospection=$(usex introspection true false) - -Dpython=$(usex python true false) - -Dtests=$(usex test true false) - ) - - meson_src_configure - } - - if use python; then - python_foreach_impl run_in_build_dir myconfigure - else - myconfigure - fi -} - -src_compile() { - if use python; then - python_foreach_impl run_in_build_dir meson_src_compile - else - meson_src_compile - fi -} - -src_test() { - if use python; then - python_foreach_impl run_in_build_dir meson_src_test - else - meson_src_test - fi -} - -src_install() { - einstalldocs - - if use python; then - python_foreach_impl run_in_build_dir meson_src_install - python_foreach_impl python_optimize - else - meson_src_install - fi -} diff --git a/net-libs/libsignon-glib/metadata.xml b/net-libs/libsignon-glib/metadata.xml deleted file mode 100644 index 8641e5bdd399..000000000000 --- a/net-libs/libsignon-glib/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> -</pkgmetadata> 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 76aa600bd3aa..e522aa072560 100644 --- a/net-libs/meanwhile/Manifest +++ b/net-libs/meanwhile/Manifest @@ -4,5 +4,5 @@ AUX meanwhile-1.0.2-presence.patch 1163 BLAKE2B ba471439dd6acaa5e4b3db78432b7637 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 -EBUILD meanwhile-1.1.1.ebuild 959 BLAKE2B 5965afbc30c39ad25af5f2fbf510a458eea18a94cab84bcc7c527b70c5d0eaf9a7fbe74d34374107ec0fb232e8a560fd5f36135fc62a6de0508fb20528b142da SHA512 ef1efc190a670f476ec02d1dab985e12e0ab7ccff1b2d5261ef739d84af330a5b3a24da3eab171d2440a6471ef5e1821aaad06c94fb9c14ca9d851f9d846b7ef +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 index b99d6ceb8318..537d35f99a4d 100644 --- a/net-libs/meanwhile/meanwhile-1.1.1.ebuild +++ b/net-libs/meanwhile/meanwhile-1.1.1.ebuild @@ -31,6 +31,8 @@ PATCHES=( src_prepare() { default + # bug #935514 + sed -i -e "s|-g -O0 -Weverything||g" configure.ac || die eautoreconf } 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/nghttp2/Manifest b/net-libs/nghttp2/Manifest index 79d5fe540cac..505033e98b7b 100644 --- a/net-libs/nghttp2/Manifest +++ b/net-libs/nghttp2/Manifest @@ -3,6 +3,6 @@ DIST nghttp2-1.62.0.tar.xz 1646596 BLAKE2B 156fe3cd401e89cb9416c3281318f955abe86 DIST nghttp2-1.62.1.tar.xz 1606084 BLAKE2B 460152f08b4ebd98453b95b737e0729648b95e808e845114a47a23e39fb3c68bf5d165d71467fbca8069fd5e64a63eeedd025919af4e2186da083caa21b93130 SHA512 d5d6b068712e9b467547b0e5380465b8540317134f3f26c2b0c60eb9c604be2f37b4517a98b371d5f5fb668ce2ee35603ddd944224f11e96382aa541a6a17b4c EBUILD nghttp2-1.61.0.ebuild 1822 BLAKE2B 1d2d6370b078a22c748f98dca91df6a83e312e50795434fd2024a77298c55d649bce4c1f9a01f8c0f890690e5d2398834cb814b4d4c2d2c2166a6038d110dc61 SHA512 8927e6ae9a364be9c06a8319c456aa0e4bf158f8245635c351c4c749e6ea7908048e07014bc8f67b193843917a61c362b9f3a5fd67206381b66c46a5a8cddd0b EBUILD nghttp2-1.62.0.ebuild 1830 BLAKE2B ce3b1c2af28379daaff576f36a6d31bcbcffd9502008b0490b40a2b7612a4ed6d4f00261fa34209141bbbca301fde7266ddbefba33d52446b65bf2f5ce1c175c SHA512 c4f54e398a646f5b7f88f1b9c945569fe296a1d03c5791e2ffeb6d6756626ab9356f23068780371c5446181aba7239f94af34fe4269a7c7373fbbfe0b7a444be -EBUILD nghttp2-1.62.1.ebuild 1830 BLAKE2B ce3b1c2af28379daaff576f36a6d31bcbcffd9502008b0490b40a2b7612a4ed6d4f00261fa34209141bbbca301fde7266ddbefba33d52446b65bf2f5ce1c175c SHA512 c4f54e398a646f5b7f88f1b9c945569fe296a1d03c5791e2ffeb6d6756626ab9356f23068780371c5446181aba7239f94af34fe4269a7c7373fbbfe0b7a444be +EBUILD nghttp2-1.62.1.ebuild 1824 BLAKE2B b782a828b6ffbe30cfc57d46d8c315a18a64122e79b213d74b2312488b711e832725a16b01f1e6384167034a0375e432e58030dc161be2824d311143953c8a9e SHA512 3453af217af042642ae7b34e7d58355e317e568a4fc4e756e9bcf6be2244390f283b9fbf6b0997ee1a29c8b4b20c19ba233f1d2dcc23a9fc59914226356e42e0 EBUILD nghttp2-9999.ebuild 1607 BLAKE2B 86247f2c6086da22f6d506e8e31c63d558aa45276d2deb202ca515c35034419829be8b6fef0be10b15367b6880ee35f7b62cae6424ecf6c7ae2cac90b090f3bb SHA512 e30a674093644da312f76a7ce8c25ae468c95bbf2e3b69c8618cb21b3852799dfeb674007ae5694d77de46c093228f97c517fcc23e9791fd42c708e55431114e MISC metadata.xml 553 BLAKE2B 694d0da32dab7f6eebd3b83a12b490b62d262de96e2bbb5c5822befbac792bc560cfe21c194d83d1afabf725967e0508c65057c8382904353abb0219d5ff3338 SHA512 4bce2e01c0b64eee279fc8a425393acf63e859a8b63346ddb2c5486d913bc58d0485d4c7fd6663bec88b070f21b6c9bbfd28e5775dbcbee02248e631610becd0 diff --git a/net-libs/nghttp2/nghttp2-1.62.1.ebuild b/net-libs/nghttp2/nghttp2-1.62.1.ebuild index 52ec575055cf..38e73ec93643 100644 --- a/net-libs/nghttp2/nghttp2-1.62.1.ebuild +++ b/net-libs/nghttp2/nghttp2-1.62.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz LICENSE="MIT" SLOT="0/1.14" # 1.<SONAME> -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug hpack-tools jemalloc static-libs systemd test utils xml" REQUIRED_USE="test? ( static-libs )" diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 05b018d81518..3c8b4de4cdbf 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 953 BLAKE2B efa733d4f9ec270123b07cf28bf3b9782236ce06fa8924881e16c3ec6418ad174298327419c2191da2e5ec1f0be6dbb4196571dd30800e96c03f6f63742f6097 SHA512 abe36167ad2f80b2d020269a89e30a51729eb61e6cb1218c4cd87f8041e87f4c8c506b239b58cc23f14818f7a5a0e423d06334d2fd3f11e216cd687db2d2ee3c +EBUILD nghttp3-9999.ebuild 909 BLAKE2B 14396d1539dc8928be4fc495a2247a7db21ef43a9731da1a7c5f80891e3a314d23f8fd7dd707e063eb743b8e786335952e154f343830b5c09f25623ba0e0dc4b SHA512 f90acf3706b335d20b9b93d10a0fe747ff6cc2b077a230e2aa3195b5ac7fbf8e8387756bc099a38b6de5705097b9a1e53becd3a7ad52fd8a42a19b0595bf0bb7 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..689f8a212cbe 100644 --- a/net-libs/nghttp3/nghttp3-1.4.0.ebuild +++ b/net-libs/nghttp3/nghttp3-1.4.0.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 ~arm ~arm64 ~hppa ~ia64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" 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/nghttp3/nghttp3-9999.ebuild b/net-libs/nghttp3/nghttp3-9999.ebuild index 6715be902969..6f21ea803a4e 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 ~loong ~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..d80473c7e80b 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.6.0.ebuild 1284 BLAKE2B 27cfec0b6a3477d6c1537206ef7ecf0824941f1d50a1340e0443e541a83ce5bdb57c8c7a658e4e755838dd6801fbe4dc3f1f4820fc9d280d8b26a6c09655a843 SHA512 dca267e0da95cbf87ede5fcbbf24acad6ae0fc1ef877ac8fe5d7c9eab3920bcf00aa06b9718b6b8023a480fe1f67e1b2d3a575de319efda29e1f4a78809a4cab +EBUILD ngtcp2-1.5.0.ebuild 1279 BLAKE2B cd46a3d51926dd3154f9b03fac3e285bfcba86b9e09bfa0d7dc00673289bb4734806d3d2707a050dbbe17f9764547692f3b2d921ecf9f0266c9ec15d5d2f05e0 SHA512 bac06a9a9d9272394965377c969d648eb4099d810bbf91d67ca906a39022bee6ab603aa374a029650c6bff7dca552efcb46de64caffe32f0087787e273a37808 +EBUILD ngtcp2-1.6.0.ebuild 1296 BLAKE2B 8bde315680107d39cdcfd37c3eca9d6da8f5581cc6d9f268c2906f23858a989c7f092a8b902044d6b9a7987fac05b2547881ea10fb4c39e3546c0be642ad2c51 SHA512 5fa7511a48cd74af6e95c37fbb0e1660fecd5553289f463f2db7fe8c60f4d661e20b2889ff89dac89d03d27ba2b5e45f787702d7980fcb3ea92e9c883840a2d4 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/ngtcp2/ngtcp2-1.6.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.6.0.ebuild index da18d964561e..08005ec0720b 100644 --- a/net-libs/ngtcp2/ngtcp2-1.6.0.ebuild +++ b/net-libs/ngtcp2/ngtcp2-1.6.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 ~ppc ~ppc64 ~riscv ~sparc ~x86" fi DESCRIPTION="Implementation of the IETF QUIC Protocol" diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index d9ad38314b26..039cd37f195e 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -2,19 +2,19 @@ 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-v20.14.0.tar.xz 41795876 BLAKE2B 588c380751c12f05ccc95146f6e7f9c3eadfc77e769d836cdca1832a7739a40723fd9a7a4e59a2ab4ad087a2b2def5da76ec28077996b59ae0a6d5b2bd15d2c6 SHA512 b6148c705b2152b20c6567a9bbcbbb3925972d17273e126613b350d1d117600e2d895a93d70f793523cb903337ace9527c541a38cb10137eb81ba992778ed243 -DIST node-v20.15.0.tar.xz 41868532 BLAKE2B 07049df11e18b90ee3ebc72fdd953a64a4a925f234fcf7bfb26c472d841bd3f6f34233670d1cc67ba592eeaa714de74c6a7b89ac5a9f62a321764023a86760de SHA512 2b041ee368ca27fa1f92ec8a43237423b7e2f81dabf525e20df7b9b200a46e6d9a8c4b82beb33ec58a9351e0eea865eadfadac3d9e4d3733b1d699f0b5d4bbf3 -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-v18.20.4.tar.xz 40445740 BLAKE2B 0675f2aba1d9a9cd9aeb665ecb3a0f61b9caf39daeb6154941f84b9c423caa7a658c14b8c2c5e12d94424b2470748ec7fad28ecb10390d37f92eb7e50f8adc26 SHA512 1ccef99ebee3906f5bad3c1582f9551ced9bed15e6a047d59d1a23c6110004fb46ea4bebcf9899748c64109f78788d7365ee956444e645eaf397dabbcddda21e +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-v20.17.0.tar.xz 41751520 BLAKE2B 157cf4c3326fcd2f1324c0898018c88327df05c717acfa8d96728e1ebf378ea04e46da56b93e89041a49b5ee4b7e6070373401a2bc2e9163eec3b0dffb6ff4d3 SHA512 3f21c9b5b292143d25a9d51e24d8f9b366429872b3d905d705fb2293e4f4b11e8861650535425d498b999974971a8dec7bf9f9c398af03170caa84bdc63b94da +DIST node-v22.4.1.tar.xz 46125104 BLAKE2B 7e54a7e01f821d752abbec03212c5be838b2e12fdb10c50cfe05b0ec25ddbe71eaa3187ba25d99efb258ab14d31927216e6816aacdfa29efdb1dc70a06e9b135 SHA512 840423e9738cad9f6024e9b51b683893eab16487ba18183251a189b5d4acf9b4168e9245623092705b014bff2058174127d5d7ecb31c1a8b324961074cb8ca54 +DIST node-v22.6.0.tar.xz 46900628 BLAKE2B 52d566fcc25c370dd2cddbc21f4f9a9d7293b454b832eaaece979fa25232fef59270ba980ebfe6b8ac2424c733ef3ec33a7e7f689b818a30071ec9d3854bc553 SHA512 31a1ad99bf131917b45ec353929525686d22ed3eea1ea9f9498b5a43c0bf38b5f68885fc4a174f9d819a01745767a8b4e8d0577a7eec150456b4a102ddad639b +DIST node-v22.7.0.tar.xz 46875872 BLAKE2B f0dcd07d3040ddc0df335b51da82bce8a963ce7848892cda5f593b7fa954a61d0b789f0f70d6b2d4ca80716fcabf70268ac94297c2acd3886ac8172eb5fdf6df SHA512 6d5b751a03b68beec3f046697a806918571b04799a0c5fbb0374026729cc2e88fb1787bef6235c19e0bfda4e7545a618bf375410553c7d9e1eb149c6d43c0c3b +EBUILD nodejs-18.20.4.ebuild 7503 BLAKE2B d15a1f35d0014c215afda79a3124303f3a506f35b2da03c81af2157d5c2c1b94b4a050ad6a44efb504b8118af20e84fd6f73c9e045bf58e83a4070fd5d217997 SHA512 53d46d4a1bd1ffa19e2ea435bf7f1c83173a790e676dd0f625991dd5f77cf0df24b02713c4dddaf48cbc39e24fd69afe691cf850f707de26606a544e9d4c151d +EBUILD nodejs-20.15.1.ebuild 7680 BLAKE2B ead46416ff32f2ec63ff79df0ee2431107d9de327c27f1f30d5d28e49649ddd220a63a88fed7e6339cd89e97a56527bd025b0999eb30d5a28e6ebf108b0158e1 SHA512 0e4d2bb01a6e367b6d25cd4ffc001b8720868b32d0a98101852698fc0143cff6bbf63b761da60238fae3a34c7cc592c4b93edd4f1c157a4b7b4a4de93a674080 +EBUILD nodejs-20.16.0.ebuild 7833 BLAKE2B 2aa442bd9bb246a3a8713681c875ed69ee6044750f48f5a11fe9d714d2b75027035a6ed637f48275c66c5d4c33f4ce8c40b44d2443c210e40211be53c2c6ce9b SHA512 a0079249b72eb151a8f1bb55cf17f4187c2a5e55e247d41ca7239bb1bd6455e6df481209e16e85d85810abcf6a8183a3d53c161835667a28bd3e441dc97a06bb +EBUILD nodejs-20.17.0.ebuild 7833 BLAKE2B 2aa442bd9bb246a3a8713681c875ed69ee6044750f48f5a11fe9d714d2b75027035a6ed637f48275c66c5d4c33f4ce8c40b44d2443c210e40211be53c2c6ce9b SHA512 a0079249b72eb151a8f1bb55cf17f4187c2a5e55e247d41ca7239bb1bd6455e6df481209e16e85d85810abcf6a8183a3d53c161835667a28bd3e441dc97a06bb +EBUILD nodejs-22.4.1-r1.ebuild 8480 BLAKE2B 911e3bf47339a7686e1b1185df256aede40a895b87fc707bdd26b7621c14231f15fab65cb1665cf26737af4510dd43570bb477f41f63a7e36e12d2cc476d3d4a SHA512 855323f19f14929db1634373a3491f9a183740c878c903da3bf4bac69653c88283da0935fa09939c8eb07c96d6cece62faf98644e38958fc184606ea7eceb88f +EBUILD nodejs-22.6.0.ebuild 8495 BLAKE2B 33ef4cc2f41f4feac8dc85b8686a62b63e9e2a6be3847b29bb38fc15c9419e14365b4e266c94606982ae53efc25b15d05eb1ccb5bb20c63a579f7dd6ffb1d1f0 SHA512 e9f23d84e4aa99fd26344a718e875bfe3f171efc6e7e8d276d6dca508de71759e1b782c24264699d397830273aed4e03fcf403986cf0165ff40e4fabeb77653f +EBUILD nodejs-22.7.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 deleted file mode 100644 index 33e59e2f721c..000000000000 --- a/net-libs/nodejs/nodejs-18.20.3.ebuild +++ /dev/null @@ -1,256 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{10..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 - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/nodejs/node" - SLOT="0" -else - SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl systemtap test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl )" - -RESTRICT="!test? ( test )" - -RDEPEND=">=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.44.0:= - >=net-dns/c-ares-1.18.1:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - corepack? ( !sys-apps/yarn ) - system-icu? ( >=dev-libs/icu-67:= ) - system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) - sys-devel/gcc:*" -BDEPEND="${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-debug/systemtap ) - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -# These are measured on a loong machine with -ggdb on, and only checked -# if debugging flags are present in CFLAGS. -# -# The final link consumed a little more than 7GiB alone, so 8GiB is the lower -# limit for memory usage. Disk usage was 19.1GiB for the build directory and -# 1.2GiB for the installed image, so we leave some room for architectures with -# fatter binaries and set the disk requirement to 22GiB. -CHECKREQS_MEMORY="8G" -CHECKREQS_DISK_BUILD="22G" - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." - - if [[ ${MERGE_TYPE} != "binary" ]]; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - python-any-r1_pkg_setup - linux-info_pkg_setup -} - -src_prepare() { - tc-export AR CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - sed -i -e "/'-O3'/d" common.gypi node.gypi || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.16.0-paxmarking.patch ) - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-lto - # nodejs unconditionally links to libatomic #869992 - # specifically it requires __atomic_is_lock_free which - # is not yet implemented by sys-libs/compiler-rt (see - # https://reviews.llvm.org/D85044?id=287068), therefore - # we depend on gcc and force using libgcc as the support lib - tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" - - local myconf=( - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - if use system-icu; then - myconf+=( --with-intl=system-icu ) - elif use icu; then - myconf+=( --with-intl=full-icu ) - else - myconf+=( --with-intl=none ) - fi - use corepack || myconf+=( --without-corepack ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot || myconf+=( --without-node-snapshot ) - if use ssl; then - use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) - else - myconf+=( --without-ssl ) - fi - - local myarch="" - case "${ARCH}:${ABI}" in - *:amd64) myarch="x64";; - *:arm) myarch="arm";; - *:arm64) myarch="arm64";; - loong:lp64*) myarch="loong64";; - riscv:lp64*) myarch="riscv64";; - *:ppc64) myarch="ppc64";; - *:x32) myarch="x32";; - *:x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${EPYTHON}" configure.py \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - $(use_with systemtap dtrace) \ - "${myconf[@]}" || die -} - -src_compile() { - emake -C out -Onone -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - default - - pax-mark -m "${ED}"/usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - docinto html - dodoc -r "${S}"/doc/* - fi - - if use npm; then - keepdir /etc/npm - echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm - doenvd "${T}"/50npm - - # Install bash completion for `npm` - local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi - - use corepack && - "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - local drop_tests=( - test/parallel/test-dns-resolveany.js - test/parallel/test-dns-resolveany-bad-ancount.js - test/parallel/test-dns-setserver-when-querying.js - test/parallel/test-fs-mkdir.js - test/parallel/test-fs-utimes-y2K38.js - test/parallel/test-release-npm.js - test/parallel/test-socket-write-after-fin-error.js - test/parallel/test-strace-openat-openssl.js - test/sequential/test-util-debug.js - ) - rm -f "${drop_tests[@]}" || die "disabling tests failed" - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - if use npm; then - ewarn "remember to run: source /etc/profile if you plan to use nodejs" - ewarn " in your current shell" - fi -} diff --git a/net-libs/nodejs/nodejs-18.20.1.ebuild b/net-libs/nodejs/nodejs-18.20.4.ebuild index 643af9340905..cb29e9256b96 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 @@ -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.12.1.ebuild b/net-libs/nodejs/nodejs-20.12.1.ebuild deleted file mode 100644 index 8d0580848c34..000000000000 --- a/net-libs/nodejs/nodejs-20.12.1.ebuild +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CONFIG_CHECK="~ADVISE_SYSCALLS" -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/nodejs/node" - SLOT="0" -else - SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - SLOT="0/$(ver_cut 1)" - KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl ) - x86? ( cpu_flags_x86_sse2 )" - -RESTRICT="!test? ( test )" - -RDEPEND=">=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.46.0:= - >=net-dns/c-ares-1.18.1:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - corepack? ( !sys-apps/yarn ) - system-icu? ( >=dev-libs/icu-71:= ) - system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) - sys-devel/gcc:*" -BDEPEND="${PYTHON_DEPS} - app-alternatives/ninja - sys-apps/coreutils - virtual/pkgconfig - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -# These are measured on a loong machine with -ggdb on, and only checked -# if debugging flags are present in CFLAGS. -# -# The final link consumed a little more than 7GiB alone, so 8GiB is the lower -# limit for memory usage. Disk usage was 19.1GiB for the build directory and -# 1.2GiB for the installed image, so we leave some room for architectures with -# fatter binaries and set the disk requirement to 22GiB. -CHECKREQS_MEMORY="8G" -CHECKREQS_DISK_BUILD="22G" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - python-any-r1_pkg_setup - linux-info_pkg_setup -} - -src_prepare() { - tc-export AR CC CXX PKG_CONFIG - export V=1 - export BUILDTYPE=Release - - # fix compilation on Darwin - # https://code.google.com/p/gyp/issues/detail?id=260 - sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die - - # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 - local LIBDIR=$(get_libdir) - sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die - sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die - - # Avoid writing a depfile, not useful - sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die - - sed -i -e "/'-O3'/d" common.gypi node.gypi || die - - # debug builds. change install path, remove optimisations and override buildtype - if use debug; then - sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die - BUILDTYPE=Debug - fi - - # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch ) - - # bug 922725 - use riscv && PATCHES+=( "${FILESDIR}"/${PN}-20.11.0-riscv.patch ) - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-lto - # nodejs unconditionally links to libatomic #869992 - # specifically it requires __atomic_is_lock_free which - # is not yet implemented by sys-libs/compiler-rt (see - # https://reviews.llvm.org/D85044?id=287068), therefore - # we depend on gcc and force using libgcc as the support lib - tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc" - - local myconf=( - --ninja - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - if use system-icu; then - myconf+=( --with-intl=system-icu ) - elif use icu; then - myconf+=( --with-intl=full-icu ) - else - myconf+=( --with-intl=none ) - fi - use corepack || myconf+=( --without-corepack ) - use inspector || myconf+=( --without-inspector ) - use npm || myconf+=( --without-npm ) - use snapshot || myconf+=( --without-node-snapshot ) - if use ssl; then - use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) - else - myconf+=( --without-ssl ) - fi - - local myarch="" - case "${ARCH}:${ABI}" in - *:amd64) myarch="x64";; - *:arm) myarch="arm";; - *:arm64) myarch="arm64";; - loong:lp64*) myarch="loong64";; - riscv:lp64*) myarch="riscv64";; - *:ppc64) myarch="ppc64";; - *:x32) myarch="x32";; - *:x86) myarch="ia32";; - *) myarch="${ABI}";; - esac - - GYP_DEFINES="linux_use_gold_flags=0 - linux_use_bundled_binutils=0 - linux_use_bundled_gold=0" \ - "${EPYTHON}" configure.py \ - --prefix="${EPREFIX}"/usr \ - --dest-cpu=${myarch} \ - "${myconf[@]}" || die -} - -src_compile() { - emake -Onone -} - -src_install() { - local LIBDIR="${ED}/usr/$(get_libdir)" - default - - pax-mark -m "${ED}"/usr/bin/node - - # set up a symlink structure that node-gyp expects.. - dodir /usr/include/node/deps/{v8,uv} - dosym . /usr/include/node/src - for var in deps/{uv,v8}/include; do - dosym ../.. /usr/include/node/${var} - done - - if use doc; then - docinto html - dodoc -r "${S}"/doc/* - fi - - if use npm; then - keepdir /etc/npm - echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm - doenvd "${T}"/50npm - - # Install bash completion for `npm` - local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" - "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" - newbashcomp "${tmp_npm_completion_file}" npm - - # Move man pages - doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* - - # Clean up - rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} - - local find_exp="-or -name" - local find_name=() - for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ - ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ - "*.md" "*.markdown" "*.bat" "*.cmd"; do - find_name+=( ${find_exp} "${match}" ) - done - - # Remove various development and/or inappropriate files and - # useless docs of dependend packages. - find "${LIBDIR}"/node_modules \ - \( -type d -name examples \) -or \( -type f \( \ - -iname "LICEN?E*" \ - "${find_name[@]}" \ - \) \) -exec rm -rf "{}" \; - fi - - use corepack && - "${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - local drop_tests=( - test/parallel/test-dns-resolveany-bad-ancount.js - test/parallel/test-dns-setserver-when-querying.js - test/parallel/test-fs-mkdir.js - test/parallel/test-fs-read-stream.js - test/parallel/test-fs-utimes-y2K38.js - test/parallel/test-fs-watch-recursive-add-file.js - test/parallel/test-process-euid-egid.js - test/parallel/test-process-initgroups.js - test/parallel/test-process-setgroups.js - test/parallel/test-process-uid-gid.js - test/parallel/test-release-npm.js - test/parallel/test-socket-write-after-fin-error.js - test/parallel/test-strace-openat-openssl.js - test/sequential/test-util-debug.js - ) - rm -f "${drop_tests[@]}" || die "disabling tests failed" - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - if use npm; then - ewarn "remember to run: source /etc/profile if you plan to use nodejs" - ewarn " in your current shell" - fi -} diff --git a/net-libs/nodejs/nodejs-20.14.0.ebuild b/net-libs/nodejs/nodejs-20.15.1.ebuild index 5ad9958a8c0e..79e4dcce8bc0 100644 --- a/net-libs/nodejs/nodejs-20.14.0.ebuild +++ b/net-libs/nodejs/nodejs-20.15.1.ebuild @@ -7,7 +7,7 @@ CONFIG_CHECK="~ADVISE_SYSCALLS" 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 @@ -40,7 +40,7 @@ RDEPEND=">=app-arch/brotli-1.0.9:= >=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} @@ -169,6 +169,7 @@ src_configure() { } src_compile() { + export NINJA_ARGS=$(get_NINJAOPTS) emake -Onone } @@ -247,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.15.0.ebuild b/net-libs/nodejs/nodejs-20.16.0.ebuild index 1ce818bc4013..810d175eaacf 100644 --- a/net-libs/nodejs/nodejs-20.15.0.ebuild +++ b/net-libs/nodejs/nodejs-20.16.0.ebuild @@ -7,7 +7,7 @@ CONFIG_CHECK="~ADVISE_SYSCALLS" 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/" @@ -40,7 +40,7 @@ RDEPEND=">=app-arch/brotli-1.0.9:= >=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} @@ -169,6 +169,7 @@ src_configure() { } src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS) " emake -Onone } @@ -232,13 +233,15 @@ src_install() { src_test() { local drop_tests=( - test/parallel/test-dns-resolveany-bad-ancount.js + 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 @@ -247,6 +250,8 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-22.4.0.ebuild b/net-libs/nodejs/nodejs-20.17.0.ebuild index 87f095c8c487..810d175eaacf 100644 --- a/net-libs/nodejs/nodejs-22.4.0.ebuild +++ b/net-libs/nodejs/nodejs-20.17.0.ebuild @@ -7,7 +7,7 @@ CONFIG_CHECK="~ADVISE_SYSCALLS" 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/" @@ -34,15 +34,13 @@ REQUIRED_USE="inspector? ( icu ssl ) 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:= + >=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} @@ -105,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 931256 - use riscv && PATCHES+=( "${FILESDIR}"/${P}-riscv.patch ) - default } @@ -125,19 +120,11 @@ 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 ) @@ -182,6 +169,7 @@ src_configure() { } src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS) " emake -Onone } @@ -262,6 +250,8 @@ src_test() { 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 diff --git a/net-libs/nodejs/nodejs-22.3.0.ebuild b/net-libs/nodejs/nodejs-22.4.1-r1.ebuild index 306ba6b072c8..c18f06e68056 100644 --- a/net-libs/nodejs/nodejs-22.3.0.ebuild +++ b/net-libs/nodejs/nodejs-22.4.1-r1.ebuild @@ -4,10 +4,10 @@ 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 +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 @@ -34,14 +34,15 @@ REQUIRED_USE="inspector? ( icu ssl ) 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:= - >=dev-libs/simdjson-3.9.1:= 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} @@ -105,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 } @@ -115,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 @@ -136,6 +141,7 @@ src_configure() { # sindutf is not packaged yet # https://github.com/simdutf/simdutf # --shared-simdutf + --shared-sqlite --shared-zlib ) use debug && myconf+=( --debug ) @@ -180,6 +186,7 @@ src_configure() { } src_compile() { + export NINJA_ARGS=" $(get_NINJAOPTS)" emake -Onone } @@ -243,13 +250,15 @@ src_install() { src_test() { local drop_tests=( - test/parallel/test-dns-resolveany-bad-ancount.js + 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 @@ -258,6 +267,9 @@ 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" ) + [[ $(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 @@ -267,6 +279,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/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-22.7.0.ebuild b/net-libs/nodejs/nodejs-22.7.0.ebuild new file mode 100644 index 000000000000..40e5d335039b --- /dev/null +++ b/net-libs/nodejs/nodejs-22.7.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/udns/Manifest b/net-libs/udns/Manifest index 4db534f0becc..34abb6d35836 100644 --- a/net-libs/udns/Manifest +++ b/net-libs/udns/Manifest @@ -3,5 +3,5 @@ AUX udns-0.4-configure-clang16.patch 662 BLAKE2B 1f5fd83da10302849a3cb519ca49d07 AUX udns-0.4-configure-pton-ntop-clang16.patch 523 BLAKE2B f7050249692662d465beb39e6c5be9abb35985832f88ec45c803757a3514f850b2ab9442b1a68d2708b37607e96fbde94fa2b95f83ee3898ef77ce4905d41511 SHA512 b9138f923b309521e7349ba4448f3064682284eeffa1061d2e5c01a13c5ab42d14415121e0e6814c6074aae8c294c61e0c64e4656e87f9bdbe0720317b548365 DIST udns-0.4.tar.gz 84716 BLAKE2B df41b325ae2ffaaaf09e1bb6f52d9e9a7c468c70d8bec849cb90ebcb1fac773ee2dc7e37125a75750b61a1a78d0416e6c9aeb72e43780b474d36e370a1b9cd8d SHA512 2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b EBUILD udns-0.4-r2.ebuild 998 BLAKE2B c46346e2c40791a96775a01d1c27780d089feb0944d4bdeefcddd81deff44a1465933f13f016f4b37c1bb2483a63f0327036bcae0d5c2616a6d7ed6d59485cf1 SHA512 142aab4b1c69f024448bc42429e476457a4a153e329bb9004b2bfb88c77176833bf8be438a4b4e7000085bdd2019c48000b42cb64ccc428ddd924ff0bcdde8a0 -EBUILD udns-0.4-r3.ebuild 939 BLAKE2B 2f842d5dcd42a09335446949c8e929ea0925bfb46227a5b32cf330530f45e3191aa469d69d0db15ca7eec7c56ff794578ad339e80f84185fa28532edbd931a42 SHA512 f75ca53d0e9699b1a4214ca4d746cc2c12a0520f7f938b2e43bf5e2f2b1b3c09bdd5180a1ca059174b40fd4c0b59d87bb9505e43fcd8ce9126d9d178b7f9e5b9 +EBUILD udns-0.4-r3.ebuild 936 BLAKE2B fa90eed9ba406afb513945f1d771ca43590935faacfa5477e79d92aef0240bdd8b38764421d7661f8f0e288b671d9fb6c1e436e15ed38ff0967fd7c5e99ab714 SHA512 0e459341c6270e1c3370dec461286d081ef8e69e458fbae9bcf5159e0e9d4627f4e527955779c8851d92e73a9b41bb8d6909c47933500f75a6522ba38670081f MISC metadata.xml 410 BLAKE2B 1e21502a7b8c033b1a659a3cd235069d51a50531ed37c2873f610df9131723764971b3886f59ba4c212685db3fef6a8df17681942f011bd905ff4d07c83a7c49 SHA512 073730684153f02c08348567177e5e048ab93441ea3429ff40f15e32ee555e7a30476c19566b55cf86da835fcd479cc7f408bc95ef371d66cb4e7e8408b5cc04 diff --git a/net-libs/udns/udns-0.4-r3.ebuild b/net-libs/udns/udns-0.4-r3.ebuild index 76ee1d6bd4c5..ccc3d9b26b6a 100644 --- a/net-libs/udns/udns-0.4-r3.ebuild +++ b/net-libs/udns/udns-0.4-r3.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="http://www.corpit.ru/mjt/udns/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~hppa ppc ~ppc64 ~sparc x86" IUSE="ipv6 static +tools" PATCHES=( 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..d099234dd980 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -2,8 +2,17 @@ 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 +DIST webkitgtk-2.44.3.tar.xz 37250176 BLAKE2B 70ee02b2d5828907d7659db903f5dbc4db628af47e421db1b105163a5cec902be19f740e752179e7cda3e605af232150bb1fb37efd2382d7d4f2454fd3f8bccc SHA512 a98c15d6e68d2346abf75acf3447a11ba0f1c788a60847465d57856aa8b2fbad54e6f0c3a96edd3960919d2f12ba7a7313d37a2ebce21f493f8a6555d8e88ee0 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 +EBUILD webkit-gtk-2.44.3-r410.ebuild 8021 BLAKE2B f75581457edb18d8f2e85b6c69007533e416dda366bb061a443d544e82cd368015f3d22bc2874c12c42406ab2f840455647376f1db832ab5168750f9160b2bfe SHA512 12a3956b0983ac56e7d0a96d412dd0e76ba3eaf4a170dd0ef5824152464afd583d8b25a5a7d2d9d592295917bbedc47f2cc52b0460b1de24a8de89f54711a8ca +EBUILD webkit-gtk-2.44.3-r600.ebuild 8714 BLAKE2B 4559380e48c33e47e97abcf368285337f18533843c9ad7c74ffb51d14763c0ab5a9a08338255f78cda3233bf3bec6dd7672d3f10a7b66a920b96d32c0b2c08aa SHA512 7bdf4ee7450eb233af25880ed94a09b76ca72847bdd052b811d46449ebac00d1ceaeb9a18b9efb4fce679d24f2d812e5bc08caf74f3a04a7b26bf4ebac76b353 +EBUILD webkit-gtk-2.44.3.ebuild 7869 BLAKE2B a8817fe5a983006e894cb4d618ff081b9c7de4fe506c67a8d88eec57affddb9fa26250cb8a26a06bcb2dca57957c13f066805a9bf0630695aa96f37c95720cb4 SHA512 417dccaa5e569b5e1861d37065f0cd56546326bfcad5d76505a7a30fa2f379f725c659094eeb8a2cb9715fe0a0e4bfb4545e016aeaa45971381f8d4bba05ac2f 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/webkit-gtk/webkit-gtk-2.44.3-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.3-r410.ebuild new file mode 100644 index 000000000000..c150ea58d69d --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.3-r410.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.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 +} + +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.3-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.3-r600.ebuild new file mode 100644 index 000000000000..7952234cddf5 --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.3-r600.ebuild @@ -0,0 +1,267 @@ +# 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 +} + +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.3.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.3.ebuild new file mode 100644 index 000000000000..a5535bd92795 --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.3.ebuild @@ -0,0 +1,253 @@ +# 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 +} + +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/wslay/Manifest b/net-libs/wslay/Manifest index d2eb4b52ff82..8e95d45a5dae 100644 --- a/net-libs/wslay/Manifest +++ b/net-libs/wslay/Manifest @@ -1,3 +1,3 @@ DIST wslay-1.1.1_p20210115.tar.gz 57514 BLAKE2B 1808814cf9cecc874f341989f14b36d53c9386681934f86547274dd9c926d1add84182960f02f0f2738e55723da17b99b16f046eea75ed1ec65be997d274ed21 SHA512 97fd58fba956162ebba8f824748ad3c161afb6a72e6e5db515f94a81edb99ddcd8eb332de4ffd08cb36f79010761036e4432e6d93b000ac5e4b0a88deeda9023 -EBUILD wslay-1.1.1_p20210115.ebuild 1073 BLAKE2B 9bdf4a497dd77fc0947d2d869a0a4b2034a8a4ecead3aea3ef44d1d1b17f202ebd6fc595cf176f3cfa9f92b4805bfa51bcd5193db39d88ef6f9e7da5a0d7a6d5 SHA512 9ef8409eeac417f0513cd26bc5dba96912dadaa34170dd730edf5f787dac10698c17d49486d90e005c50788351a25c490d5ebaa7690693637fd2ca42d1b62dde +EBUILD wslay-1.1.1_p20210115.ebuild 1153 BLAKE2B b3be28f7dcd0a38f8d0614d1e49368810e5306f21524b40cba0276268508dc1f11fcffbc70993d839077d6b67d4fa9bc58619bb01dba5163eac1a5aa3a51178d SHA512 d375dc8fb4590af1377214c8e13b3e8dbb7d513701aeffd6e52cac4ed800e35b9ebc2797637c77eed72191909d5d3ad1910a808773e90a678e7002da52f00323 MISC metadata.xml 328 BLAKE2B fdf72cb52db036f22c8ec9a01e2dda72d44fa581ddf6c264ac4450622af76f607d21f4b1c72462bc911f66df98c2102815c1b6495d60b4fc42961d2b786db4ce SHA512 4a1b27580578d37cac7840da1ffe72a23def0b6769acb2afa5b45691898b68c3150842cfc21d35ffff7effe93f36528819ca5f6247617a6e0c18ddeeaa934223 diff --git a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild index 03e102a9da97..44486fa55aa1 100644 --- a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild +++ b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild @@ -18,12 +18,20 @@ KEYWORDS="~amd64" IUSE="doc test" RESTRICT="!test? ( test )" -DEPEND="test? ( dev-util/cunit )" -BDEPEND="doc? ( dev-python/sphinx )" +DEPEND=" + test? ( dev-util/cunit ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) +" src_prepare() { default + # skip unnecessary examples & automagic dependency on nettle + sed -i '/build_examples=/s/yes/no/' configure.ac || die + eautoreconf } @@ -32,7 +40,6 @@ src_configure() { # no options... and cmake build has different issues $(usev !doc ac_cv_path_SPHINX_BUILD=) $(usev !test ac_cv_lib_cunit_CU_initialize_registry=) - PKG_CONFIG=false # disables examples by failing to find nettle ) econf "${econfargs[@]}" 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 |