diff options
Diffstat (limited to 'net-libs')
377 files changed, 5505 insertions, 6596 deletions
diff --git a/net-libs/NativeThread/NativeThread-0_pre20190914-r1.ebuild b/net-libs/NativeThread/NativeThread-0_pre20190914-r1.ebuild index 1156f64a3ad3..dd4f4037f848 100644 --- a/net-libs/NativeThread/NativeThread-0_pre20190914-r1.ebuild +++ b/net-libs/NativeThread/NativeThread-0_pre20190914-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm ~x86" CDEPEND=" dev-java/jna:4 diff --git a/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild b/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild index f00fa00de713..2e93ec2c43fd 100644 --- a/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild +++ b/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://gitlab.com/accounts-sso/${PN}-module/-/archive/VERSION_${PV}/${ LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" IUSE="doc test" BDEPEND=" diff --git a/net-libs/accounts-qt/accounts-qt-1.16.ebuild b/net-libs/accounts-qt/accounts-qt-1.16.ebuild index c9337927d70c..8f7734ee51e9 100644 --- a/net-libs/accounts-qt/accounts-qt-1.16.ebuild +++ b/net-libs/accounts-qt/accounts-qt-1.16.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ S="${WORKDIR}/lib${PN}-VERSION_${PV}" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" IUSE="doc test" # dbus problems diff --git a/net-libs/aqbanking/aqbanking-6.2.5.ebuild b/net-libs/aqbanking/aqbanking-6.2.5.ebuild index b13c94109378..d7fb4a15cebc 100644 --- a/net-libs/aqbanking/aqbanking-6.2.5.ebuild +++ b/net-libs/aqbanking/aqbanking-6.2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.aquamaniac.de/rdm/attachments/download/342/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~riscv x86" IUSE="debug doc ebics examples ofx" BDEPEND=" diff --git a/net-libs/canlock/Manifest b/net-libs/canlock/Manifest index c8799420093d..59fb34a61891 100644 --- a/net-libs/canlock/Manifest +++ b/net-libs/canlock/Manifest @@ -1,2 +1 @@ -DIST libcanlock-3.2.2.tar.bz2 467561 BLAKE2B e332c379647c7ad3fbf5f0a8051b888be65674bcb2c9be1b689f009fd35eecbb29644d9f17aaa3812c9405283708207c6f220f630e0dd1c6a5508d41b85a6070 SHA512 3d194a37bdbdf640bb6996383ce988c9177573b6f84c29569d759308564c7636d98d5c267988bd034b33681f814400eb7fbecf78d90f54b126edb3bf384f928f DIST libcanlock-3.3.0.tar.bz2 625796 BLAKE2B 001512a6d2d226aed93882de8d8f4f02a066cc67e6f21b411b8e1ee2ff0d4580732c90a6fc2756a79f992629cd18fbc319510960c39f33284c86bebfed3d4216 SHA512 100d2b4bf3eadedb7da230317cd37b2c1b259bbd783099a74e0d75fdc6ecddb8a6fd854a2b272bda3629bcf1ac1ae2b3d5657fca9137c17e38aad88f30e4c81c diff --git a/net-libs/canlock/canlock-3.2.2.ebuild b/net-libs/canlock/canlock-3.2.2.ebuild deleted file mode 100644 index 9b4ffa7b73de..000000000000 --- a/net-libs/canlock/canlock-3.2.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="A library for creating and verifying Usenet cancel locks" -HOMEPAGE="https://micha.freeshell.org/libcanlock/" -SRC_URI="https://micha.freeshell.org/lib${PN}/src/lib${P}.tar.bz2" -S="${WORKDIR}/lib${P}" - -LICENSE="BSD MIT" -SLOT="0/3" -KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux" -IUSE="+legacy" - -BDEPEND="sys-devel/flex - virtual/yacc" - -DOCS=( ChangeLog{,_V{0..2}} README doc/sec_review.txt ) - -src_prepare() { - default - - # shatest fails to build with slibtool - sed 's/shatest$(EXEEXT) //g' -i test/Makefile.in || die -} - -src_configure() { - local econf_args=( - --enable-pc-files - $(use_enable legacy legacy-api) - ) - - econf "${econf_args[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - - # keep old header location for compability with canlock v2 - use legacy && dosym ./libcanlock-3/canlock.h /usr/include/canlock.h - - # required for net-nntp/tin - dosym ./libcanlock-3.pc /usr/$(get_libdir)/pkgconfig/libcanlock3.pc -} diff --git a/net-libs/canlock/canlock-3.3.0.ebuild b/net-libs/canlock/canlock-3.3.0.ebuild index 5227e822e8c8..bd8ea08f1942 100644 --- a/net-libs/canlock/canlock-3.3.0.ebuild +++ b/net-libs/canlock/canlock-3.3.0.ebuild @@ -10,7 +10,7 @@ S="${WORKDIR}/lib${P}" LICENSE="BSD MIT" SLOT="0/3" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux" IUSE="header-parser +legacy" BDEPEND=" diff --git a/net-libs/canlock/files/canlock-2b-make.patch b/net-libs/canlock/files/canlock-2b-make.patch deleted file mode 100644 index da90c738af69..000000000000 --- a/net-libs/canlock/files/canlock-2b-make.patch +++ /dev/null @@ -1,116 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -1,38 +1,39 @@ --CFLAGS = -Iinclude --LDFLAGS = -L. -lcanlock --CC = gcc --STATIC_LIB = libcanlock.a -+CPPFLAGS += -Iinclude -+LDLIBS = -L./src -lcanlock - --all: hmactest canlocktest $(STATIC_LIB) -+all: shared - --sha1test: t/sha1test.c $(STATIC_LIB) -- $(CC) $(CFLAGS) t/$@.c -o $@ $(LDFLAGS) -+sha1test: t/sha1test.c shared -+ $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) t/$@.c -o $@ $(LDLIBS) - --hmactest: t/hmactest.c $(STATIC_LIB) -- $(CC) $(CFLAGS) t/$@.c -o $@ $(LDFLAGS) -+hmactest: t/hmactest.c shared -+ $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) t/$@.c -o $@ $(LDLIBS) - --canlocktest: t/canlocktest.c $(STATIC_LIB) -- $(CC) $(CFLAGS) t/$@.c -o $@ $(LDFLAGS) -+canlocktest: t/canlocktest.c shared -+ $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) t/$@.c -o $@ $(LDLIBS) - --$(STATIC_LIB): -- cd src && make -- ln -s src/libcanlock.a libcanlock.a -+static: -+ cd src && $(MAKE) libcanlock.a -+ ln -sf src/libcanlock.a libcanlock.a -+ -+shared: -+ cd src && $(MAKE) libcanlock.so.2.0.0 - - clean: - rm -f src/*.o t/*.o t/*.out *.gmon gmon.* -- cd src && make clean -+ cd src && $(MAKE) clean - rm -f *.a canlocktest hmactest sha1test *.exe *.h lib-stamp - - install: all -- cd src && make install DESTDIR=$(DESTDIR) -+ cd src && $(MAKE) install DESTDIR=$(DESTDIR) - install --mode=644 include/canlock.h $(DESTDIR)/usr/include -- --test: all -+ -+check: hmactest canlocktest - @echo "hmactest: " -- @./hmactest > t/hmactest.out || echo hmm -+ @LD_LIBRARY_PATH=src/ ./hmactest > t/hmactest.out || echo hmm - @diff t/hmactest.shouldbe t/hmactest.out && echo " Pass." || (echo " **FAIL**" ; exit 1) - @echo "=-=-=-=" - @echo "canlocktest: " -- @./canlocktest > t/canlocktest.out -+ @LD_LIBRARY_PATH=src/ ./canlocktest > t/canlocktest.out - @diff t/canlocktest.shouldbe t/canlocktest.out && echo " Pass." || (echo " **FAIL**" ; exit 1) - @echo "=-=-=-=" ---- a/src/Makefile -+++ b/src/Makefile -@@ -1,32 +1,35 @@ --LIBOBJS = base64.lo canlock.lo hmac_sha1.lo sha1.lo --CC = gcc - LIBTOOL = libtool --CFLAGS = -I../include -+CPPFLAGS += -I../include - SOURCES = base64.c canlock.c hmac_sha1.c sha1.c --OBJS = base64.o canlock.o hmac_sha1.o sha1.o -+OBJS := $(SOURCES:.c=.o) -+LIBOBJS := $(SOURCES:.c=.lo) - SHARELINKFLAGS = -Wl,-soname -Wl,libcanlock.so.2 - SHAREDFLAGS = -fPIC -DPIC - LIBS = libcanlock.a libcanlock.so.2.0.0 - INSTALL = install - -+.SUFFIXES: .c .o .h .lo -+ - all: $(LIBS) - --libcanlock.a: -- $(CC) $(CFLAGS) -c $(SOURCES) -- ar cru libcanlock.a $(OBJS) -- ranlib libcanlock.a -- rm $(OBJS) -- --libcanlock.so.2.0.0: -- $(CC) $(CFLAGS) $(SHAREDFLAGS) -c $(SOURCES) -- $(CC) -shared $(OBJS) $(SHARELINKFLAGS) -o libcanlock.so.2.0.0 -+.c.lo: -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(SHAREDFLAGS) -c -o $@ $< -+ -+libcanlock.a: $(OBJS) -+ $(AR) cru libcanlock.a $(OBJS) -+ $(RANLIB) libcanlock.a -+ -+libcanlock.so.2.0.0: $(LIBOBJS) -+ $(CC) -shared $(LIBOBJS) $(LDFLAGS) $(SHARELINKFLAGS) -o libcanlock.so.2.0.0 -+ ln -s libcanlock.so.2.0.0 libcanlock.so -+ ln -s libcanlock.so.2.0.0 libcanlock.so.2 - - install: all - $(INSTALL) libcanlock.so.2.0.0 $(DESTDIR)/usr/lib - cd $(DESTDIR)/usr/lib && ln -s libcanlock.so.2.0.0 libcanlock.so.2 - cd $(DESTDIR)/usr/lib && ln -s libcanlock.so.2.0.0 libcanlock.so - $(INSTALL) libcanlock.a $(DESTDIR)/usr/lib/libcanlock.a -- ranlib $(DESTDIR)/usr/lib/libcanlock.a -- -+ $(RANLIB) $(DESTDIR)/usr/lib/libcanlock.a -+ - clean: -- rm -f $(OBJS) $(LIBS) -+ rm -f $(OBJS) $(LIBOBJS) $(LIBS) diff --git a/net-libs/courier-authlib/courier-authlib-0.71.0-r3.ebuild b/net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild index 14023d2a01b0..65762bfae119 100644 --- a/net-libs/courier-authlib/courier-authlib-0.71.0-r3.ebuild +++ b/net-libs/courier-authlib/courier-authlib-0.71.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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" +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 )" @@ -22,7 +22,7 @@ DEPEND="net-mail/mailbase gdbm? ( sys-libs/gdbm:= ) !gdbm? ( sys-libs/db:= ) dev-libs/openssl:0= - ldap? ( >=net-nds/openldap-1.2.11 ) + ldap? ( >=net-nds/openldap-1.2.11:= ) mysql? ( dev-db/mysql-connector-c:= ) pam? ( sys-libs/pam ) postgres? ( dev-db/postgresql:= ) @@ -60,7 +60,6 @@ src_configure() { --sharedstatedir=/var/lib/courier/com \ --with-authdaemonvar=/var/lib/courier/authdaemon \ --with-authshadow \ - --without-redhat \ --with-mailuser=mail \ --with-mailgroup=mail \ --cache-file="${S}/configuring.cache" \ diff --git a/net-libs/courier-authlib/courier-authlib-0.71.3-r1.ebuild b/net-libs/courier-authlib/courier-authlib-0.71.3-r2.ebuild index c96a75a26e05..45725d6e9a45 100644 --- a/net-libs/courier-authlib/courier-authlib-0.71.3-r1.ebuild +++ b/net-libs/courier-authlib/courier-authlib-0.71.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ HOMEPAGE="https://www.courier-mta.org/authlib/" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="berkdb debug gdbm ldap mysql pam postgres sqlite static-libs" RESTRICT="!berkdb? ( test )" @@ -22,7 +22,7 @@ DEPEND="net-mail/mailbase gdbm? ( sys-libs/gdbm:= ) !gdbm? ( sys-libs/db:= ) dev-libs/openssl:0= - ldap? ( >=net-nds/openldap-1.2.11 ) + ldap? ( >=net-nds/openldap-1.2.11:= ) mysql? ( dev-db/mysql-connector-c:= ) pam? ( sys-libs/pam ) postgres? ( dev-db/postgresql:= ) @@ -60,7 +60,6 @@ src_configure() { --sharedstatedir=/var/lib/courier/com \ --with-authdaemonvar=/var/lib/courier/authdaemon \ --with-authshadow \ - --without-redhat \ --with-mailuser=mail \ --with-mailgroup=mail \ --cache-file="${S}/configuring.cache" \ diff --git a/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild b/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild index a80fccb27ac7..d4f8eaceef46 100644 --- a/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild +++ b/net-libs/courier-unicode/courier-unicode-2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ HOMEPAGE="https://www.courier-mta.org/" SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86" IUSE="" src_configure() { diff --git a/net-libs/courier-unicode/courier-unicode-2.1.ebuild b/net-libs/courier-unicode/courier-unicode-2.1.ebuild index 483c9d41a566..272513d9f5ba 100644 --- a/net-libs/courier-unicode/courier-unicode-2.1.ebuild +++ b/net-libs/courier-unicode/courier-unicode-2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ HOMEPAGE="https://www.courier-mta.org/" SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86" IUSE="" src_install() { diff --git a/net-libs/courier-unicode/courier-unicode-2.2.3-r1.ebuild b/net-libs/courier-unicode/courier-unicode-2.2.3-r1.ebuild index dbb52817c9bf..a47c80c883c0 100644 --- a/net-libs/courier-unicode/courier-unicode-2.2.3-r1.ebuild +++ b/net-libs/courier-unicode/courier-unicode-2.2.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0/7" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" src_configure() { econf --disable-static diff --git a/net-libs/cppzmq/cppzmq-4.6.0.ebuild b/net-libs/cppzmq/cppzmq-4.6.0.ebuild index 8ac687bd6ab7..48351df3d3b6 100644 --- a/net-libs/cppzmq/cppzmq-4.6.0.ebuild +++ b/net-libs/cppzmq/cppzmq-4.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/zeromq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="MIT" -KEYWORDS="amd64 ~arm ~arm64 x86 ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-libs/cvm/cvm-0.97-r1.ebuild b/net-libs/cvm/cvm-0.97-r1.ebuild index 4f0ebc583cec..09087fabb5d8 100644 --- a/net-libs/cvm/cvm-0.97-r1.ebuild +++ b/net-libs/cvm/cvm-0.97-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/cvm/archive/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ppc sparc x86" +KEYWORDS="~amd64 ~ppc sparc x86" IUSE="mysql postgres test vpopmail" RESTRICT="!test? ( test )" diff --git a/net-libs/czmq/Manifest b/net-libs/czmq/Manifest index 8e879cecd352..d50579096f33 100644 --- a/net-libs/czmq/Manifest +++ b/net-libs/czmq/Manifest @@ -1,2 +1 @@ -DIST czmq-4.2.0.tar.gz 1522824 BLAKE2B 2b2ec308f37a122d5478f63ed029c5ac01d8da40e676e812ec321e039839c7d364fef3eef67df928e6514f0fd2cd65ae35ba89347ead2b44c610812a012364dd SHA512 a3716efbece193196355fb7055b7e81067d29551765de2533178804ca5d85f98cd8cd01f88b4eecbea905adf3b7513e3b8a7e78e350adf1a6e69edbea5f6260c DIST czmq-4.2.1.tar.gz 1617066 BLAKE2B 5b635ccd7e85f05cd4f81f1ddaef80f7478feccfb916b1a7317f539354d0a4dabb7bf14a9dbee4dae3f6fbfcaf402c51ee9ba9810d952fc837c03c14304d4dab SHA512 776c524ffeba3dbe2534351f91623a6f9db31268aa2e794e29b7eca99c9fd0a726de0f7fba4376a5b3d7321b1033314e86644efaa5a9c7226fc1f06805f7aa9f diff --git a/net-libs/czmq/czmq-4.2.0.ebuild b/net-libs/czmq/czmq-4.2.0.ebuild deleted file mode 100644 index 678a10dbc555..000000000000 --- a/net-libs/czmq/czmq-4.2.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DESCRIPTION="High-level C Binding for ZeroMQ" -HOMEPAGE="http://czmq.zeromq.org" -SRC_URI="https://github.com/zeromq/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0/4" -KEYWORDS="amd64 arm arm64 ~hppa x86" -IUSE="curl drafts http-client http-server lz4 static-libs systemd +uuid" - -BDEPEND="app-text/asciidoc - app-text/xmlto - virtual/pkgconfig" - -RDEPEND=">=net-libs/zeromq-4:=[drafts?] - http-client? ( net-misc/curl ) - http-server? ( net-libs/libmicrohttpd:= ) - lz4? ( app-arch/lz4:= ) - systemd? ( sys-apps/systemd ) - uuid? ( sys-apps/util-linux:0= )" - -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS NEWS README.md ) - -src_configure() { - local myeconfargs=( - --enable-drafts=$(usex drafts) - --with-docs=no - --with-uuid=$(usex uuid) - --with-libcurl=$(usex http-client) - --with-libmicrohttpd=$(usex http-server) - --with-libsystemd=$(usex systemd) - --with-liblz4=$(usex lz4) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - if ! use static-libs ; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest index 42060c31eec4..b1b39ce8d788 100644 --- a/net-libs/glib-networking/Manifest +++ b/net-libs/glib-networking/Manifest @@ -1 +1,2 @@ -DIST glib-networking-2.70.1.tar.xz 261312 BLAKE2B bd0fb33e1ad359b36f78c8003ceb15290a9403d978400573ec7caabc44851f83f080d651085b85f7a5836a39c12c499222d8f9ad5bde51e5b24f6344332be1f7 SHA512 a06b4df4481f95193f9ed4be6d39bbe9ecaf4de8e11a48750f7110d4cfa71aa56b7ec5b36af70b7128150447f1a39ce3aeadf71e2ac516f61708f1212f8f855d +DIST glib-networking-2.72.0.tar.xz 265060 BLAKE2B 2ffb25b059db40fcf9b65b104cd50d81dda9482bc75031d62c10f70eaaa2e9fcfcdfb2b718253255a2565d7b6bc9ead2214167d1b5f482c0ddd3af8573dd2ef5 SHA512 2b42aebcf496f51604005f6f3243ed7e613ab3d485742b7d8af10e103b07eefd8931cc86c1cb021889fe1415ad98bf4d877a3f33203cb53688cc2c41373a8ce4 +DIST glib-networking-2.72.1.tar.xz 265308 BLAKE2B 84264df5e094a4c57d86edd57fdedb11ad00eec5937eb056de34ec3d38a0e0e2ec3d71a5ad4ab0386c45681c8784b792ca6ded9c048d93c3ed1ad47d2f31f44e SHA512 243f54f4fbce40211f276c4f56e4e40507ecb0b23527a04b2d5bd67185c017f736f088c71ebf225e69e1ae8efa5b835edd68ea5c96df3ff69a25fd391e5c52d0 diff --git a/net-libs/glib-networking/glib-networking-2.70.1.ebuild b/net-libs/glib-networking/glib-networking-2.72.0-r1.ebuild index 6c14700027ed..d5891f0bed16 100644 --- a/net-libs/glib-networking/glib-networking-2.70.1.ebuild +++ b/net-libs/glib-networking/glib-networking-2.72.0-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit gnome.org gnome2-utils meson-multilib xdg @@ -12,7 +12,7 @@ LICENSE="LGPL-2.1+" SLOT="0" IUSE="+gnome +libproxy +ssl test" RESTRICT="!test? ( test )" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" >=dev-libs/glib-2.69.0:2[${MULTILIB_USEDEP}] @@ -31,7 +31,8 @@ BDEPEND=" " src_prepare() { - xdg_src_prepare + default + xdg_environment_reset if ! use test ; then # Don't build tests unconditionally @@ -39,7 +40,7 @@ src_prepare() { # It may become a real runtime dependency in future # Please check! # bug #777462 - sed -i "/^subdir('tls\/tests')/d" meson.build || die + sed -i "/^subdir('tests')/d" tls/meson.build || die fi } diff --git a/net-libs/glib-networking/glib-networking-2.72.1.ebuild b/net-libs/glib-networking/glib-networking-2.72.1.ebuild new file mode 100644 index 000000000000..f5cb25001455 --- /dev/null +++ b/net-libs/glib-networking/glib-networking-2.72.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2022 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" +IUSE="+gnome +libproxy +ssl test" +RESTRICT="!test? ( test )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=dev-libs/glib-2.69.0:2[${MULTILIB_USEDEP}] + libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] ) + >=net-libs/gnutls-3.7.2:=[${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) + $(meson_feature gnome gnome_proxy) + -Dinstalled_tests=false + -Dstatic_modules=false + ) + meson_src_configure +} + +multilib_src_test() { + 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/gloox/files/gloox-1.0.24-bashism-configure.patch b/net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch new file mode 100644 index 000000000000..a9e09f113bcc --- /dev/null +++ b/net-libs/gloox/files/gloox-1.0.24-bashism-configure.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -51,7 +51,7 @@ if test -z "`${CC} check_atomicbuiltins.c -o check_atomicbuiltins 2>&1`" ; then + HAVE_GCC_ATOMIC_BUILTINS=yes + AC_DEFINE(HAVE_GCC_ATOMIC_BUILTINS, 1, [Define to 1 if GCC atomic builtins are available]) + AC_MSG_RESULT([yes]) +- if test $cross_compiling == "yes"; then ++ if test $cross_compiling = "yes"; then + # Some platforms don't seem to be fully happy for libraries using GCC atomic builtins + # unless -lgcc and -lgcc_s are explicitly included. + # (Errors like diff --git a/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch b/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch new file mode 100644 index 000000000000..dc0c4cd1aced --- /dev/null +++ b/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/852182 +--- a/src/tests/tag/tag_perf.cpp ++++ b/src/tests/tag/tag_perf.cpp +@@ -20,6 +20,7 @@ using namespace gloox; + #include <cstdlib> + #include <string> + #include <cstdio> // [s]print[f] ++#include <ctime> + + #include <sys/time.h> + +--- a/src/tests/zlib/zlib_perf.cpp ++++ b/src/tests/zlib/zlib_perf.cpp +@@ -24,6 +24,7 @@ using namespace gloox; + #include <string> + #include <sys/time.h> + #include <cstdio> // [s]print[f] ++#include <ctime> + + #ifdef HAVE_ZLIB + diff --git a/net-libs/gloox/gloox-1.0.24-r1.ebuild b/net-libs/gloox/gloox-1.0.24-r1.ebuild new file mode 100644 index 000000000000..4cef23c79743 --- /dev/null +++ b/net-libs/gloox/gloox-1.0.24-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_P="${P/_/-}" +DESCRIPTION="A portable high-level Jabber/XMPP library for C++" +HOMEPAGE="https://camaya.net/gloox/" +SRC_URI="https://camaya.net/download/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +# Check upstream changelog: https://camaya.net/gloox/changelog/ +SLOT="0/18" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug gnutls idn ssl static-libs test zlib" +RESTRICT="!test? ( test )" + +DEPEND=" + idn? ( net-dns/libidn:= ) + gnutls? ( net-libs/gnutls:= ) + ssl? ( + dev-libs/openssl:0= + ) + zlib? ( sys-libs/zlib ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.24-musl.patch" + "${FILESDIR}/${PN}-1.0.24-Makefile.patch" + "${FILESDIR}/${PN}-1.0.24-slibtool.patch" + "${FILESDIR}/${PN}-1.0.24-pthread-link.patch" + "${FILESDIR}/${PN}-1.0.24-bashism-configure.patch" + "${FILESDIR}/${PN}-1.0.24-fix-gcc12-time.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Examples are not installed anyway, so - why should we build them? + local myeconfargs=( + --without-examples + $(usex debug "--enable-debug" '') + $(use_enable static-libs static) + $(use_with idn libidn) + $(use_with gnutls) + $(use_with ssl openssl) + $(use_with test tests) + $(use_with zlib) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die +} diff --git a/net-libs/gnet/files/gnet-2.0.8-autotools.patch b/net-libs/gnet/files/gnet-2.0.8-autotools.patch new file mode 100644 index 000000000000..760e41398fa6 --- /dev/null +++ b/net-libs/gnet/files/gnet-2.0.8-autotools.patch @@ -0,0 +1,37 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -7,6 +7,7 @@ + + # Init autoconf and automake + AC_INIT([gnet], [2.0.8], [gnet@gnetlibrary.org]) ++AC_CONFIG_MACRO_DIR([macros]) + AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) + AM_MAINTAINER_MODE +@@ -127,7 +128,6 @@ + ############################### + # Check for programs + AC_PROG_CC +-AM_PROG_CC_STDC + AC_PROG_INSTALL + AC_PROG_MAKE_SET + AC_LIBTOOL_WIN32_DLL +@@ -551,9 +551,6 @@ + if test "x$GCC" = "xyes"; then + CFLAGS="$CFLAGS -Wall -Wstrict-prototypes \ + -Wmissing-prototypes -Wmissing-declarations" +- if test "x$enable_debug" = "xyes"; then +- CFLAGS="$CFLAGS -Werror" +- fi + + if test "x$enable_ansi" = "xyes"; then + CFLAGS="$CFLAGS -ansi" +@@ -610,7 +607,7 @@ + # Outputs + ############################### + +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AC_CONFIG_FILES([ + Makefile + src/Makefile diff --git a/net-libs/gnet/gnet-2.0.8-r3.ebuild b/net-libs/gnet/gnet-2.0.8-r4.ebuild index 27d0d63139f0..9beafdec55d7 100644 --- a/net-libs/gnet/gnet-2.0.8-r3.ebuild +++ b/net-libs/gnet/gnet-2.0.8-r4.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" -GCONF_DEBUG="yes" +EAPI=8 + +GNOME2_EAUTORECONF="yes" GNOME_TARBALL_SUFFIX="bz2" -inherit autotools epatch gnome2 +inherit gnome2 DESCRIPTION="A simple network library" HOMEPAGE="https://wiki.gnome.org/Projects/GNetLibrary" @@ -18,51 +19,42 @@ RESTRICT="!test? ( test )" # FIXME: automagic use of valgrind RDEPEND=">=dev-libs/glib-2.6:2" -DEPEND="${RDEPEND} - >=dev-libs/check-0.9.11 - >=dev-util/gtk-doc-am-1.2 - virtual/pkgconfig -" # FIXME: check should only be needed with USE 'test', bug #349301 # test? ( >=dev-libs/check-0.9.7 )" +DEPEND="${RDEPEND} + >=dev-libs/check-0.9.11" +BDEPEND=" + >=dev-util/gtk-doc-am-1.2 + virtual/pkgconfig" -src_prepare() { +PATCHES=( # Do not leak main context reference, from master - epatch "${FILESDIR}"/${PN}-2.0.8-context-leak.patch + "${FILESDIR}"/${PN}-2.0.8-context-leak.patch # Fix usage of check framework, bug #296849, from master # Disable this patch, bug 698654 - # epatch "${FILESDIR}"/${PN}-2.0.8-check-usage-update.patch + # "${FILESDIR}"/${PN}-2.0.8-check-usage-update.patch # ifdef around network tests code, refs. bug #320759 - epatch "${FILESDIR}"/${PN}-2.0.8-network-tests.patch + "${FILESDIR}"/${PN}-2.0.8-network-tests.patch # Do not hardcode glib patch in pkgconfig file, debian bug #652165 - epatch "${FILESDIR}"/${PN}-2.0.8-fix-pkgconfig-abuse.patch + "${FILESDIR}"/${PN}-2.0.8-fix-pkgconfig-abuse.patch # Compatibility with recent check releases, bug #498046 - epatch "${FILESDIR}"/${PN}-2.0.8-unittest-build.patch + "${FILESDIR}"/${PN}-2.0.8-unittest-build.patch # gnetlibrary.org has been adandoned, from master - epatch "${FILESDIR}"/${PN}-2.0.8-test-existing-domain.patch + "${FILESDIR}"/${PN}-2.0.8-test-existing-domain.patch # Do not depend on a running HTTP server on port 80 for unittest - epatch "${FILESDIR}"/${PN}-2.0.8-unittest-service.patch - - # Do not pass silly cflags with USE=debug, bug #320759 - sed -i \ - -e 's:-Werror::' \ - -e '/AM_PROG_CC_STDC/d' \ - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ - configure.ac || die + "${FILESDIR}"/${PN}-2.0.8-unittest-service.patch - # bug #672170 - AT_M4DIR="macros" eautoreconf - gnome2_src_prepare -} + # Do not pass silly cflags with USE=debug, bug #320759, #672170 + "${FILESDIR}"/${PN}-2.0.8-autotools.patch +) src_configure() { - DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README* TODO" # Do not enable network tests in an ebuild environment gnome2_src_configure \ --disable-static \ diff --git a/net-libs/gnome-online-accounts/Manifest b/net-libs/gnome-online-accounts/Manifest index cc037b172969..3e344010e831 100644 --- a/net-libs/gnome-online-accounts/Manifest +++ b/net-libs/gnome-online-accounts/Manifest @@ -1 +1 @@ -DIST gnome-online-accounts-3.40.1.tar.xz 861220 BLAKE2B 668af9cca8524e25b4f65f41983c527e0cac167317c28f6c451c9c9a6cea18a5774c42acd1cf80cfc707ed62524d1381039fd4f16e3e506d4789372a3db85f4f SHA512 ee7835efe6e1afd6a13f823e17eb93e4a3c55e90764f93a766270ef64f07ed18eff2fce325d8248783d7c6f1c0a7a7fe7512ebb7a8bc0a3e3b33b9037a75b088 +DIST gnome-online-accounts-3.44.0.tar.xz 859564 BLAKE2B 6131094df19d5f282491bd19a97f6e0248b10a5c4db19962a6804523101fb86d6bed7523b46cef91328e0f3c7b6496068594de0689ab1fcb63fd8fb80eece49c SHA512 e70a83b557b816dc7eb22bcd1e4a263044a16c981dfa945a529250ea76e743c9cc73f2ecd4f3006d28a4f3161c7a15dba8bd1416b413c28f4d86d0192755e809 diff --git a/net-libs/gnome-online-accounts/gnome-online-accounts-3.40.1.ebuild b/net-libs/gnome-online-accounts/gnome-online-accounts-3.44.0.ebuild index 1bb0801290c0..dbe8f1387ab6 100644 --- a/net-libs/gnome-online-accounts/gnome-online-accounts-3.40.1.ebuild +++ b/net-libs/gnome-online-accounts/gnome-online-accounts-3.44.0.ebuild @@ -1,8 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -VALA_USE_DEPEND="vapigen" +EAPI=8 inherit gnome2 vala @@ -53,7 +52,7 @@ DEPEND="${RDEPEND} " src_prepare() { - use vala && vala_src_prepare + use vala && vala_setup gnome2_src_prepare } diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest index b3e46a868aac..e183b89d6452 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -1,2 +1,2 @@ -DIST gnutls-3.7.2.tar.xz 6091508 BLAKE2B f408ff65f2e08cf294b449dfac64a272a8ba40e987618960f57ee36c167a25974711ab8d11bdbd6335fbf18ac902a79b5c6b40bb6a37f4ee07549832d0611df2 SHA512 5d01d561a05379da71e4847e30ba13c2abe09f7a5c4359fd539d8bd19abad0ce87120f82ee7b6264e787bd3edbc5ae16beffa892983cbc3d59f11a1811c10329 -DIST gnutls-3.7.3.tar.xz 6119292 BLAKE2B 811e6fbb62fbd35fa63e66cfcbfc3bf899cea5cece1d2a68bc650f507df0f7be9f59c707c90fa19b7ef5a52455a663da49682704e0884af06075c566afbfc0bf SHA512 3ace744affe23e284342658d6d2d2de49dd50065489cbc8be18fc7d38187253e5268ca54027ce5cd517056c249ac039a7481e4548cec04325de37ae85617d077 +DIST gnutls-3.7.6.tar.xz 6338276 BLAKE2B 9f3cce8dfc0b88f2c42d1d2633417dac649a265407b620b6d15967e5210debb99d287ef31d2b9dc37a527ac1e5b9db4c240b98a63293078fbd2e26ac694bf3d3 SHA512 f872339df80ec31d292821ff00eaafbe50e0bd4cdbb86e21e4f78541cd0a26d843596d5e69c91de4db8ce7d027fc639ae6462b57d89fb116162ae63c5a97486a +DIST gnutls-3.7.6.tar.xz.sig 685 BLAKE2B eae022d6cb0d772e465257411381afd97f3dfd19d6f794a1c3e0f8c3c1232a8a1b91269ca7252a5662782183b11ca393c31efe3f88171a526884400fd0534528 SHA512 c969da9a938b9d29a70cea3b00cce337f9a4c4304aae7f501ef6263894f81a420395ddbe1b005f35dff2e900d3fac75e288f10bbfde0ebea034f7e257bb16d0e diff --git a/net-libs/gnutls/gnutls-3.7.2.ebuild b/net-libs/gnutls/gnutls-3.7.2.ebuild deleted file mode 100644 index 5448b73bad2e..000000000000 --- a/net-libs/gnutls/gnutls-3.7.2.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit libtool multilib-minimal - -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" - -LICENSE="GPL-3 LGPL-2.1+" -SLOT="0/30" # libgnutls.so number -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind" - -REQUIRED_USE=" - test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )" -RESTRICT="!test? ( test )" - -# NOTICE: sys-devel/autogen is required at runtime as we -# use system libopts -RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] - dev-libs/libunistring:=[${MULTILIB_USEDEP}] - >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}] - >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] - tools? ( sys-devel/autogen:= ) - dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] ) - guile? ( >=dev-scheme/guile-2:=[networking] ) - nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] ) - pkcs11? ( >=app-crypt/p11-kit-0.23.1:=[${MULTILIB_USEDEP}] ) - idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - test? ( - seccomp? ( sys-libs/libseccomp ) - )" -BDEPEND=">=virtual/pkgconfig-0-r1 - doc? ( dev-util/gtk-doc ) - nls? ( sys-devel/gettext ) - tools? ( sys-devel/autogen ) - valgrind? ( dev-util/valgrind ) - test-full? ( - app-crypt/dieharder - >=app-misc/datefudge-1.22 - dev-libs/softhsm:2[-bindist(-)] - net-dialup/ppp - net-misc/socat - )" - -DOCS=( - README.md - doc/certtool.cfg -) - -HTML_DOCS=() - -pkg_setup() { - # bug#520818 - export TZ=UTC - - use doc && HTML_DOCS+=( - doc/gnutls.html - ) -} - -src_prepare() { - default - - # force regeneration of autogen-ed files - local file - for file in $(grep -l AutoGen-ed src/*.c) ; do - rm src/$(basename ${file} .c).{c,h} || die - done - - # don't try to use system certificate store on macOS, it is - # confusingly ignoring our ca-certificates and more importantly - # fails to compile in certain configurations - sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die - - # Use sane .so versioning on FreeBSD. - elibtoolize -} - -multilib_src_configure() { - LINGUAS="${LINGUAS//en/en@boldquot en@quot}" - - local libconf=() - - # TPM needs to be tested before being enabled - libconf+=( --without-tpm ) - - # hardware-accell is disabled on OSX because the asm files force - # GNU-stack (as doesn't support that) and when that's removed ld - # complains about duplicate symbols - [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration ) - - # Cygwin as does not understand these asm files at all - [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration ) - - local myeconfargs=( - $(multilib_native_enable manpages) - $(multilib_native_use_enable doc gtk-doc) - $(multilib_native_use_enable doc) - $(multilib_native_use_enable guile) - $(multilib_native_use_enable seccomp seccomp-tests) - $(multilib_native_use_enable test tests) - $(multilib_native_use_enable test-full full-test-suite) - $(multilib_native_use_enable tools) - $(multilib_native_use_enable valgrind valgrind-tests) - $(use_enable cxx) - $(use_enable dane libdane) - $(use_enable nls) - $(use_enable openssl openssl-compatibility) - $(use_enable sslv2 ssl2-support) - $(use_enable sslv3 ssl3-support) - $(use_enable static-libs static) - $(use_enable tls-heartbeat heartbeat-support) - $(use_with idn) - $(use_with pkcs11 p11-kit) - --disable-rpath - --with-default-trust-store-file="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" - --with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt" - --without-included-libtasn1 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix') - ) - ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -type f -name '*.la' -delete || die - - if use examples; then - docinto examples - dodoc doc/examples/*.c - fi -} diff --git a/net-libs/gnutls/gnutls-3.7.3.ebuild b/net-libs/gnutls/gnutls-3.7.6.ebuild index e4b947e00983..15710987c244 100644 --- a/net-libs/gnutls/gnutls-3.7.3.ebuild +++ b/net-libs/gnutls/gnutls-3.7.6.ebuild @@ -3,35 +3,41 @@ EAPI=7 -inherit libtool multilib-minimal +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnutls.asc +inherit libtool multilib-minimal verify-sig DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols" HOMEPAGE="https://www.gnutls.org/" SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz" +SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )" LICENSE="GPL-3 LGPL-2.1+" -SLOT="0/30" # libgnutls.so number -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind" +SLOT="0/30.30" # <libgnutls.so number>.<libgnutlsxx.so number> +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="brotli +cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib zstd" -REQUIRED_USE=" - test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )" +REQUIRED_USE="test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )" RESTRICT="!test? ( test )" RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] dev-libs/libunistring:=[${MULTILIB_USEDEP}] >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}] >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] + brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] ) dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] ) guile? ( >=dev-scheme/guile-2:=[networking] ) nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] ) - pkcs11? ( >=app-crypt/p11-kit-0.23.1:=[${MULTILIB_USEDEP}] ) - idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )" + 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=">=virtual/pkgconfig-0-r1 +BDEPEND=" + dev-util/gtk-doc-am + >=virtual/pkgconfig-0-r1 doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) valgrind? ( dev-util/valgrind ) @@ -41,12 +47,10 @@ BDEPEND=">=virtual/pkgconfig-0-r1 dev-libs/softhsm:2[-bindist(-)] net-dialup/ppp net-misc/socat - )" + ) + verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20220320 )" -DOCS=( - README.md - doc/certtool.cfg -) +DOCS=( README.md doc/certtool.cfg ) HTML_DOCS=() @@ -77,9 +81,13 @@ multilib_src_configure() { local libconf=() # TPM needs to be tested before being enabled - libconf+=( --without-tpm ) + # Note that this may add a libltdl dep when enabled. Check configure.ac. + libconf+=( + --without-tpm + --without-tpm2 + ) - # hardware-accell is disabled on OSX because the asm files force + # 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 ) @@ -87,6 +95,11 @@ multilib_src_configure() { # Cygwin as does not understand these asm files at all [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration ) + # -fanalyzer substantially slows down the build and isn't useful for + # us. It's useful for upstream as it's static analysis, but it's not + # useful when just getting something built. + export gl_cv_warn_c__fanalyzer=no + local myeconfargs=( $(multilib_native_enable manpages) $(multilib_native_use_enable doc gtk-doc) @@ -105,11 +118,14 @@ multilib_src_configure() { $(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" + --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') ) diff --git a/net-libs/gnutls/metadata.xml b/net-libs/gnutls/metadata.xml index de9a58df59b6..8f171c8ee7fc 100644 --- a/net-libs/gnutls/metadata.xml +++ b/net-libs/gnutls/metadata.xml @@ -5,6 +5,9 @@ <email>base-system@gentoo.org</email> </maintainer> <use> + <flag name="brotli"> + Enable brotli decompression support via <pkg>app-arch/brotli</pkg> + </flag> <flag name="dane"> Build libgnutls-dane, implementing DNS-based Authentication of Named Entities. Requires <pkg>net-dns/unbound</pkg> diff --git a/net-libs/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest index 144c9ba8b13b..77a6384d7fc9 100644 --- a/net-libs/google-cloud-cpp/Manifest +++ b/net-libs/google-cloud-cpp/Manifest @@ -1,8 +1,5 @@ DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3 -DIST google-cloud-cpp-0.2.0.tar.gz 687020 BLAKE2B 45c09c7cb5b9cc93c87e6d1faedf04f29ae81196dda95660abeadeaaf522376b4e50fd42489476c081e8de7336202d3883ab276c0e2334f1ad1b0e4e1f90fdb8 SHA512 ded3b564ef264a8bff4d81b08f2a97462e063127bf75a006bc7b18d18cfaee2f3cbe5957fe2c56cec06da5a7765854444fad8cd5045579c416c5f3de8462382e -DIST google-cloud-cpp-0.5.0.tar.gz 1050893 BLAKE2B 6e96e2ca3f518f3c417d9d395001a42182aaeacdbbcfedc636387dbccedf5e570367bc66e5b3fecbe53d5b61e51b53709b83da90718826ac643fb2c43c1723c6 SHA512 48c5f4828bc85ae2c4bfe52b5bb51ff5da6a4cd6759f819aefaf9c23d7fffeb0a10390274f0e83f030f66f59a364c05583240e426143073187f104345e0b05d5 -DIST google-cloud-cpp-0.9.0.tar.gz 2209532 BLAKE2B 33b297d4836cf171833a4481b567d22f44aacdb0afd5422ec7da7f3c47fc1284a4a7723e306508c7dc7cc595166f040abe00a92eed58a07dfed77b94f99e9889 SHA512 b62051b9396efe8af8063d28ac958524b762a90c053f82030834bd38f018f0755487f6b39ceb5a0082d7cbf8784854c4effd81de27633086857330dc9bda182b +DIST google-cloud-cpp-1.36.0.tar.gz 4522003 BLAKE2B f436935b3a95fa911fb04429ee20b0712eeaf58f8ebfdd1b75f848e19ffa88d17b1be1d917f5693f1996ce6eaff6bd6053958c2b20cf29370164bccf2794c76c SHA512 a9885f9e0726de64eaee0376f3d1ed3a00c32919f2b9a911479206f2965a62eea5ff292b459f61eae97d5d2fe336c410c615296fcb0c7506faf45c57bd6f8871 +DIST googleapis-28c6bb97cac6f16c69879be4e655674a74b886ef.tar.gz 5448352 BLAKE2B 0421ba9506e931d0bd7b01011832a91235f04ae825489021204da17d543671994e68dfecd97eeb8ee90f42726450d375955e1458e7dfba8551854c036bdc6069 SHA512 59f4d78c268280323314b8d471d4877cacc4238bfac3a769aa86cedd22d79ebeb50f2aaa8a60f9264976d12ef629a2a3d1a0da1c0d6723ec08f517ef0fae9450 DIST googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97.tar.gz 746503 BLAKE2B c0cba88c19c658ba7e9e65b80557903f8ded280d25438120b32f8c29a714b58a527c9218f0f73b53646949ecc073d873fee712b370b95523bdea5c28747eeb25 SHA512 92795397dfb9a6aa931be7b191ee91f9f2678a7175dea6babf19a50f61923373d288832cf10edf1ff252ca5148fe649c1bf95535e7c21513129495afae4c0ff7 -DIST googleapis-79ab27f3b70ebc221e265d2e8ab30a8cc2d21fa2.tar.gz 874997 BLAKE2B c837323124d26364c83dba72d4f73f3147ad117468b271e8d9502991c1f9a7b20d4f5405351147b65e99c57d207a2b8c1471228d2060ad238ade5159be1b009e SHA512 774e56fc30a4daf2e88d8d3b6747c1ac369d016e9d52527565b88d93252a22597339c17e612304f8823867da4b6df4b58a42dc9d4d480fc59962ee5314a85ab8 -DIST nlohmann-json-3.1.2-json.hpp 595822 BLAKE2B 510278344a510a516606f84aea53c682a64a7d1f4703e41503a1688e7c62ab1df8f197a697bd1149e958d21ab986d1b42cb78db6261b07239d9587756813acf5 SHA512 05df0ad3338f0bca885c0aa9da523922b99016986a9b01426b13888c0febd83bf1f6f063886f6c75f8a656ef79abac6292fe442dc05b1897d546ba5b70be48a5 DIST nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d diff --git a/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch b/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch deleted file mode 100644 index f84cb4be3c27..000000000000 --- a/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur google-cloud-cpp-0.2.0.orig/google/cloud/storage/CMakeLists.txt google-cloud-cpp-0.2.0/google/cloud/storage/CMakeLists.txt ---- google-cloud-cpp-0.2.0.orig/google/cloud/storage/CMakeLists.txt 2018-09-28 00:39:41.170482472 +0800 -+++ google-cloud-cpp-0.2.0/google/cloud/storage/CMakeLists.txt 2018-09-28 00:42:09.679979597 +0800 -@@ -321,7 +321,7 @@ - PATTERN "testing/*" - EXCLUDE) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version_info.h DESTINATION -- include/storage/client) -+ include/google/cloud/storage) - - # Setup global variables used in the following *.in files. - set(GOOGLE_CLOUD_CPP_CONFIG_VERSION_MAJOR ${STORAGE_CLIENT_VERSION_MAJOR}) diff --git a/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch b/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch deleted file mode 100644 index a1b9a166ea3c..000000000000 --- a/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ef34b197dd23833c0dde9ea20f62681dbafa7a9b Mon Sep 17 00:00:00 2001 -From: Jason Zaman <jason@perfinion.com> -Date: Fri, 7 Sep 2018 21:19:11 +0800 -Subject: [PATCH 1/2] cmake: Fix GOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config - -The grpc_cpp_plugin executable needs to be marked imported otherwise -cmake will try (and fail) to build it. Also the location variable was -typo'd. - -Signed-off-by: Jason Zaman <jason@perfinion.com> ---- - cmake/IncludeGrpc.cmake | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/cmake/IncludeGrpc.cmake b/cmake/IncludeGrpc.cmake -index 36dcfe5c..c18f5cbc 100644 ---- a/cmake/IncludeGrpc.cmake -+++ b/cmake/IncludeGrpc.cmake -@@ -225,9 +225,8 @@ elseif("${GOOGLE_CLOUD_CPP_GRPC_PROVIDER}" STREQUAL "pkg-config") - ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Release - ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Debug) - mark_as_advanced(PROTOC_GRPCPP_PLUGIN_EXECUTABLE) -- add_executable(grpc_cpp_plugin ${PROTOC_GRPC_PLUGIN_EXECUTABLE}) -+ add_executable(grpc_cpp_plugin IMPORTED) - set_property(TARGET grpc_cpp_plugin -- PROPERTY IMPORTED_LOCATION -- ${PROTOC_GRPCPP_CPP_PLUGIN_EXECUTABLE}) -+ PROPERTY IMPORTED_LOCATION ${PROTOC_GRPCPP_PLUGIN_EXECUTABLE}) - - endif () --- -2.16.4 - diff --git a/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch b/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch deleted file mode 100644 index 74a57711ed63..000000000000 --- a/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch +++ /dev/null @@ -1,130 +0,0 @@ -From b1d6f58033be92661f91b221b878e333eb02fd7f Mon Sep 17 00:00:00 2001 -From: Jason Zaman <jason@perfinion.com> -Date: Fri, 7 Sep 2018 22:35:24 +0800 -Subject: [PATCH 2/2] cmake: set library soversions - -Set library soversions so CMake sets the symlinks and soversions -properly. Install the cmake files in the correct dir. - -Signed-off-by: Jason Zaman <jason@perfinion.com> ---- - google/cloud/CMakeLists.txt | 7 +++++++ - google/cloud/bigtable/CMakeLists.txt | 14 ++++++++++++++ - google/cloud/firestore/CMakeLists.txt | 12 ++++++++++-- - google/cloud/storage/CMakeLists.txt | 9 ++++++++- - 4 files changed, 39 insertions(+), 3 deletions(-) - -diff --git a/google/cloud/CMakeLists.txt b/google/cloud/CMakeLists.txt -index 3f3f8742..442f4e17 100644 ---- a/google/cloud/CMakeLists.txt -+++ b/google/cloud/CMakeLists.txt -@@ -98,6 +98,13 @@ target_include_directories(google_cloud_cpp_common - $<INSTALL_INTERFACE:include>) - target_compile_options(google_cloud_cpp_common - PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) -+set_target_properties( -+ google_cloud_cpp_common -+ PROPERTIES -+ VERSION -+ ${GOOGLE_CLOUD_CPP_VERSION_MAJOR}.${GOOGLE_CLOUD_CPP_VERSION_MINOR}.${GOOGLE_CLOUD_CPP_VERSION_PATCH} -+ SOVERSION -+ ${GOOGLE_CLOUD_CPP_VERSION_MAJOR}) - - include(CreateBazelConfig) - create_bazel_config(google_cloud_cpp_common) -diff --git a/google/cloud/bigtable/CMakeLists.txt b/google/cloud/bigtable/CMakeLists.txt -index 9ed778eb..fd9c8797 100644 ---- a/google/cloud/bigtable/CMakeLists.txt -+++ b/google/cloud/bigtable/CMakeLists.txt -@@ -102,6 +102,13 @@ target_include_directories(bigtable_protos - $<INSTALL_INTERFACE:include>) - target_compile_options(bigtable_protos - PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) -+set_target_properties( -+ bigtable_protos -+ PROPERTIES -+ VERSION -+ ${BIGTABLE_CLIENT_VERSION_MAJOR}.${BIGTABLE_CLIENT_VERSION_MINOR}.${BIGTABLE_CLIENT_VERSION_PATCH} -+ SOVERSION -+ ${BIGTABLE_CLIENT_VERSION_MAJOR}) - add_library(bigtable::protos ALIAS bigtable_protos) - - # Enable unit tests -@@ -206,6 +213,13 @@ target_include_directories(bigtable_client - $<INSTALL_INTERFACE:include>) - target_compile_options(bigtable_client - PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) -+set_target_properties( -+ bigtable_client -+ PROPERTIES -+ VERSION -+ ${BIGTABLE_CLIENT_VERSION_MAJOR}.${BIGTABLE_CLIENT_VERSION_MINOR}.${BIGTABLE_CLIENT_VERSION_PATCH} -+ SOVERSION -+ ${BIGTABLE_CLIENT_VERSION_MAJOR}) - add_library(bigtable::client ALIAS bigtable_client) - - include(CreateBazelConfig) -diff --git a/google/cloud/firestore/CMakeLists.txt b/google/cloud/firestore/CMakeLists.txt -index 88c5ad6d..c69e48fd 100644 ---- a/google/cloud/firestore/CMakeLists.txt -+++ b/google/cloud/firestore/CMakeLists.txt -@@ -62,6 +62,13 @@ target_include_directories(firestore_client - $<INSTALL_INTERFACE:include>) - target_compile_options(firestore_client - PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) -+set_target_properties( -+ firestore_client -+ PROPERTIES -+ VERSION -+ ${FIRESTORE_CLIENT_VERSION_MAJOR}.${FIRESTORE_CLIENT_VERSION_MINOR}.${FIRESTORE_CLIENT_VERSION_PATCH} -+ SOVERSION -+ ${FIRESTORE_CLIENT_VERSION_MAJOR}) - add_library(firestore::client ALIAS firestore_client) - - include(CreateBazelConfig) -@@ -104,7 +111,8 @@ install(TARGETS - - # The exports can only be installed if all the dependencies are installed. CMake - # needs to know where the submodules will be installed from, --install(EXPORT firestore-targets DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake) -+install(EXPORT firestore-targets -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/firestore_client") - - install(TARGETS firestore_client - EXPORT firestore-targets -@@ -142,4 +150,4 @@ install( - FILES "${CMAKE_CURRENT_BINARY_DIR}/firestore_client-config.cmake" - "${CMAKE_CURRENT_BINARY_DIR}/firestore_client-config-version.cmake" - DESTINATION -- ${CMAKE_INSTALL_DATAROOTDIR}/cmake) -+ "${CMAKE_INSTALL_LIBDIR}/cmake/firestore_client") -diff --git a/google/cloud/storage/CMakeLists.txt b/google/cloud/storage/CMakeLists.txt -index cef3954b..912391cc 100644 ---- a/google/cloud/storage/CMakeLists.txt -+++ b/google/cloud/storage/CMakeLists.txt -@@ -205,6 +205,13 @@ target_include_directories(storage_client - $<INSTALL_INTERFACE:include>) - target_compile_options(storage_client - PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) -+set_target_properties( -+ storage_client -+ PROPERTIES -+ VERSION -+ ${STORAGE_CLIENT_VERSION_MAJOR}.${STORAGE_CLIENT_VERSION_MINOR}.${STORAGE_CLIENT_VERSION_PATCH} -+ SOVERSION -+ ${STORAGE_CLIENT_VERSION_MAJOR}) - - add_library(storage_client_testing - testing/canonical_errors.h -@@ -315,7 +322,7 @@ install(TARGETS storage_client - RUNTIME DESTINATION bin - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) --install(DIRECTORY . DESTINATION include/storage/client -+install(DIRECTORY . DESTINATION include/google/cloud/storage/client - FILES_MATCHING - PATTERN "*.h" - PATTERN "testing/*" --- -2.16.4 - diff --git a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch b/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch deleted file mode 100644 index a5579909e8ab..000000000000 --- a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ur google-cloud-cpp-0.5.0.orig/google/cloud/storage/CMakeLists.txt google-cloud-cpp-0.5.0/google/cloud/storage/CMakeLists.txt ---- google-cloud-cpp-0.5.0.orig/google/cloud/storage/CMakeLists.txt 2019-01-30 14:01:05.657031402 +0800 -+++ google-cloud-cpp-0.5.0/google/cloud/storage/CMakeLists.txt 2019-01-30 14:01:19.969968164 +0800 -@@ -215,9 +215,6 @@ - Crc32c::crc32c - CURL::CURL - Threads::Threads -- OpenSSL::SSL -- OpenSSL::Crypto -- ZLIB::ZLIB - PRIVATE storage_common_options) - target_include_directories(storage_client - PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r1.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild index b1fb2095c0c3..b441242910a4 100644 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r1.ebuild +++ b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit cmake-utils +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake JSON_VER="3.4.0" GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97" @@ -36,11 +37,11 @@ PATCHES=( src_configure() { local mycmakeargs=( -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package - -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF + -DCMAKE_CXX_STANDARD=17 ) - cmake-utils_src_configure + 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 @@ -56,5 +57,5 @@ src_test() { -E internal_parse_rfc3339_test ) - cmake-utils_src_test + cmake_src_test } diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild deleted file mode 100644 index 0575f7a04ab0..000000000000 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -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 - net-misc/curl - net-libs/grpc:=" -DEPEND="${RDEPEND} - dev-cpp/gtest" - -DOCS=( README.md ) -PATCHES=( - "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch" - "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch" -) - -src_configure() { - local mycmakeargs=( - -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=OFF - ) - - cmake-utils_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-utils_src_test -} diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild deleted file mode 100644 index fe66dc867def..000000000000 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -JSON_VER="3.1.2" -GOOGLEAPIS_COMMIT="79ab27f3b70ebc221e265d2e8ab30a8cc2d21fa2" - -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="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-libs/protobuf:= - net-misc/curl - net-libs/grpc" -DEPEND="${RDEPEND} - dev-cpp/gtest" - -DOCS=( README.md ) -PATCHES=( - "${FILESDIR}/0001-Make-the-install-target-work.patch" - "${FILESDIR}/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch" - "${FILESDIR}/0002-cmake-set-library-soversions.patch" -) - -src_prepare() { - rm -rf "${S}/third_party/googleapis/" || die - mv "${WORKDIR}/googleapis-${GOOGLEAPIS_COMMIT}/" "${S}/third_party/googleapis/" || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DGOOGLE_CLOUD_CPP_GMOCK_PROVIDER=package - -DGOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config - -DBUILD_SHARED_LIBS=ON - ) - - cmake-utils_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 -} - -src_test() { - # test fails - local myctestargs=( - -E internal_parse_rfc3339_test - ) - - cmake-utils_src_test -} diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild deleted file mode 100644 index 4e651cbb6b25..000000000000 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -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-cpp/gtest - dev-libs/protobuf:= - dev-libs/crc32c - net-misc/curl - net-libs/grpc" -DEPEND="${RDEPEND}" - -DOCS=( README.md ) -PATCHES=( - "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch" -) - -src_prepare() { - rm -rf "${S}/third_party/googleapis/" || die - mv "${WORKDIR}/googleapis-${GOOGLEAPIS_COMMIT}/" "${S}/third_party/googleapis/" || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DGOOGLE_CLOUD_CPP_CRC32C_PROVIDER=package - -DGOOGLE_CLOUD_CPP_CURL_PROVIDER=package - -DGOOGLE_CLOUD_CPP_GMOCK_PROVIDER=package - -DGOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=OFF - ) - - cmake-utils_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 -} - -src_test() { - # test fails - local myctestargs=( - -E internal_parse_rfc3339_test - ) - - cmake-utils_src_test -} diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild index 0575f7a04ab0..d0954a056cf3 100644 --- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild +++ b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild @@ -1,49 +1,51 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit cmake-utils +inherit cmake -JSON_VER="3.4.0" -GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97" +# 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/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="" +IUSE="test" +# Tests need a GCP account RESTRICT="test" -RDEPEND="dev-libs/protobuf:= +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:=" + net-libs/grpc:= + sys-libs/zlib" DEPEND="${RDEPEND} - dev-cpp/gtest" + dev-cpp/gtest + test? ( + dev-cpp/benchmark + )" DOCS=( README.md ) -PATCHES=( - "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch" - "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch" -) src_configure() { local mycmakeargs=( - -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=OFF + -DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF + -DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF + -DBUILD_TESTING=$(usex test) + -DCMAKE_CXX_STANDARD=17 ) - cmake-utils_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 + cmake_src_configure mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \ @@ -56,5 +58,5 @@ src_test() { -E internal_parse_rfc3339_test ) - cmake-utils_src_test + cmake_src_test } diff --git a/net-libs/gsoap/metadata.xml b/net-libs/gsoap/metadata.xml index 99ade5f91e73..494cd044b980 100644 --- a/net-libs/gsoap/metadata.xml +++ b/net-libs/gsoap/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>polynomial-c@gentoo.org</email> - <name>Lars Wendler</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="sourceforge">gsoap2</remote-id> </upstream> diff --git a/net-libs/gssdp/gssdp-1.4.0.1.ebuild b/net-libs/gssdp/gssdp-1.4.0.1.ebuild index 2f05db4fdfba..bc61bc667050 100644 --- a/net-libs/gssdp/gssdp-1.4.0.1.ebuild +++ b/net-libs/gssdp/gssdp-1.4.0.1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/g LICENSE="LGPL-2+" SLOT="0/1.2-0" # <API version>-<soname> -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86" IUSE="gtk-doc +introspection gtk vala" REQUIRED_USE="vala? ( introspection )" @@ -55,7 +55,8 @@ multilib_src_configure() { multilib_src_install_all() { if use gtk-doc ; then - mv "${ED}"/usr/share/doc/{gssdp-1.2/reference,${PF}/html} || die + mv "${ED}"/usr/share/doc/{gssdp-1.2,${PF}} || die + mv "${ED}"/usr/share/doc/${PF}/{reference,html} || die rmdir "${ED}"/usr/share/doc/gssdp-1.2 fi } diff --git a/net-libs/gtk-vnc/gtk-vnc-1.3.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-1.3.0.ebuild index b2dee74c90ef..92a3dcb57940 100644 --- a/net-libs/gtk-vnc/gtk-vnc-1.3.0.ebuild +++ b/net-libs/gtk-vnc/gtk-vnc-1.3.0.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="+introspection pulseaudio sasl +vala" REQUIRED_USE="vala? ( introspection )" diff --git a/net-libs/gupnp-av/Manifest b/net-libs/gupnp-av/Manifest index 97083d2d5638..affcedc7cbad 100644 --- a/net-libs/gupnp-av/Manifest +++ b/net-libs/gupnp-av/Manifest @@ -1,2 +1,2 @@ -DIST gupnp-av-0.12.11.tar.xz 373052 BLAKE2B 3c324f790f0ffbcbd6cbf3b95dfdaf9dce51c6bf7bea3051fd5ded31b930dd6ff7b77b16a297cf54a49e738c195fd208dd4e83961f5ee3d302dc84f37b36924c SHA512 f6fb8897ccdb589446d8c83c5fe66918f0f569a624287881aaf41d928e429e41f3306443e24ef4d43d3ddffb24da2ad2c058cd39211176558c9cd7acd7af0ff7 DIST gupnp-av-0.14.0.tar.xz 93128 BLAKE2B d66ba820aabf82be37a8c19a64adbacc863b495cb6a68849ee236cbe6956cc94fc992a3d4f351d165efaa8257ece2f3173dd845d2a9313bc9ff1a97a178d9632 SHA512 b357b5413d3e01e4ecaf9dbdf5f5f15555506aed662154d03c6232f0c82c4a49543deddf34350a204d467c1a33fed04e406500fd51d6e412d32ac909e974e041 +DIST gupnp-av-0.14.1.tar.xz 93484 BLAKE2B 5e4c070bc7f0dd1a1b67f58fb178ee575df5f9f3920c8c40f8975ac79c61f707df39a243d4783ff79f691dd42553c3a6eb89715be79bb7683910785afdd83b19 SHA512 b17b38c32fe068b0b74a7ee357be5f3a0df3320fd04338b5f6b04231c601d6cc57d2770c6e6ca42ded5e1be28a6b2746d16417eb322889ffe6a975ec58205655 diff --git a/net-libs/gupnp-av/gupnp-av-0.12.11.ebuild b/net-libs/gupnp-av/gupnp-av-0.12.11.ebuild deleted file mode 100644 index 5711803797ed..000000000000 --- a/net-libs/gupnp-av/gupnp-av-0.12.11.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -VALA_USE_DEPEND="vapigen" - -inherit gnome2 vala - -DESCRIPTION="Utility library aiming to ease the handling UPnP A/V profiles" -HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" - -LICENSE="LGPL-2" -SLOT="0/2" # subslot: soname version -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" -IUSE="+introspection" - -RDEPEND=" - >=dev-libs/glib-2.38:2 - >=net-libs/libsoup-2.28.2:2.4[introspection?] - dev-libs/libxml2 - introspection? ( >=dev-libs/gobject-introspection-1.36:= ) - !net-libs/gupnp-vala -" -DEPEND="${RDEPEND} - >=dev-util/gtk-doc-am-1.10 - virtual/pkgconfig - introspection? ( $(vala_depend) ) -" - -src_prepare() { - use introspection && vala_src_prepare - gnome2_src_prepare -} - -src_configure() { - gnome2_src_configure \ - $(use_enable introspection) \ - --disable-static -} diff --git a/net-libs/gupnp-av/gupnp-av-0.14.0.ebuild b/net-libs/gupnp-av/gupnp-av-0.14.0.ebuild index 2d691e8af565..46ae3f74a272 100644 --- a/net-libs/gupnp-av/gupnp-av-0.14.0.ebuild +++ b/net-libs/gupnp-av/gupnp-av-0.14.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/g LICENSE="LGPL-2" SLOT="0/3" # subslot: soname version -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="gtk-doc +introspection" RDEPEND=" diff --git a/net-libs/gupnp-av/gupnp-av-0.14.1.ebuild b/net-libs/gupnp-av/gupnp-av-0.14.1.ebuild new file mode 100644 index 000000000000..60deeaf3a49d --- /dev/null +++ b/net-libs/gupnp-av/gupnp-av-0.14.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit gnome.org meson vala + +DESCRIPTION="Utility library aiming to ease the handling UPnP A/V profiles" +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp-av" + +LICENSE="LGPL-2" +SLOT="0/3" # subslot: soname version +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gtk-doc +introspection" + +RDEPEND=" + >=dev-libs/glib-2.58:2 + >=net-libs/libsoup-2.28.2:2.4[introspection?] + dev-libs/libxml2 + introspection? ( >=dev-libs/gobject-introspection-1.36:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) + introspection? ( $(vala_depend) ) +" + +src_prepare() { + use introspection && vala_src_prepare + default +} + +src_configure() { + local emesonargs=( + $(meson_use introspection) + $(meson_use introspection vapi) + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index eec0b8c5e61b..d96546f02f49 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,2 +1 @@ -DIST gupnp-1.4.2.tar.xz 154636 BLAKE2B df0378493dec2b5576cb3130598e36d86dd1fce106b5486134691000ca87eeaa593806c82029b9fe35b40a5210db6026c6b28b16a44ed444934ec8e9ff858cf5 SHA512 c585f3e63e8735b82e84e3daa209dbe8d0709be79c7701a1f05ad61aa5201aee5d4e879facb1b164b274fe52add64cdbf657d32930d7cea1b6ee262f7c26b682 DIST gupnp-1.4.3.tar.xz 154812 BLAKE2B b41a8805853061399412f5eb7267e9913adb3054ebf8a3bd78f6df4c1607d4a944654f3bc6e154fefa98f1289a80055d0feb0168801d83a1ad59c25f5fcac784 SHA512 1963ce917458168c8bc5d669ee30a4071d83d3768ce1be8cbbd81c767853ca01950623a88628a0b1e403d1cce1f0bbc9df80acf4b75f91bfc0403e0d0e6bcedb diff --git a/net-libs/gupnp/gupnp-1.4.2.ebuild b/net-libs/gupnp/gupnp-1.4.2.ebuild deleted file mode 100644 index c1d291ef2e7b..000000000000 --- a/net-libs/gupnp/gupnp-1.4.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -VALA_USE_DEPEND="vapigen" -PYTHON_COMPAT=( python3_{7..10} ) -PYTHON_REQ_USE="xml" - -inherit gnome.org meson-multilib python-single-r1 vala xdg - -DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" -HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp" - -LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+ -SLOT="0/1.2-0" # <API version>-<soname> -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86" - -IUSE="connman gtk-doc +introspection networkmanager vala" -REQUIRED_USE="${PYTHON_REQUIRED_USE} - ?? ( connman networkmanager ) -" - -# prefix: uuid dependency can be adapted to non-linux platforms -RDEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.66:2[${MULTILIB_USEDEP}] - >=net-libs/gssdp-1.3.0:0=[introspection?,${MULTILIB_USEDEP}] - >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}] - >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] - >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-util/glib-utils - gtk-doc? ( >=dev-util/gtk-doc-1.14 - app-text/docbook-xml-dtd:4.1.2 - app-text/docbook-xml-dtd:4.2 ) - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - virtual/pkgconfig - !connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) ) - vala? ( $(vala_depend) - >=net-libs/gssdp-1.3.0:0[vala] - net-libs/libsoup:2.4[vala] - ) -" - -src_prepare() { - use introspection && vala_src_prepare - xdg_src_prepare -} - -multilib_src_configure() { - local backend=system - use kernel_linux && backend=linux - use connman && backend=connman - use networkmanager && backend=network-manager - - local emesonargs=( - -Dcontext_manager=${backend} - $(meson_native_use_bool introspection) - $(meson_native_use_bool vala vapi) - $(meson_native_use_bool gtk-doc gtk_doc) - -Dexamples=false - ) - meson_src_configure -} - -multilib_src_install_all() { - python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.2 -} diff --git a/net-libs/gupnp/gupnp-1.4.3.ebuild b/net-libs/gupnp/gupnp-1.4.3.ebuild index 21a2db719466..3eedfc589df6 100644 --- a/net-libs/gupnp/gupnp-1.4.3.ebuild +++ b/net-libs/gupnp/gupnp-1.4.3.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/g LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+ SLOT="0/1.2-0" # <API version>-<soname> -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86" IUSE="connman gtk-doc +introspection networkmanager vala" REQUIRED_USE="${PYTHON_REQUIRED_USE} diff --git a/net-libs/ignition-transport/Manifest b/net-libs/ignition-transport/Manifest index bd26b45c87ee..51f871dbe003 100644 --- a/net-libs/ignition-transport/Manifest +++ b/net-libs/ignition-transport/Manifest @@ -1 +1 @@ -DIST ignition-transport8_8.1.0.tar.gz 663459 BLAKE2B aa3acbf280b6ebdfc7a734521df4edf8724fe24cf92de81e4dd5bf33d65257c929417af205a44b731a878111a3586fef1e9d5b27df0b7343e402424108a22598 SHA512 eb64f18721190fcb79a5b45746fd44fa24274c6fe6c5021dd9306c15a327873377d07d4aa770633982038b84da650d3d0c8a56169222c0c88fa1318314fc4529 +DIST ignition-transport8_8.2.1.tar.gz 606719 BLAKE2B 7a7c1af30c3d30a2a0e946c7af39bc7711d75acbae665922167dc1431cbd104c369c34eabd5a651d08f2134492f024b851bbce47831db851567b2f7e0c1b9514 SHA512 517e1e35f1fbc5b2300f1e158de33b9076a8295762c327dca001fbc6373c5794754ba3d05d084140e207930f57a0e34c6e97f2491fe5dc645957f666289260a9 diff --git a/net-libs/ignition-transport/ignition-transport-8.1.0.ebuild b/net-libs/ignition-transport/ignition-transport-8.2.1.ebuild index 7adee87f2cc8..0d785702f142 100644 --- a/net-libs/ignition-transport/ignition-transport-8.1.0.ebuild +++ b/net-libs/ignition-transport/ignition-transport-8.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/net-libs/jreen/Manifest b/net-libs/jreen/Manifest deleted file mode 100644 index e2a20d6a22d0..000000000000 --- a/net-libs/jreen/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jreen-1.3.0.tar.gz 287827 BLAKE2B 93204ed95d93377be6515ef2f1cf5eaba7194d168a3dda3ceee036693fead1db36c2e34c94aca7ba46dd859f6a29646719f867582a381b730c527cfc7e877474 SHA512 7b8267aa7d0e18c28dfeb6a1c7c0495d87bd2712fe10a0c6283f0cf89b72d2c67f98f97a812c9f34496af43eb00ddd94b7e60e942634fb03d0119f94a3d08464 diff --git a/net-libs/jreen/jreen-1.3.0-r1.ebuild b/net-libs/jreen/jreen-1.3.0-r1.ebuild deleted file mode 100644 index ebb04f64dd7d..000000000000 --- a/net-libs/jreen/jreen-1.3.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} != *9999* ]]; then - SRC_URI="https://github.com/euroelessar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~x86" -else - GIT_ECLASS="git-r3" - EGIT_REPO_URI="https://github.com/euroelessar/${PN}.git" -fi - -inherit cmake ${GIT_ECLASS} - -DESCRIPTION="Qt XMPP library" -HOMEPAGE="https://github.com/euroelessar/jreen" - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug" - -DEPEND=" - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 - media-libs/speex - net-libs/libgsasl - sys-libs/zlib -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DJREEN_FORCE_QT4=OFF - ) - cmake_src_configure -} diff --git a/net-libs/kdav2/metadata.xml b/net-libs/kdav2/metadata.xml index d925f2439758..3e9f700a5e18 100644 --- a/net-libs/kdav2/metadata.xml +++ b/net-libs/kdav2/metadata.xml @@ -1,10 +1,7 @@ <?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> + <!-- maintainer-needed --> <upstream> <bugs-to>https://bugs.kde.org/</bugs-to> </upstream> diff --git a/net-libs/kimap2/metadata.xml b/net-libs/kimap2/metadata.xml index d925f2439758..3e9f700a5e18 100644 --- a/net-libs/kimap2/metadata.xml +++ b/net-libs/kimap2/metadata.xml @@ -1,10 +1,7 @@ <?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> + <!-- maintainer-needed --> <upstream> <bugs-to>https://bugs.kde.org/</bugs-to> </upstream> diff --git a/net-libs/ldns/ldns-1.7.1-r5.ebuild b/net-libs/ldns/ldns-1.7.1-r5.ebuild index 66e436d22ec3..7c59ee0cdace 100644 --- a/net-libs/ldns/ldns-1.7.1-r5.ebuild +++ b/net-libs/ldns/ldns-1.7.1-r5.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit multilib-minimal python-single-r1 -DESCRIPTION="a library with the aim to simplify DNS programming in C" -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" +DESCRIPTION="A library with the aim to simplify DNS programming in C" +HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" diff --git a/net-libs/ldns/ldns-1.7.1-r6.ebuild b/net-libs/ldns/ldns-1.7.1-r6.ebuild index a0986afdac4b..ecce27585a1e 100644 --- a/net-libs/ldns/ldns-1.7.1-r6.ebuild +++ b/net-libs/ldns/ldns-1.7.1-r6.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit multilib-minimal python-single-r1 -DESCRIPTION="a library with the aim to simplify DNS programming in C" -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" +DESCRIPTION="A library with the aim to simplify DNS programming in C" +HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" diff --git a/net-libs/ldns/ldns-1.8.0-r1.ebuild b/net-libs/ldns/ldns-1.8.0-r1.ebuild index dce303cae0a4..1f6ae5d7b847 100644 --- a/net-libs/ldns/ldns-1.8.0-r1.ebuild +++ b/net-libs/ldns/ldns-1.8.0-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit python-single-r1 autotools multilib-minimal -DESCRIPTION="a library with the aim to simplify DNS programming in C" -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" +DESCRIPTION="A library with the aim to simplify DNS programming in C" +HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" diff --git a/net-libs/ldns/ldns-1.8.0-r4.ebuild b/net-libs/ldns/ldns-1.8.0-r4.ebuild index 7ea441885f27..93ba0aee830e 100644 --- a/net-libs/ldns/ldns-1.8.0-r4.ebuild +++ b/net-libs/ldns/ldns-1.8.0-r4.ebuild @@ -5,9 +5,9 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit python-single-r1 autotools multilib-minimal -DESCRIPTION="a library with the aim to simplify DNS programming in C" -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" +DESCRIPTION="A library with the aim to simplify DNS programming in C" +HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" diff --git a/net-libs/ldns/ldns-1.8.1.ebuild b/net-libs/ldns/ldns-1.8.1.ebuild index a81c575be2e7..d274002ab985 100644 --- a/net-libs/ldns/ldns-1.8.1.ebuild +++ b/net-libs/ldns/ldns-1.8.1.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{8,9,10} ) inherit python-single-r1 multilib-minimal -DESCRIPTION="a library with the aim to simplify DNS programming in C" -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" +DESCRIPTION="A library with the aim to simplify DNS programming in C" +HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples python static-libs" REQUIRED_USE=" diff --git a/net-libs/libaccounts-glib/libaccounts-glib-1.25-r2.ebuild b/net-libs/libaccounts-glib/libaccounts-glib-1.25-r2.ebuild index 4f6b141b2508..5d6c6cb80b40 100644 --- a/net-libs/libaccounts-glib/libaccounts-glib-1.25-r2.ebuild +++ b/net-libs/libaccounts-glib/libaccounts-glib-1.25-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-VERSION_${PV}" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" IUSE="doc" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/net-libs/libad9361-iio/files/libad9361-iio-0.2-cmake-gnuinstalldirs.patch b/net-libs/libad9361-iio/files/libad9361-iio-0.2-cmake-gnuinstalldirs.patch new file mode 100644 index 000000000000..5a69010eb184 --- /dev/null +++ b/net-libs/libad9361-iio/files/libad9361-iio-0.2-cmake-gnuinstalldirs.patch @@ -0,0 +1,50 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -13,6 +13,8 @@ + cmake_minimum_required(VERSION 2.8.7) + project(ad9361 C) + ++include(GNUInstallDirs) ++ + set(LIBAD9361_VERSION_MAJOR 0) + set(LIBAD9361_VERSION_MINOR 2) + set(VERSION ${LIBAD9361_VERSION_MAJOR}.${LIBAD9361_VERSION_MINOR}) +@@ -59,10 +61,6 @@ endif() + + add_definitions(-D_POSIX_C_SOURCE=199309L -DLIBAD9361_EXPORTS=1) + +-set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" +- CACHE PATH "Installation directory for libraries") +-mark_as_advanced(INSTALL_LIB_DIR) +- + find_library(LIBIIO_LIBRARIES iio) + find_path(LIBIIO_INCLUDEDIR iio.h) + +@@ -98,21 +96,17 @@ configure_file(libad9361-iio.iss.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libad9361-i + + set(LIBAD9361_PC ${CMAKE_CURRENT_BINARY_DIR}/libad9361.pc) + configure_file(libad9361.pc.cmakein ${LIBAD9361_PC} @ONLY) +-install(FILES ${LIBAD9361_PC} DESTINATION ${INSTALL_LIB_DIR}/pkgconfig) ++install(FILES ${LIBAD9361_PC} DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + + if(NOT SKIP_INSTALL_ALL) + install(TARGETS ad9361 +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION "${INSTALL_LIB_DIR}" +- RUNTIME DESTINATION bin +- FRAMEWORK DESTINATION lib +- PUBLIC_HEADER DESTINATION include) ++ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" ++ FRAMEWORK DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + endif() + +-set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (DATAROOTDIR/doc/${PROJECT_NAME}${LIBAD9361_VERSION_MAJOR}-doc)") +-include(GNUInstallDirs) +-set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}${LIBAD9361_VERSION_MAJOR}-doc") +- + find_package(Doxygen) + if(DOXYGEN_FOUND) + option(WITH_DOC "Generate documentation with Doxygen" ON) diff --git a/net-libs/libad9361-iio/files/libad9361-iio-0.2-fix-lld-tests.patch b/net-libs/libad9361-iio/files/libad9361-iio-0.2-fix-lld-tests.patch new file mode 100644 index 000000000000..00ef9e0a6869 --- /dev/null +++ b/net-libs/libad9361-iio/files/libad9361-iio-0.2-fix-lld-tests.patch @@ -0,0 +1,49 @@ +https://bugs.gentoo.org/831322 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -1,17 +1,29 @@ + add_executable(FilterDesignerTest filter_designer_test.c) +-target_link_libraries(FilterDesignerTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++if(WIN32) ++ target_link_libraries(FilterDesignerTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++else() ++ target_link_libraries(FilterDesignerTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361 m) ++endif() + add_test(NAME FilterDesignerTest + COMMAND FilterDesignerTest + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + + add_executable(GenerateRatesTest gen_rates_test.c) +-target_link_libraries(GenerateRatesTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++if(WIN32) ++ target_link_libraries(GenerateRatesTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++else() ++ target_link_libraries(GenerateRatesTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361 m) ++endif() + add_test(NAME GenerateRatesTest + COMMAND GenerateRatesTest + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + + add_executable(FilterDesignerHardwareTest filter_designer_hw.c) +-target_link_libraries(FilterDesignerHardwareTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++if(WIN32) ++ target_link_libraries(FilterDesignerHardwareTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++else() ++ target_link_libraries(FilterDesignerHardwareTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361 m) ++endif() + add_test(NAME FilterDesignerHardwareTest + COMMAND FilterDesignerHardwareTest + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -27,7 +39,11 @@ add_test(NAME FMComms5SyncTest + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) + + add_executable(AutoRateTest auto_rate_test_hw.c) +-target_link_libraries(AutoRateTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++if(WIN32) ++ target_link_libraries(AutoRateTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361) ++else() ++ target_link_libraries(AutoRateTest LINK_PRIVATE ${LIBIIO_LIBRARIES} ad9361 m) ++endif() + add_test(NAME AutoRateTest + COMMAND AutoRateTest + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/net-libs/libad9361-iio/files/libad9361-iio-0.2-libdir-pkgconfig.patch b/net-libs/libad9361-iio/files/libad9361-iio-0.2-libdir-pkgconfig.patch new file mode 100644 index 000000000000..a23205e44da9 --- /dev/null +++ b/net-libs/libad9361-iio/files/libad9361-iio-0.2-libdir-pkgconfig.patch @@ -0,0 +1,14 @@ +--- a/libad9361.pc.cmakein ++++ b/libad9361.pc.cmakein +@@ -1,8 +1,8 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=@CMAKE_INSTALL_PREFIX@ +-libdir=@CMAKE_INSTALL_PREFIX@/lib +-sharedlibdir=@CMAKE_INSTALL_PREFIX@/lib +-includedir=@CMAKE_INSTALL_PREFIX@/include ++libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ ++sharedlibdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ ++includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@ + + Name: libad9361 + Description: Device specific library for AD936X transceivers diff --git a/net-libs/libad9361-iio/libad9361-iio-0.2-r1.ebuild b/net-libs/libad9361-iio/libad9361-iio-0.2-r1.ebuild new file mode 100644 index 000000000000..596e74764626 --- /dev/null +++ b/net-libs/libad9361-iio/libad9361-iio-0.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc" +HOMEPAGE="https://github.com/analogdevicesinc/libad9361-iio" +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/analogdevicesinc/libad9361-iio" + inherit git-r3 +else + SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" + +RDEPEND="net-libs/libiio:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2-fix-lld-tests.patch + "${FILESDIR}"/${PN}-0.2-libdir-pkgconfig.patch + "${FILESDIR}"/${PN}-0.2-cmake-gnuinstalldirs.patch +) diff --git a/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild b/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild index 630cb27fb6e9..50286e07793d 100644 --- a/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild +++ b/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ if [ "${PV}" = "9999" ]; then inherit git-r3 else SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~riscv ~x86" fi LICENSE="LGPL-2.1" diff --git a/net-libs/libad9361-iio/libad9361-iio-9999.ebuild b/net-libs/libad9361-iio/libad9361-iio-9999.ebuild index 630cb27fb6e9..596e74764626 100644 --- a/net-libs/libad9361-iio/libad9361-iio-9999.ebuild +++ b/net-libs/libad9361-iio/libad9361-iio-9999.ebuild @@ -1,17 +1,18 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + inherit cmake -DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc." +DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc" HOMEPAGE="https://github.com/analogdevicesinc/libad9361-iio" -if [ "${PV}" = "9999" ]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/analogdevicesinc/libad9361-iio" inherit git-r3 else SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~riscv ~x86" fi LICENSE="LGPL-2.1" @@ -20,9 +21,8 @@ SLOT="0/${PV}" RDEPEND="net-libs/libiio:=" DEPEND="${RDEPEND}" -src_prepare() { - sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" \ - -e "s:\${PROJECT_NAME}\${LIBAD9361_VERSION_MAJOR}-doc:${P}:" CMakeLists.txt || die - cmake_src_prepare - eapply_user -} +PATCHES=( + "${FILESDIR}"/${PN}-0.2-fix-lld-tests.patch + "${FILESDIR}"/${PN}-0.2-libdir-pkgconfig.patch + "${FILESDIR}"/${PN}-0.2-cmake-gnuinstalldirs.patch +) diff --git a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild index c77f4ac25de3..93a117c9f3a5 100644 --- a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild +++ b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://0pointer.de/lennart/projects/libasyncns/${P}.tar.gz" SLOT="0" LICENSE="LGPL-2.1" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="doc debug" diff --git a/net-libs/libaxc/Manifest b/net-libs/libaxc/Manifest index 248c57f93c76..4ecd71f036be 100644 --- a/net-libs/libaxc/Manifest +++ b/net-libs/libaxc/Manifest @@ -1,3 +1,4 @@ DIST libaxc-0.3.4.tar.gz 40198 BLAKE2B 78fc122eefbc5c6173bdad5cf31734cf95b750c09bddede5b2656a88bede3d6c25fb22af5447681c58eb1f296ee326480e22aacb843d951f1bd7a6933155432a SHA512 7b6b5466ee89d78d3c3a2e7cf961dfb3310bff01947e69e906c83ff97e89d1bdc0e2e92f7bd0d4b48a97af91409f435a4fd869229af5b67b2f66ba464bbfd7b8 DIST libaxc-0.3.5.tar.gz 40418 BLAKE2B bcafe30c295fb6c5bd075cc7ecb9b81dcb094301a65d51ec7bcff82159c4fecdc6a4a64530e81c429803c8e267c3d6f6ccede8b5fda7d920af1c10c3806d66f0 SHA512 7708c136dfd57cc799ac467bea010ddbdcfe78a4cdae3c5882f97de7674e38e5f183f94fd42dd2df74dfec451f1822ef43122321aca46c042d5355b74e128694 DIST libaxc-0.3.6.tar.gz 40488 BLAKE2B e59d73e0011b11c0e594297d15353f0e7c378c5ce29c2f747f0a10f7ac302abbe8a0e6f3cad37a652a5a4763d15f393e2cbd7272c4249883c0c99640d18ab518 SHA512 0e02282e42597eaf641fcd620c103c4892b26120f9aec442ce61b99e2a5042d62213bed7786aede296e1024fea26ef9a21950d96a9a520ca6a5d5c524620f42d +DIST libaxc-0.3.7.tar.gz 41742 BLAKE2B e43220745cbf1e3f375c69218cc0c5bc944e2fbfd1ca2a79be38d8cac9206609f757b8afbf5d5a1411ad29cddbb8edf9cf67b570fe152d91e77e070ddbf4666f SHA512 e9982a54307ebc4fbecdd6482e0ccc9b1d5539047f455f66a4f25c067e2da8eba782163ccf0ad8aac8b11867da5d7efb309c403cdfed464e6865d3e03e09ea11 diff --git a/net-libs/libaxc/libaxc-0.3.7.ebuild b/net-libs/libaxc/libaxc-0.3.7.ebuild new file mode 100644 index 000000000000..564171853f90 --- /dev/null +++ b/net-libs/libaxc/libaxc-0.3.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="axc-${PV}" +DESCRIPTION="Client library for libsignal-protocol-c" +HOMEPAGE="https://github.com/gkdr/axc" +SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" # not GPL-3+ +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test" + +RDEPEND=" + dev-db/sqlite + dev-libs/glib + dev-libs/libgcrypt + net-libs/libsignal-protocol-c + " +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka ) + " +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}"/${MY_P} +RESTRICT="!test? ( test )" + +DOCS=( CHANGELOG.md README.md ) + +src_prepare() { + rm -R lib || die # unbundle libsignal-protocol-c + default +} + +src_compile() { + local make_args=( + PREFIX=/usr + + AR="$(tc-getAR)" + CC="$(tc-getCC)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ) + emake "${make_args[@]}" +} + +src_test() { + # TODO: Test failures seem to be ignored in the upstream Makefile? + # e.g. https://github.com/gkdr/axc/blob/master/Makefile#L153 + emake CC="$(tc-getCC)" test +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + # Respect libdir other than /usr/lib, e.g. /usr/lib64 + local libdir="$(get_libdir)" + if [[ ${libdir} != lib ]]; then + mv "${ED}"/usr/{lib,${libdir}} || die + sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \ + -i "${ED}/usr/${libdir}/pkgconfig/libaxc.pc" || die + fi + + einstalldocs + + if ! use static-libs ; then + rm "${ED}/usr/${libdir}/libaxc.a" || die + fi +} diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild index d6114f0e9bfb..0d69d8f7b40d 100644 --- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild +++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit cmake-utils +EAPI=8 +inherit cmake DATE=20150311 MY_PV="${PV/.${DATE}_p/+${DATE}-}" @@ -22,19 +22,21 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}-debian-${MY_PX}" +PATCHES=( "${S}"/debian/patches/ ) + src_prepare() { - rm -f "${S}"/debian/patches/0001*.patch || die - eapply "${S}"/debian/patches/*.patch + cmake_src_prepare + sed -i -e "/^version=/s/=.*$/=${MY_PX}/" version.sh || die sed -e 's%#include <ipset%#include <libcorkipset%' \ -e 's%#include "ipset%#include "libcorkipset%' \ -i include/ipset/*.h \ */*/*/*.c \ */*/*/*.c.in \ */*/*.c */*.c || die - sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die + sed -e "s/-Werror/-Wextra/" \ + -e "/^add_subdirectory(docs)/d" \ + -i CMakeLists.txt || die mv include/{,libcork}ipset || die - - cmake-utils_src_prepare } diff --git a/net-libs/libdmapsharing/Manifest b/net-libs/libdmapsharing/Manifest index 7ce3dc2b1cb0..c0e408248a32 100644 --- a/net-libs/libdmapsharing/Manifest +++ b/net-libs/libdmapsharing/Manifest @@ -1 +1,2 @@ DIST libdmapsharing-2.9.39.tar.gz 757492 BLAKE2B e9f47d793be05845d1afb6eb4a785cbd131ceac1e3146bdfb5c6914f584df2fb8db10b829447a6ac084e7a9e0576202485019b1e724cc033f11163fb1bb21b95 SHA512 7003b947e1982735b647c1fa8e7e80e05322acf4ed4b5c1c28708da00a0bfe3eecac01bc2ddf59966e7db045f14fc78e749a2859d7e909bcea41164939f15b4a +DIST libdmapsharing-2.9.41.tar.gz 765880 BLAKE2B d64245ef6ffefb7a3f8b6c994e385427afe9b1aa22882da3f2fad82457fda6c48bea61314c6f4b8e82888284e98f4202338582dab2fd412c5e5cc96d7ff5f145 SHA512 304ba87428a39d2b9fd6d4cdc196f59e1aaf2ce3bb15f30acc2c9ca51ec8f86c9b499cf46cf938231e3088808475daba4fc55c44bcbef693be1b500dae4ab028 diff --git a/net-libs/libdmapsharing/libdmapsharing-2.9.41.ebuild b/net-libs/libdmapsharing/libdmapsharing-2.9.41.ebuild new file mode 100644 index 000000000000..d287c63b0e2a --- /dev/null +++ b/net-libs/libdmapsharing/libdmapsharing-2.9.41.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GNOME2_EAUTORECONF=yes +inherit gnome2 + +DESCRIPTION="A library that implements the DMAP family of protocols" +HOMEPAGE="https://www.flyn.org/projects/libdmapsharing/" +SRC_URI="https://www.flyn.org/projects/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="3.0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+introspection test" +RESTRICT="!test? ( test )" + +# Vala/libgee/gtk+:2 is only used when maintainer-mode is enabled +# Doesn't seem to be used for anything... +RDEPEND=" + >=dev-libs/glib-2.36:2 + x11-libs/gdk-pixbuf:2 + >=net-dns/avahi-0.6[dbus] + >=net-libs/libsoup-2.48.0:2.4 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + sys-libs/zlib + introspection? ( >=dev-libs/gobject-introspection-1.30:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + dev-util/gtk-doc-am + virtual/pkgconfig + test? ( >=dev-libs/check-0.9.4 ) +" + +src_prepare() { + # Remove useless CFLAGS alteration in configure + sed -e 's/CFLAGS -O2/CFLAGS/' -i configure.ac || die + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --with-mdns=avahi \ + $(use_enable introspection) \ + $(use_enable test tests) +} diff --git a/net-libs/libdom/libdom-0.4.1-r1.ebuild b/net-libs/libdom/libdom-0.4.1-r1.ebuild index 7cc2bb687a41..4d56bfc61deb 100644 --- a/net-libs/libdom/libdom-0.4.1-r1.ebuild +++ b/net-libs/libdom/libdom-0.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="expat test xml" RESTRICT="!test? ( test )" diff --git a/net-libs/libecap/libecap-1.0.1.ebuild b/net-libs/libecap/libecap-1.0.1.ebuild index bca73f55ae0e..a7c1ad4fa875 100644 --- a/net-libs/libecap/libecap-1.0.1.ebuild +++ b/net-libs/libecap/libecap-1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.e-cap.org/archive/${P}.tar.gz" LICENSE="BSD-2" SLOT="1" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" RDEPEND="!net-libs/libecap:0 !net-libs/libecap:0.2" diff --git a/net-libs/libesmtp/libesmtp-9999.ebuild b/net-libs/libesmtp/libesmtp-9999.ebuild index c117af101c94..2701484ef986 100644 --- a/net-libs/libesmtp/libesmtp-9999.ebuild +++ b/net-libs/libesmtp/libesmtp-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,11 +14,16 @@ else SRC_URI="https://github.com/libesmtp/libESMTP/archive/v${PV/_}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/libESMTP-${PV}" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" fi LICENSE="LGPL-2.1 GPL-2" -SLOT="0/7" +# 0/7 was a snapshot before 1.1.0 +# The SONAME was fixed just before the 1.1.0 release was made +# ... but a patch was needed to get it exactly right too +# so, we're on 0/8 now, even though ABI compatibility actually remained +# in terms of symbols with the original <1.1.0. +SLOT="0/8" IUSE="ssl static-libs threads" RDEPEND="ssl? ( >=dev-libs/openssl-1.1.0:0= )" diff --git a/net-libs/libetpan/metadata.xml b/net-libs/libetpan/metadata.xml index fdfd55893142..d2f539456b7b 100644 --- a/net-libs/libetpan/metadata.xml +++ b/net-libs/libetpan/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>polynomial-c@gentoo.org</email> - <name>Lars Wendler</name> - </maintainer> + <!-- maintainer-needed --> <longdescription lang="en"> libEtPan ! is a mail purpose library. It will be used for low-level mail handling : network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and diff --git a/net-libs/libgfbgraph/libgfbgraph-0.2.5.ebuild b/net-libs/libgfbgraph/libgfbgraph-0.2.5.ebuild index aab4f4e6bb45..68894bb99e0b 100644 --- a/net-libs/libgfbgraph/libgfbgraph-0.2.5.ebuild +++ b/net-libs/libgfbgraph/libgfbgraph-0.2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/libgfbgraph/" LICENSE="LGPL-2.1+" SLOT="0.2" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" IUSE="+introspection" DEPEND=" diff --git a/net-libs/libgsasl/libgsasl-1.10.0.ebuild b/net-libs/libgsasl/libgsasl-1.10.0.ebuild index c397cf421f6f..957217656098 100644 --- a/net-libs/libgsasl/libgsasl-1.10.0.ebuild +++ b/net-libs/libgsasl/libgsasl-1.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ LICENSE="GPL-3 LGPL-3" SLOT="0" # Before giving keywords, please check https://www.gnu.org/software/gsasl/ to see # if it's a stable release or not! -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="idn gcrypt kerberos nls ntlm static-libs" DEPEND=" diff --git a/net-libs/libgsasl/metadata.xml b/net-libs/libgsasl/metadata.xml index 393099923ac8..61f36c9df892 100644 --- a/net-libs/libgsasl/metadata.xml +++ b/net-libs/libgsasl/metadata.xml @@ -2,8 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> -<use> - <flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> for low-level crypto</flag> - <flag name="ntlm">Add support for Microsoft's NTLM mechanism using <pkg>net-libs/libntlm</pkg></flag> -</use> + <use> + <flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> for low-level crypto</flag> + <flag name="ntlm">Add support for Microsoft's NTLM mechanism using <pkg>net-libs/libntlm</pkg></flag> + </use> + <upstream> + <remote-id type="gitlab">gsasl/gsasl</remote-id> + </upstream> </pkgmetadata> diff --git a/net-libs/libhackrf/libhackrf-2021.03.1.ebuild b/net-libs/libhackrf/libhackrf-2021.03.1.ebuild index 94e14cca15c5..8021c6bcf616 100644 --- a/net-libs/libhackrf/libhackrf-2021.03.1.ebuild +++ b/net-libs/libhackrf/libhackrf-2021.03.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ if [[ ${PV} == "9999" ]] ; then else S="${WORKDIR}/hackrf-${PV}/host/libhackrf" SRC_URI="https://github.com/greatscottgadgets/hackrf/releases/download/v${PV}/hackrf-${PV}.tar.xz" - KEYWORDS="amd64 ~arm ~ppc x86" + KEYWORDS="amd64 ~arm ~ppc ~riscv x86" fi LICENSE="BSD" diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest index 2748b0f23833..3e5d822e6f32 100644 --- a/net-libs/libhtp/Manifest +++ b/net-libs/libhtp/Manifest @@ -1 +1,2 @@ DIST libhtp-0.5.39.tar.gz 499233 BLAKE2B fec9e2b0dd867becde972e9e2bf572a21d90acc747a8ee8338e2fe68240d690706db01b12c3cf8c6bf1b5d4415da4e4a5bf92a056e1dff96f54a9ac569906712 SHA512 2c62b0a9a2f69f999a58acade362e5fcd9d85da5c720a403b0b6e7352981a206781f123aaa2f730803f2ea6088b4491d58b3c2783f8b32e4cfe1517d812e66ff +DIST libhtp-0.5.40.tar.gz 499564 BLAKE2B 37239d8d0afb6841c54bab1669a17ec7336b10998f8835ef91cf9556dd7449991ce6fb04a408d16b431ba6327b32f6f509a79a4c79ffc6e88e555fcf2e9f2cce SHA512 e60ad9c2bbdb0aea0966b4d672353ae68aa1fde4dfb3ad4eabc3b9ebf7907685cf583a2b66e5bfc080c5833a2fc3c593e0cd025c62051f6fe13f89d450bab18b diff --git a/net-libs/libhtp/libhtp-0.5.40.ebuild b/net-libs/libhtp/libhtp-0.5.40.ebuild new file mode 100644 index 000000000000..c105c3aaa523 --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.40.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="security-aware parser for the HTTP protocol and the related bits and pieces" +HOMEPAGE="https://github.com/OISF/libhtp" +SRC_URI="https://github.com/OISF/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" +IUSE="debug" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # The debug configure logic is broken. + ECONF_SOURCE=${S} \ + econf \ + $(usex debug '--enable-debug' '') \ + --disable-static +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" +} diff --git a/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch b/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch index 763693e21b8a..4373666c8ee4 100644 --- a/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch +++ b/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch @@ -1,3 +1,6 @@ +https://git.netsurf-browser.org/libhubbub.git/commit/?id=c0c4d702b5560c0590d73af4ea055514cab38e4f +https://bugs.gentoo.org/699746 +https://bugs.gentoo.org/694042 diff -u -rb libhubbub-0.3.6/test.o/tokeniser2.c libhubbub-0.3.6/test/tokeniser2.c --- libhubbub-0.3.6/test.o/tokeniser2.c 2019-06-26 22:39:57.000000000 +0200 +++ libhubbub-0.3.6/test/tokeniser2.c 2019-11-06 13:09:02.321068038 +0200 diff --git a/net-libs/libhubbub/libhubbub-0.3.7.ebuild b/net-libs/libhubbub/libhubbub-0.3.7.ebuild index f5f01b8ad5f4..b2416650628a 100644 --- a/net-libs/libhubbub/libhubbub-0.3.7.ebuild +++ b/net-libs/libhubbub/libhubbub-0.3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86" IUSE="doc test" BDEPEND=" diff --git a/net-libs/libident/libident-0.32-r1.ebuild b/net-libs/libident/libident-0.32-r1.ebuild index 6f49ea50ba4d..e225b30168ef 100644 --- a/net-libs/libident/libident-0.32-r1.ebuild +++ b/net-libs/libident/libident-0.32-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://people.via.ecp.fr/~rem/libident/${P}.tar.bz2" LICENSE="public-domain" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86" src_prepare() { default diff --git a/net-libs/libiio/libiio-0.21.ebuild b/net-libs/libiio/libiio-0.21.ebuild index 66f1603cbe68..bd8c312d30af 100644 --- a/net-libs/libiio/libiio-0.21.ebuild +++ b/net-libs/libiio/libiio-0.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then inherit git-r3 else SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~riscv ~x86" fi LICENSE="LGPL-2.1" diff --git a/net-libs/libiscsi/libiscsi-1.19.0.ebuild b/net-libs/libiscsi/libiscsi-1.19.0.ebuild deleted file mode 100644 index bbf7c504a2ce..000000000000 --- a/net-libs/libiscsi/libiscsi-1.19.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-remove-ld-iscsi.patch.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -fi - -DESCRIPTION="iscsi client library and utilities" -HOMEPAGE="https://github.com/sahlberg/libiscsi" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" - -RDEPEND="dev-libs/libgcrypt:0=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.18.0-fno-common.patch - "${FILESDIR}"/${PN}-1.18.0-fno-common-2.patch - "${FILESDIR}"/${PN}-1.18.0-fno-common-3.patch - "${WORKDIR}"/${P}-remove-ld-iscsi.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --enable-manpages \ - --disable-static \ - --disable-werror -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/net-libs/libiscsi/metadata.xml b/net-libs/libiscsi/metadata.xml index afb733ae6305..509c77fde33e 100644 --- a/net-libs/libiscsi/metadata.xml +++ b/net-libs/libiscsi/metadata.xml @@ -6,6 +6,6 @@ <remote-id type="github">sahlberg/libiscsi</remote-id> </upstream> <use> - <flag name="rdma">Enable infiniband support via <pkg>sys-fabric/librdmacm</pkg></flag> + <flag name="rdma">Enable infiniband support via <pkg>sys-cluster/rdma-core</pkg></flag> </use> </pkgmetadata> diff --git a/net-libs/libisds/libisds-0.11.1.ebuild b/net-libs/libisds/libisds-0.11.1-r1.ebuild index adb792d36841..d555e6ef693a 100644 --- a/net-libs/libisds/libisds-0.11.1.ebuild +++ b/net-libs/libisds/libisds-0.11.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,7 +24,7 @@ RDEPEND=" openssl? ( dev-libs/openssl:= ) !openssl? ( app-crypt/gnupg - app-crypt/gpgme + app-crypt/gpgme:= dev-libs/libgcrypt:= )" DEPEND="${RDEPEND} diff --git a/net-libs/libisds/libisds-9999.ebuild b/net-libs/libisds/libisds-9999.ebuild index 05e9b62f8308..6056df0b3591 100644 --- a/net-libs/libisds/libisds-9999.ebuild +++ b/net-libs/libisds/libisds-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,7 +24,7 @@ RDEPEND=" openssl? ( dev-libs/openssl:= ) !openssl? ( app-crypt/gnupg - app-crypt/gpgme + app-crypt/gpgme:= dev-libs/libgcrypt:= )" DEPEND="${RDEPEND} diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index e30277a8c008..704562713424 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,2 @@ -DIST libktorrent-21.08.3.tar.xz 607028 BLAKE2B 1d0a1c2ddb406e709669bc0adb9812c510d8e02c9b325a9ad41d8523cf29bedbbf6d8209151fbc119412b239cf9a8b2907e34faf4c992f5f2f0bd10235f7cf2f SHA512 7c07b470b447497adf8faf0f17004d88130fb243682e28a34b6b86c1520e3cf09044401707f0014a229e589a93caf67efdc83f711580979e6e9603fa3892c5ec -DIST libktorrent-21.12.1.tar.xz 605932 BLAKE2B 5bb73f9affc1d166f886754784ec73b57d678e928da372a57126eaf7449fb0a229e9526aa0333499f63ca29ddf657a517b875e5e974c85e23db4efdba3b241b4 SHA512 6e86750569d596efe209a22f4eaf2bc1c92278c2fd99dbdee7763f9230eabdb28d19d207139dd63c93eef16103ffc22205c8ff6ea9c84da04c44f726b9e1491a +DIST libktorrent-21.12.3.tar.xz 605960 BLAKE2B a4c0d7d1942647a759cd3890cb675ee6ccddf3b875836f91b1006f51230b15f0b55bdffd8b79f6c96af8f30f611cf6d8cd5a7677a39a8aedb17d3c0705f19186 SHA512 04ff8cfa6a945eeb36d88972e530371b011ba664eb742436ffbb5a09c10ae25053fc3553d6d80b9d68f65a9deee65595b0554bd3ab0f2b71414c621ddd28d2d1 +DIST libktorrent-22.04.2.tar.xz 606372 BLAKE2B 71e9b2dc92fc22d7124e2bbbad6853ac00e8b85d2c4de1d34a3af68c348cc044ecec5fc8a350dee75917475522dc0b6c85465174dae4c17d3400b0bb8f64bfa4 SHA512 b5ef82b2d2c9235e0760fff0c4b30339abb076f47c75bee85379d247c4b0d0fffd7d194b90ba4594d4ac6461d8045570f0bcf56dd484527338afd94a6ea2eeda diff --git a/net-libs/libktorrent/libktorrent-21.08.3.ebuild b/net-libs/libktorrent/libktorrent-21.12.3.ebuild index 8d194a8f2fca..015e5c3bd2fb 100644 --- a/net-libs/libktorrent/libktorrent-21.08.3.ebuild +++ b/net-libs/libktorrent/libktorrent-21.12.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 ECM_TEST="forceoptional" KDE_GEAR="true" KDE_ORG_CATEGORY="network" -KFMIN=5.84.0 +KFMIN=5.88.0 QTMIN=5.15.2 VIRTUALX_REQUIRED="test" inherit ecm kde.org diff --git a/net-libs/libktorrent/libktorrent-21.12.1.ebuild b/net-libs/libktorrent/libktorrent-22.04.2.ebuild index 2d1078720d38..4adfd65b596f 100644 --- a/net-libs/libktorrent/libktorrent-21.12.1.ebuild +++ b/net-libs/libktorrent/libktorrent-22.04.2.ebuild @@ -6,8 +6,8 @@ EAPI=8 ECM_TEST="forceoptional" KDE_GEAR="true" KDE_ORG_CATEGORY="network" -KFMIN=5.88.0 -QTMIN=5.15.2 +KFMIN=5.92.0 +QTMIN=5.15.3 VIRTUALX_REQUIRED="test" inherit ecm kde.org diff --git a/net-libs/liblockfile/Manifest b/net-libs/liblockfile/Manifest index 6246723ee124..f7a54766367e 100644 --- a/net-libs/liblockfile/Manifest +++ b/net-libs/liblockfile/Manifest @@ -1,2 +1 @@ -DIST liblockfile-1.16.tar.gz 68591 BLAKE2B f41df23ee405425265dbf5ca66dacf8e5dac84f40c16d192f1afbb40399f2a68bb92f5e24bbf0d2fb7fc143a92f8fa2713ebccbab70ceb9e67d9c7ae21f42802 SHA512 ee75ecf0dd25744de4e3ce7d6b12483ead2deaf0cd6a527e8493100c5d714751fe97e057873c8c7b04a935f9b46a5ea502950f15d3ce54ecc63d997ab1cee33d DIST liblockfile-1.17.tar.gz 69834 BLAKE2B a3c88174d96fb84dc1226102a1678aecec35945b89adb6e143f32674188ff7406f89b05f7219748bf0e9c6207ff3b28b5b800706ffc11b733c294e1e1c232784 SHA512 2169ac2219950d6ec7def6b5cc712cc04d1a185dc9c09b364c8d47b7b3d15c3482a2200b591872da87eb784717b2ba3537fbc39d7075c329cc8ba48039473a83 diff --git a/net-libs/liblockfile/liblockfile-1.16.ebuild b/net-libs/liblockfile/liblockfile-1.16.ebuild deleted file mode 100644 index 3140e575a8bc..000000000000 --- a/net-libs/liblockfile/liblockfile-1.16.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs - -DESCRIPTION="Implements functions designed to lock the standard mailboxes" -HOMEPAGE="https://github.com/miquels/liblockfile" -SRC_URI="https://github.com/miquels/liblockfile/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND="acct-group/mail" -DEPEND="${RDEPEND}" - -DOCS=( Changelog README ) - -PATCHES=( - "${FILESDIR}/${PN}-1.16-makefile.patch" -) - -src_prepare() { - default - - # I don't feel like making the Makefile portable - [[ ${CHOST} == *-darwin* ]] \ - && cp "${FILESDIR}"/Makefile.Darwin.in Makefile.in - - eautoreconf -} - -src_configure() { - local grp=mail - if use prefix ; then - # we never want to use LDCONFIG - export LDCONFIG=${EPREFIX}/bin/true - # in unprivileged installs this is "mail" - grp=$(id -g) - fi - local myeconfargs=( - --with-mailgroup=${grp} - --enable-shared - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - default - if ! use static-libs ; then - find "${ED}" -type f -name "*.a" -delete || die - fi -} diff --git a/net-libs/libmbim/Manifest b/net-libs/libmbim/Manifest index 0e85558248d8..a5dbff631cc7 100644 --- a/net-libs/libmbim/Manifest +++ b/net-libs/libmbim/Manifest @@ -1 +1 @@ -DIST libmbim-1.26.2.tar.xz 561096 BLAKE2B 11e5339b63dbaca8fb6d31ce2afaf4897774aa4b531cfbb09bb400f64ab975495093b711d0a836feff86e3d9fc72ae2b85ab5cd84fab3d266e0fecf1129125d0 SHA512 7cce1fa6ff5630a1cc565a2198544de9f4a1db20b30304fac96de6c698eaf56b17fe6ccb089151623d4484d88fda6abe980bced19dfbf0d3ef425fc954fb5844 +DIST libmbim-1.26.4.tar.xz 566188 BLAKE2B 96fb932e89455364eec39d879256eb10efd4fafc18c0dc69619b3a73cea1e62e3ea50b828c2785082e6422c39d8775c9bc1c084db3aaafdf054b1e7aa7d6929f SHA512 a530a3611aa353d7b7a4a3d845a8a8b08e508004f44e9bc63a4c04729589397e264a5dca499ebb7c57f135e6848909d78124c4799bd932c24271c57824c3b5d8 diff --git a/net-libs/libmbim/libmbim-1.26.2.ebuild b/net-libs/libmbim/libmbim-1.26.4.ebuild index c45f611c94b0..17b564ba9032 100644 --- a/net-libs/libmbim/libmbim-1.26.2.ebuild +++ b/net-libs/libmbim/libmbim-1.26.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~riscv x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv x86" RDEPEND=">=dev-libs/glib-2.56:2" DEPEND="${RDEPEND}" diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild index ab61a1435f63..56141caaf078 100644 --- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="LGPL-2.1+" SLOT="0/12" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+epoll ssl static-libs test +thread-names" RESTRICT="!test? ( test )" diff --git a/net-libs/libmirisdr/libmirisdr-9999.ebuild b/net-libs/libmirisdr/libmirisdr-9999.ebuild deleted file mode 100644 index 8d31071e499d..000000000000 --- a/net-libs/libmirisdr/libmirisdr-9999.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EGIT_REPO_URI="git://git.osmocom.org/libmirisdr" -inherit cmake git-r3 - -DESCRIPTION="Software for the Mirics MSi2500 + MSi001 SDR platform" -HOMEPAGE="http://cgit.osmocom.org/libmirisdr/" - -LICENSE="GPL-2" -SLOT="0/${PV}" -IUSE="doc static-libs" - -RDEPEND="virtual/libusb:1" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_install() { - cmake_src_install - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmirisdr.a -} diff --git a/net-libs/libmirisdr/metadata.xml b/net-libs/libmirisdr/metadata.xml deleted file mode 100644 index a8b192c43911..000000000000 --- a/net-libs/libmirisdr/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> -<email>zerochaos@gentoo.org</email> -<name>Rick Farina</name> -</maintainer> -<maintainer type="project"> -<email>radio@gentoo.org</email> -<name>Radio</name> -</maintainer> -</pkgmetadata> diff --git a/net-libs/libmnl/Manifest b/net-libs/libmnl/Manifest index 683230c1cd31..96fb88ed5c85 100644 --- a/net-libs/libmnl/Manifest +++ b/net-libs/libmnl/Manifest @@ -1 +1,4 @@ DIST libmnl-1.0.4.tar.bz2 301270 BLAKE2B e24ae3e7a8bcfe35a04256c495bb3e9a5ec41b6bea9b7ffa0a8ebc82ce847921d4a44e5be3558239fee5008c10541a9ac3614d1a6b80d280b632a76da16be5e8 SHA512 e2bbfb688fe41913d53c74ba7ec95b4e88ee2c52b556b8608185f2fcbd629665423a3b37f877f84426ba257cf6040fa701539d67166b00b8e3e2dfde6831a2f9 +DIST libmnl-1.0.4.tar.bz2.sig 543 BLAKE2B f69e72a1fef9688bae27ca9934e835cc42bb725d930cd2c4c46672328ed0d797a3fa95e1e9adf2adf4f1725f30ed55047e61d7848a9eae0974f0b0e661dc35bf SHA512 0cdce209d63d318cc1e842d84d48776c4c23eb297ba8415030a3b086550f13778e2c80197b2e7170414619595002d403fddc08ff13327c0ac732ff2d5080c19c +DIST libmnl-1.0.5.tar.bz2 314791 BLAKE2B 760ec6f7eaf3f2c6be6edf848551e4c7d16ae7cbe49f9cde297f5df06174fb7f9f490118942225558f0a89dabe9a4901c1b3b23fa1203132e36b86e6332564d6 SHA512 16fa48e74c9da7724a85c655dfb0abd8369392627934639d65de951543e1447ac3e048d231248f1ce8861443c2ef62654a85a81feeedbbffaf2e5744f6cf4c9f +DIST libmnl-1.0.5.tar.bz2.sig 566 BLAKE2B 4454f969cbc21f86c12905eb80dd7237f368bbb30e38202ef114edf77806091cda164870e825aca4305a925077d181662724412f8475866c7fbe2572b0b1da50 SHA512 bb75ae3b5520d8b9372d70da7c1a27fa3d8e50a26a05fe56397dead4d7d5ad4003e6e576becd1200a5c9ed42fe5a97273acc8c50f1fd3181688f0d0b8c607dfc diff --git a/net-libs/libmnl/libmnl-1.0.4.ebuild b/net-libs/libmnl/libmnl-1.0.4.ebuild index 0e9c2adbd8c3..c77ab06f8218 100644 --- a/net-libs/libmnl/libmnl-1.0.4.ebuild +++ b/net-libs/libmnl/libmnl-1.0.4.ebuild @@ -1,18 +1,22 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit usr-ldscript +inherit usr-ldscript verify-sig DESCRIPTION="Minimalistic netlink library" HOMEPAGE="https://netfilter.org/projects/libmnl/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="LGPL-2.1" SLOT="0/0.2.0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux" IUSE="examples static-libs" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )" src_configure() { econf $(use_enable static-libs static) diff --git a/net-libs/libmnl/libmnl-1.0.5.ebuild b/net-libs/libmnl/libmnl-1.0.5.ebuild new file mode 100644 index 000000000000..097c768c00f9 --- /dev/null +++ b/net-libs/libmnl/libmnl-1.0.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc +inherit verify-sig + +DESCRIPTION="Minimalistic netlink library" +HOMEPAGE="https://netfilter.org/projects/libmnl/" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + +LICENSE="LGPL-2.1" +SLOT="0/0.2.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux" +IUSE="examples" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )" + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + + if use examples; then + find examples/ -name 'Makefile*' -delete || die + dodoc -r examples/ + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/net-libs/libnatpmp/libnatpmp-20150609.ebuild b/net-libs/libnatpmp/libnatpmp-20150609.ebuild index 4c214c0cc10d..1d54c02fab04 100644 --- a/net-libs/libnatpmp/libnatpmp-20150609.ebuild +++ b/net-libs/libnatpmp/libnatpmp-20150609.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86" +KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86" PATCHES=( "${FILESDIR}"/${PN}-20150609-gentoo.patch ) diff --git a/net-libs/libndp/libndp-1.8.ebuild b/net-libs/libndp/libndp-1.8.ebuild index 332edd106a89..3cb65ea54823 100644 --- a/net-libs/libndp/libndp-1.8.ebuild +++ b/net-libs/libndp/libndp-1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://libndp.org/files/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" multilib_src_configure() { ECONF_SOURCE="${S}" \ diff --git a/net-libs/libnet/metadata.xml b/net-libs/libnet/metadata.xml index 1a870bc24ace..e9e59b746444 100644 --- a/net-libs/libnet/metadata.xml +++ b/net-libs/libnet/metadata.xml @@ -23,5 +23,6 @@ and libpcap). </longdescription> <upstream> <remote-id type="sourceforge">libnet-dev</remote-id> + <remote-id type="cpe">cpe:/a:libnet_project:libnet</remote-id> </upstream> </pkgmetadata> diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest index 7d48fb58c9bd..9371a4c4c987 100644 --- a/net-libs/libnetconf2/Manifest +++ b/net-libs/libnetconf2/Manifest @@ -1 +1,2 @@ -DIST libnetconf2-2.0.24.tar.gz 301111 BLAKE2B ffc4dffd797e4589a5892f3cf80d6a373808ee48c00e46a37ff02082c721c49b27aa06962e962698d3b443e08e9cba55b4205cc6e76958df325c6fc5a38fed22 SHA512 05cba691bc47e49abf747a36a6dcc978a4163fd155a90609315585201e4e4d20c9a30b683180f5cf03aac5b6a37933917e61a895067dd172b8de2142ec542dfc +DIST libnetconf2-2.1.11.tar.gz 302413 BLAKE2B c5a1316b61c1d36a57d65bb556f9f3c72dcc4e614f12ea8178cc84e28b1139173ecc951cbddf63d60c58cd4e7b6477ecd719bf9aa375ab73ad32f1c82dd3a59e SHA512 fad29d5f3c486bf4f56a9065ef447886b7ffef7c33cdc109e7702ed343ae9fe31b49d40fa3e85f07e92c4aa713d6b11b5afabfa4756cc487dd184f0653fc6d56 +DIST libnetconf2-2.1.7.tar.gz 302011 BLAKE2B b83faebb8d04d9ecaa0bc3aa1fed1bc3b94388d1a6dbc8d3e8c2ff2bb73dc57a460eaf9cc7bf2d07a8e09ef612826417990d8c70bab9c58f9cb71b53766b035b SHA512 fd46a3c31a062324e6c9f2d66006ba8cd852ccb389bf8749d1d0d085b880409e1e373d1d1f2d79c1d88f5eaa72d56195889c07863d0eab1607da89484e21b86f diff --git a/net-libs/libnetconf2/libnetconf2-2.0.24.ebuild b/net-libs/libnetconf2/libnetconf2-2.1.11.ebuild index 89defd72deeb..f7a63172c6a5 100644 --- a/net-libs/libnetconf2/libnetconf2-2.0.24.ebuild +++ b/net-libs/libnetconf2/libnetconf2-2.1.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,13 +11,13 @@ SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" RDEPEND=" dev-libs/openssl:0= - >=net-libs/libyang-2.0.112:= + >=net-libs/libyang-2.0.194 net-libs/libssh:0=[server] virtual/libcrypt:=" DEPEND="${RDEPEND} diff --git a/net-libs/libnetconf2/libnetconf2-2.1.7.ebuild b/net-libs/libnetconf2/libnetconf2-2.1.7.ebuild new file mode 100644 index 000000000000..c0fe8e2c018c --- /dev/null +++ b/net-libs/libnetconf2/libnetconf2-2.1.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C library for building NETCONF servers and clients" +HOMEPAGE="https://github.com/CESNET/libnetconf2" +SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + >=net-libs/libyang-2.0.164 + net-libs/libssh:0=[server] + virtual/libcrypt:=" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + -DENABLE_VALGRIND_TESTS=OFF + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + use doc && dodoc -r doc/. +} diff --git a/net-libs/libnetfilter_acct/Manifest b/net-libs/libnetfilter_acct/Manifest index 00a0ca995aac..a432148991f0 100644 --- a/net-libs/libnetfilter_acct/Manifest +++ b/net-libs/libnetfilter_acct/Manifest @@ -1 +1,2 @@ DIST libnetfilter_acct-1.0.3.tar.bz2 296999 BLAKE2B c696a5830c2445fd8369182c413a8144f4b0d669dd8ef57e59d54bd8ad406e15bec72ede8d2ee0d7bbb61fbc2218380168e03ed62daaef9e026cbe83e79982c2 SHA512 5ca332840663941182343fdc0d5e45116bba71a97a913db0b385ea37ef31a04f8267a2279b7a2862ce338c6eeb093bb3ef9908f57770e64acf5d2b2266d3bfe5 +DIST libnetfilter_acct-1.0.3.tar.bz2.sig 543 BLAKE2B 1f219bacf8a65777ddeb2888591694925c77cc6270b9e943161acc2265eec16a43c2228bd1889194f35f3ebd1a493dce9f9ce1ddd397d1fe2f5bb18095296ed0 SHA512 61f55142ff52101d838d99f6a48f525c1189d7249e781f81a809f8df17c909567ceeed0d51d01ea743ecad127327d7cf5fdbb42560d3e7eb5c075376b69f4b06 diff --git a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild index f29d830b8c16..b2114726a930 100644 --- a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild +++ b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild @@ -1,24 +1,27 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit linux-info +inherit linux-info verify-sig DESCRIPTION="Library providing interface to extended accounting infrastructure" HOMEPAGE="https://netfilter.org/projects/libnetfilter_acct/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 x86 ~amd64-linux" IUSE="examples" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc RDEPEND=" net-libs/libmnl " DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND="virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter )" DOCS=( README ) diff --git a/net-libs/libnetfilter_conntrack/Manifest b/net-libs/libnetfilter_conntrack/Manifest index a13a4b376356..96c531bff9e2 100644 --- a/net-libs/libnetfilter_conntrack/Manifest +++ b/net-libs/libnetfilter_conntrack/Manifest @@ -1,3 +1,3 @@ -DIST libnetfilter_conntrack-1.0.6.tar.bz2 422998 BLAKE2B 7153593e2b6f5e03a5f4579948b0d28e9ab88d39ebe08e97fe8be0eb3f10f64b36d0f85e9e35408019ab22404b3452e4c6d7b2812ea316031f3e0c4367c23019 SHA512 05b3b63928d46ed114048848c48094a762c6a7acc93fcdbe9473e82cc67851ef1a0d33b68b8fd388271b76b519c4d2ac93fd802043fa9a9da46cda5b262a1fc7 -DIST libnetfilter_conntrack-1.0.7.tar.bz2 346219 BLAKE2B 85388bb2b185fa04ce697b07675cfbd84836873a9d09092b16bba318e93da56085ea5a4726a908ed5d1974aa524bee0f912e2be23f6a4c9e9e46641baf0c6a18 SHA512 5be5ed5daba385d11123a4e497c6334c6bb7e668594e667f85596619afe607f8783c088934098a4c07557d86f9b9157ff67d28541c8f4a80a5454307b979c22b DIST libnetfilter_conntrack-1.0.8.tar.bz2 331750 BLAKE2B 614f8d80863d6f7d8110b5faf68debe3a9ba0c6737f02fa0de9d0e53d30771581becb052e7cd990b0632e9264cb9cdeb2af26a41e2b1ab9421218ec616e1f8d8 SHA512 ddc70e7e3f2d764ed1e115e4a03fe8848b8c04bd69eea0952e63131dd4dae3c23f33b8be518673e1ec3b5dbf708f5f86eac97be46fe265d95386a5e902bd0b82 +DIST libnetfilter_conntrack-1.0.9.tar.bz2 373177 BLAKE2B 701393338a0bf852b97d80a1e4ab078dea741f7181246b3dafcbe8cff287b5b9fae72c1c50867ea71baab83fa842471b2c7054fb4702bf35900a352078de8f3a SHA512 e8b03425aaba3b72e6034c215656c34176d0550c08e0455aaeb1365d9141505d0c4feaa8978c8ccf2b7af9db6c9e874ceb866347e533b41cb03a189884f4004c +DIST libnetfilter_conntrack-1.0.9.tar.bz2.sig 566 BLAKE2B 0f80f00858093ed5e9aac190fbb1ac5ac1dde60e6767b65adda49ed79fb7fb6cc7caea51793d8930a927d9b7a75d263851dd5741d6d408a8b56d3ea5b73da20e SHA512 83ed38f68bd38cf70d9c245a7f17373751ff9099ceff3066812b282b7426edf2eee79da8f5aea896b119327059008ff4a531b3dfdcd79d49944bea4079e67e1f diff --git a/net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-musl.patch b/net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-musl.patch new file mode 100644 index 000000000000..e1ce87df4e89 --- /dev/null +++ b/net-libs/libnetfilter_conntrack/files/libnetfilter_conntrack-1.0.9-musl.patch @@ -0,0 +1,46 @@ +https://git.netfilter.org/libnetfilter_conntrack/patch/?id=21ee35dde73aec5eba35290587d479218c6dd824 + +From: Robert Marko <robimarko@gmail.com> +Date: Thu, 24 Feb 2022 15:01:11 +0100 +Subject: conntrack: fix build with kernel 5.15 and musl + +Currently, with kernel 5.15 headers and musl building is failing with +redefinition errors due to a conflict between the kernel and musl headers. + +Musl is able to suppres the conflicting kernel header definitions if they +are included after the standard libc ones, however since ICMP definitions +were moved into a separate internal header to avoid duplication this has +stopped working and is breaking the builds. + +It seems that the issue is that <netinet/in.h> which contains the UAPI +suppression defines is included in the internal.h header and not in the +proto.h which actually includes the kernel ICMP headers and thus UAPI +supression defines are not present. + +Solve this by moving the <netinet/in.h> include before the ICMP kernel +includes in the proto.h + +Fixes: bc1cb4b11403 ("conntrack: Move icmp request>reply type mapping to common file") +Signed-off-by: Robert Marko <robimarko@gmail.com> +Signed-off-by: Florian Westphal <fw@strlen.de> +--- a/include/internal/internal.h ++++ b/include/internal/internal.h +@@ -14,7 +14,6 @@ + #include <arpa/inet.h> + #include <time.h> + #include <errno.h> +-#include <netinet/in.h> + + #include <libnfnetlink/libnfnetlink.h> + #include <libnetfilter_conntrack/libnetfilter_conntrack.h> +--- a/include/internal/proto.h ++++ b/include/internal/proto.h +@@ -2,6 +2,7 @@ + #define _NFCT_PROTO_H_ + + #include <stdint.h> ++#include <netinet/in.h> + #include <linux/icmp.h> + #include <linux/icmpv6.h> + +cgit v1.2.3 diff --git a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild deleted file mode 100644 index 62ad204c78dc..000000000000 --- a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info - -DESCRIPTION="Programming interface (API) to the in-kernel connection tracking state table" -HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_conntrack/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="static-libs" - -RDEPEND=" - >=net-libs/libmnl-1.0.3 - >=net-libs/libnfnetlink-1.0.0 -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -DOCS=( README ) - -pkg_setup() { - linux-info_pkg_setup - - if kernel_is lt 2 6 18 ; then - die "${PN} requires at least 2.6.18 kernel version" - fi - - # netfilter core team has changed some option names with kernel 2.6.20 - if kernel_is lt 2 6 20 ; then - CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK" - else - CONFIG_CHECK="~NF_CT_NETLINK" - fi - - check_extra_config -} diff --git a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.8.ebuild b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.8.ebuild index 3ef261d55d21..a42aa6f12fe1 100644 --- a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.8.ebuild +++ b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="static-libs" RDEPEND=" diff --git a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.7.ebuild b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.9.ebuild index 3ef261d55d21..cdd38b015fb8 100644 --- a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.7.ebuild +++ b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.9.ebuild @@ -1,30 +1,32 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit linux-info +inherit linux-info verify-sig DESCRIPTION="Programming interface (API) to the in-kernel connection tracking state table" HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_conntrack/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="static-libs" - -RDEPEND=" - >=net-libs/libmnl-1.0.3 - >=net-libs/libnfnetlink-1.0.0 -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc + +RDEPEND=">=net-libs/libmnl-1.0.3 + >=net-libs/libnfnetlink-1.0.0" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter )" DOCS=( README ) +PATCHES=( + "${FILESDIR}"/${P}-musl.patch +) + pkg_setup() { linux-info_pkg_setup @@ -41,3 +43,9 @@ pkg_setup() { check_extra_config } + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/libnetfilter_cthelper/Manifest b/net-libs/libnetfilter_cthelper/Manifest index 7a341812b1a0..b5d31681bd16 100644 --- a/net-libs/libnetfilter_cthelper/Manifest +++ b/net-libs/libnetfilter_cthelper/Manifest @@ -1 +1,4 @@ DIST libnetfilter_cthelper-1.0.0.tar.bz2 275229 BLAKE2B 622a4e27629d97a0ab2b5032e972914f2ab8764ab60ab7090b173ceabfe9648e09452e931dacb822090c5f816b553b8e73b8f8a4ee431db9f6dd092d9d4283ee SHA512 f0372daee0edbf4c27ee80eadd4ce786a4b67b39c0b9d22e88bc9adcbdffd6676eb9df01b933ee64d2fcea9c05a9ca9070c94e907277d69acbd22ae9a3c74e45 +DIST libnetfilter_cthelper-1.0.0.tar.bz2.sig 543 BLAKE2B 827f11d4f9b666e46d486f04711009a62ec8880cc230ab87960a0cf0ff8410394e188d3102d5278059e6ba6aae827684d2ec8c0031bcddbae0a470c2165cc50a SHA512 048a0789f50b9dbb8f56776ec700657d7eabd16b442197755bc37201076b51279b8016bfb45543c51da0d023daa8b022e198bf28d004991fc1bd97192021d4c2 +DIST libnetfilter_cthelper-1.0.1.tar.bz2 291739 BLAKE2B cc5ae85dca896c0b8b1b704e0c5cc201677f48c2765520dc992a1b218d1334e04c592ba48cf06efe32a5089c7ad70fa44cbb2b40f2e8400d7ef9d2976a6425ee SHA512 f0591edd579aee92b62446e2b8fef6af9c404848c42c8da76850bb01aec3567442612f53cf8d3af6ba4d6d920487bff310a4e547bccf595478b1f96b4280eada +DIST libnetfilter_cthelper-1.0.1.tar.bz2.sig 566 BLAKE2B 2904ddbe9bea0ea4a126bdd286a0d3eaf8e850e49cb3cb0ec196d424bbf91b89abe8ada8c1c5db29b5764c2d003de1212885a9f6676fee454237801ba02bc5a4 SHA512 991f1e20673eb290fc9b4b35c5dd0c27223398e560f4807b5497fc6b69780594cbae026481dbdf1862a25da7537f60b7d938038a8310cf3b0cd207ca1d3672e6 diff --git a/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0-r1.ebuild b/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0-r1.ebuild index 6d07d30b2777..20c16c749112 100644 --- a/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0-r1.ebuild +++ b/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0-r1.ebuild @@ -1,19 +1,22 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit linux-info +inherit linux-info verify-sig DESCRIPTION="Userspace library for interface to user-space helper for conntrack" HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cthelper/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv x86" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc -BDEPEND="virtual/pkgconfig" +BDEPEND="virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter )" RDEPEND="net-libs/libmnl:=" DEPEND="${RDEPEND}" diff --git a/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.1-r1.ebuild b/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.1-r1.ebuild new file mode 100644 index 000000000000..9905370b8f65 --- /dev/null +++ b/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc +inherit linux-info verify-sig + +DESCRIPTION="Userspace library for interface to user-space helper for conntrack" +HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cthelper/" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND="net-libs/libmnl:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter )" + +CONFIG_CHECK="~NF_CT_NETLINK_HELPER" + +pkg_setup() { + linux-info_pkg_setup + + kernel_is lt 3 6 0 && ewarn "requires at least 3.6.0 kernel version" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/libnetfilter_cttimeout/Manifest b/net-libs/libnetfilter_cttimeout/Manifest index 0a61fe593651..3a7df1c6db63 100644 --- a/net-libs/libnetfilter_cttimeout/Manifest +++ b/net-libs/libnetfilter_cttimeout/Manifest @@ -1 +1,4 @@ DIST libnetfilter_cttimeout-1.0.0.tar.bz2 275065 BLAKE2B 8b0f952bcd4184141a434abe25f807ad07bb74713a3506d335c5368ddce2809596c77e5e534337d897fb6268afa137f6d98cfd314b0b33b4996e4a0df4d8eba6 SHA512 d64f592be022d02b6e6627470f9aed75114b0c7177012d31d868ee7eb39fca330a7638c9a209ff489d4a8c0549b8fcfd33582c6d36ee519b920cf27429301c85 +DIST libnetfilter_cttimeout-1.0.0.tar.bz2.sig 543 BLAKE2B bc9e58c48d2a1337a52b8f1a48ada14e9799d811b6134c52f71c31fbca72451defbc7c74c9676ac1dec2487cbb7f9a8ec692579b9383306e54d8c95dcf038cfc SHA512 0b1ef30da8a5871a526243285d176194959d79d96eb50e0e126ec363926fb6e8d3ae13375fc52fb496cdf2c326d77587656d1316c5aebf8c4683b380740beeef +DIST libnetfilter_cttimeout-1.0.1.tar.bz2 292649 BLAKE2B b51d631ee6b4c3bb34cf1394e2a3216a6ac4d89773bafecd058b31bdf78bf5eb255d3cb2539ca591f64c95cdf7f0db720a5b78e90009e0c7c208219ed454686f SHA512 3f7886b2b8c67fb45d9f6d03f8a327d0f04072abf75ec0fa310f4a321a1749607e79b48f47c8b8488f9833734689419264afada0cbc1f0360a5ae9e17d4a1100 +DIST libnetfilter_cttimeout-1.0.1.tar.bz2.sig 566 BLAKE2B eecbb2c7453ab1db598c4e02e7a0d5c29d68cb2788537ce22783bc0856ed6f6c64d66cdd9e2438fa901ebaf1c5dcad6b3a816678de2410cd414a5bf387f8ced0 SHA512 da491294392d94ddf7f1267607bc631ffc564a9e21b439b60a13b7d1259b7a80bc0d4f70208a79f0b674c26ac434c924216775bbe968d56bce5f3fa587eef3fb diff --git a/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0-r1.ebuild b/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0-r1.ebuild index 85aa46b43ebc..a81fcb8e124e 100644 --- a/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0-r1.ebuild +++ b/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0-r1.ebuild @@ -1,19 +1,22 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit linux-info +inherit linux-info verify-sig DESCRIPTION="netlink interface for conntrack timeout infrastructure in kernel's packet filter" HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cttimeout/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv x86" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc -BDEPEND="virtual/pkgconfig" +BDEPEND="virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter )" RDEPEND="net-libs/libmnl:=" DEPEND="${RDEPEND}" diff --git a/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.1.ebuild b/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.1.ebuild new file mode 100644 index 000000000000..0375729fdf5c --- /dev/null +++ b/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc +inherit linux-info verify-sig + +DESCRIPTION="netlink interface for conntrack timeout infrastructure in kernel's packet filter" +HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cttimeout/" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND="net-libs/libmnl:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter )" + +CONFIG_CHECK="~NF_CT_NETLINK_TIMEOUT" + +pkg_setup() { + linux-info_pkg_setup + kernel_is lt 3 4 0 && ewarn "requires at least 3.4.0 kernel version" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/libnetfilter_log/Manifest b/net-libs/libnetfilter_log/Manifest index c4dff471f369..296aa95820a2 100644 --- a/net-libs/libnetfilter_log/Manifest +++ b/net-libs/libnetfilter_log/Manifest @@ -1,2 +1,3 @@ DIST libnetfilter_log-1.0.1.tar.bz2 262545 BLAKE2B 4dcc7ff5deef95fc657a956556a1ff389cddaae3eaabed9c77cb7028793d5a0e377d2d02d55000ec853300b94164943436d658f42344a6314432b2f8f965fb8e SHA512 4088b9bf055fb4cd5f2e201a46a00def7642116b5d1695a371936b7b45eb93877944456506b45761bf2f3f81b40c161c1ecdcfb90532009f073dac3cedc6f436 DIST libnetfilter_log-1.0.2.tar.bz2 304022 BLAKE2B 5976dc484f8a5dc7b5484f12c9913acd9cf7600844f321da6105805b05ad7176d88185c4770bf9ac167c8525b01f1cd8cbc560f77a7cb8b1f129f9f6983b5bb1 SHA512 6b33718b1dd7f4504bceae14001da3a652cec46a6725a5dee83a7b55028cfa8e768cba917f968a5d5b60fd9ff04edf6040ef271a68e5fb65858bf73f4f9ccf23 +DIST libnetfilter_log-1.0.2.tar.bz2.sig 566 BLAKE2B f4e3de583d9e0612bfc5932654d287154117fe720c28eb220fbc19c4e6cd8d57c66b92159d13949b035a2479a466110e38b0334f49dcf9b9fc0cb4c41ed79aa1 SHA512 b9a40fa08fa5d29a907522add329ea5268f2ef09274b5be3d30ab7e6a0c6aad915d8e8d7c5d708947a86c4a7fe950439ab536ec5ed78198f5b6b839de2f0ab35 diff --git a/net-libs/libnetfilter_log/libnetfilter_log-1.0.2.ebuild b/net-libs/libnetfilter_log/libnetfilter_log-1.0.2.ebuild index c6fec7fbcd9c..06b3692e3eb7 100644 --- a/net-libs/libnetfilter_log/libnetfilter_log-1.0.2.ebuild +++ b/net-libs/libnetfilter_log/libnetfilter_log-1.0.2.ebuild @@ -1,24 +1,27 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit linux-info +inherit linux-info verify-sig DESCRIPTION="Interface to packets that have been logged by the kernel packet filter" HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_log/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~ia64 ppc ~riscv ~sparc x86" IUSE="doc" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc RDEPEND=">=net-libs/libnfnetlink-1.0.0 >=net-libs/libmnl-1.0.3" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig - doc? ( app-doc/doxygen )" + doc? ( app-doc/doxygen ) + verify-sig? ( sec-keys/openpgp-keys-netfilter )" CONFIG_CHECK="~NETFILTER_NETLINK_LOG" diff --git a/net-libs/libnetfilter_queue/Manifest b/net-libs/libnetfilter_queue/Manifest index e5407949ebec..8a101f457b7f 100644 --- a/net-libs/libnetfilter_queue/Manifest +++ b/net-libs/libnetfilter_queue/Manifest @@ -1,3 +1,4 @@ DIST libnetfilter_queue-1.0.3.tar.bz2 314857 BLAKE2B c25b0395b13af3cecb960c39bcbc4f10a3f203aad7acaeb277346423310700d9abb5b8a65f27b008e5f45194aa6e0fd6a99c8ad25a1e3200904be70c5c6ddaa4 SHA512 1d9e0202878bc0ae26ceecd0f4fa4c21f89056e5671d46949f92f21c155d589958b7775760fc837547da34eb9a81e537e95c770d25c166e709dad16de4ca452e DIST libnetfilter_queue-1.0.4.tar.bz2 312699 BLAKE2B 29d553c36af551cbaa3b1b4382ad38d6ea7402efafa5ff4ae99c6f05d0ddd15d24b007a4ccdcbc21b8bd9cea28859668a27a6fae4e6534f68dea79d6d0a02789 SHA512 5d81d8e8190a80c9b42bc851a87cc4f749709803b8c9964508013bafb033f1b51b65222a244885f321a2be90517c6a636533ff72b653935a2b8d819560a51187 DIST libnetfilter_queue-1.0.5.tar.bz2 313856 BLAKE2B 0d7806fd23961f6b80f6ef63faf0fe10307a34495337a7f6dd4f0eb76b5ba8a96292b86285e0740f83414417810e47f47b1400c7d83fb4d8fc6f58954f4bd9df SHA512 732a44b602e5efaa4f5582ea25ff8f5ec8f4dca5c0e725cd93fe2d441db80416b25c6018147be90acb262d7428eb5b21b3f7b5920e612d115061ec6a19d67f85 +DIST libnetfilter_queue-1.0.5.tar.bz2.sig 590 BLAKE2B d8b5b3ae82fe2722db8a0c200a75146b70f79b7eafb34ddba8349f7f38f02eb5546eee9ae31920f5b7301787a2866a908199b69f8465fe1b6e45ebdc5fb7ae13 SHA512 65558652c7d54087eb1b5a37f7574bcca3495e5ee6587c7b555a7fe6e118007cf9431a66ed5280ce272890c659eb171570e0d0cbb733cf969ae8b44a1d541687 diff --git a/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.5.ebuild b/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.5.ebuild index 149830904d0d..482541e1499b 100644 --- a/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.5.ebuild +++ b/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.5.ebuild @@ -1,17 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit linux-info +inherit linux-info verify-sig DESCRIPTION="API to packets that have been queued by the kernel packet filter" HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_queue/" -SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" +SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="doc static-libs" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc RDEPEND=" >=net-libs/libmnl-1.0.3 @@ -23,6 +25,7 @@ DEPEND=" BDEPEND=" doc? ( app-doc/doxygen ) virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-netfilter ) " CONFIG_CHECK="~NETFILTER_NETLINK_QUEUE" diff --git a/net-libs/libnfnetlink/Manifest b/net-libs/libnfnetlink/Manifest index 2f7130224cfb..9283a501e18b 100644 --- a/net-libs/libnfnetlink/Manifest +++ b/net-libs/libnfnetlink/Manifest @@ -1,2 +1,5 @@ DIST 04aef8a4dedf267dd5744afb134ef8046e77f613-musl-fix-includes.patch 677 BLAKE2B 189c57ffc8eeb6a83e46fd1d53390e977294f7d3a269d3ffab07e1fce04083a7b4b956e93e02f4f81ce6db4ec5be785b16d1c75ed7e0b4fef9883154d9407e18 SHA512 fc452e2924fa4de66e104229bc05a663c253148fb1c0bd62e5454a907877ffb084ba6a04e38bf4ef71a4e58041f4a242001a8029aefbe97ccc00e3bfcb7bba41 DIST libnfnetlink-1.0.1.tar.bz2 320641 BLAKE2B 18d6f702afffa1bf2cb6978426f4a1aeab8692a288686c099eb7dfabff23648b4b0f1ac14b4661f16e3d50b6e7d29090d58ce715dac107acb12648e93c5df4f3 SHA512 2ec2cd389c04e21c8a02fb3f6d6f326fc33ca9589577f1739c23d883fe2ee9feaa16e83b6ed09063ad886432e49565dc3256277d035260aca5aab17954b46104 +DIST libnfnetlink-1.0.1.tar.bz2.sig 543 BLAKE2B e82c79edc77aa68b99549491650eb1888ef81c186918a452d813fb3b793b76e0334a909161a5b1b56a71ffe51b3293f6b0fe5d36b33c473dd50fa222a0844cb0 SHA512 f3ef8429e3da1bca815b186e96dfee93317f7a5712c63a4cc404648a0ee77353fae058a519681bdf684e82d1a230e717f4d34e8eaf0318e9a76dd05104fdf382 +DIST libnfnetlink-1.0.2.tar.bz2 298844 BLAKE2B 81c954f6ca2738b321e9319d20741aa15376e88e5f7a0ce1cfa2b02cd104f98d020ab6206bfbc79fc66655f8e40a17bfb65cbce0b1684d9373b809de5a433fc4 SHA512 a5e9ae22831f1d17703f83953f3b0ef898e8b3fa7f0f771b038db51816ddae3158574380ac4d45c09fb8fbb8677e2ccdcc5c4736e3b09de06eac99f899130854 +DIST libnfnetlink-1.0.2.tar.bz2.sig 566 BLAKE2B 9e87fc7917dd2f8b29de642ef819bca957bd6223417e167e21770450ce2eeff717ab06079ac75c689184f9188e785b663fca81cdda30b87310bfb1b456b03dd2 SHA512 3dcb980fb209c9faa9774f0393bc3b4b5fa6e899330f0d0dcb92307984f696b869de27c22dd54d7f181bddd72e104b38e8617af6bb3d6fe992a96da172b10457 diff --git a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild index 53e90911786d..338e11cddd33 100644 --- a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild +++ b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit linux-info +inherit linux-info verify-sig PATCH_BLOB=04aef8a4dedf267dd5744afb134ef8046e77f613 PATCH_FN=${PATCH_BLOB}-musl-fix-includes.patch @@ -12,11 +12,15 @@ DESCRIPTION="the low-level library for netfilter related kernel/userspace commun HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/" SRC_URI=" http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 - https://git.alpinelinux.org/cgit/aports/plain/main/libnfnetlink/musl-fix-includes.patch -> ${PATCH_FN}" + https://git.alpinelinux.org/cgit/aports/plain/main/libnfnetlink/musl-fix-includes.patch -> ${PATCH_FN} + verify-sig? ( http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )" PATCHES=( "${DISTDIR}/${PATCH_FN}" ) @@ -40,6 +44,12 @@ pkg_setup() { check_extra_config } +src_unpack() { + default + + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.sig} +} + src_configure() { econf --disable-static } diff --git a/net-libs/libnfnetlink/libnfnetlink-1.0.2.ebuild b/net-libs/libnfnetlink/libnfnetlink-1.0.2.ebuild new file mode 100644 index 000000000000..2480c324f33c --- /dev/null +++ b/net-libs/libnfnetlink/libnfnetlink-1.0.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc +inherit linux-info verify-sig + +DESCRIPTION="The low-level library for netfilter related kernel/userspace communication" +HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/" +SRC_URI=" + https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )" + +pkg_setup() { + linux-info_pkg_setup + + if kernel_is lt 2 6 18 ; then + ewarn "${PN} requires at least 2.6.18 kernel version" + fi + + #netfilter core team has changed some option names with kernel 2.6.20 + error_common=' is not set when it should be. You can activate it in the Core Netfilter Configuration' + if kernel_is lt 2 6 20 ; then + CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK" + ERROR_IP_NF_CONNTRACK_NETLINK="CONFIG_IP_NF_CONNTRACK_NETLINK:\t${error_common}" + else + CONFIG_CHECK="~NF_CT_NETLINK" + ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t${error_common}" + fi + + check_extra_config +} + +src_unpack() { + default + + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.sig} +} + +src_install() { + default + + # No static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/libnfsidmap/Manifest b/net-libs/libnfsidmap/Manifest deleted file mode 100644 index 5c73486bf1a9..000000000000 --- a/net-libs/libnfsidmap/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libnfsidmap-0.27.tar.bz2 303900 BLAKE2B c6cb8d81042426552fd3cde9dfd26f805d3c92281a65c3ca2d12671477eb697f3cd51a6d8313a658eb70232136e5615e0cb9ad090a92e747e245f49e60cfcf8a SHA512 0698079abb4bb9ebeaccbcabca725b022c1daaa3d287944d9c4c2a2134489b649b44fcbcd9916e91dd6d91cdc67d267adf5741c5404150c66cc8243b9f15970d diff --git a/net-libs/libnfsidmap/files/libnfsidmap-0.21-headers.patch b/net-libs/libnfsidmap/files/libnfsidmap-0.21-headers.patch deleted file mode 100644 index 6ef12d44e44f..000000000000 --- a/net-libs/libnfsidmap/files/libnfsidmap-0.21-headers.patch +++ /dev/null @@ -1,22 +0,0 @@ -for toupper and such - ---- a/nss.c -+++ b/nss.c -@@ -34,6 +34,7 @@ - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -+#include <ctype.h> - #include <sys/types.h> - #include <errno.h> - #include <unistd.h> ---- a/libnfsidmap.c -+++ b/libnfsidmap.c -@@ -37,6 +37,7 @@ - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -+#include <ctype.h> - #include <sys/types.h> - #include <errno.h> - #include <unistd.h> diff --git a/net-libs/libnfsidmap/files/libnfsidmap-0.27-getgrouplist.patch b/net-libs/libnfsidmap/files/libnfsidmap-0.27-getgrouplist.patch deleted file mode 100644 index 9a8f0a487ae3..000000000000 --- a/net-libs/libnfsidmap/files/libnfsidmap-0.27-getgrouplist.patch +++ /dev/null @@ -1,115 +0,0 @@ -http://bugs.gentoo.org/169909 - ---- libnfsidmap-0.27/configure.ac -+++ libnfsidmap-0.27/configure.ac -@@ -63,7 +63,7 @@ - - # Checks for library functions. - AC_FUNC_MALLOC --AC_CHECK_FUNCS([strchr strdup]) -+AC_CHECK_FUNCS([strchr strdup getgrouplist]) - - AC_CONFIG_FILES([Makefile]) - AC_CONFIG_FILES([libnfsidmap.pc]) ---- libnfsidmap-0.27/getgrouplist.c -+++ libnfsidmap-0.27/getgrouplist.c -@@ -0,0 +1,88 @@ -+/* -+ * getgrouplist.c -+ * -+ * if system does not provide the non-standard getgrouplist, we will emulate -+ * it via POSIX standard functions -+ * -+ * Copyright (c) 1991, 1993 -+ * The Regents of the University of California. All rights reserved. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: -+ * 1. Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * 2. Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * 4. Neither the name of the University nor the names of its contributors -+ * may be used to endorse or promote products derived from this software -+ * without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -+ * SUCH DAMAGE. -+ */ -+ -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif -+#include <sys/types.h> -+#include <grp.h> -+#include <string.h> -+#include <unistd.h> -+ -+#ifndef HAVE_GETGROUPLIST -+static -+int -+getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt) -+{ -+ const struct group *grp; -+ int i, maxgroups, ngroups, ret; -+ -+ ret = 0; -+ ngroups = 0; -+ maxgroups = *grpcnt; -+ /* -+ * When installing primary group, duplicate it; -+ * the first element of groups is the effective gid -+ * and will be overwritten when a setgid file is executed. -+ */ -+ groups[ngroups++] = agroup; -+ if (maxgroups > 1) -+ groups[ngroups++] = agroup; -+ /* -+ * Scan the group file to find additional groups. -+ */ -+ setgrent(); -+ while ((grp = getgrent()) != NULL) { -+ for (i = 0; i < ngroups; i++) { -+ if (grp->gr_gid == groups[i]) -+ goto skip; -+ } -+ for (i = 0; grp->gr_mem[i]; i++) { -+ if (!strcmp(grp->gr_mem[i], uname)) { -+ if (ngroups >= maxgroups) { -+ ret = -1; -+ break; -+ } -+ groups[ngroups++] = grp->gr_gid; -+ break; -+ } -+ } -+skip: -+ ; -+ } -+ endgrent(); -+ *grpcnt = ngroups; -+ return (ret); -+} -+#endif ---- libnfsidmap-0.27/nss.c -+++ libnfsidmap-0.27/nss.c -@@ -51,6 +51,8 @@ - #include "cfg.h" - #include <syslog.h> - -+#include "getgrouplist.c" -+ - /* - * NSS Translation Methods - * diff --git a/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild b/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild deleted file mode 100644 index e93e96fb27fb..000000000000 --- a/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="NFSv4 ID <-> name mapping library" -HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/" -#SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${P}.tar.gz" -SRC_URI="https://fedorapeople.org/~steved/${PN}/${PV}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="ldap static-libs" - -DEPEND="ldap? ( net-nds/openldap )" -RDEPEND=" - ${DEPEND} - !<net-fs/nfs-utils-1.2.2 - !net-fs/idmapd -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.27-getgrouplist.patch #169909 - "${FILESDIR}"/${PN}-0.21-headers.patch -) - -src_prepare() { - default - # Ideally the build would use -DLIBDIR=$(libdir) at build time. - sed -i \ - -e "/PATH_PLUGINS/s:/usr/lib/libnfsidmap:${EPREFIX}/usr/$(get_libdir)/libnfsidmap:" \ - libnfsidmap.c || die #504666 - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable static-libs static) - $(use_enable ldap) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /etc - doins idmapd.conf - - # remove useless files - rm -f "${ED%/}"/usr/$(get_libdir)/libnfsidmap/*.{a,la} - use static-libs || find "${ED%/}"/usr -name '*.la' -delete || die -} diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 492e21041f0b..d62e47a87de7 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -1,2 +1,5 @@ -DIST libnftnl-1.2.0.tar.bz2 388751 BLAKE2B 6f61e7af8e50577029b1cf5ba7260f3803a64c410c7d35be8bbf3b6f9445d9db3be367442f56fb81f3ed49bc3efeab8dd2ed51bab4a1e4427f552d48e4bb559a SHA512 2a068e7eab308442bbfba5325f3aebeb874c142b029ff5906cadf63a1f879b20930bc55cd9554c5d256a0642f0f5a6d36177d9ae88cf507ab5dfc7fabffbb380 DIST libnftnl-1.2.1.tar.bz2 395299 BLAKE2B 9f525eb540ed959075199aab4b4217bdcf0f67d6744e58d7eab9f7a50aca2d22c6d65419b15c98d24772ef020c3ed2662eba7a0812a5919a840cee5aa589b056 SHA512 cabe6896210c451d7917d1abde5e73a65594d53f011486f75dd7be5b4804c49d10f0e508675e091e1faf0363b82670b3f3a167a85db91d52742dc69445888b6a +DIST libnftnl-1.2.1.tar.bz2.sig 566 BLAKE2B dd37a52dc185ef2e8af8f0fe32037a03bf8f50101d566be1d40217ea092ec1a9af08281b22193bb274a1ad462c081980ccc8da35c76d910cf0d613ecb0235449 SHA512 dc589d7fcd7d4b0e5e7d50b02967f265ef11b2de69018c8eb264251eb5fab4b4fabb147b8b934f29cdbf66e7bee3f030ef9f02b5872bd76c4cf3523f7e38b94b +DIST libnftnl-1.2.2-clang-fortify-source.patch.xz 2704 BLAKE2B 107c90a2875e7477a5e8b7af8ff4c2139d2117e41a4ca9a7656b5f15c430668572c18a43e9b14a5af36c60818289e00bc082cad5d601b4c489335ca7161e5871 SHA512 c024607cb138748adcd28a511b858bbf51f2f09e13afa48d3090ba5ecd7bff1c1e87fcf38330eb24ae52c79d1a8bfce91f75be5dc81cfec6f0bc5334dd2f7456 +DIST libnftnl-1.2.2.tar.bz2 394955 BLAKE2B 69c3338e295dd158faad812ec05db8b8ab12c5626d0f33db14ee830a14d73dc5c3cd764a563cbb4fdeaa2657c99487a99fb0cc4f324a2832d5de21d922acd451 SHA512 657d48aa263043b80daa39eb8e2647c84c03b3e3a4a30b85bec1d8e4a0976075a71ad233bb384f4460d5f6662f285c12947feb8c1a6c9a534a2c9cf7ba04eee3 +DIST libnftnl-1.2.2.tar.bz2.sig 566 BLAKE2B ffdb35811e57f55ba30dfdd3e6656166b5f515348f99ee11c771b7460fd1b26b1e598146afdf76f4765e865ae76472d7071eabb30604cf78964e2fcbd6a39508 SHA512 dc4263e744a79f2b7e4ea619e740d66d6013e62aab655f040150552a6f069794ac59b8cc87a9f630dd42f087ef60523ecf08dc89cd1194637d988f85f67aaf43 diff --git a/net-libs/libnftnl/files/libnftnl-1.2.1-missing-export-set_elem.patch b/net-libs/libnftnl/files/libnftnl-1.2.1-missing-export-set_elem.patch new file mode 100644 index 000000000000..0ff574ddc48a --- /dev/null +++ b/net-libs/libnftnl/files/libnftnl-1.2.1-missing-export-set_elem.patch @@ -0,0 +1,21 @@ +https://git.netfilter.org/libnftnl/commit/?id=accee9a75e0e6678863d092d6a4f4afbadf0eed9 + +From: Pablo Neira Ayuso <pablo@netfilter.org> +Date: Wed, 18 May 2022 23:54:03 +0200 +Subject: set_elem: missing export symbol + +nftnl_set_elem_nlmsg_build_payload() is already available through .map +file and headers, add missing EXPORT_SYMBOL. + +Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> +--- a/src/set_elem.c ++++ b/src/set_elem.c +@@ -300,6 +300,7 @@ err: + return NULL; + } + ++EXPORT_SYMBOL(nftnl_set_elem_nlmsg_build_payload); + void nftnl_set_elem_nlmsg_build_payload(struct nlmsghdr *nlh, + struct nftnl_set_elem *e) + { +cgit v1.2.3 diff --git a/net-libs/libnftnl/libnftnl-1.2.1.ebuild b/net-libs/libnftnl/libnftnl-1.2.1.ebuild index 75e1ab39a6c8..27da09b2ed02 100644 --- a/net-libs/libnftnl/libnftnl-1.2.1.ebuild +++ b/net-libs/libnftnl/libnftnl-1.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools linux-info usr-ldscript +inherit autotools linux-info usr-ldscript verify-sig DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" HOMEPAGE="https://netfilter.org/projects/nftables/" @@ -12,8 +12,11 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then inherit git-r3 EGIT_REPO_URI="https://git.netfilter.org/${PN}" else - SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc + BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )" fi LICENSE="GPL-2" @@ -23,7 +26,8 @@ IUSE="examples static-libs test" RESTRICT="!test? ( test )" RDEPEND=">=net-libs/libmnl-1.0.4:=" -BDEPEND="virtual/pkgconfig" +BDEPEND+=" + virtual/pkgconfig" DEPEND="${RDEPEND}" pkg_setup() { diff --git a/net-libs/libnftnl/libnftnl-1.2.0-r1.ebuild b/net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild index 412e1e9f3a44..1515dc6be1b4 100644 --- a/net-libs/libnftnl/libnftnl-1.2.0-r1.ebuild +++ b/net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild @@ -1,31 +1,45 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools linux-info usr-ldscript +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc +inherit linux-info usr-ldscript verify-sig DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" HOMEPAGE="https://netfilter.org/projects/nftables/" if [[ ${PV} =~ ^[9]{4,}$ ]]; then - inherit git-r3 + inherit autotools git-r3 EGIT_REPO_URI="https://git.netfilter.org/${PN}" else - SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" + SRC_URI=" + https://netfilter.org/projects/${PN}/files/${P}.tar.bz2 + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-clang-fortify-source.patch.xz + verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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" +RDEPEND=" + >=net-libs/libmnl-1.0.4:= +" +BDEPEND+=" + virtual/pkgconfig +" DEPEND="${RDEPEND}" +PATCHES=( + "${WORKDIR}"/${P}-clang-fortify-source.patch +) + pkg_setup() { if kernel_is ge 3 13; then CONFIG_CHECK="~NF_TABLES" @@ -35,8 +49,18 @@ pkg_setup() { fi } +src_unpack() { + # Drop this phase definition once fortify source patch is in next release + if use verify-sig ; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.sig} + fi + + default +} + src_prepare() { default + [[ ${PV} =~ ^[9]{4,}$ ]] && eautoreconf } @@ -44,12 +68,15 @@ src_configure() { local myeconfargs=( $(use_enable static-libs static) ) + econf "${myeconfargs[@]}" } src_install() { default + gen_usr_ldscript -a nftnl + find "${ED}" -type f -name '*.la' -delete || die if use examples; then diff --git a/net-libs/libnftnl/libnftnl-9999.ebuild b/net-libs/libnftnl/libnftnl-9999.ebuild index 75e1ab39a6c8..49e48df43765 100644 --- a/net-libs/libnftnl/libnftnl-9999.ebuild +++ b/net-libs/libnftnl/libnftnl-9999.ebuild @@ -1,31 +1,38 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools linux-info usr-ldscript +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc +inherit linux-info usr-ldscript verify-sig DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" HOMEPAGE="https://netfilter.org/projects/nftables/" if [[ ${PV} =~ ^[9]{4,}$ ]]; then - inherit git-r3 + inherit autotools git-r3 EGIT_REPO_URI="https://git.netfilter.org/${PN}" else - SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2 + verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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" +BDEPEND+=" virtual/pkgconfig" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-missing-export-set_elem.patch +) + pkg_setup() { if kernel_is ge 3 13; then CONFIG_CHECK="~NF_TABLES" @@ -37,6 +44,7 @@ pkg_setup() { src_prepare() { default + [[ ${PV} =~ ^[9]{4,}$ ]] && eautoreconf } @@ -44,12 +52,15 @@ src_configure() { local myeconfargs=( $(use_enable static-libs static) ) + econf "${myeconfargs[@]}" } src_install() { default + gen_usr_ldscript -a nftnl + find "${ED}" -type f -name '*.la' -delete || die if use examples; then diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest index dc6cbc3cb4de..7324eb4d3f18 100644 --- a/net-libs/libnice/Manifest +++ b/net-libs/libnice/Manifest @@ -1 +1,2 @@ -DIST libnice-0.1.15.tar.gz 1064100 BLAKE2B 81f06ba599b01084586a8d904b9ae513d6bc3531ec42674648fda320eea6cd9348acf423571922bab4e338bf135f85b292046352ed6f5e4fefba736d787b1ff1 SHA512 60a8bcca06c0ab300dfabbf13e45aeac2085d553c420c5cc4d2fdeb46b449b2b9c9aee8015b0662c16bd1cecf5a49824b7e24951a8a0b66a87074cb00a619c0c +DIST libnice-0.1.18.tar.gz 439791 BLAKE2B 6bb68bb1484b4a622a580bc9c66b8be260d2615b211cf7991cb50a9f692df525cd0c3c9fc54ef86534426f396f8d2201966cdacfd3f69ff27193971f95886540 SHA512 08bac05874708f7e7a669d28727d8951a10c464b22dd6fada1a4644850bcf5c4cc022cce46bb24c806086a7869b274c4c7d3d6ddaa9ed0ce0bc2c47f72933227 +DIST libnice-0.1.19.tar.gz 453407 BLAKE2B 7bffde82a3e55d9aeeaadd159d944346a5192871e7f574e278dc43e8171e5fde472cd28186777a0b6cddd8bde34e035794b1c6b8f152c7fb4fae5202025bfdac SHA512 1c63cc0b7655186fd6f83da4dd607183d6ccfab9b7ad7189c1bea2ba7413183f24076aba5d6c7231d2ab3fbd471827256729a8a0c0d1bda48803586e68b3778b diff --git a/net-libs/libnice/libnice-0.1.15.ebuild b/net-libs/libnice/libnice-0.1.18.ebuild index c56824219a0d..7dcd67787313 100644 --- a/net-libs/libnice/libnice-0.1.15.ebuild +++ b/net-libs/libnice/libnice-0.1.18.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit multilib-minimal xdg +EAPI=7 +inherit meson-multilib xdg DESCRIPTION="An implementation of the Interactice Connectivity Establishment standard (ICE)" HOMEPAGE="https://nice.freedesktop.org/wiki/" @@ -14,42 +14,35 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-l IUSE="+gnutls +introspection +upnp" RDEPEND=" - >=dev-libs/glib-2.48:2[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}] introspection? ( >=dev-libs/gobject-introspection-1.30.0:= ) gnutls? ( >=net-libs/gnutls-2.12.0:0=[${MULTILIB_USEDEP}] ) !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) upnp? ( >=net-libs/gupnp-igd-0.2.4:=[${MULTILIB_USEDEP}] ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/glib-utils - >=dev-util/gtk-doc-am-1.10 virtual/pkgconfig " multilib_src_configure() { # gstreamer plugin split off into media-plugins/gst-plugins-libnice - ECONF_SOURCE=${S} \ - econf \ - --enable-compile-warnings=yes \ - --disable-static \ - --disable-static-plugins \ - --without-gstreamer \ - --without-gstreamer-0.10 \ - --with-crypto-library=$(usex gnutls gnutls openssl) \ - $(multilib_native_use_enable introspection) \ - $(use_enable upnp gupnp) - - if multilib_is_native_abi; then - ln -s {"${S}"/,}docs/reference/libnice/html || die - fi + local emesonargs=( + -Dgstreamer=disabled + -Dcrypto-library=$(usex gnutls gnutls openssl) + $(meson_native_use_feature introspection) + $(meson_feature upnp gupnp) + ) + + meson_src_configure + + #if multilib_is_native_abi; then + # ln -s {"${S}"/,}docs/reference/libnice/html || die + #fi } multilib_src_install_all() { einstalldocs - find "${ED}" -name '*.la' -delete || die -} - -multilib_src_test() { - emake -j1 check } diff --git a/net-libs/libnice/libnice-0.1.19.ebuild b/net-libs/libnice/libnice-0.1.19.ebuild new file mode 100644 index 000000000000..5efd575ca86d --- /dev/null +++ b/net-libs/libnice/libnice-0.1.19.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit meson-multilib xdg + +DESCRIPTION="An implementation of the Interactice Connectivity Establishment standard (ICE)" +HOMEPAGE="https://nice.freedesktop.org/wiki/" +SRC_URI="https://nice.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+gnutls gtk-doc +introspection +upnp" + +RDEPEND=" + >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.30.0:= ) + gnutls? ( >=net-libs/gnutls-2.12.0:0=[${MULTILIB_USEDEP}] ) + !gnutls? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + upnp? ( >=net-libs/gupnp-igd-0.2.4:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.1.2 ) +" + +multilib_src_configure() { + # gstreamer plugin split off into media-plugins/gst-plugins-libnice + local emesonargs=( + -Dgstreamer=disabled + -Dcrypto-library=$(usex gnutls gnutls openssl) + $(meson_native_use_feature introspection) + $(meson_feature upnp gupnp) + $(meson_native_use_feature gtk-doc gtk_doc) + ) + + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs +} diff --git a/net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch b/net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch new file mode 100644 index 000000000000..b07c640a37d1 --- /dev/null +++ b/net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/851666 +--- a/report/report-text.cpp ++++ b/report/report-text.cpp +@@ -34,6 +34,7 @@ + #include "../device/general/general.h" + #include "report.h" + ++#include <ctime> + + int Report::writeText(const char *theText, Device::paragraphStruct *paragraph, bool expandAbbreviations, bool hideMarkup) + { diff --git a/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch b/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch new file mode 100644 index 000000000000..d2bf917a9c59 --- /dev/null +++ b/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch @@ -0,0 +1,11 @@ +--- a/report/report-table.cpp ++++ b/report/report-table.cpp +@@ -359,7 +359,7 @@ int Report::writeTable(Device::paragraphStruct *paragraph) + else if (config->reportFormat == Config::XML) + fprintf(outFile, ">"); + if (cellPointer->cellData.empty()) +- fprintf(outFile, config->emptyTableCell); ++ fprintf(outFile, "%s", config->emptyTableCell); + else + errorCode = writeText(cellPointer->cellData.c_str(), paragraph); + if (errorCode != 0) diff --git a/net-libs/libnipper/libnipper-0.12.6-r2.ebuild b/net-libs/libnipper/libnipper-0.12.6-r2.ebuild new file mode 100644 index 000000000000..2fe749ff81af --- /dev/null +++ b/net-libs/libnipper/libnipper-0.12.6-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A router configuration security analysis library" +HOMEPAGE="http://nipper.titania.co.uk/" +SRC_URI="mirror://sourceforge/nipper/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${P}-glibc-2.10.patch" + "${FILESDIR}/${P}-gcc47.patch" + "${FILESDIR}/${P}-multilib-strict.patch" + "${FILESDIR}/${P}-gcc12-time.patch" + "${FILESDIR}/${P}-wformat-security.patch" +) diff --git a/net-libs/libnma/Manifest b/net-libs/libnma/Manifest index b5e3be367778..e80be6ac4526 100644 --- a/net-libs/libnma/Manifest +++ b/net-libs/libnma/Manifest @@ -1,2 +1,2 @@ -DIST libnma-1.8.32.tar.xz 1368492 BLAKE2B e91317259f79140803d5b99b23bafddebcb46a72b80c1fec912341aee377920ada3688864ede2aa3d492ef994de9b8f02e391fef98e0bbb61f296541338ad0cd SHA512 65244a8901322bc17d48c9cb809080790d5af0195b79becf0317da77b6c6a0fde3f8d3b752f5d7e59a5dba0970f4499077c5d9d6776912a72748290b8ac98e11 -DIST libnma-1.8.34.tar.xz 1342040 BLAKE2B e81004cf97832bdd010869fd7a801ceda42b96a70a0bd0aa50f821f7e3c361716f8075ec8ae82a224b6f617ee9b3f177239a53dd9eb982dd49da409d97671fd9 SHA512 aca1e24a852072e65d1fba910613981373bb7bb7869b2e44abc9e41c527d234273f034215d62889a265aa3327ad2cce0cea7368b025df97dab12bff098310aaf +DIST libnma-1.8.38.tar.xz 1347004 BLAKE2B 108fc7d0a01ca72c84a738f831d442d82990f7b82301de3a47d8331af1e080a33c10806fb75830463fbfb8a4a1f556cdf5272ee52dbc4616ea3dbca1959cd128 SHA512 0421c598ccb6e3659f182b596eec76ffd695e51c11fd11b8325c2d08cb259536d7e74c11bbaac3ccb841016a0bc69a87f1c682b934a9eb569a74116e677eba63 +DIST libnma-1.8.40.tar.xz 1350560 BLAKE2B 9c5124a1dcaa801c7d0135ef64dedccd098988fdd199938e2409e80bee86df71bf368cada113dceae4046a5c2c5fe954aa9fc0c19519721a4e8ec7b8f7ea8d44 SHA512 28f4704f97941308f43b27a309fd14050e8ac7e0c6665cada3cc08a759e140f043a80b21ccfe02ce348f8490cad8107b4fe27026dbaafed46ec1c7c46824e3b8 diff --git a/net-libs/libnma/libnma-1.8.34.ebuild b/net-libs/libnma/libnma-1.8.38.ebuild index 0942796ba7f6..0809254e3bec 100644 --- a/net-libs/libnma/libnma-1.8.34.ebuild +++ b/net-libs/libnma/libnma-1.8.38.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit gnome.org gnome2-utils meson xdg vala @@ -13,9 +13,10 @@ SLOT="0" # pkcs11 default enabled as it's a small dep often already present by libnma users, and it was default enabled as IUSE=+gcr in nm-applet before IUSE="gtk-doc +introspection +pkcs11 vala" REQUIRED_USE="vala? ( introspection )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" DEPEND=" + >=gui-libs/gtk-4.0:4 app-text/iso-codes net-misc/mobile-broadband-provider-info >=dev-libs/glib-2.38:2 @@ -38,15 +39,17 @@ BDEPEND=" " src_prepare() { - use vala && vala_src_prepare - xdg_src_prepare + default + use vala && vala_setup + xdg_environment_reset } src_configure() { local emesonargs=( - -Dlibnma_gtk4=false + -Dlibnma_gtk4=true $(meson_use pkcs11 gcr) -Dmore_asserts=0 + -Dgcr_gtk4=false -Diso_codes=true -Dmobile_broadband_provider_info=true -Dld_gc=false diff --git a/net-libs/libnma/libnma-1.8.32.ebuild b/net-libs/libnma/libnma-1.8.40.ebuild index 833172369816..a279be7deb4d 100644 --- a/net-libs/libnma/libnma-1.8.32.ebuild +++ b/net-libs/libnma/libnma-1.8.40.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit gnome.org gnome2-utils meson xdg vala @@ -13,13 +13,14 @@ SLOT="0" # pkcs11 default enabled as it's a small dep often already present by libnma users, and it was default enabled as IUSE=+gcr in nm-applet before IUSE="gtk-doc +introspection +pkcs11 vala" REQUIRED_USE="vala? ( introspection )" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" DEPEND=" + >=gui-libs/gtk-4.0:4 app-text/iso-codes net-misc/mobile-broadband-provider-info >=dev-libs/glib-2.38:2 - >=x11-libs/gtk+-3.10:3[introspection?] + >=x11-libs/gtk+-3.12:3[introspection?] >=net-misc/networkmanager-1.7[introspection?] pkcs11? ( >=app-crypt/gcr-3.14:= ) introspection? ( >=dev-libs/gobject-introspection-1.56:= ) @@ -38,15 +39,17 @@ BDEPEND=" " src_prepare() { - use vala && vala_src_prepare - xdg_src_prepare + default + use vala && vala_setup + xdg_environment_reset } src_configure() { local emesonargs=( - -Dlibnma_gtk4=false + -Dlibnma_gtk4=true $(meson_use pkcs11 gcr) -Dmore_asserts=0 + -Dgcr_gtk4=false -Diso_codes=true -Dmobile_broadband_provider_info=true -Dld_gc=false diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest index c5effee74846..523f640fe72f 100644 --- a/net-libs/libnpupnp/Manifest +++ b/net-libs/libnpupnp/Manifest @@ -1 +1 @@ -DIST libnpupnp-4.1.5.tar.gz 545672 BLAKE2B 75f3236cd18324ffa35215f152ef2b84d81b4bc81b9c73488e7274ecb5d76918f0ef328edcf089d81202e92f4fa3922bfe46d6eb3e9a1bbd065858bf6e5cff60 SHA512 a7b2f620c846f2127220a062eab76f2c06b3eee4503d9f4922d7d6342feea19381be1486bf1cb033c44275f83ab90be3f8f2c09f0ec6f0af7367c314023c889e +DIST libnpupnp-4.2.2.tar.gz 544198 BLAKE2B 450b3bf3f3ef2027bf50ad339c74b20dc4f075aac5c1b2419954bd558f114ca1dd973f5c14962b046cd6e57a0256586070aab7639b7da080452406d8a0fd24bc SHA512 22262e3dcb42f8c5ceb3df6296682ba993c4f86a810aaa63c7a6b5ec277c525d3d666a58840fb40833096e4f69916d309ca549bf67a137f200a236b1f71ec1f8 diff --git a/net-libs/libnpupnp/libnpupnp-4.1.5.ebuild b/net-libs/libnpupnp/libnpupnp-4.2.2.ebuild index 12dfef202a9e..19af384d8482 100644 --- a/net-libs/libnpupnp/libnpupnp-4.1.5.ebuild +++ b/net-libs/libnpupnp/libnpupnp-4.2.2.ebuild @@ -1,11 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 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" @@ -15,10 +18,12 @@ RDEPEND=" net-libs/libmicrohttpd net-misc/curl " +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_prepare() { default - ./autogen.sh || die + eautoreconf } src_configure() { @@ -35,3 +40,9 @@ src_configure() { --enable-tools \ --enable-webserver } + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/libnsl/libnsl-2.0.0-r1.ebuild b/net-libs/libnsl/libnsl-2.0.0-r1.ebuild index 99b3fb7a8a12..8e1a8de95539 100644 --- a/net-libs/libnsl/libnsl-2.0.0-r1.ebuild +++ b/net-libs/libnsl/libnsl-2.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/thkukuk/${PN}/releases/download/v${PV}/${P}.tar.xz" # changes. SLOT="0/3" LICENSE="LGPL-2.1+" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="static-libs" DEPEND=">=net-libs/libtirpc-1.2.0:=[${MULTILIB_USEDEP}]" diff --git a/net-libs/libntlm/libntlm-1.6.ebuild b/net-libs/libntlm/libntlm-1.6.ebuild index 9bb9c39d844f..97b84d0fde39 100644 --- a/net-libs/libntlm/libntlm-1.6.ebuild +++ b/net-libs/libntlm/libntlm-1.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="https://www.nongnu.org/${PN}/releases/${P}.tar.gz" SLOT="0" LICENSE="LGPL-2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux" IUSE="static-libs" src_configure() { diff --git a/net-libs/libomemo/Manifest b/net-libs/libomemo/Manifest index 910b73b72493..5ca884943e14 100644 --- a/net-libs/libomemo/Manifest +++ b/net-libs/libomemo/Manifest @@ -1 +1,3 @@ DIST libomemo-0.7.1.tar.gz 23770 BLAKE2B a3909650e399075f62026bd048a667a276a6cd7197ac18ddf9e3c12f57e5fd9cb2f5532ba69d0836af87e1415a5ffdc1746cf90a596dcf255265a64e921f039d SHA512 e5769dee4db7be246853e47e29ded9eefad2f62422951ce5dd0c1acee3bb92131c0423f09bc716be0f55fb02c747f07a6d5b2c656bdfeee0ee148252c51a1050 +DIST libomemo-0.8.0.tar.gz 25743 BLAKE2B 9b13aaaa21f16425fcecf963e187c5b686986e6bb01255c78042ea64e48d2c75a06729d1ad6e6b26d62d191e7d99305b7a8f1e07078221c6d14a12f587bf0743 SHA512 ff90de81928754f56bd2c6f3fcc83c13bb87d346e9bbedd6327bec33aab61a79061a709d541082723840205eb631b1a5493a43a5824e9e87e257d370692a606b +DIST libomemo-0.8.1.tar.gz 28648 BLAKE2B b75ad298946dff680705ba0927293ea30cb8bf616a417c6584cef9f84e0894c5581462782a4b1003bf9e530695eea10bba9f37ae94e957a0008a35c862f17f62 SHA512 452c7ff9eb809de37df24bd0857c30c1e1ed1d4638c8338bb101f6d5a31be700f174f4fe65fb8ccd5358a674f8397a0eb54d8e03abfdce57cea60bcd4959f40a diff --git a/net-libs/libomemo/libomemo-0.8.0.ebuild b/net-libs/libomemo/libomemo-0.8.0.ebuild new file mode 100644 index 000000000000..14c96fe495e2 --- /dev/null +++ b/net-libs/libomemo/libomemo-0.8.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Implementation of OMEMO (XEP-0384) in C" +HOMEPAGE="https://github.com/gkdr/libomemo" +SRC_URI="https://github.com/gkdr/libomemo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test" + +RDEPEND=" + dev-db/sqlite + dev-libs/glib + dev-libs/libgcrypt + dev-libs/mxml + " +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( dev-util/cmocka ) + " + +RESTRICT="!test? ( test )" + +DOCS=( CHANGELOG.md README.md ) + +src_compile() { + emake PREFIX=/usr +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + + # Respect libdir other than /usr/lib, e.g. /usr/lib64 + local libdir="$(get_libdir)" + if [[ ${libdir} != lib ]]; then + mv "${D}"/usr/{lib,${libdir}} || die + sed "s|^libdir=.*|libdir=\${prefix}/${libdir}|" \ + -i "${D}/usr/${libdir}/pkgconfig/libomemo.pc" || die + fi + + einstalldocs + + if ! use static-libs ; then + rm "${D}/usr/${libdir}/libomemo.a" || die + fi +} diff --git a/net-libs/libomemo/libomemo-0.8.1.ebuild b/net-libs/libomemo/libomemo-0.8.1.ebuild new file mode 100644 index 000000000000..5871eea1c6cb --- /dev/null +++ b/net-libs/libomemo/libomemo-0.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Implementation of OMEMO (XEP-0384) in C" +HOMEPAGE="https://github.com/gkdr/libomemo" +SRC_URI="https://github.com/gkdr/libomemo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-db/sqlite + dev-libs/glib + dev-libs/libgcrypt + dev-libs/mxml + " +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( dev-util/cmocka ) + " + +RESTRICT="!test? ( test )" + +DOCS=( CHANGELOG.md README.md ) + +src_configure() { + local mycmakeargs=( + -DOMEMO_WITH_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/net-libs/liboping/liboping-1.10.0-r2.ebuild b/net-libs/liboping/liboping-1.10.0-r3.ebuild index dfa32d0b9ef4..80266390c95f 100644 --- a/net-libs/liboping/liboping-1.10.0-r2.ebuild +++ b/net-libs/liboping/liboping-1.10.0-r3.ebuild @@ -1,63 +1,68 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 inherit autotools fcaps perl-module DESCRIPTION="Protocol independent ANSI-C ping library and command line utility" -HOMEPAGE="https://noping.cc/" +HOMEPAGE=" + https://noping.cc/ + https://github.com/octo/liboping +" SRC_URI="https://noping.cc/files/${P}.tar.bz2" -LICENSE="LGPL-2.1 GPL-2" +LICENSE="GPL-2 LGPL-2.1" SLOT="0/0.3" -KEYWORDS="~alpha amd64 arm x86" +KEYWORDS="~alpha amd64 arm ~arm64 x86" IUSE="+filecaps ncurses perl" DEPEND="ncurses? ( sys-libs/ncurses:0= )" -RDEPEND=${DEPEND} +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}"/${PN}-1.10.0-no-werror.patch + "${FILESDIR}/${PN}-1.10.0-no-werror.patch" "${FILESDIR}/${PN}-1.6.2-nouidmagic.patch" - "${FILESDIR}"/${P}-gcc8-fix.patch - "${FILESDIR}"/${P}-do-not-quit-when-ping_send-fail.patch - "${FILESDIR}"/${P}-report-right-error-msg-when-select-fails.patch + "${FILESDIR}/${PN}-1.10.0-gcc8-fix.patch" + "${FILESDIR}/${PN}-1.10.0-do-not-quit-when-ping_send-fail.patch" + "${FILESDIR}/${PN}-1.10.0-report-right-error-msg-when-select-fails.patch" ) src_prepare() { default - eautoreconf } src_configure() { - econf \ - $(use_with perl perl-bindings INSTALLDIRS=vendor) \ + myeconfargs=( $(use_with ncurses) + $(use_with perl perl-bindings INSTALLDIRS=vendor) + ) + + econf "${myeconfargs[@]}" } src_test() { if use perl; then - pushd bindings/perl >/dev/null || die + pushd bindings/perl || die perl-module_src_test - popd >/dev/null || die + popd || die fi } src_install() { default - - find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + find "${ED}" -type f -name '*.la' -delete || die } pkg_postinst() { if use filecaps; then local _caps_str="CAP_NET_RAW" - _files=( "${EROOT%/}/usr/bin/oping") + _files=( "${EROOT}/usr/bin/oping") if use ncurses; then - _files+=( "${EROOT%/}/usr/bin/noping") + _files+=( "${EROOT}/usr/bin/noping") fi fcaps "${_caps_str}" "${_files[@]}" diff --git a/net-libs/liboping/metadata.xml b/net-libs/liboping/metadata.xml index 2a895499c86d..2b599b99ab89 100644 --- a/net-libs/liboping/metadata.xml +++ b/net-libs/liboping/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>whissi@gentoo.org</email> - <name>Thomas Deutschmann</name> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> </maintainer> <slots> <subslots>Reflect major ABI version (=upstream's LIBOPING_CURRENT value) of liboping.so.</subslots> 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 78a00cfa66f7..fce5afb5010c 100644 --- a/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild +++ b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]]; then EGIT_REPO_URI="git://git.osmocom.org/${PN}" else SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="~amd64 ~arm ~riscv ~x86" fi LICENSE="GPL-2" diff --git a/net-libs/libosmocore/Manifest b/net-libs/libosmocore/Manifest deleted file mode 100644 index 4f227d410617..000000000000 --- a/net-libs/libosmocore/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libosmocore-0.10.2.tar.bz2 646555 BLAKE2B 62dbabdbb8a397662b618863aade394ef4638dd266e059ef4c6fa54364aba60db29cce1fc6c2692af095f32b3ce186ee5b788598595fe2128f0d04caad9d83d2 SHA512 a42db3467faec9c814efe40ae8cf4a41e610b97cac04c1da30c211f116e1f7907117aaab89aca8af3dcd8aedc2be73c9e1c194b9062d33856de02feddf4bda22 diff --git a/net-libs/libosmocore/files/libosmocore-0.6.0-automake-1.13.patch b/net-libs/libosmocore/files/libosmocore-0.6.0-automake-1.13.patch deleted file mode 100644 index c61ecac1f336..000000000000 --- a/net-libs/libosmocore/files/libosmocore-0.6.0-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libosmocore-0.6.0/configure.ac -+++ libosmocore-0.6.0/configure.ac -@@ -77,7 +77,7 @@ - CHECK_TM_INCLUDES_TM_GMTOFF - - dnl Generate the output --AC_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - - AC_ARG_ENABLE(talloc, - [AS_HELP_STRING( diff --git a/net-libs/libosmocore/libosmocore-0.10.2.ebuild b/net-libs/libosmocore/libosmocore-0.10.2.ebuild deleted file mode 100644 index 3ac080827d7c..000000000000 --- a/net-libs/libosmocore/libosmocore-0.10.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic - -DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects" -HOMEPAGE="http://bb.osmocom.org/trac/wiki/libosmocore" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" -else - SRC_URI="http://cgit.osmocom.org/cgit/libosmocore/snapshot/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~x86" -fi - -LICENSE="GPL-2 LGPL-3" -SLOT="0" -IUSE="pcsc-lite" - -RDEPEND=" - sys-libs/talloc - pcsc-lite? ( sys-apps/pcsc-lite ) -" - -DEPEND="${RDEPEND} - app-doc/doxygen -" - -PATCHES=( "${FILESDIR}/${PN}-0.6.0-automake-1.13.patch" ) - -src_prepare() { - default_src_prepare - # set correct version in pkgconfig files - sed -i "s/UNKNOWN/${PV}/" git-version-gen || die - - eautoreconf -} - -src_configure() { - append-flags -fcommon - econf \ - $(use_enable pcsc-lite pcsc) -} diff --git a/net-libs/libosmocore/libosmocore-9999.ebuild b/net-libs/libosmocore/libosmocore-9999.ebuild deleted file mode 100644 index 3ac080827d7c..000000000000 --- a/net-libs/libosmocore/libosmocore-9999.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic - -DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects" -HOMEPAGE="http://bb.osmocom.org/trac/wiki/libosmocore" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" -else - SRC_URI="http://cgit.osmocom.org/cgit/libosmocore/snapshot/${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~x86" -fi - -LICENSE="GPL-2 LGPL-3" -SLOT="0" -IUSE="pcsc-lite" - -RDEPEND=" - sys-libs/talloc - pcsc-lite? ( sys-apps/pcsc-lite ) -" - -DEPEND="${RDEPEND} - app-doc/doxygen -" - -PATCHES=( "${FILESDIR}/${PN}-0.6.0-automake-1.13.patch" ) - -src_prepare() { - default_src_prepare - # set correct version in pkgconfig files - sed -i "s/UNKNOWN/${PV}/" git-version-gen || die - - eautoreconf -} - -src_configure() { - append-flags -fcommon - econf \ - $(use_enable pcsc-lite pcsc) -} diff --git a/net-libs/libosmocore/metadata.xml b/net-libs/libosmocore/metadata.xml deleted file mode 100644 index 0329d3de81a5..000000000000 --- a/net-libs/libosmocore/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>radio@gentoo.org</email> - <name>Radio</name> - </maintainer> - <use> - <flag name="pcsc-lite">Enable smartcard support with <pkg>sys-apps/pcsc-lite</pkg></flag> - </use> -</pkgmetadata> diff --git a/net-libs/libotr/files/libotr-4.1.1-fix-build-with-libgcrypt-1.10.patch b/net-libs/libotr/files/libotr-4.1.1-fix-build-with-libgcrypt-1.10.patch new file mode 100644 index 000000000000..1aa60f478b88 --- /dev/null +++ b/net-libs/libotr/files/libotr-4.1.1-fix-build-with-libgcrypt-1.10.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/836572 +--- a/tests/regression/client/client.c ++++ b/tests/regression/client/client.c +@@ -26,6 +26,7 @@ + #include <stdlib.h> + #include <syscall.h> + #include <sys/epoll.h> ++#include <sys/socket.h> + #include <sys/types.h> + #include <sys/un.h> + #include <unistd.h> diff --git a/net-libs/libotr/libotr-4.1.1.ebuild b/net-libs/libotr/libotr-4.1.1.ebuild index c4976292c2ca..bc5fc8199758 100644 --- a/net-libs/libotr/libotr-4.1.1.ebuild +++ b/net-libs/libotr/libotr-4.1.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="(OTR) Messaging allows you to have private conversations over instant messaging" HOMEPAGE="https://otr.cypherpunks.ca" @@ -9,22 +9,21 @@ SRC_URI="https://otr.cypherpunks.ca/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND=" dev-libs/libgcrypt:0= dev-libs/libgpg-error:0=" DEPEND="${RDEPEND}" -src_configure() { - econf --disable-static -} +PATCHES=( + "${FILESDIR}/${PN}-4.1.1-fix-build-with-libgcrypt-1.10.patch" +) src_install() { default dodoc UPGRADING # no static archives, #465686 - find "${D}" -name '*.la' -delete || die + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libpcap/libpcap-1.10.1-r1.ebuild b/net-libs/libpcap/libpcap-1.10.1-r1.ebuild index a810d8d5d9f9..bf74c32ad09b 100644 --- a/net-libs/libpcap/libpcap-1.10.1-r1.ebuild +++ b/net-libs/libpcap/libpcap-1.10.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,7 +20,7 @@ else SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz -> ${P}-upstream.tar.gz" SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig -> ${P}-upstream.tar.gz.sig )" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" fi LICENSE="BSD" diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild index 531bf51fe6d5..b0ff8fb28a16 100644 --- a/net-libs/libpcap/libpcap-9999.ebuild +++ b/net-libs/libpcap/libpcap-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ else SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz" SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig )" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" fi LICENSE="BSD" diff --git a/net-libs/libproxy/Manifest b/net-libs/libproxy/Manifest index 58615016c9cb..6d388cb8b367 100644 --- a/net-libs/libproxy/Manifest +++ b/net-libs/libproxy/Manifest @@ -1 +1,2 @@ DIST libproxy-0.4.17.tar.gz 95542 BLAKE2B 70b78c90aebb0ea308d105ec6d2c61bb54dea36df2d99db835f29c6ffa91168c15e73e01823b799a37fa89a9cb6fca51013ea057006b608fa2a79f4056a5d3c5 SHA512 589045538a78dc7453335ed61c60adad3352b840b224885d4a58ae284e52224ae3ff2eebd77df57aebbc3ae75d7b6d69a825f24f01c19e75bf0a3345dce53126 +DIST libproxy-0.4.18.tar.gz 98037 BLAKE2B 12505cc7afe9ca27bb387df31d7368ed3ac83696255e6bd8fdbca1528fb6fe83510cdf7c6bda09939dcb55daefba24cf9c52435f664c6cba01daad87ddff3f2a SHA512 1148d688a9f070273a1a2b110a788561789799089660292bbba59fbf0a9caf7d28cb039a9ccdcb935f752e1e34739b2d2f4c784b1bb3bbaa03d108e7b38a4754 diff --git a/net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch b/net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch new file mode 100644 index 000000000000..cf31c77ae53f --- /dev/null +++ b/net-libs/libproxy/files/libproxy-0.4.17-mozjs.patch @@ -0,0 +1,15 @@ +Enable mozjs detection. +Backported from https://github.com/libproxy/libproxy/commit/66b30ef388a45f66f9b118d51cc76b53fdb8bbf4 +Bug: https://bugs.gentoo.org/811858 + +--- a/libproxy/cmake/modules.cmk ++++ b/libproxy/cmake/modules.cmk +@@ -44,7 +44,7 @@ if(NM_FOUND) + set(NM_BUILD 1) + endif(NM_FOUND) + px_module(network_networkmanager "${NM_BUILD}" 0 ${NM_LIBRARIES}) +-px_module(pacrunner_mozjs 0 ${BIPR} ${MOZJS_LIBRARIES}) ++px_module(pacrunner_mozjs "${MOZJS_FOUND}" ${BIPR} ${MOZJS_LIBRARIES}) + px_module(pacrunner_natus "${NATUS_FOUND}" ${BIPR} ${NATUS_LIBRARIES}) + px_module(pacrunner_webkit "${WEBKIT_FOUND}" ${BIPR} ${WEBKIT_LIBRARIES}) + px_module(wpad_dns_alias 1 1) diff --git a/net-libs/libproxy/files/libproxy-0.4.18-Fix-building-without-duktape.patch b/net-libs/libproxy/files/libproxy-0.4.18-Fix-building-without-duktape.patch new file mode 100644 index 000000000000..dd834687553a --- /dev/null +++ b/net-libs/libproxy/files/libproxy-0.4.18-Fix-building-without-duktape.patch @@ -0,0 +1,33 @@ +https://github.com/libproxy/libproxy/pull/180 + +From 54a08b73f4a9bc43356dd50fe91942b4270bfe10 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Tue, 21 Jun 2022 00:08:57 -0400 +Subject: [PATCH] Fix building without duktape + +Otherwise configuring fails with + +CMake Error at libproxy/cmake/modules.cmk:26 (math): + math cannot parse the expression: "0+0+0+": syntax error, unexpected end of + file (6). +Call Stack (most recent call first): + libproxy/CMakeLists.txt:14 (include) +--- + libproxy/cmake/modules/pacrunner_duktape.cmk | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libproxy/cmake/modules/pacrunner_duktape.cmk b/libproxy/cmake/modules/pacrunner_duktape.cmk +index e7918a8..a468125 100644 +--- a/libproxy/cmake/modules/pacrunner_duktape.cmk ++++ b/libproxy/cmake/modules/pacrunner_duktape.cmk +@@ -17,5 +17,7 @@ else() + link_directories(${DUKTAPE_LIBRARIES}) + link_libraries(duktape) + endif() ++ else() ++ set(DUKTAPE_FOUND 0) + endif() + endif() +-- +2.35.1 + diff --git a/net-libs/libproxy/files/libproxy-0.4.18-avoid-nm-build-dep.patch b/net-libs/libproxy/files/libproxy-0.4.18-avoid-nm-build-dep.patch new file mode 100644 index 000000000000..d62eac9af879 --- /dev/null +++ b/net-libs/libproxy/files/libproxy-0.4.18-avoid-nm-build-dep.patch @@ -0,0 +1,90 @@ +From f0ae8a0022a18fb26dff0ace0608d1916c68d179 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Mon, 29 Apr 2013 23:02:25 -0400 +Subject: [PATCH] Avoid build-time dependency on NetworkManager + +Needed to prevent a dependency loop: +nm -> libsoup -> glib-networking -> libproxy -> nm + +https://bugs.gentoo.org/467696 + +* asturm@gentoo.org: Rebased on top of 0.4.15 + also revert 423801295921ab1ec0d98565fcbc2635088d45da +* sam@gentoo.org: Rebased on top of 0.4.16 + (same revert included) +* mattst88@gentoo.org: Rebased on top of 0.4.18 + (same revert included) +--- + libproxy/cmake/modules.cmk | 6 ++--- + .../cmake/modules/network_networkmanager.cmk | 5 +--- + libproxy/modules/network_networkmanager.cpp | 23 ++++++++++++++----- + 3 files changed, 21 insertions(+), 13 deletions(-) + +diff --git a/libproxy/cmake/modules.cmk b/libproxy/cmake/modules.cmk +index 6eaaa01..0afce2f 100644 +--- a/libproxy/cmake/modules.cmk ++++ b/libproxy/cmake/modules.cmk +@@ -43,10 +43,10 @@ px_module(config_w32reg "${WIN32}" 1) + px_module(ignore_domain 1 1) + px_module(ignore_hostname 1 1) + px_module(ignore_ip 1 1) +-if(NM_FOUND OR NMold_FOUND) ++if(NM_FOUND) + set(NM_BUILD 1) +-endif(NM_FOUND OR NMold_FOUND) +-px_module(network_networkmanager "${NM_BUILD}" 0 ${NM_LIBRARIES}${NMold_LIBRARIES}) ++endif(NM_FOUND) ++px_module(network_networkmanager "${NM_BUILD}" 0 ${NM_LIBRARIES}) + px_module(pacrunner_mozjs "${MOZJS_FOUND}" ${BIPR} ${MOZJS_LIBRARIES}) + px_module(pacrunner_natus "${NATUS_FOUND}" ${BIPR} ${NATUS_LIBRARIES}) + px_module(pacrunner_webkit "${WEBKIT_FOUND}" ${BIPR} ${WEBKIT_LIBRARIES}) +diff --git a/libproxy/cmake/modules/network_networkmanager.cmk b/libproxy/cmake/modules/network_networkmanager.cmk +index 6ef6ead..2586bbd 100644 +--- a/libproxy/cmake/modules/network_networkmanager.cmk ++++ b/libproxy/cmake/modules/network_networkmanager.cmk +@@ -1,6 +1,3 @@ + if (NOT WIN32 AND NOT APPLE) +- px_check_modules(NM libnm dbus-1) +- if (NOT NM_FOUND) +- px_check_modules(NMold NetworkManager dbus-1) +- endif (NOT NM_FOUND) ++ px_check_modules(NM dbus-1) + endif() +diff --git a/libproxy/modules/network_networkmanager.cpp b/libproxy/modules/network_networkmanager.cpp +index 546a8ee..317f1ab 100644 +--- a/libproxy/modules/network_networkmanager.cpp ++++ b/libproxy/modules/network_networkmanager.cpp +@@ -23,13 +23,24 @@ + using namespace libproxy; + + #include <dbus/dbus.h> +-#include <NetworkManager.h> + +-// Backwards compatibility: with the switch to libnm, NM_STATE_CONNECTED is no +-// longer defined. NM_STATE_CONNECTED_GLOBAL appeared with NM 0.9 and was aliased +-#ifndef NM_STATE_CONNECTED +- #define NM_STATE_CONNECTED NM_STATE_CONNECTED_GLOBAL +-#endif ++/* ++ * copy-pasted from NetworkManager-1.26.0's NetworkManager.h to prevent ++ * a circular dependency; https://bugs.gentoo.org/467696 ++ */ ++#define NM_DBUS_PATH "/org/freedesktop/NetworkManager" ++#define NM_DBUS_INTERFACE "org.freedesktop.NetworkManager" ++typedef enum { ++ NM_STATE_UNKNOWN = 0, ++ NM_STATE_ASLEEP = 10, ++ NM_STATE_DISCONNECTED = 20, ++ NM_STATE_DISCONNECTING = 30, ++ NM_STATE_CONNECTING = 40, ++ NM_STATE_CONNECTED_LOCAL = 50, ++ NM_STATE_CONNECTED_SITE = 60, ++ NM_STATE_CONNECTED_GLOBAL = 70, ++} NMState; ++#define NM_STATE_CONNECTED NM_STATE_CONNECTED_GLOBAL + + class networkmanager_network_extension : public network_extension { + public: +-- +2.35.1 + diff --git a/net-libs/libproxy/libproxy-0.4.17.ebuild b/net-libs/libproxy/libproxy-0.4.17-r1.ebuild index 4777e3c49fcd..5d69bcee8d45 100644 --- a/net-libs/libproxy/libproxy-0.4.17.ebuild +++ b/net-libs/libproxy/libproxy-0.4.17-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/libproxy/libproxy/archive/${PV}.tar.gz -> ${P}.tar.g LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris" IUSE="gnome kde mono networkmanager spidermonkey test webkit" RESTRICT="!test? ( test )" @@ -44,6 +44,9 @@ PATCHES=( # prevent dependency loop with networkmanager, libsoup, glib-networking; bug #467696 # https://github.com/libproxy/libproxy/issues/28 "${FILESDIR}/${PN}-0.4.16-avoid-nm-build-dep.patch" + + # enable mozjs detection, bug #811858 + "${FILESDIR}/${PN}-0.4.17-mozjs.patch" ) multilib_src_configure() { diff --git a/net-libs/libproxy/libproxy-0.4.18.ebuild b/net-libs/libproxy/libproxy-0.4.18.ebuild new file mode 100644 index 000000000000..0e6a926aebd0 --- /dev/null +++ b/net-libs/libproxy/libproxy-0.4.18.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib flag-o-matic mono-env + +DESCRIPTION="Library for automatic proxy configuration management" +HOMEPAGE="https://github.com/libproxy/libproxy" +SRC_URI="https://github.com/libproxy/libproxy/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="duktape gnome kde mono networkmanager spidermonkey test webkit" + +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + duktape? ( dev-lang/duktape ) + gnome? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) + mono? ( dev-lang/mono ) + networkmanager? ( sys-apps/dbus:0[${MULTILIB_USEDEP}] ) + spidermonkey? ( dev-lang/spidermonkey:68 ) + webkit? ( net-libs/webkit-gtk:4 ) +" +RDEPEND="${DEPEND} + kde? ( kde-frameworks/kconfig:5 ) +" +# avoid dependency loop, bug #467696 +PDEPEND="networkmanager? ( net-misc/networkmanager )" + +PATCHES=( + # https://github.com/libproxy/libproxy/issues/27 + "${FILESDIR}/${PN}-0.4.12-macosx.patch" + + # prevent dependency loop with networkmanager, libsoup, glib-networking; bug #467696 + # https://github.com/libproxy/libproxy/issues/28 + "${FILESDIR}/${PN}-0.4.18-avoid-nm-build-dep.patch" + + "${FILESDIR}/${PN}-0.4.18-Fix-building-without-duktape.patch" +) + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_C_FLAGS="${CFLAGS}" + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" + + -DWITH_DOTNET=$(multilib_is_native_abi && usex mono || echo OFF) + $(multilib_is_native_abi && usex mono -DGMCS_EXECUTABLE="${EPREFIX}"/usr/bin/mcs) + -DWITH_GNOME2=OFF + -DWITH_GNOME3=$(usex gnome) + -DWITH_KDE=$(usex kde) + -DWITH_MOZJS=$(multilib_is_native_abi && usex spidermonkey || echo OFF) + -DWITH_NM=$(usex networkmanager) + -DWITH_PERL=OFF # bug 705410, uses reserved target name "test" + -DWITH_PYTHON2=OFF + -DWITH_PYTHON3=OFF # Major issue: https://github.com/libproxy/libproxy/issues/65 + # WITH_VALA just copies the .vapi file over and needs no deps, + # hence always enable it unconditionally + -DWITH_VALA=ON + -DWITH_WEBKIT=$(multilib_is_native_abi && usex webkit || echo OFF) + -DWITH_WEBKIT3=$(multilib_is_native_abi && usex webkit || echo OFF) + -DWITH_DUKTAPE=$(multilib_is_native_abi && usex duktape || echo OFF) + + -DWITH_NATUS=OFF + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +src_configure() { + [[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl + + multilib-minimal_src_configure +} + +multilib_src_install_all() { + doman "${FILESDIR}"/proxy.1 +} diff --git a/net-libs/libproxy/metadata.xml b/net-libs/libproxy/metadata.xml index d443844f9a64..c93e411e331d 100644 --- a/net-libs/libproxy/metadata.xml +++ b/net-libs/libproxy/metadata.xml @@ -5,6 +5,7 @@ <email>freedesktop-bugs@gentoo.org</email> </maintainer> <use> + <flag name="duktape">Use <pkg>dev-lang/duktape</pkg> for PAC parsing</flag> <flag name="gnome">Enable support for reading proxy settings from GNOME</flag> <flag name="kde">Enable support for reading proxy settings from KDE</flag> <flag name="spidermonkey">Use libmozjs from <pkg>dev-lang/spidermonkey</pkg> for PAC parsing</flag> diff --git a/net-libs/libpsl/libpsl-0.21.0.ebuild b/net-libs/libpsl/libpsl-0.21.0.ebuild index d07938849562..9f62b4a5210b 100644 --- a/net-libs/libpsl/libpsl-0.21.0.ebuild +++ b/net-libs/libpsl/libpsl-0.21.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=(python3_{7,8,9}) +PYTHON_COMPAT=( python3_{8..10} ) inherit multilib-minimal python-any-r1 DESCRIPTION="C library for the Public Suffix List" diff --git a/net-libs/libpsl/libpsl-0.21.1.ebuild b/net-libs/libpsl/libpsl-0.21.1.ebuild index 379fbf8773d1..7c98113b4afa 100644 --- a/net-libs/libpsl/libpsl-0.21.1.ebuild +++ b/net-libs/libpsl/libpsl-0.21.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=(python3_{7,8,9}) +PYTHON_COMPAT=( python3_{8..10} ) inherit multilib-minimal python-any-r1 DESCRIPTION="C library for the Public Suffix List" @@ -12,7 +12,7 @@ SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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="icu +idn +man" RDEPEND=" diff --git a/net-libs/libpsl/metadata.xml b/net-libs/libpsl/metadata.xml index 25a0031c8911..1d3589a229a9 100644 --- a/net-libs/libpsl/metadata.xml +++ b/net-libs/libpsl/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>polynomial-c@gentoo.org</email> - <name>Lars Wendler</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="github">rockdaboot/libpsl</remote-id> </upstream> diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest index d8eddc4898ab..711f235e6a0e 100644 --- a/net-libs/libqmi/Manifest +++ b/net-libs/libqmi/Manifest @@ -1 +1,2 @@ -DIST libqmi-1.30.2.tar.xz 1239408 BLAKE2B be762988dcb40cdc29a9024989de0da42d3246c970ee63caba4f3a722b52e478879c177097165e880a48a7151d01f8f30e82d5a769258bd7c9cba9a24b0157a2 SHA512 e34e9cb4b49df6eac555e6493cfc89aaf6f9be3fbfb0b19a5fb6b69c81768fda499a6438b1a4f39b84a350899721c6a04c4195985077ac35da0036794bc59367 +DIST libqmi-1.30.6.tar.xz 1242612 BLAKE2B 318af914b595f0442f7929be53c128dcd111e12913814bb52e683fff814b7aa00a32d40f8eae367db469a7adef6c146fb692d5908951cec4337f21e9a266a400 SHA512 6dc9819bb45063ea827b989e99e8e889db0ce6ebec62586003ea385bd54bd76f3e79d63e3f2b57e19da5f42ed87d7aa11aa024a805ec86a6b203981eb7922a76 +DIST libqmi-1.30.8.tar.xz 1244844 BLAKE2B c8d98106783eb22571ee82c0012e1ce7ed79e94818350134b80853e16fa287c77bafb34d2913690ae593d02112dc5d2b0ff77606a24c4ce63733fd64245961a1 SHA512 60567e82eb35ed7ab3d65f1073e19ca8faa68e909f96e498b8f9d8ce2a987156e0a580f9c212416c4e0740d2ad05cb93f4dfeae9b2d048f0eb53ab6a83f6d024 diff --git a/net-libs/libqmi/libqmi-1.30.2.ebuild b/net-libs/libqmi/libqmi-1.30.6.ebuild index 4a0b1ecaf100..52026ee5e14c 100644 --- a/net-libs/libqmi/libqmi-1.30.2.ebuild +++ b/net-libs/libqmi/libqmi-1.30.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 autotools EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" else - KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv x86" SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" fi diff --git a/net-libs/libqmi/libqmi-1.30.8.ebuild b/net-libs/libqmi/libqmi-1.30.8.ebuild new file mode 100644 index 000000000000..56d9060d775c --- /dev/null +++ b/net-libs/libqmi/libqmi-1.30.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 autotools + EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" + SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" +fi + +DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol library" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi" + +LICENSE="LGPL-2" +SLOT="0/5.8" # soname of libqmi-glib.so +IUSE="gtk-doc +mbim +qrtr" + +RDEPEND=">=dev-libs/glib-2.56 + >=dev-libs/libgudev-232 + mbim? ( >=net-libs/libmbim-1.18.0 ) + qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc )" +[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214 + +src_prepare() { + default + [[ ${PV} == "9999" ]] && eautoreconf +} + +src_configure() { + local myconf=( + --disable-Werror + --disable-static + $(use_enable qrtr) + $(use_enable mbim mbim-qmux) + $(use_enable gtk-doc) + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/libqmi/libqmi-9999.ebuild b/net-libs/libqmi/libqmi-9999.ebuild index 299b20265bf5..56d9060d775c 100644 --- a/net-libs/libqmi/libqmi-9999.ebuild +++ b/net-libs/libqmi/libqmi-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 autotools EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" else - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" fi @@ -16,11 +16,13 @@ HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freed LICENSE="LGPL-2" SLOT="0/5.8" # soname of libqmi-glib.so -IUSE="gtk-doc +mbim" +IUSE="gtk-doc +mbim +qrtr" RDEPEND=">=dev-libs/glib-2.56 >=dev-libs/libgudev-232 - mbim? ( >=net-libs/libmbim-1.18.0 )" + mbim? ( >=net-libs/libmbim-1.18.0 ) + qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= ) +" DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig @@ -36,7 +38,7 @@ src_configure() { local myconf=( --disable-Werror --disable-static - --disable-qrtr # libqrtr-glib not packaged + $(use_enable qrtr) $(use_enable mbim mbim-qmux) $(use_enable gtk-doc) ) diff --git a/net-libs/libqmi/metadata.xml b/net-libs/libqmi/metadata.xml index ada015f36a2b..2ac8814ecd1a 100644 --- a/net-libs/libqmi/metadata.xml +++ b/net-libs/libqmi/metadata.xml @@ -10,5 +10,6 @@ </slots> <use> <flag name="mbim">Support QMI over Mobile Broadband Interface Model (MBIM)</flag> + <flag name="qrtr">Support QMI over IPC Router bus (QRTR)</flag> </use> </pkgmetadata> diff --git a/net-libs/libqrtr-glib/Manifest b/net-libs/libqrtr-glib/Manifest new file mode 100644 index 000000000000..951eeec6a630 --- /dev/null +++ b/net-libs/libqrtr-glib/Manifest @@ -0,0 +1 @@ +DIST libqrtr-glib-1.2.2.tar.bz2 26398 BLAKE2B e52cab3e4ac85c53a51782d7d6b3658060282f2e75e1ce2ff2e0c52dfb3343f5ba43c03f58c25eed73c2bc16254672a828318daae00bd2900ffda9ff23b38d27 SHA512 b21df1685c2474c1124e6f6bf12c552a06a28986284fde876210a3a6db8c19872a5458cae622bb22020ffd278167f52eba38d763ba633e783fa708863832bade diff --git a/net-libs/libqrtr-glib/libqrtr-glib-1.2.2.ebuild b/net-libs/libqrtr-glib/libqrtr-glib-1.2.2.ebuild new file mode 100644 index 000000000000..e361d5ff82be --- /dev/null +++ b/net-libs/libqrtr-glib/libqrtr-glib-1.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/${PN}/-/archive/${PV}/${P}.tar.bz2" +fi + +DESCRIPTION="Qualcomm IPC Router protocol helper library" +HOMEPAGE="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib" + +LICENSE="LGPL-2" +SLOT="0/0" # soname of libqrtr-glib.so +IUSE="gtk-doc" + +RDEPEND=" + >=dev-libs/glib-2.56:2 + dev-libs/gobject-introspection +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) +" + +src_configure() { + local emesonargs=( + -Dintrospection=true + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} diff --git a/net-libs/jreen/metadata.xml b/net-libs/libqrtr-glib/metadata.xml index 50d1e852742e..84eb279f41da 100644 --- a/net-libs/jreen/metadata.xml +++ b/net-libs/libqrtr-glib/metadata.xml @@ -2,10 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> </maintainer> - <upstream> - <remote-id type="github">euroelessar/jreen</remote-id> - </upstream> + <slots> + <subslots>libqrtr-glib.so soname version</subslots> + </slots> </pkgmetadata> diff --git a/net-libs/libquotient/libquotient-0.6.11.ebuild b/net-libs/libquotient/libquotient-0.6.11-r1.ebuild index f18a7ff72943..6e9390a92391 100644 --- a/net-libs/libquotient/libquotient-0.6.11.ebuild +++ b/net-libs/libquotient/libquotient-0.6.11-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,14 +12,14 @@ S="${WORKDIR}/libQuotient-${PV}" LICENSE="LGPL-2+" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="~amd64 ~arm64 ~ppc64" IUSE="" DEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 + dev-qt/qtnetwork:5[ssl] " RDEPEND="${DEPEND}" diff --git a/net-libs/librouteros/Manifest b/net-libs/librouteros/Manifest index 0a034dd5d20f..ad6ab550dc40 100644 --- a/net-libs/librouteros/Manifest +++ b/net-libs/librouteros/Manifest @@ -1 +1,2 @@ DIST librouteros-1.1.2.tar.bz2 234942 BLAKE2B e5fbb28957280798539d81fd908d9198084dbc3f15e403c7d21a3be7b0211bb2e0cc387b3e237c530454396df430dd2781d2c8184609cebd9cde906eac1288fd SHA512 b4974f84f23544276e426b94410107d24565060034423dabb49157ed2cbee8042d4d415f716fae50a757f24c87c0deab51435236a5bc1bcffe5fc888b7047fc3 +DIST librouteros-1.1.3.tar.gz 20319 BLAKE2B d7527508e671c38ba12edd924300d53b10763bf3769378df3f988a4242ab8c4604d71d6afa55e963477a04b18a6e2afdae0123072d0876b793b022857bfacf30 SHA512 ff477efdf206a7c6f062af8b8d5636b16fa9a9c5a73e49fb78df9de38346063af5bf43a2057bc0b910350c1554e9a4915c6ee5b91b3822ee5e664db8754a8126 diff --git a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch b/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch deleted file mode 100644 index b3f005a4be3a..000000000000 --- a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = foreign no-dependencies - - if COMPILER_IS_GCC --AM_CFLAGS = -Wall -Werror -+AM_CFLAGS = -Wall - if BUILD_WITH_DEBUG - AM_CFLAGS += -Wextra -g -O0 - endif diff --git a/net-libs/librouteros/librouteros-1.1.2.ebuild b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild index a6be5fce2804..cfa37b501172 100644 --- a/net-libs/librouteros/librouteros-1.1.2.ebuild +++ b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild @@ -1,26 +1,25 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools DESCRIPTION="Library for accessing MikroTik's RouterOS via its API" -HOMEPAGE="http://verplant.org/librouteros/" -SRC_URI="http://verplant.org/librouteros/files/${P}.tar.bz2" +HOMEPAGE="https://verplant.org/librouteros/" +SRC_URI="https://verplant.org/librouteros/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="debug" RDEPEND="dev-libs/libgcrypt:0=" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${P}-remove-Werror.patch ) - src_prepare() { default + sed -e 's/-Werror//g' -i src/Makefile.am || die eautoreconf } @@ -30,7 +29,5 @@ src_configure() { src_install() { default - - # no static archives - find "${D}" -name '*.la' -delete || die + find "${D}" -name '*.la' -type f -delete || die } diff --git a/net-libs/librouteros/librouteros-1.1.3.ebuild b/net-libs/librouteros/librouteros-1.1.3.ebuild new file mode 100644 index 000000000000..663f240b6072 --- /dev/null +++ b/net-libs/librouteros/librouteros-1.1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for accessing MikroTik's RouterOS via its API" +HOMEPAGE="https://octo.github.io/librouteros/" +SRC_URI="https://github.com/octo/${PN}/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND="dev-libs/libgcrypt:0=" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -e 's/-Werror//g' -i src/Makefile.am || die + eautoreconf +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/net-libs/librouteros/metadata.xml b/net-libs/librouteros/metadata.xml index 85e4ed814fa2..a3b996f6ac77 100644 --- a/net-libs/librouteros/metadata.xml +++ b/net-libs/librouteros/metadata.xml @@ -1,5 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/octo/librouteros/issues</bugs-to> + <remote-id type="github">octo/librouteros</remote-id> + </upstream> </pkgmetadata> diff --git a/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild b/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild index 14a1c15737b8..638a1f5f3225 100644 --- a/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild +++ b/net-libs/libsearpc/libsearpc-3.2.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="${PYTHON_DEPS} diff --git a/net-libs/libsignal-protocol-c/metadata.xml b/net-libs/libsignal-protocol-c/metadata.xml index 1c2c8657b8d0..3c725997cff1 100644 --- a/net-libs/libsignal-protocol-c/metadata.xml +++ b/net-libs/libsignal-protocol-c/metadata.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>andrey_utkin@gentoo.org</email> - <name>Andrey Utkin</name> - </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> diff --git a/net-libs/libslirp/Manifest b/net-libs/libslirp/Manifest index b2523bed1ccb..7deab5160a6e 100644 --- a/net-libs/libslirp/Manifest +++ b/net-libs/libslirp/Manifest @@ -1 +1,2 @@ DIST libslirp-4.6.1.tar.gz 135569 BLAKE2B 7a890912f2a8ce9d6820870e2d29b9c7a2253c403c2bcb127a38e02b2b81d1e262f34571c8a4c05fbf46874b9b2967cb5597cabe169ad54f12702fdd8b90bb3c SHA512 04a9dd88cd58c849a24b9cff405d951952760d99ea2bef0b070463dff088d79f44557a13c9427ba0043f58d4b9e06b68ff64a4f23a7b0d66df594e32e1521cae +DIST libslirp-4.7.0.tar.gz 143251 BLAKE2B f3e1c3a31f09462d79ca6c663a05bde02b075090f3a5f7bc69fef3c72b8517c11a123ad7b46f4b2855cbc9a7a5dbde8d1cb2d5e3e2a9d7eedbe570c200f8bcc6 SHA512 387f4a6dad240ce633df2640bb49c6cb0041c8b3afc8d0ef38186d385f00dd9e4ef4443e93e1b71dbf05e22892b6f2771a87a202e815d8ec899ab5c147a1f09f diff --git a/net-libs/libslirp/libslirp-4.6.1.ebuild b/net-libs/libslirp/libslirp-4.6.1.ebuild index dbfe15353d26..272a78bb0d4d 100644 --- a/net-libs/libslirp/libslirp-4.6.1.ebuild +++ b/net-libs/libslirp/libslirp-4.6.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit meson -KEYWORDS="amd64 arm64 ~ppc ppc64 ~riscv x86" +KEYWORDS="amd64 arm64 ~m68k ~ppc ppc64 ~riscv x86" MY_P="${PN}-v${PV}" SRC_URI="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" DESCRIPTION="A TCP-IP emulator used to provide virtual networking services" diff --git a/net-libs/libslirp/libslirp-4.7.0.ebuild b/net-libs/libslirp/libslirp-4.7.0.ebuild new file mode 100644 index 000000000000..7f4caff4570f --- /dev/null +++ b/net-libs/libslirp/libslirp-4.7.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +KEYWORDS="~amd64 ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~x86" +MY_P="${PN}-v${PV}" +SRC_URI="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A TCP-IP emulator used to provide virtual networking services" +HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp" + +LICENSE="BSD" +SLOT="0" +IUSE="static-libs" + +RDEPEND="dev-libs/glib:=" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + echo "${PV}" > .tarball-version || die + echo -e "#!${BASH}\necho -n \$(cat '${S}/.tarball-version')" > build-aux/git-version-gen || die + default +} + +src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + ) + meson_src_configure +} diff --git a/net-libs/libsoup/Manifest b/net-libs/libsoup/Manifest index c10e57a23be1..a1f82371d03a 100644 --- a/net-libs/libsoup/Manifest +++ b/net-libs/libsoup/Manifest @@ -1,2 +1,3 @@ DIST libsoup-2.74.2.tar.xz 1497356 BLAKE2B b05e5d06e20a95042334c79e3a633ec43db0e7444b425f8577045fbdee7b78bd697e743f4283ed79265bbe538145a541ef2ef55636ae235667a89d00910d5bf2 SHA512 6f9da3296364e210103093cef9ef34fb40f694a8ef90966fc1fbd834c11f3db1031784a0901e9181bf3124e0682708148bd3598a31d60f1cce61eaae2e19ba7a -DIST libsoup-3.0.4.tar.xz 1523336 BLAKE2B 5df12a2bafdd36905fd2122b1123ce630ffad93de5965eb2f3e47f85f3bc3169e8c005e245ee9ba72433fc735d7b24b304bac55b800bce59506961976a57f634 SHA512 4e6c226dfd8dd3fb2568affdbf88b8f0ad52903198c1dfc808c4cba1c0479442581953b5fb83166a3a198fb861618b62f165a4544b5daaed094bbeeff94a48ff +DIST libsoup-3.0.6.tar.xz 1527232 BLAKE2B 28a2aec2323686af692bfcee3126c76b8506c7721b81bd3beb276b488ec6c26498e4b1396ea6d3537cf00a203cbca2798ea414c4d2227f9c520660fc61459804 SHA512 4de84b3c251b6fe75903b1cd2647ac22055f799382a186efe6f45d3f75bf6c82040f0aaceb40d0019769cf1c0295511eb0afbbc7236e93b168ed70c2ae975a89 +DIST libsoup-3.0.7.tar.xz 1525104 BLAKE2B d9a8fddce286691f58901052f484c7a81e46e5c4625514609fc319c8a383b459631fbee95a0f3cfcbe296eb96907571c8fa57cf5c1b9cd742453d366057640fd SHA512 bb48b2475ec4b073de144ad91459843946ba902fc0849b88c548ccb774fc3854451239267dd097a3da4e40f025ae746609b669ec0caffdb15e7b07118e881cfd diff --git a/net-libs/libsoup/libsoup-2.74.2.ebuild b/net-libs/libsoup/libsoup-2.74.2.ebuild index c8a8e7e509d1..7cb4a1169afb 100644 --- a/net-libs/libsoup/libsoup-2.74.2.ebuild +++ b/net-libs/libsoup/libsoup-2.74.2.ebuild @@ -17,7 +17,7 @@ IUSE="brotli gssapi gtk-doc +introspection samba ssl sysprof test +vala" RESTRICT="!test? ( test )" REQUIRED_USE="vala? ( introspection )" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" >=dev-libs/glib-2.58:2[${MULTILIB_USEDEP}] diff --git a/net-libs/libsoup/libsoup-3.0.4.ebuild b/net-libs/libsoup/libsoup-3.0.6.ebuild index e6bf69b822a0..84e2cca340d9 100644 --- a/net-libs/libsoup/libsoup-3.0.4.ebuild +++ b/net-libs/libsoup/libsoup-3.0.6.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 VALA_MIN_API_VERSION="0.54" # requires gio-2.0.vapi generated from glib-2.70+ inherit gnome.org meson-multilib vala xdg @@ -56,8 +56,9 @@ PATCHES=( ) src_prepare() { - use vala && vala_src_prepare - xdg_src_prepare + default + use vala && vala_setup + xdg_environment_reset # https://gitlab.gnome.org/GNOME/libsoup/issues/159 - could work with libnss-myhostname sed -e '/hsts/d' -i tests/meson.build || die } diff --git a/net-libs/libsoup/libsoup-3.0.7.ebuild b/net-libs/libsoup/libsoup-3.0.7.ebuild new file mode 100644 index 000000000000..84e2cca340d9 --- /dev/null +++ b/net-libs/libsoup/libsoup-3.0.7.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +VALA_MIN_API_VERSION="0.54" # requires gio-2.0.vapi generated from glib-2.70+ + +inherit gnome.org meson-multilib vala xdg + +DESCRIPTION="HTTP client/server library for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/libsoup" + +LICENSE="LGPL-2.1+" +SLOT="3.0" + +IUSE="+brotli gssapi gtk-doc +introspection samba ssl sysprof test +vala" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=dev-libs/glib-2.69.1:2[${MULTILIB_USEDEP}] + net-libs/nghttp2:=[${MULTILIB_USEDEP}] + >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] + brotli? ( >=app-arch/brotli-1.0.6-r1:=[${MULTILIB_USEDEP}] ) + >=net-libs/libpsl-0.20[${MULTILIB_USEDEP}] + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] ) + sys-libs/zlib + gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + samba? ( net-fs/samba ) +" +RDEPEND="${DEPEND} + >=net-libs/glib-networking-2.70_alpha[ssl?,${MULTILIB_USEDEP}] +" +BDEPEND=" + dev-libs/glib + dev-util/glib-utils + gtk-doc? ( >=dev-util/gtk-doc-1.20 + app-text/docbook-xml-dtd:4.1.2 ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) + test? ( >=net-libs/gnutls-3.6.0[pkcs11] ) +" +# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic, +# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir, +# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect] +# dev-lang/php[apache2,xmlrpc] +# net-misc/curl +# net-libs/glib-networking[ssl])" + +PATCHES=( + # Disable apache tests until they are usable on Gentoo, bug #326957 + "${FILESDIR}"/disable-apache-tests.patch +) + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset + # https://gitlab.gnome.org/GNOME/libsoup/issues/159 - could work with libnss-myhostname + sed -e '/hsts/d' -i tests/meson.build || die +} + +src_configure() { + # FIXME: we need addpredict to workaround bug #324779 until + # root cause (bug #249496) is solved + # But unnecessary while apache tests are disabled + #addpredict /usr/share/snmp/mibs/.index + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local emesonargs=( + $(meson_feature gssapi) + -Dkrb5_config="${CHOST}-krb5-config" + $(meson_feature samba ntlm) + $(meson_feature brotli) + -Dntlm_auth="${EPREFIX}/usr/bin/ntlm_auth" + -Dtls_check=false # disables check, we still rdep on glib-networking + $(meson_native_use_feature introspection) + $(meson_native_use_feature vala vapi) + $(meson_native_use_bool gtk-doc gtk_doc) + $(meson_use test tests) + -Dinstalled_tests=false + $(meson_feature sysprof) + $(meson_feature test pkcs11_tests) + ) + meson_src_configure +} diff --git a/net-libs/libssh/libssh-0.9.6.ebuild b/net-libs/libssh/libssh-0.9.6.ebuild index 627887023589..5283a50c1f61 100644 --- a/net-libs/libssh/libssh-0.9.6.ebuild +++ b/net-libs/libssh/libssh-0.9.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,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 ~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" @@ -39,7 +39,9 @@ RDEPEND=" zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND} - test? ( >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] ) + test? ( + >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] + elibc_musl? ( sys-libs/argp-standalone ) ) " DOCS=( AUTHORS README ChangeLog ) @@ -66,6 +68,11 @@ src_prepare() { sed -e "/^check_include_file.*HAVE_VALGRIND_VALGRIND_H/s/^/#DONT /" \ -i ConfigureChecks.cmake || die + + if use test && use elibc_musl; then + sed -e "/SOLARIS/d" \ + -i tests/CMakeLists.txt || die + fi } multilib_src_configure() { diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild index ba3c105ee10e..7b1299b71476 100644 --- a/net-libs/libssh/libssh-9999.ebuild +++ b/net-libs/libssh/libssh-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,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 ~mips ~ppc ~ppc64 ~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" @@ -39,7 +39,9 @@ RDEPEND=" zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND} - test? ( >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] ) + test? ( + >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] + elibc_musl? ( sys-libs/argp-standalone ) ) " DOCS=( AUTHORS README ChangeLog ) @@ -66,6 +68,11 @@ src_prepare() { sed -e "/^check_include_file.*HAVE_VALGRIND_VALGRIND_H/s/^/#DONT /" \ -i ConfigureChecks.cmake || die + + if use test && use elibc_musl; then + sed -e "/SOLARIS/d" \ + -i tests/CMakeLists.txt || die + fi } multilib_src_configure() { diff --git a/net-libs/libssh2/libssh2-1.10.0.ebuild b/net-libs/libssh2/libssh2-1.10.0.ebuild index ff53c9234667..64664f5917ef 100644 --- a/net-libs/libssh2/libssh2-1.10.0.ebuild +++ b/net-libs/libssh2/libssh2-1.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.libssh2.org/download/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" IUSE="gcrypt mbedtls zlib" REQUIRED_USE="?? ( gcrypt mbedtls )" # Tests try to set containers up using docker (and fail for some reason). diff --git a/net-libs/libtirpc/libtirpc-1.3.2.ebuild b/net-libs/libtirpc/libtirpc-1.3.2.ebuild index ec87a4616753..8b1e3780df4b 100644 --- a/net-libs/libtirpc/libtirpc-1.3.2.ebuild +++ b/net-libs/libtirpc/libtirpc-1.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,9 +10,9 @@ HOMEPAGE="https://sourceforge.net/projects/libtirpc/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 mirror://gentoo/${PN}-glibc-nfs.tar.xz" -LICENSE="GPL-2" +LICENSE="BSD BSD-2 BSD-4 LGPL-2.1+" SLOT="0/3" # subslot matches SONAME major -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 kerberos static-libs" RDEPEND="kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )" diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index 60b3ed6a000f..45b2ea13fd39 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,5 +1 @@ -DIST libtorrent-1.2.14.tar.gz 3614077 BLAKE2B 423cd0c467510e3b4d33485ea108912a90ef0d66746e6f912eeb07930e7091d1ce8e28953a48dab3bb03c6232a9e958be423d4563bd63c083ec1423c4753b3df SHA512 9ba7d8a271ecc7330ae9c794f3966a6d1677b9d2a02a24df8b6e63daa4d5c0a7ef88607a73b417247b4afc5195e46cd0ca75859358f9e50915af56b3ed19f322 -DIST libtorrent-rasterbar-1.2.15.tar.gz 4163049 BLAKE2B 282d6cf19897706f96d68c75df3c1f5f004df38c07ca2fcaa760f0004512dc8759ea47d4e0c96ff4d8ac2d23569a05507c5dd0667d83c702e14825a0d9ffcd0e SHA512 c409c53ec9c299a05b51ab61d7df1209803cbd6070f0a014dd6fb42c30f6f5230ea90848330f901c61816bc70901e618409acacc95bb0e5acb7f81211d001fa2 -DIST libtorrent-rasterbar-2.0.4-ssl-tests-certs.patch.bz2 26530 BLAKE2B 0958f11be84860cfb0e9224901a6052d9acb80edbd9f9e6eeb2e621e30e75fac4c4db64c71573b7c7f91761e74b9c5781ef8d1a202aef06cd92e3edb15d9f810 SHA512 f3afc4e0857838a44fa3671d657b5f669194c504d07d8f72ca5ddc060786127e3d6ad4ae9efa39e9f02fbe396f4785a1755dd1fd9607c1cef31aa60574b3511e -DIST libtorrent-rasterbar-2.0.4.tar.gz 4311319 BLAKE2B fee8255d46d5ca019cd487b57fc6003744c208ea5e78873b925f53881667c55c506d302fc7ae6cd5b5d5e776cfe059b714db94d16dd28cfc7939ec6f4fa4e5fa SHA512 66ce3c3369b1d2a83654727c23022d38b070b8bc3ad83b1001e2cfad945acbaa4d61990094bc758886967cd305ca2213b60b1b0523b5106c42d4701d8cff8db1 -DIST libtorrent-rasterbar-2.0.5.tar.gz 4407260 BLAKE2B 71c64879be103326fe438ba6b11b672fb0d631ed0de4eb23c2595f3596b522693594ded9f8733c7827dd668e285cb5099cad78bcd437ec184837eafbd39b356f SHA512 be5b812135dada957e565085b5bdda06827c8427f78a4468ef263e1a1e33d3a0bbba7ac27235f0d17ae6087d54311281e3b1975eef81cda514acc8329862dc04 +DIST libtorrent-rasterbar-2.0.6.tar.gz 4431174 BLAKE2B 4951a102b68a5a7ba9a98d771ca638e8438b2aeaa95f5d7bf616542c7a02d28e184ee1bf5b7a55cd91a068cd2d4e9756c479e4ddb5eabe89d8aa833d70aa7502 SHA512 4a5d710706040ef6193967dbb13998cb0ddebe7e95c3bf8aec0812876027c68c32b001fd3f07cd4ff1b819660a8d46ae8c7077e72caf92572288a51cdec7daea diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch deleted file mode 100644 index 5c4e90ff852d..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://github.com/arvidn/libtorrent/pull/6547 - -From 61ebb3317b1f8a63fcf4d018a21dac6818ea21cf Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 31 Oct 2021 09:16:46 +0000 -Subject: [PATCH] Add missing include for get_ssl_category - -error::get_ssl_category is defined in boost/asio/ssl/error.hpp, so -include it when we're building with SSL support. - -Bug: https://bugs.gentoo.org/820836 - ---- - bindings/python/src/error_code.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/bindings/python/src/error_code.cpp b/bindings/python/src/error_code.cpp -index 2fc5f42..b947119 100644 ---- a/bindings/python/src/error_code.cpp -+++ b/bindings/python/src/error_code.cpp -@@ -49,6 +49,7 @@ namespace boost - - #include <boost/asio/error.hpp> - #if TORRENT_USE_SSL -+#include <boost/asio/ssl/error.hpp> - #include <libtorrent/ssl.hpp> - #endif - #if TORRENT_USE_I2P --- -2.33.1 - diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch deleted file mode 100644 index a3cdd811e2a3..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch +++ /dev/null @@ -1,59 +0,0 @@ -https://github.com/paullouisageneau/boost-asio-gnutls/commit/895105972e5a9318d572b147c1872f64d23e2a8e -https://bugs.gentoo.org/820836 -https://github.com/arvidn/libtorrent/pull/6546 - -From 895105972e5a9318d572b147c1872f64d23e2a8e Mon Sep 17 00:00:00 2001 -From: Shantanu Singh <shsi@microsoft.com> -Date: Fri, 18 Sep 2020 14:01:39 -0700 -Subject: [PATCH] Use fully qualified std::placeholders to prevent conflicts - with boost::placeholders - ---- a/deps/asio-gnutls/include/boost/asio/gnutls/stream.hpp -+++ b/deps/asio-gnutls/include/boost/asio/gnutls/stream.hpp -@@ -244,8 +244,7 @@ template <typename NextLayer> class stream : public stream_base - return; - } - -- using namespace std::placeholders; -- m_impl->read_handler = std::bind(callable, _1, _2); -+ m_impl->read_handler = std::bind(callable, std::placeholders::_1, std::placeholders::_2); - m_impl->bytes_read = 0; - m_impl->async_schedule(); - return callable.get_completion_result(); -@@ -293,8 +292,7 @@ template <typename NextLayer> class stream : public stream_base - return; - } - -- using namespace std::placeholders; -- m_impl->write_handler = std::bind(callable, _1, _2); -+ m_impl->write_handler = std::bind(callable, std::placeholders::_1, std::placeholders::_2); - m_impl->bytes_written = 0; - m_impl->async_schedule(); - return callable.get_completion_result(); -@@ -568,8 +566,6 @@ template <typename NextLayer> class stream : public stream_base - - void async_schedule() - { -- using namespace std::placeholders; -- - if (!parent) return; - auto& next_layer = parent->m_next_layer; - -@@ -581,14 +577,14 @@ template <typename NextLayer> class stream : public stream_base - else - next_layer.async_wait( - next_layer_type::wait_read, -- std::bind(&impl::handle_read, this->shared_from_this(), _1)); -+ std::bind(&impl::handle_read, this->shared_from_this(), std::placeholders::_1)); - } - - // Start a write operation if GnuTLS wants one - if (want_write() && !std::exchange(is_writing, true)) - { - next_layer.async_wait(next_layer_type::wait_write, -- std::bind(&impl::handle_write, this->shared_from_this(), _1)); -+ std::bind(&impl::handle_write, this->shared_from_this(), std::placeholders::_1)); - } - } - - diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch deleted file mode 100644 index b39f62614b2a..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://github.com/arvidn/libtorrent/pull/6412 -https://github.com/arvidn/libtorrent/issues/6405 -https://bugs.gentoo.org/808084 - -From 906cedddedbdf9d98ecf2bd19340f7f17869b968 Mon Sep 17 00:00:00 2001 -From: arvidn <arvid@libtorrent.org> -Date: Thu, 19 Aug 2021 11:54:13 +0200 -Subject: [PATCH] bump handler allocation sizes for boost-1.77 (linux) - ---- - include/libtorrent/aux_/allocating_handler.hpp | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp -index 9d826d11a1..b24349850e 100644 ---- a/include/libtorrent/aux_/allocating_handler.hpp -+++ b/include/libtorrent/aux_/allocating_handler.hpp -@@ -122,14 +122,14 @@ namespace libtorrent { namespace aux { - constexpr std::size_t fuzzer_write_cost = 0; - constexpr std::size_t fuzzer_read_cost = 0; - #endif -- constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 152; -- constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 152; -- constexpr std::size_t udp_handler_max_size = tracking + 144; -- constexpr std::size_t utp_handler_max_size = tracking + 168; -+ constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 168; -+ constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 168; -+ constexpr std::size_t udp_handler_max_size = tracking + 160; -+ constexpr std::size_t utp_handler_max_size = tracking + 184; - constexpr std::size_t abort_handler_max_size = tracking + 72; - constexpr std::size_t submit_handler_max_size = tracking + 72; - constexpr std::size_t deferred_handler_max_size = tracking + 80; -- constexpr std::size_t tick_handler_max_size = tracking + 112; -+ constexpr std::size_t tick_handler_max_size = tracking + 128; - #endif - - enum HandlerName diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch deleted file mode 100644 index 109a6490af23..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/arvidn/libtorrent/commit/f2eefd327f1ca89b053eb1e5f4ed229efe52e47f -https://bugs.gentoo.org/820518 - -From: Nick Korotysh <kolchaprogrammer@list.ru> -Date: Fri, 25 Jun 2021 22:08:00 +0300 -Subject: [PATCH] added missed sources to Python bindings CMakeLists.txt - -fixes libtorrent loading module issues: -libtorrent.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z16bind_sha256_hashv ---- a/bindings/python/CMakeLists.txt -+++ b/bindings/python/CMakeLists.txt -@@ -49,6 +49,7 @@ Python3_add_library(python-libtorrent MODULE WITH_SOABI - src/entry.cpp - src/error_code.cpp - src/fingerprint.cpp -+ src/info_hash.cpp - src/ip_filter.cpp - src/magnet_uri.cpp - src/module.cpp -@@ -56,6 +57,7 @@ Python3_add_library(python-libtorrent MODULE WITH_SOABI - src/session.cpp - src/session_settings.cpp - src/sha1_hash.cpp -+ src/sha256_hash.cpp - src/string.cpp - src/torrent_handle.cpp - src/torrent_info.cpp - diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch deleted file mode 100644 index 93e14963e366..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch +++ /dev/null @@ -1,46 +0,0 @@ -From feb911a19c8a66bf13915973649d3a4f5d729f12 Mon Sep 17 00:00:00 2001 -From: arvidn <arvid@libtorrent.org> -Date: Sun, 12 Dec 2021 21:52:15 +0100 -Subject: [PATCH] update allocator sizes for boost-1.78 - ---- - include/libtorrent/aux_/allocating_handler.hpp | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp -index 726032e085c..7096dfd2e67 100644 ---- a/include/libtorrent/aux_/allocating_handler.hpp -+++ b/include/libtorrent/aux_/allocating_handler.hpp -@@ -77,11 +77,11 @@ namespace libtorrent { namespace aux { - constexpr std::size_t openssl_write_cost = 0; - #endif - -- constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 8 * sizeof(void*); -- constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 8 * sizeof(void*); -- constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 8 * sizeof(void*); -- constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 8 * sizeof(void*); -- constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 160; -+ constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 9 * sizeof(void*); -+ constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 9 * sizeof(void*); -+ constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 9 * sizeof(void*); -+ constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 9 * sizeof(void*); -+ constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 168; - constexpr std::size_t abort_handler_max_size = tracking + debug_tick + 104; - constexpr std::size_t submit_handler_max_size = tracking + debug_tick + 104; - constexpr std::size_t deferred_handler_max_size = tracking + debug_tick + 112; -@@ -124,12 +124,12 @@ namespace libtorrent { namespace aux { - #endif - constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 168; - constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 168; -- constexpr std::size_t udp_handler_max_size = tracking + 160; -- constexpr std::size_t utp_handler_max_size = tracking + 184; -+ constexpr std::size_t udp_handler_max_size = tracking + 168; -+ constexpr std::size_t utp_handler_max_size = tracking + 192; - constexpr std::size_t abort_handler_max_size = tracking + 72; - constexpr std::size_t submit_handler_max_size = tracking + 72; - constexpr std::size_t deferred_handler_max_size = tracking + 80; -- constexpr std::size_t tick_handler_max_size = tracking + 128; -+ constexpr std::size_t tick_handler_max_size = tracking + 136; - #endif - - enum HandlerName diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild deleted file mode 100644 index 2ee9d2642511..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_OPTIONAL=true -DISTUTILS_IN_SOURCE_BUILD=true - -inherit autotools distutils-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/archive/v${PV}.tar.gz -> libtorrent-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/10" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="debug +dht doc examples python +ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -S="${WORKDIR}/libtorrent-${PV}" - -RDEPEND=" - dev-libs/boost:=[threads(+)] - virtual/libiconv - examples? ( !net-p2p/mldonkey ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ) - ssl? ( - dev-libs/openssl:0= - ) -" -DEPEND="${RDEPEND}" -BDEPEND="sys-devel/libtool - python? ( dev-python/setuptools[${PYTHON_USEDEP}] )" - -src_prepare() { - mkdir -p "${S}"/build-aux || die - touch "${S}"/build-aux/config.rpath || die - eautoreconf - - default - - # bug 578026 - # prepend -L${S}/... to ensure bindings link against the lib we just built - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die - - # prepend -I${S}/... to ensure bindings use the right headers - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die - - use python && distutils-r1_src_prepare -} - -src_configure() { - - local myeconfargs=( - $(use_enable debug) - $(use_enable debug export-all) - $(use_enable debug logging) - $(use_enable dht) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable static-libs static) - $(use_enable test tests) - --with-boost="${ESYSROOT}/usr" - # Needed because of bug #767835 - --with-boost-libdir="${ESYSROOT}/usr/$(get_libdir)" - --with-libiconv - --enable-logging - ) - econf "${myeconfargs[@]}" - - if use python; then - python_configure() { - econf "${myeconfargs[@]}" \ - --enable-python-binding \ - --with-boost-python="boost_${EPYTHON/./}" - } - distutils-r1_src_configure - fi -} - -src_compile() { - default - - python_compile() { - cd "${BUILD_DIR}/../bindings/python" || die - distutils-r1_python_compile - } - use python && distutils-r1_src_compile -} - -src_install() { - use doc && HTML_DOCS+=( "${S}"/docs ) - - default - - python_install() { - cd "${BUILD_DIR}/../bindings/python" || die - distutils-r1_python_install - } - use python && distutils-r1_src_install - - find "${D}" -name '*.la' -delete || die -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild deleted file mode 100644 index 294c9a8ebbcc..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10} ) - -inherit cmake python-single-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/10" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" -IUSE="+dht debug python ssl test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:=[threads(+)] - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost[python,${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="python? ( - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -Dbuild_examples=OFF - -Ddht=$(usex dht ON OFF) - -Dencryption=$(usex ssl ON OFF) - -Dlogging=$(usex debug ON OFF) - -Dpython-bindings=$(usex python ON OFF) - -Dbuild_tests=$(usex test ON OFF) - ) - - # We need to drop the . from the Python version to satisfy Boost's - # FindBoost.cmake module, bug #793038. - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # Needs running UPnP server - -E "test_upnp" - ) - - # Checked out Fedora's test workarounds for inspiration - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild deleted file mode 100644 index 4d585c2e540c..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{3_8,3_9} ) - -inherit cmake python-single-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" -# Should be able to drop on next bump! -SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-ssl-tests-certs.patch.bz2 )" - -LICENSE="BSD" -SLOT="0/2.0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="+dht debug gnutls python ssl test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:=[threads(+)] - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost[python,${PYTHON_USEDEP}] - ') - ) - ssl? ( - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:= ) - ) -" -RDEPEND="${DEPEND}" -BDEPEND="python? ( - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.4-boost-1.76.patch - "${FILESDIR}"/${P}-boost-1.77.patch - "${FILESDIR}"/${P}-python-symbols.patch - "${FILESDIR}"/${PN}-2.0.4-asio-ssl-error.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use test && eapply "${WORKDIR}"/${P}-ssl-tests-certs.patch - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=14 - -DBUILD_SHARED_LIBS=ON - -Dbuild_examples=OFF - -Ddht=$(usex dht ON OFF) - -Dencryption=$(usex ssl ON OFF) - -Dgnutls=$(usex gnutls ON OFF) - -Dlogging=$(usex debug ON OFF) - -Dpython-bindings=$(usex python ON OFF) - -Dbuild_tests=$(usex test ON OFF) - ) - - # We need to drop the . from the Python version to satisfy Boost's - # FindBoost.cmake module, bug #793038. - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # Needs running UPnP server - -E "test_upnp" - ) - - # Checked out Fedora's test workarounds for inspiration - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.6.ebuild index 80b8f8086fd3..4bbf40a4c2ba 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.6.ebuild @@ -1,7 +1,7 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10} ) @@ -13,7 +13,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar. LICENSE="BSD" SLOT="0/2.0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" IUSE="+dht debug gnutls python ssl test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" @@ -38,10 +38,6 @@ BDEPEND="python? ( ') )" -PATCHES=( - "${FILESDIR}/${P}-boost-1.78.patch" -) - pkg_setup() { use python && python-single-r1_pkg_setup } diff --git a/net-libs/libtorrent/Manifest b/net-libs/libtorrent/Manifest index c8b8a25f9e6b..b7cba0b5c684 100644 --- a/net-libs/libtorrent/Manifest +++ b/net-libs/libtorrent/Manifest @@ -1,2 +1 @@ -DIST libtorrent-0.13.7.tar.gz 782854 BLAKE2B 940e6162567d391f3d05034bf6d7d55a40070da7e2fd3279b1aa6acd169ca2783e7a2040efc472285f918c434e74380ec40fcddb823871ecf441c85670b9f273 SHA512 7bf3e87dbd19eb4e6806dff8a01c3ec61ea960bbd809d4bcbee96a46e169f97d0baf0fc85ab4a1efbbab07850e9b1060bae46c453ea6c42f5c23f8d921295efb DIST libtorrent-0.13.8.tar.gz 834027 BLAKE2B 374f33af52a45c244182d36bacd6b42eea9edc179e42fb40f4170a47a0cdd39cfb3f42f82fc26ab36718afb9a28a8dd72ca139b3646bbc1c2887444905438cdd SHA512 417177df5b27cd8c6a6317063b0846da2690de4633836466728605c2edad2de407d29d321cc481b8d1352dd0ff6dd89f4566a830424a8cf986f2fddb04704da4 diff --git a/net-libs/libtorrent/files/libtorrent-0.13.7-execinfo-configure.patch b/net-libs/libtorrent/files/libtorrent-0.13.7-execinfo-configure.patch deleted file mode 100644 index 1865e48992c4..000000000000 --- a/net-libs/libtorrent/files/libtorrent-0.13.7-execinfo-configure.patch +++ /dev/null @@ -1,24 +0,0 @@ -From f4dadb3850ef15dd7898d07fca72d2fa7e32ca6f Mon Sep 17 00:00:00 2001 -From: Stephen Shkardoon <ss23@ss23.geek.nz> -Date: Mon, 25 Jun 2018 20:05:18 +1200 -Subject: [PATCH] Use AC_COMPILE instead of AC_RUN to check for execinfo.h - -This way enables cross compiling, since we don't need to run anything -during the configure script. ---- - scripts/common.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/scripts/common.m4 b/scripts/common.m4 -index ff023928..b6d051f5 100644 ---- a/scripts/common.m4 -+++ b/scripts/common.m4 -@@ -153,7 +153,7 @@ dnl Need to fix this so that it uses the stuff defined by the system. - AC_DEFUN([TORRENT_CHECK_EXECINFO], [ - AC_MSG_CHECKING(for execinfo.h) - -- AC_RUN_IFELSE([AC_LANG_SOURCE([ -+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([ - #include <execinfo.h> - int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} - ])], diff --git a/net-libs/libtorrent/files/libtorrent-0.13.7-kqueue-configure.patch b/net-libs/libtorrent/files/libtorrent-0.13.7-kqueue-configure.patch deleted file mode 100644 index af8e53ddd233..000000000000 --- a/net-libs/libtorrent/files/libtorrent-0.13.7-kqueue-configure.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 755daf78769b048c868e6b62c68b4e545494c181 Mon Sep 17 00:00:00 2001 -From: Stephen Shkardoon <ss23@ss23.geek.nz> -Date: Thu, 21 Jun 2018 14:38:30 +1200 -Subject: [PATCH] Modify configure to prevent unnecessary kqueue checks - -By only running the TORRENT_CHECK_KQUEUE_SOCKET_ONLY check if kqueue support -is already detected, we increase the number of platforms that we can -cross compile on. -Otherwise, the cross compilation fails due to TORRENT_CHECK_KQUEUE_SOCKET_ONLY -using AC_RUN_IFELSE, which fails during cross compilation. ---- - scripts/checks.m4 | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/scripts/checks.m4 b/scripts/checks.m4 -index 8d77fc5e..c9333561 100644 ---- a/scripts/checks.m4 -+++ b/scripts/checks.m4 -@@ -88,6 +88,7 @@ AC_DEFUN([TORRENT_CHECK_KQUEUE], [ - [ - AC_DEFINE(USE_KQUEUE, 1, Use kqueue.) - AC_MSG_RESULT(yes) -+ TORRENT_CHECK_KQUEUE_SOCKET_ONLY - ], [ - AC_MSG_RESULT(no) - ]) -@@ -137,7 +138,6 @@ AC_DEFUN([TORRENT_WITH_KQUEUE], [ - [ - if test "$withval" = "yes"; then - TORRENT_CHECK_KQUEUE -- TORRENT_CHECK_KQUEUE_SOCKET_ONLY - fi - ]) - ]) -@@ -149,11 +149,9 @@ AC_DEFUN([TORRENT_WITHOUT_KQUEUE], [ - [ - if test "$withval" = "yes"; then - TORRENT_CHECK_KQUEUE -- TORRENT_CHECK_KQUEUE_SOCKET_ONLY - fi - ], [ - TORRENT_CHECK_KQUEUE -- TORRENT_CHECK_KQUEUE_SOCKET_ONLY - ]) - ]) - diff --git a/net-libs/libtorrent/files/libtorrent-0.13.8-sysroot.patch b/net-libs/libtorrent/files/libtorrent-0.13.8-sysroot.patch new file mode 100644 index 000000000000..9f696c01ef61 --- /dev/null +++ b/net-libs/libtorrent/files/libtorrent-0.13.8-sysroot.patch @@ -0,0 +1,33 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -43,7 +43,6 @@ + TORRENT_ENABLE_INTERRUPT_SOCKET + + TORRENT_ENABLE_ARCH +-TORRENT_WITH_SYSROOT + + dnl TORRENT_WITH_XFS + TORRENT_WITHOUT_KQUEUE +@@ -59,8 +58,7 @@ + CC_ATTRIBUTE_VISIBILITY + + AX_PTHREAD +-AX_CHECK_ZLIB +- ++PKG_CHECK_MODULES([ZLIB], [zlib]) + PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) + + CFLAGS="$PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CFLAGS" +--- a/src/torrent/utils/Makefile.am ++++ b/src/torrent/utils/Makefile.am +@@ -23,8 +23,9 @@ + thread_interrupt.h \ + uri_parser.cc \ + uri_parser.h ++libsub_torrentutils_la_LIBADD = $(ZLIB_LIBS) + +-AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. -I$(top_srcdir) ++AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. -I$(top_srcdir) $(ZLIB_CFLAGS) + + libtorrentincludedir = $(includedir)/torrent/utils + libtorrentinclude_HEADERS = \ diff --git a/net-libs/libtorrent/files/libtorrent-0001-Fix-the-DH-parameters-generation-with-OpenSSL-1.1.patch b/net-libs/libtorrent/files/libtorrent-0001-Fix-the-DH-parameters-generation-with-OpenSSL-1.1.patch deleted file mode 100644 index 55d0cb901b71..000000000000 --- a/net-libs/libtorrent/files/libtorrent-0001-Fix-the-DH-parameters-generation-with-OpenSSL-1.1.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 4607bbf78040789dee29266878ce109136b984ef Mon Sep 17 00:00:00 2001 -From: rakshasa <sundell.software@gmail.com> -Date: Tue, 20 Dec 2016 19:51:02 +0900 -Subject: [PATCH] Added support for openssl 1.1. - ---- - configure.ac | 4 ++++ - src/utils/diffie_hellman.cc | 36 ++++++++++++++++++++++++++++++++++-- - 2 files changed, 38 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 65e34872..27e33570 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -69,12 +69,15 @@ AC_ARG_ENABLE(openssl, - [ --disable-openssl Don't use OpenSSL's SHA1 implementation.], - [ - if test "$enableval" = "yes"; then -+dnl move to scripts. - PKG_CHECK_MODULES(OPENSSL, libcrypto, - CXXFLAGS="$CXXFLAGS $OPENSSL_CFLAGS"; - LIBS="$LIBS $OPENSSL_LIBS") - - AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) - AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -+ AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) -+ - else - AC_DEFINE(USE_NSS_SHA, 1, Using Mozilla's SHA1 implementation.) - fi -@@ -85,6 +88,7 @@ AC_ARG_ENABLE(openssl, - - AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) - AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -+ AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) - ] - ) - -diff --git a/src/utils/diffie_hellman.cc b/src/utils/diffie_hellman.cc -index aa653d45..7ec13165 100644 ---- a/src/utils/diffie_hellman.cc -+++ b/src/utils/diffie_hellman.cc -@@ -54,11 +54,23 @@ DiffieHellman::DiffieHellman(const unsigned char *prime, int primeLength, - m_secret(NULL), m_size(0) { - - #ifdef USE_OPENSSL -+ - m_dh = DH_new(); -+ -+#ifdef USE_OPENSSL_1_1 -+ BIGNUM * const dh_p = BN_bin2bn(prime, primeLength, NULL); -+ BIGNUM * const dh_g = BN_bin2bn(generator, generatorLength, NULL); -+ -+ if (dh_p == NULL || dh_g == NULL || -+ !DH_set0_pqg(m_dh, dh_p, NULL, dh_g)) -+ throw internal_error("Could not generate Diffie-Hellman parameters"); -+#else - m_dh->p = BN_bin2bn(prime, primeLength, NULL); - m_dh->g = BN_bin2bn(generator, generatorLength, NULL); -+#endif - - DH_generate_key(m_dh); -+ - #else - throw internal_error("Compiled without encryption support."); - #endif -@@ -74,7 +86,19 @@ DiffieHellman::~DiffieHellman() { - bool - DiffieHellman::is_valid() const { - #ifdef USE_OPENSSL -+ if (m_dh == NULL) -+ return false; -+ -+#ifdef USE_OPENSSL_1_1 -+ const BIGNUM *pub_key; -+ -+ DH_get0_key(m_dh, &pub_key, NULL); -+ -+ return pub_key != NULL; -+#else - return m_dh != NULL && m_dh->pub_key != NULL; -+#endif -+ - #else - return false; - #endif -@@ -103,8 +127,16 @@ DiffieHellman::store_pub_key(unsigned char* dest, unsigned int length) { - #ifdef USE_OPENSSL - std::memset(dest, 0, length); - -- if ((int)length >= BN_num_bytes(m_dh->pub_key)) -- BN_bn2bin(m_dh->pub_key, dest + length - BN_num_bytes(m_dh->pub_key)); -+ const BIGNUM *pub_key; -+ -+#ifdef USE_OPENSSL_1_1 -+ DH_get0_key(m_dh, &pub_key, NULL); -+#else -+ pub_key = m_dh->pub_key; -+#endif -+ -+ if ((int)length >= BN_num_bytes(pub_key)) -+ BN_bn2bin(pub_key, dest + length - BN_num_bytes(pub_key)); - #endif - } - diff --git a/net-libs/libtorrent/files/libtorrent-openssl-1.1-part2.patch b/net-libs/libtorrent/files/libtorrent-openssl-1.1-part2.patch deleted file mode 100644 index 60542e4b4464..000000000000 --- a/net-libs/libtorrent/files/libtorrent-openssl-1.1-part2.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 43213fecfad863e2c9e47accde9b76496ff6d1e5 Mon Sep 17 00:00:00 2001 -From: rakshasa <sundell.software@gmail.com> -Date: Sun, 25 Dec 2016 11:58:04 +0900 -Subject: [PATCH] Cleaned up openssl automake script. - ---- - configure.ac | 37 ++----------------------------------- - 1 file changed, 2 insertions(+), 35 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 27e33570..33f755c9 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -65,41 +65,8 @@ CFLAGS="$PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CFLAGS" - CXXFLAGS="$PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CXXFLAGS" - LIBS="$PTHREAD_LIBS $CPPUNIT_LIBS $LIBS" - --AC_ARG_ENABLE(openssl, -- [ --disable-openssl Don't use OpenSSL's SHA1 implementation.], -- [ -- if test "$enableval" = "yes"; then --dnl move to scripts. -- PKG_CHECK_MODULES(OPENSSL, libcrypto, -- CXXFLAGS="$CXXFLAGS $OPENSSL_CFLAGS"; -- LIBS="$LIBS $OPENSSL_LIBS") -- -- AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) -- AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -- AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) -- -- else -- AC_DEFINE(USE_NSS_SHA, 1, Using Mozilla's SHA1 implementation.) -- fi -- ],[ -- PKG_CHECK_MODULES(OPENSSL, libcrypto, -- CXXFLAGS="$CXXFLAGS $OPENSSL_CFLAGS"; -- LIBS="$LIBS $OPENSSL_LIBS") -- -- AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) -- AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -- AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) -- ] --) -- --AC_ARG_ENABLE(cyrus-rc4, -- [ --enable-cyrus-rc4=PFX Use Cyrus RC4 implementation.], -- [ -- CXXFLAGS="$CXXFLAGS -I${enableval}/include"; -- LIBS="$LIBS -lrc4 -L${enableval}/lib" -- AC_DEFINE(USE_CYRUS_RC4, 1, Using Cyrus RC4 implementation.) -- ] --) -+TORRENT_ARG_OPENSSL -+TORRENT_ARG_CYRUS_RC4 - - AC_CHECK_FUNCS(posix_memalign) - diff --git a/net-libs/libtorrent/files/libtorrent-openssl-1.1-part3.patch b/net-libs/libtorrent/files/libtorrent-openssl-1.1-part3.patch deleted file mode 100644 index 3fc338d8b088..000000000000 --- a/net-libs/libtorrent/files/libtorrent-openssl-1.1-part3.patch +++ /dev/null @@ -1,68 +0,0 @@ -From d36561c8cc91698f3075c264af6d7d99e13cbff0 Mon Sep 17 00:00:00 2001 -From: rakshasa <sundell.software@gmail.com> -Date: Sun, 25 Dec 2016 12:09:35 +0900 -Subject: [PATCH] More stuff. - ---- - Makefile.am | 1 + - scripts/ssl.m4 | 39 +++++++++++++++++++++++++++++++++++++++ - 2 files changed, 40 insertions(+) - create mode 100644 scripts/ssl.m4 - -diff --git a/Makefile.am b/Makefile.am -index f175e634..9507b9ea 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -8,6 +8,7 @@ EXTRA_DIST= \ - scripts/checks.m4 \ - scripts/common.m4 \ - scripts/attributes.m4 \ -+ scripts/ssl.m4 \ - doc/main.xml \ - doc/http.xml \ - doc/torrent.xml \ -diff --git a/scripts/ssl.m4 b/scripts/ssl.m4 -new file mode 100644 -index 00000000..e9cf6303 ---- /dev/null -+++ b/scripts/ssl.m4 -@@ -0,0 +1,39 @@ -+AC_DEFUN([TORRENT_CHECK_OPENSSL], -+ [ -+ PKG_CHECK_MODULES(OPENSSL, libcrypto, -+ CXXFLAGS="$CXXFLAGS $OPENSSL_CFLAGS"; -+ LIBS="$LIBS $OPENSSL_LIBS") -+ -+ AC_DEFINE(USE_OPENSSL, 1, Using OpenSSL.) -+ AC_DEFINE(USE_OPENSSL_SHA, 1, Using OpenSSL's SHA1 implementation.) -+ AC_CHECK_LIB([crypto], [DH_set0_pqg], [AC_DEFINE(USE_OPENSSL_1_1, 1, Using OpenSSL 1.1.)]) -+ ] -+) -+ -+AC_DEFUN([TORRENT_ARG_OPENSSL], -+ [ -+ AC_ARG_ENABLE(openssl, -+ [ --disable-openssl Don't use OpenSSL's SHA1 implementation.], -+ [ -+ if test "$enableval" = "yes"; then -+ TORRENT_CHECK_OPENSSL -+ else -+ AC_DEFINE(USE_NSS_SHA, 1, Using Mozilla's SHA1 implementation.) -+ fi -+ ],[ -+ TORRENT_CHECK_OPENSSL -+ ]) -+ ] -+) -+ -+AC_DEFUN([TORRENT_ARG_CYRUS_RC4], -+ [ -+ AC_ARG_ENABLE(cyrus-rc4, -+ [ --enable-cyrus-rc4=PFX Use Cyrus RC4 implementation.], -+ [ -+ CXXFLAGS="$CXXFLAGS -I${enableval}/include"; -+ LIBS="$LIBS -lrc4 -L${enableval}/lib" -+ AC_DEFINE(USE_CYRUS_RC4, 1, Using Cyrus RC4 implementation.) -+ ]) -+ ] -+) diff --git a/net-libs/libtorrent/libtorrent-0.13.7-r1.ebuild b/net-libs/libtorrent/libtorrent-0.13.7-r1.ebuild deleted file mode 100644 index d1d53acab68d..000000000000 --- a/net-libs/libtorrent/libtorrent-0.13.7-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools toolchain-funcs - -DESCRIPTION="BitTorrent library written in C++ for *nix" -HOMEPAGE="https://rakshasa.github.io/rtorrent/" -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz" - -LICENSE="GPL-2" - -# The README says that the library ABI is not yet stable and dependencies on -# the library should be an explicit, syncronized version until the library -# has had more time to mature. Until it matures we should not include a soname -# subslot. -SLOT="0" - -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="debug ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sys-libs/zlib - >=dev-libs/libsigc++-2.2.2:2 - ssl? ( - dev-libs/openssl:0= - )" -DEPEND="${RDEPEND} - virtual/pkgconfig - dev-util/cppunit" - -PATCHES=( - "${FILESDIR}/${PN}-0001-Fix-the-DH-parameters-generation-with-OpenSSL-1.1.patch" - "${FILESDIR}/${PN}-openssl-1.1-part2.patch" - "${FILESDIR}/${PN}-openssl-1.1-part3.patch" - "${FILESDIR}/${PN}-0.13.7-kqueue-configure.patch" - "${FILESDIR}/${PN}-0.13.7-execinfo-configure.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # bug 518582 - local disable_instrumentation - echo -e "#include <inttypes.h>\nint main(){ int64_t var = 7; __sync_add_and_fetch(&var, 1); return 0;}" > "${T}/sync_add_and_fetch.c" || die - $(tc-getCC) ${CFLAGS} -o /dev/null -x c "${T}/sync_add_and_fetch.c" >/dev/null 2>&1 - if [[ $? -ne 0 ]]; then - disable_instrumentation="--disable-instrumentation" - fi - - # configure needs bash or script bombs out on some null shift, bug #291229 - CONFIG_SHELL=${BASH} econf \ - --enable-aligned \ - $(use_enable debug) \ - $(use_enable ssl openssl) \ - ${disable_instrumentation} \ - --with-posix-fallocate \ - --with-zlib="${EROOT%/}/usr/" -} - -src_install() { - default - - find "${D}" -name '*.la' -delete -} diff --git a/net-libs/libtorrent/libtorrent-0.13.7.ebuild b/net-libs/libtorrent/libtorrent-0.13.7.ebuild deleted file mode 100644 index 73c2cd137518..000000000000 --- a/net-libs/libtorrent/libtorrent-0.13.7.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools toolchain-funcs - -DESCRIPTION="BitTorrent library written in C++ for *nix" -HOMEPAGE="https://rakshasa.github.io/rtorrent/" -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz" - -LICENSE="GPL-2" - -# The README says that the library ABI is not yet stable and dependencies on -# the library should be an explicit, syncronized version until the library -# has had more time to mature. Until it matures we should not include a soname -# subslot. -SLOT="0" - -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="debug ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - sys-libs/zlib - >=dev-libs/libsigc++-2.2.2:2 - ssl? ( - dev-libs/openssl:0= - )" -DEPEND="${RDEPEND} - virtual/pkgconfig - dev-util/cppunit" - -PATCHES=( - "${FILESDIR}/${PN}-0001-Fix-the-DH-parameters-generation-with-OpenSSL-1.1.patch" - "${FILESDIR}/${PN}-openssl-1.1-part2.patch" - "${FILESDIR}/${PN}-openssl-1.1-part3.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # bug 518582 - local disable_instrumentation - echo -e "#include <inttypes.h>\nint main(){ int64_t var = 7; __sync_add_and_fetch(&var, 1); return 0;}" > "${T}/sync_add_and_fetch.c" || die - $(tc-getCC) ${CFLAGS} -o /dev/null -x c "${T}/sync_add_and_fetch.c" >/dev/null 2>&1 - if [[ $? -ne 0 ]]; then - disable_instrumentation="--disable-instrumentation" - fi - - # configure needs bash or script bombs out on some null shift, bug #291229 - CONFIG_SHELL=${BASH} econf \ - --enable-aligned \ - $(use_enable debug) \ - $(use_enable ssl openssl) \ - ${disable_instrumentation} \ - --with-posix-fallocate -} - -src_install() { - default - - find "${D}" -name '*.la' -delete -} diff --git a/net-libs/libtorrent/libtorrent-0.13.8-r1.ebuild b/net-libs/libtorrent/libtorrent-0.13.8-r2.ebuild index fe37a9e10546..5bb36208d46b 100644 --- a/net-libs/libtorrent/libtorrent-0.13.8-r1.ebuild +++ b/net-libs/libtorrent/libtorrent-0.13.8-r2.ebuild @@ -1,35 +1,37 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="BitTorrent library written in C++ for *nix" HOMEPAGE="https://rakshasa.github.io/rtorrent/" SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz" LICENSE="GPL-2" - # The README says that the library ABI is not yet stable and dependencies on # the library should be an explicit, syncronized version until the library # has had more time to mature. Until it matures we should not include a soname # subslot. SLOT="0" - -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="debug ssl test" -RESTRICT="!test? ( test )" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +IUSE="debug ssl" # cppunit dependency - https://github.com/rakshasa/libtorrent/issues/182 RDEPEND=" dev-util/cppunit:= sys-libs/zlib - ssl? ( - dev-libs/openssl:0= - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" + ssl? ( dev-libs/openssl:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.13.8-sysroot.patch ) + +src_prepare() { + default + eautoreconf +} src_configure() { # bug 518582 @@ -37,6 +39,7 @@ src_configure() { echo -e "#include <inttypes.h>\nint main(){ int64_t var = 7; __sync_add_and_fetch(&var, 1); return 0;}" > "${T}/sync_add_and_fetch.c" || die $(tc-getCC) ${CFLAGS} -o /dev/null -x c "${T}/sync_add_and_fetch.c" >/dev/null 2>&1 if [[ $? -ne 0 ]]; then + einfo "Disabling instrumentation" disable_instrumentation="--disable-instrumentation" fi @@ -46,12 +49,11 @@ src_configure() { $(use_enable debug) \ $(use_enable ssl openssl) \ ${disable_instrumentation} \ - --with-posix-fallocate \ - --with-zlib="${EROOT%/}/usr/" + --with-posix-fallocate } src_install() { default - find "${D}" -name '*.la' -delete + find "${ED}" -type f -name '*.la' -delete || die } diff --git a/net-libs/libtorrent/metadata.xml b/net-libs/libtorrent/metadata.xml index a6f8bb76cf75..3e85eb36e275 100644 --- a/net-libs/libtorrent/metadata.xml +++ b/net-libs/libtorrent/metadata.xml @@ -1,15 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>ss23@ss23.geek.nz</email> - <name>Stephen Shkardoon</name> - </maintainer> <maintainer type="person"> <email>perfinion@gentoo.org</email> <name>Jason Zaman</name> </maintainer> - <upstream> <remote-id type="github">rakshasa/libtorrent</remote-id> </upstream> diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest index 53a961ba3b97..b1de7ff5ca58 100644 --- a/net-libs/libtrace/Manifest +++ b/net-libs/libtrace/Manifest @@ -1,2 +1,3 @@ DIST libtrace-4.0.15_p1.tar.gz 1891845 BLAKE2B 08faf395f5fdda21829b89a9276649b297d2266ef10d2162b588b39d4d8d2da1306c74bb180d63b92f4422bb157fb451d34cd8167f0bff42322776e3b1ee0e7c SHA512 82f18b03e824f3ac89330854c3659244106ab5323f5e7a43ec7d2280f6ad3d427a906708688469b3f5aa479d11fef99a4bbecea585b81c916029132375582a4e DIST libtrace-4.0.17_p1.tar.gz 1961123 BLAKE2B be961bc58496414415b9affb0a6b77e5f234b92196fb719f3a2e8058ae80ade90977c44d57c75d37cbf26ff2e0c8816a4b376b77b6e44d13833960c6095b7e2c SHA512 85280edd515acf52361c34ebe5324fd95f4fafc72aa22c2c8bd43a6bca9a6b5fc9a046480fc760bb39d8b577532ed416caf10a630cea9465d305f2ed4dcb318e +DIST libtrace-4.0.18_p1.tar.gz 1963425 BLAKE2B fdacd4a44f899dc49fe9571d8e695cd726ea07d1c0595bd7c1f59d53721bd5610126924323c9c7098caf65276219e61265e5e05f23b4a92ae6377268c618202f SHA512 fc2979fa56b0eee25149a3571d0a06e2a46ab6d6fa419b2fc37635ebcf4a8814250005c4dfc5dddb5fb6aa9c74161ab4f475a037e021388054bb62f414b9c5d2 diff --git a/net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch b/net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch new file mode 100644 index 000000000000..b536302c30b9 --- /dev/null +++ b/net-libs/libtrace/files/libtrace-4.0.18_p1-build-system.patch @@ -0,0 +1,133 @@ +https://github.com/LibtraceTeam/libtrace/pull/201 + +From dde6c39e5808f06f1450b03e7c682edb0f1290cf Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 8 Feb 2022 05:30:32 +0000 +Subject: [PATCH 1/3] build: fix bashism in configure + +configures have a shebang of #!/bin/sh so need to work with a POSIX-compliant +shell; let's use = instead of == which will have the same effect on both Bash +and said shells (like dash). + +Signed-off-by: Sam James <sam@gentoo.org> +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 95d63fdc..dbbaabb7 100644 +--- a/configure.in ++++ b/configure.in +@@ -305,7 +305,7 @@ AC_ARG_WITH(xdp, AS_HELP_STRING(--with-xdp, include XDP capture support), + + if test "$want_xdp" != no; then + AC_CHECK_LIB(elf, elf_begin, elffound=1, elffound=0) +- if test "$elffound" == 1; then ++ if test "$elffound" = 1; then + # check for libbpf + AC_CHECK_LIB(bpf, xsk_socket__create, bpffound=1, bpffound=0, -lelf) + + +From 1525a42b386da02bda3982cf6e8b472f57f8ac34 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 8 Feb 2022 05:32:59 +0000 +Subject: [PATCH 2/3] build: make NUMA support optional + +This avoids an 'automagic dependency' [0] on NUMA. This is helpful for +downstreams to ensure we don't miss dependencies or when we may not +want to enable support for a feature even though a dependency is enabled. + +Gentoo has shipped this patch for quite some time. + +[0] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies + +Signed-off-by: Sam James <sam@gentoo.org> +--- + configure.in | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index dbbaabb7..6fbff150 100644 +--- a/configure.in ++++ b/configure.in +@@ -518,7 +518,23 @@ AC_CHECK_DECL([PACKET_FANOUT], + [[#include <linux/if_packet.h>]]) + + # If we use DPDK we might be able to use libnuma +-AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0) ++AC_ARG_WITH(numa, ++ AS_HELP_STRING(--with-numa,include NUMA support), ++[ ++ if test "$withval" = no ++ then ++ want_numa=no ++ else ++ want_numa=yes ++ fi ++],[ ++ # Default to building without NUMA ++ want_numa=yes ++]) ++ ++if test "$want_numa" != no; then ++ AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0) ++fi + + # Need libwandder for ETSI live decoding + AC_CHECK_LIB(wandder, init_wandder_decoder, have_wandder=1, have_wandder=0) + +From 153254413ae3cd6a62ee7d8b5eae189e84ebc066 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 8 Feb 2022 05:34:05 +0000 +Subject: [PATCH 3/3] build: use pkg-config to find ncurses + +ncurses can be built in a variety of configurations, but the motivating case +for Gentoo was "split tinfo" where libtinfo is no longer included within +libncurses. + +Use pkg-config to find where ncurses is installed and the required libraries +needed to link against it (which will include -ltinfo if required). + +We've been shipping this patch in Gentoo for quite some time. + +Signed-off-by: Sam James <sam@gentoo.org> +--- + configure.in | 4 ++++ + tools/tracetop/Makefile.am | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 6fbff150..cbb94d55 100644 +--- a/configure.in ++++ b/configure.in +@@ -79,6 +79,8 @@ AC_PROG_INSTALL + AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc) + AM_PROG_LEX + ++PKG_PROG_PKG_CONFIG ++ + # All our source files for function replacements are in lib/ + AC_CONFIG_LIBOBJ_DIR(lib) + +@@ -916,6 +918,8 @@ if (test "$use_llvm" != "no"); then + fi + fi + ++PKG_CHECK_MODULES(ncurses,ncurses,have_ncurses=yes,have_ncurses=no) ++ + AC_ARG_WITH([ncurses], + AC_HELP_STRING([--with-ncurses], [build tracetop (requires ncurses)])) + +diff --git a/tools/tracetop/Makefile.am b/tools/tracetop/Makefile.am +index 2ebbc3a7..a2eb2797 100644 +--- a/tools/tracetop/Makefile.am ++++ b/tools/tracetop/Makefile.am +@@ -6,6 +6,6 @@ bin_PROGRAMS = tracetop + include ../Makefile.tools + + tracetop_SOURCES = tracetop.cc +-tracetop_LDADD = -lncurses ++tracetop_LDADD = @ncurses_LIBS@ + tracetop_CPPFLAGS = -fno-strict-aliasing $(AM_CFLAGS) + endif + diff --git a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild new file mode 100644 index 000000000000..b43bb405d524 --- /dev/null +++ b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A library and tools for trace processing" +HOMEPAGE="https://research.wand.net.nz/software/libtrace.php" +SRC_URI="https://github.com/${PN^}Team/${PN}/archive//${PV/_p/-}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P/_p/-}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# doxygen is always needed for man pages, but USE=doc controls installing docs themselves +# (not man pages) +IUSE="doc ncurses numa" + +RDEPEND=">=net-libs/libpcap-0.8 + dev-libs/libyaml + dev-libs/openssl:= + net-libs/wandio + ncurses? ( sys-libs/ncurses:= ) + numa? ( sys-process/numactl )" +DEPEND="${RDEPEND}" +BDEPEND="app-doc/doxygen[dot] + sys-devel/flex + virtual/os-headers + virtual/pkgconfig + virtual/yacc" + +PATCHES=( + "${FILESDIR}"/${PN}-4.0.18_p1-build-system.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + eautoreconf + + # Comment out FILE_PATTERNS definition (bug #706230) + if has_version ~app-doc/doxygen-1.8.16; then + sed -i -e '/^FILE_PATTERNS/s|^|#|g' docs/${PN}.doxygen.in || die + fi + + # Update doxygen configuration + doxygen -u docs/libtrace.doxygen.in || die +} + +src_configure() { + econf \ + $(use_with ncurses) \ + $(use_with numa) \ + --with-man \ + --without-dpdk +} + +src_install() { + default + + if use doc ; then + docinto html + dodoc -r docs/doxygen/html + fi + + find "${ED}" -name "*.la" -delete || die +} diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest index a4442cccbb0a..d28f01297328 100644 --- a/net-libs/libupnp/Manifest +++ b/net-libs/libupnp/Manifest @@ -1,2 +1 @@ DIST libupnp-1.14.12.tar.gz 788299 BLAKE2B 721c10f9fa4ffc60743b4ebf8be566ea595931cb1f2a2448d8e3cecfc787abfb855cb16256eaaa10ce6a901cd5e5b3d14672610841b2a718d5dd003ccfd3c2f0 SHA512 aab17aa12f15d110bfab20cbcbae5f54926b6ca7a30bce10b9287cd39919a06a5e9f1493405e1d561c0d58ba46926f87009df891e4e4f37097df1c3c67635ca9 -DIST libupnp-1.14.7.tar.gz 785084 BLAKE2B 539388737dda0dd037cb50fbc1cca8bcdc43d1d706bdb7da19d1a184cfd61f3d585d9beef2a9c8c33f2cb2640a8479210ad6c358abd7193f304509df574e912c SHA512 92dd80d1bbaa64e6d3909c5bce73d0340fcd3a3c1d247a634bd48ec077ba0ce0b8224d1a670a66f6a8c591e31a54f15526071d62ae5460e85d582d7b6b67c674 diff --git a/net-libs/libupnp/files/libupnp-1.14.7-glibc-2.34.patch b/net-libs/libupnp/files/libupnp-1.14.7-glibc-2.34.patch deleted file mode 100644 index dbcfd5e2cc20..000000000000 --- a/net-libs/libupnp/files/libupnp-1.14.7-glibc-2.34.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/upnp/inc/ithread.h -+++ b/upnp/inc/ithread.h -@@ -304,12 +304,8 @@ - * Returns EINVAL if the kind is not supported. - * See man page for pthread_mutexattr_setkind_np - *****************************************************************************/ --#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__) -- #define ithread_mutexattr_setkind_np pthread_mutexattr_settype --#else -- #define ithread_mutexattr_setkind_np pthread_mutexattr_setkind_np --#endif /* UPNP_USE_RWLOCK */ -- -+#define ithread_mutexattr_setkind_np pthread_mutexattr_settype -+#define ithread_mutexattr_settype pthread_mutexattr_settype - /**************************************************************************** - * Function: ithread_mutexattr_getkind_np - * -@@ -329,12 +325,8 @@ - * Always returns 0. - * See man page for pthread_mutexattr_getkind_np - *****************************************************************************/ --#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__) -- #define ithread_mutexattr_getkind_np pthread_mutexattr_gettype --#else -- #define ithread_mutexattr_getkind_np pthread_mutexattr_getkind_np --#endif /* UPNP_USE_RWLOCK */ -- -+#define ithread_mutexattr_getkind_np pthread_mutexattr_gettype -+#define ithread_mutexattr_gettype pthread_mutexattr_gettype - /**************************************************************************** - * Function: ithread_mutex_init - * diff --git a/net-libs/libupnp/libupnp-1.14.12-r1.ebuild b/net-libs/libupnp/libupnp-1.14.12-r1.ebuild index fc9560d1abf1..b74eee98c312 100644 --- a/net-libs/libupnp/libupnp-1.14.12-r1.ebuild +++ b/net-libs/libupnp/libupnp-1.14.12-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_PN}-release-${PV}" LICENSE="BSD" SLOT="0/17" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux" IUSE="blocking-tcp debug doc +ipv6 +reuseaddr samples +ssl static-libs" RDEPEND="ssl? ( dev-libs/openssl:0= )" diff --git a/net-libs/libupnp/libupnp-1.14.7.ebuild b/net-libs/libupnp/libupnp-1.14.7.ebuild deleted file mode 100644 index eee1e507052a..000000000000 --- a/net-libs/libupnp/libupnp-1.14.7.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_PN="pupnp" - -DESCRIPTION="An Portable Open Source UPnP Development Kit" -HOMEPAGE="http://pupnp.sourceforge.net/" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-release-${PV}" - -LICENSE="BSD" -SLOT="0/17" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux" -IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs" - -# bug 733750 -RESTRICT="test" - -PATCHES=( "${FILESDIR}/${PN}-1.14.7-glibc-2.34.patch" ) - -src_prepare() { - default - - # fix tests - chmod +x ixml/test/test_document.sh || die - - eautoreconf -} - -src_configure() { - # w/o docdir to avoid sandbox violations - econf $(use_enable debug) \ - $(use_enable blocking-tcp blocking-tcp-connections) \ - $(use_enable ipv6) \ - $(use_enable reuseaddr) \ - $(use_enable static-libs static) \ - $(use_enable samples) -} - -src_install() { - default - - if ! use static-libs ; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/net-libs/libupnpp/libupnpp-0.21.0.ebuild b/net-libs/libupnpp/libupnpp-0.21.0.ebuild index 14aa6943cc85..1e34570c792d 100644 --- a/net-libs/libupnpp/libupnpp-0.21.0.ebuild +++ b/net-libs/libupnpp/libupnpp-0.21.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,3 +16,8 @@ DEPEND=" 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/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index 1e2ec8ebeee7..ae6aa421bbcf 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,2 +1,2 @@ -DIST libwebsockets-4.3.0.tar.gz 15605272 BLAKE2B 6ea48fedf3755f55885f32bc289513182cf735472c161f15d720a76ddfa54e5e2c2d93a343f98d941d14b88f8ca8a13039922f8669b85562c5c0c4312f878b98 SHA512 7f183cb0417a902cb18e76431a8580d87db09c973483f3a129e138e4644b9d0e78e0539e985dc6286d9fe429edea7f63147864dc0413cf8e40fca3d67f9c3c42 DIST libwebsockets-4.3.1.tar.gz 15607585 BLAKE2B 420343dd358e4ca45d0cadde7f0a6398dbd5043c4cd2c1a70f32dc9b5ef4cb222239971c4ce758ee156deac4d06bd18289a8e975a7f41508abfdcb05870994f6 SHA512 3cc2daadd7d2587ce946209a31741662d98367f0f9f77a1555497bef6fc6acc6cb97f5196d6ecef2d13828bb5613c60cccada03d9a01a5c970a9cfd25baeb0ae +DIST libwebsockets-4.3.2.tar.gz 15616264 BLAKE2B 3b8657b79828102cbfba71ea789acd3b7aec7faaa6317974d182b3cb4b5091d8efcf1f184278f71674624a0f1968450ab056e1d91f9faf2c35c67c6c6f4cb695 SHA512 68d18574dea0563fa4f080c5d0d1cfe21a115bffdb17c6190f6741998f1e5db0739e252ef344ffe6fa4bd6781372456b240539471dd2aa900e43759e0f2d42ad diff --git a/net-libs/libwebsockets/libwebsockets-4.3.1.ebuild b/net-libs/libwebsockets/libwebsockets-4.3.1.ebuild index 5db0694c894d..48932f3cb202 100644 --- a/net-libs/libwebsockets/libwebsockets-4.3.1.ebuild +++ b/net-libs/libwebsockets/libwebsockets-4.3.1.ebuild @@ -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 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86" IUSE="access-log caps cgi client dbus 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/libwebsockets-4.3.0.ebuild b/net-libs/libwebsockets/libwebsockets-4.3.2.ebuild index 5c1d4449fa63..aa4726c64784 100644 --- a/net-libs/libwebsockets/libwebsockets-4.3.0.ebuild +++ b/net-libs/libwebsockets/libwebsockets-4.3.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 930612c50d83..b7ef7603b6c8 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1 +1 @@ -DIST libyang-2.0.112.tar.gz 1075308 BLAKE2B 13c5dee1817f93ec24580d24cfc5d1c066de54dec3d1de60e6f7d67caad527b13e40864301d5e5086b3d92b8769e200674168dd874bc2c786bd5101ec3aa958f SHA512 5da463b86656b9fc944925777a488b3306ef1a1e7efdaf4af677960a04b5544605126bb7e0441e55686b80f97fca70fe86605d0e7c64f634b4297dcc7bd779db +DIST libyang-2.0.194.tar.gz 1150705 BLAKE2B aa323b39752ac426f35e1ef17ca4a61d726c48916b740511ed03b06b8132747207dd4620842f9730ff1d05f216086310bc1634f393163067c119f5eec0aa91b1 SHA512 33d043ff696fc59c1cf5265a463b85a17459086162a03c56b1894cc524b7325ded2e14a71fce55ee70d02ea1119eef523190708c5f7b22438ab8ffd014fccefb diff --git a/net-libs/libyang/libyang-2.0.112.ebuild b/net-libs/libyang/libyang-2.0.194.ebuild index 2b0dd6643d25..9ce1420009ab 100644 --- a/net-libs/libyang/libyang-2.0.112.ebuild +++ b/net-libs/libyang/libyang-2.0.194.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/net-libs/libzapojit/libzapojit-0.0.3.ebuild b/net-libs/libzapojit/libzapojit-0.0.3-r1.ebuild index d10dc3b24c72..8697fd59be7d 100644 --- a/net-libs/libzapojit/libzapojit-0.0.3.ebuild +++ b/net-libs/libzapojit/libzapojit-0.0.3-r1.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" -GCONF_DEBUG="no" +EAPI=8 inherit gnome2 @@ -11,8 +10,8 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/libzapojit" LICENSE="LGPL-2.1" SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~sparc x86" IUSE="+introspection" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-libs/glib-2.28:2 @@ -23,7 +22,8 @@ RDEPEND=" introspection? ( >=dev-libs/gobject-introspection-1.30.0 ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" >=dev-util/gtk-doc-am-1.11 >=dev-util/intltool-0.35.0 sys-devel/gettext @@ -34,6 +34,5 @@ DEPEND="${RDEPEND} src_configure() { gnome2_src_configure \ - --disable-static \ $(use_enable introspection) } diff --git a/net-libs/loudmouth/Manifest b/net-libs/loudmouth/Manifest index e1ff682afffe..5a762f8d133f 100644 --- a/net-libs/loudmouth/Manifest +++ b/net-libs/loudmouth/Manifest @@ -1 +1,2 @@ DIST loudmouth-1.5.3.tar.bz2 375974 BLAKE2B c9707fe18560104456a624a61437240a16bb6bbaf544cdf775f6d6c64fdbeb6eb8f7042eb13fcdeb36c89bb8d9522c2eba02c24987757c0f0ac8748d92a2b166 SHA512 ab6b16b4e644b69cdb7d8df1753d1bb5b43c2f1e76944e639339169b332e1b5c6a4246053c5b8a579ee9b53c845cef610b0040dfdffeb857180b6bab71adfcce +DIST loudmouth-1.5.4.tar.bz2 361323 BLAKE2B 1d8453625262e4f9dc8d603619b71cac073831462164a10a92a5118c212293ae4ad9a0ca276b07b7919a0aebce633b4afaabb015ecf4b33e7c641a4273edc64a SHA512 49a08f0130b9ee56f07586d244504c81242723865a136b03e1049f32b1aa1e6c49e9b76b38f0cfb812ef4c66f73b7d83914a58e9a93e0496207e06c2b5efa9d8 diff --git a/net-libs/loudmouth/files/loudmouth-1.5.4-freeaddrinfo-musl.patch b/net-libs/loudmouth/files/loudmouth-1.5.4-freeaddrinfo-musl.patch new file mode 100644 index 000000000000..f75714a75058 --- /dev/null +++ b/net-libs/loudmouth/files/loudmouth-1.5.4-freeaddrinfo-musl.patch @@ -0,0 +1,40 @@ +https://github.com/mcabber/loudmouth/pull/46 + +From f32119e1408c742da9a1862805d76d222937756d Mon Sep 17 00:00:00 2001 +From: psykose <alice@ayaya.dev> +Date: Thu, 21 Apr 2022 18:23:32 +0000 +Subject: [PATCH] fix macro define for freeaddrinfo with asyncns + +previously, this define was only made in lm-asyncns-resolver.c, which +does not propagate it to lm-resolver.c, where freeaddrinfo() is used. +this means that when asyncns support is used, the standard libc +freeaddrinfo() is called on an addrinfo acquired from +asyncns_getaddrinfo, which is undefined behaviour, and leads to a +segfault on musl libc. +--- a/loudmouth/lm-asyncns-resolver.c ++++ b/loudmouth/lm-asyncns-resolver.c +@@ -21,7 +21,6 @@ + #include <string.h> + #ifdef HAVE_ASYNCNS + #include <asyncns.h> +-#define freeaddrinfo(x) asyncns_freeaddrinfo(x) + + /* Needed on Mac OS X */ + #if HAVE_ARPA_NAMESER_COMPAT_H +--- a/loudmouth/lm-asyncns-resolver.h ++++ b/loudmouth/lm-asyncns-resolver.h +@@ -19,8 +19,14 @@ + #ifndef __LM_ASYNCNS_RESOLVER_H__ + #define __LM_ASYNCNS_RESOLVER_H__ + ++#include <config.h> ++ + #include <glib-object.h> + ++#ifdef HAVE_ASYNCNS ++#define freeaddrinfo(x) asyncns_freeaddrinfo(x) ++#endif ++ + #include "lm-resolver.h" + + G_BEGIN_DECLS diff --git a/net-libs/loudmouth/loudmouth-1.5.4.ebuild b/net-libs/loudmouth/loudmouth-1.5.4.ebuild new file mode 100644 index 000000000000..bd960d3f5dbc --- /dev/null +++ b/net-libs/loudmouth/loudmouth-1.5.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight C Jabber library" +HOMEPAGE="https://mcabber.com" +SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos" +IUSE="asyncns ssl openssl test" +RESTRICT="!test? ( test )" + +# Automagic libidn dependency +RDEPEND=">=dev-libs/glib-2.16:2 + net-dns/libidn:= + ssl? ( + !openssl? ( >=net-libs/gnutls-1.4.0:0= ) + openssl? ( dev-libs/openssl:0= ) + ) + asyncns? ( >=net-libs/libasyncns-0.3 )" +DEPEND="${RDEPEND} + test? ( dev-libs/check )" +BDEPEND="dev-util/glib-utils + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.4-freeaddrinfo-musl.patch +) + +src_configure() { + local myconf + + if use ssl; then + if ! use openssl; then + myconf="${myconf} --with-ssl=gnutls" + else + myconf="${myconf} --with-ssl=openssl" + fi + else + myconf="${myconf} --with-ssl=no" + fi + + # --with-compile-warnings=yes to avoid default =error + econf \ + $(use_with asyncns) \ + --with-compile-warnings=yes \ + ${myconf} +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-libs/loudmouth/metadata.xml b/net-libs/loudmouth/metadata.xml index b54ff2f9f0e4..88fdcd4e46d1 100644 --- a/net-libs/loudmouth/metadata.xml +++ b/net-libs/loudmouth/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>andrey_utkin@gentoo.org</email> - <name>Andrey Utkin</name> - </maintainer> + <!-- maintainer-needed --> <use> <flag name="asyncns">Use <pkg>net-libs/libasyncns</pkg> for asynchronous name resolution.</flag> <flag name="openssl">Enable <pkg>dev-libs/openssl</pkg> support instead of gnutls (which is the default).</flag> diff --git a/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild b/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild index 545749431ca9..388cc9abaff0 100644 --- a/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild +++ b/net-libs/mbedtls/mbedtls-2.28.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/7.14.1" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~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/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch b/net-libs/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch new file mode 100644 index 000000000000..fc578e5e6147 --- /dev/null +++ b/net-libs/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch @@ -0,0 +1,38 @@ +Not upstream b/c already done in 2.3.0: +https://github.com/miniupnp/miniupnp/commit/c88178650e2551226a88cbc87084014781f81184 +https://github.com/miniupnp/miniupnp/commit/d2f558f659da923144f591be418380a7ff8a8677 +--- a/Makefile ++++ b/Makefile +@@ -15,7 +15,7 @@ VERSION = $(shell cat VERSION) + + ifneq (, $(findstring darwin, $(OS))) + JARSUFFIX=mac +-LIBTOOL ?= $(shell which libtool) ++LIBTOOL ?= $(shell command -v libtool) + endif + ifneq (, $(findstring linux, $(OS))) + JARSUFFIX=linux +--- a/testminiwget.sh ++++ b/testminiwget.sh +@@ -24,8 +24,8 @@ EXPECTEDFILE="${TMPD}/expectedfile" + DOWNLOADEDFILE="${TMPD}/downloadedfile" + PORT= + RET=0 +-IPCONFIG=$(which ifconfig) +-IP=$(which ip) ++IPCONFIG=$(command -v ifconfig) ++IP=$(command -v ip) + if [ "$IP" ] ; then + if ! $IP addr | grep inet6 ; then + HAVE_IPV6=no +--- a/updateminiupnpcstrings.sh ++++ b/updateminiupnpcstrings.sh +@@ -26,7 +26,7 @@ if [ -f /etc/debian_version ]; then + OS_VERSION=`cat /etc/debian_version` + fi + # use lsb_release (Linux Standard Base) when available +-LSB_RELEASE=`which lsb_release` ++LSB_RELEASE=`command -v lsb_release` + if [ 0 -eq $? -a -x "${LSB_RELEASE}" ]; then + OS_NAME=`${LSB_RELEASE} -i -s` + OS_VERSION=`${LSB_RELEASE} -r -s` diff --git a/net-libs/miniupnpc/metadata.xml b/net-libs/miniupnpc/metadata.xml index a3c057ba374d..c89549110c7c 100644 --- a/net-libs/miniupnpc/metadata.xml +++ b/net-libs/miniupnpc/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> -</maintainer> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">miniupnp/miniupnp</remote-id> + </upstream> </pkgmetadata> diff --git a/net-libs/miniupnpc/miniupnpc-2.2.3-r1.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.3-r1.ebuild new file mode 100644 index 000000000000..90a944cd2301 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.2.3-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs verify-sig + +DESCRIPTION="UPnP client library and a simple UPnP client" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz + verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )" + +LICENSE="BSD" +SLOT="0/17" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="ipv6" + +RDEPEND="" +BDEPEND=" + kernel_linux? ( sys-apps/lsb-release ) + verify-sig? ( sec-keys/openpgp-keys-miniupnp )" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-drop-which.patch + ) + default + + local exprs=( + # These bins are not installed, upnpc-static requires building static lib + -e '/EXECUTABLES =/s/ upnpc-static listdevices//' + # Prevent gzipping manpage. + -e '/gzip/d' + # Disable installing the static library + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' + ) + sed -i "${exprs[@]}" Makefile || die +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake build/upnpc-shared +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} diff --git a/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild index dec6bd3995f6..eb241b980d00 100644 --- a/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild +++ b/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz LICENSE="BSD" SLOT="0/17" -KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="ipv6" RDEPEND="" diff --git a/net-libs/nDPI/Manifest b/net-libs/nDPI/Manifest index eae6568123c4..ee024387d46e 100644 --- a/net-libs/nDPI/Manifest +++ b/net-libs/nDPI/Manifest @@ -1,3 +1,4 @@ DIST nDPI-3.4.tar.gz 37976087 BLAKE2B 49e25586671a91278d90775c3dbc881ce4ca9ae4afd3108b1caff3b0d38251808bcd52ead253f451474195994fbf94658f70241acedb23c35a475df3b15c4a20 SHA512 ed5a22b6ddc14ad707a18a0bd96746c1df489969faaa42016fa9aad8d414fc4ee303b96cac15c3ba86f484a80a0aaa2dd1be5f92be672912e0e0d30da4bdad4c DIST nDPI-4.0-patches.tar.bz2 8744 BLAKE2B 48bfb2cf240823b64ab15a3f8a21acece878102ebb4cc807648b264ef091107a05d66fc672cccd1bc721ad3ea0edde786a1f133dfc84c91422604a9929e327ed SHA512 99a780c18c048ceec29c42828c420fe3f9624906eaef70f92af6abdbf7bc29133e048d7f8de85d8b73aa6667066e7ab5843fa293221d5ec8bbe87803dde83db6 DIST nDPI-4.0.tar.gz 120053617 BLAKE2B ea0f333bd62622c1ab792137f9bbf2e35cb3790aae191c5caeaea36c7ce376bfa84633e99e321c16bcfbe5812d6674b825bdc4197297cee76064ed88f344a577 SHA512 2526041bc02a210e65bad31323a66167d79a37d14697cf4459054cc54715e53f9673b0000cefa6b452bbe3b3e6c25f0bafcf59d24323d210e2ce6782d9153f81 +DIST nDPI-4.2.tar.gz 126559327 BLAKE2B 079267939083e788ce8b13e89b194504031e4c3e628df335ece7aab72cc80b8d8538badd45dac9fdaeeed8cd5dd19a81fece9c1157cba9a91dfa130abef61473 SHA512 c58b228b7de2b5fa111234bb065f9be259cd0282d0058f5985180aab6567c9a18e3453ce9062bd3c057a096ec3dfdc21b7c9680e0148e34af10f707530d853b8 diff --git a/net-libs/nDPI/nDPI-4.2.ebuild b/net-libs/nDPI/nDPI-4.2.ebuild new file mode 100644 index 000000000000..a7730e61c252 --- /dev/null +++ b/net-libs/nDPI/nDPI-4.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Open Source Deep Packet Inspection Software Toolkit" +HOMEPAGE="https://www.ntop.org/" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ntop/${PN}" + inherit git-r3 +else + SRC_URI="https://github.com/ntop/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-3+" +SLOT="0/$(ver_cut 1)" + +DEPEND="dev-libs/json-c:= + dev-libs/libgcrypt:= + dev-libs/libgpg-error + net-libs/libpcap" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i \ + -e "s%^libdir\s*=\s*\${prefix}/lib\s*$%libdir = \${prefix}/$(get_libdir)%" \ + src/lib/Makefile.in || die + + eautoreconf +} + +src_test() { + pushd tests || die + + ./do.sh || die "Failed tests" + ./do-unit.sh || die "Failed unit tests" + + popd || die +} + +src_install() { + default + + rm "${ED}/usr/$(get_libdir)"/lib${PN,,}.a || die +} diff --git a/net-libs/nDPI/nDPI-9999.ebuild b/net-libs/nDPI/nDPI-9999.ebuild index ea288e57ec66..a7730e61c252 100644 --- a/net-libs/nDPI/nDPI-9999.ebuild +++ b/net-libs/nDPI/nDPI-9999.ebuild @@ -12,7 +12,6 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/ntop/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" fi @@ -25,9 +24,6 @@ DEPEND="dev-libs/json-c:= net-libs/libpcap" RDEPEND="${DEPEND}" -# Also sent a patch upstream https://github.com/ntop/nDPI/pull/1392 for -# AR/CC etc but doesn't apply cleanly (at all) to 4.0. - src_prepare() { default diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest index 6516fa15f565..f1d5b2e50549 100644 --- a/net-libs/nativebiginteger/Manifest +++ b/net-libs/nativebiginteger/Manifest @@ -1,2 +1,2 @@ -DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82 SHA512 2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866 SHA512 c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a +DIST i2psource_1.7.0.tar.bz2 33300522 BLAKE2B dcb83477f6d066b707632f8db44bc811558b0bc52368ce992aaf14d0d21acc1fb9bce1dfa8171fca8cf3819765f0b7993ae4a2566a6f65786cca84c02ea4336a SHA512 a27c448246538f152355ecfdf781e39bf9e57b5d0f7ea139ce06d800ce3eed7fa4e375210e6545da2a75245b45282bc8d8e7453d96729f940c34daa75bdc588f diff --git a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild index f8721a066fc9..7832660291bb 100644 --- a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild +++ b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2021 Gentoo Authors +# Copyright 2018-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2" LICENSE="public-domain" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild index efda38f2b606..802e94a86fa7 100644 --- a/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild +++ b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2021 Gentoo Authors +# Copyright 2018-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,11 +7,11 @@ inherit java-pkg-2 toolchain-funcs DESCRIPTION="jbigi library used by net-vpn/i2p" HOMEPAGE="https://geti2p.net" -SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2" +SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2" LICENSE="public-domain" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest index 82555b12ca47..09207e791508 100644 --- a/net-libs/neon/Manifest +++ b/net-libs/neon/Manifest @@ -1,6 +1 @@ -DIST neon-0.30.2.tar.gz 932779 BLAKE2B 0536e4f1c8634ede9a1806180c315772a65b9cb1ead0ae3674d58aba855905b6a7c7684ef930ca1998c1163c662d642a687cc704922981dbc4a89efaa83f4cd9 SHA512 634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 -DIST neon-0.31.0.tar.gz 867476 BLAKE2B 84981d0fcca97bfa495f9e8cbf060a06e04c931ce3b5eca41ff1d76a47fd863139b8bf3e102c5e4e8d22d5cffcebc64cee9b8f746f8d6669f0cbccf124fed9cc SHA512 62c55e16609d657ac56bb4a2fd32a10ffa72d5694aa1369be533491a6683034ed42843d5f19ed06cf8c1b7b8ba11b74f9839cdfeef4afc3b2d7b11372ed85cd2 -DIST neon-0.31.1.tar.gz 867810 BLAKE2B 7b7d0c8ab635446c98f3db7072f1dabbb74ad9f579086f209bb3af5460363520be38886a299d22dc0f27a091f322c6d5972a00d4e6c612c710dca12e7620f850 SHA512 00d7297c102ee828d84eb28c9b6a57e66290904acf5327f8a6d3d1759ffacf88329bb2157dcef418c69e93d1370ccbd591829da06c01c3f44aea6c7b92462c13 -DIST neon-0.31.2.tar.gz 867914 BLAKE2B 8ae1301dd5f9ac1a6b518f99919a1b7e7b7c6499413b523ff82e00d364d6d9c5ad96875795330e2fd9c42a42b073e3eea51b6cc0ee9e9a21850763f0cdd0b97e SHA512 1e402b40a0445f68ed24d2697ee60d21636f61ebc98edcde37ff9e26c54430acabf3969ac22a942d1dd51bddee0f312c04073b423b0af3a3e7c9bf60cd53e48c -DIST neon-0.32.1.tar.gz 880434 BLAKE2B 91b942cb0d7184f4da26d7d45e846a0f80aa834226e5ff0689df75650da79cbfad0854c718dbffdd31cc0f09f25458ea37ca39bb38071643a6a609ef6102b896 SHA512 a231865c3aad3668f6effded97a58eb981655f64c71b0954fcb2e667bdec50895d11bf296f4f454bd63e6ce9b02c2fd13cbb17cb82631e16f100000ecd7e1977 DIST neon-0.32.2.tar.gz 880651 BLAKE2B 3629eee38e10ada5e001bf0afb77c70814083bf553596fc150a6cf21f0b66cf4de28841b242f68faaeb44fa5e0ad260939102b015d2a543ef59012876256b364 SHA512 2580a3c8c3cf4aff2d399f72a721ccfb4e68434ef92da4af8103c126812d779b9fbe5cafbab512c79f4365bbb3d3eac61568748136470e86f7aa7b98b27053c8 diff --git a/net-libs/neon/metadata.xml b/net-libs/neon/metadata.xml index f53db81ccb5b..5fd2d0a22b8e 100644 --- a/net-libs/neon/metadata.xml +++ b/net-libs/neon/metadata.xml @@ -3,10 +3,11 @@ <pkgmetadata> <maintainer type="person" proxied="yes"> <email>arfrever.fta@gmail.com</email> + <name>Arfrever Frehtes Taifersar Arahesis</name> </maintainer> <maintainer type="person" proxied="proxy"> - <email>floppym@gentoo.org</email> - <name>Mike Gilbert</name> + <email>jsmolic@gentoo.org</email> + <name>Jakov Smolić</name> </maintainer> <longdescription> Neon is an HTTP and WebDAV client library for Unix systems, with a C diff --git a/net-libs/neon/neon-0.30.2.ebuild b/net-libs/neon/neon-0.30.2.ebuild deleted file mode 100644 index 0579d7c523da..000000000000 --- a/net-libs/neon/neon-0.30.2.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2001-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/" -SRC_URI="http://webdav.org/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -src_prepare() { - # Use CHOST-prefixed version of xml2-config for cross-compilation. - sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" - - # Fix compatibility with OpenSSL >=1.1. - sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" - - eapply_user - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=() - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=(--enable-threadsafe-ssl=posix) - fi - - if use expat; then - myconf+=(--with-expat) - else - myconf+=(--with-libxml2) - fi - - if use ssl; then - if use gnutls; then - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") - else - myconf+=(--with-ssl=openssl) - fi - fi - - econf \ - --enable-shared \ - $(use_with kerberos gssapi) \ - $(use_with libproxy) \ - $(use_enable nls) \ - $(use_with pkcs11 pakchois) \ - $(use_enable static-libs static) \ - $(use_with zlib) \ - "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} - - if multilib_is_native_abi && use doc; then - ( - docinto html - dodoc -r doc/html/* - ) - fi -} - -multilib_src_install_all() { - find "${D}" -name "*.la" -type f -delete || die - - dodoc AUTHORS BUGS NEWS README THANKS TODO -} diff --git a/net-libs/neon/neon-0.31.0.ebuild b/net-libs/neon/neon-0.31.0.ebuild deleted file mode 100644 index adbc8e2dcc79..000000000000 --- a/net-libs/neon/neon-0.31.0.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2001-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/" -SRC_URI="http://webdav.org/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -src_prepare() { - # Use CHOST-prefixed version of xml2-config for cross-compilation. - sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" - - # Fix compatibility with OpenSSL >=1.1. - sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" - - eapply_user - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=() - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=(--enable-threadsafe-ssl=posix) - fi - - if use expat; then - myconf+=(--with-expat) - else - myconf+=(--with-libxml2) - fi - - if use ssl; then - if use gnutls; then - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") - else - myconf+=(--with-ssl=openssl) - fi - fi - - econf \ - --enable-shared \ - $(use_with kerberos gssapi) \ - $(use_with libproxy) \ - $(use_enable nls) \ - $(use_with pkcs11 pakchois) \ - $(use_enable static-libs static) \ - $(use_with zlib) \ - "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} - - if multilib_is_native_abi && use doc; then - ( - docinto html - dodoc -r doc/html/* - ) - fi -} - -multilib_src_install_all() { - find "${D}" -name "*.la" -type f -delete || die - - dodoc AUTHORS BUGS NEWS README.md THANKS TODO -} diff --git a/net-libs/neon/neon-0.31.1.ebuild b/net-libs/neon/neon-0.31.1.ebuild deleted file mode 100644 index a6ad1025fb55..000000000000 --- a/net-libs/neon/neon-0.31.1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2001-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/" -SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -src_prepare() { - # Use CHOST-prefixed version of xml2-config for cross-compilation. - sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" - - # Fix compatibility with OpenSSL >=1.1. - sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" - - eapply_user - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=() - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=(--enable-threadsafe-ssl=posix) - fi - - if use expat; then - myconf+=(--with-expat) - else - myconf+=(--with-libxml2) - fi - - if use ssl; then - if use gnutls; then - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") - else - myconf+=(--with-ssl=openssl) - fi - fi - - econf \ - --enable-shared \ - $(use_with kerberos gssapi) \ - $(use_with libproxy) \ - $(use_enable nls) \ - $(use_with pkcs11 pakchois) \ - $(use_enable static-libs static) \ - $(use_with zlib) \ - "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} - - if multilib_is_native_abi && use doc; then - ( - docinto html - dodoc -r doc/html/* - ) - fi -} - -multilib_src_install_all() { - find "${D}" -name "*.la" -type f -delete || die - - dodoc AUTHORS BUGS NEWS README.md THANKS TODO -} diff --git a/net-libs/neon/neon-0.31.2.ebuild b/net-libs/neon/neon-0.31.2.ebuild deleted file mode 100644 index 77dd704a1b7b..000000000000 --- a/net-libs/neon/neon-0.31.2.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2001-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/" -SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -src_prepare() { - # Use CHOST-prefixed version of xml2-config for cross-compilation. - sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" - - # Fix compatibility with OpenSSL >=1.1. - sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" - - eapply_user - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=() - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=(--enable-threadsafe-ssl=posix) - fi - - if use expat; then - myconf+=(--with-expat) - else - myconf+=(--with-libxml2) - fi - - if use ssl; then - if use gnutls; then - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") - else - myconf+=(--with-ssl=openssl) - fi - fi - - econf \ - --enable-shared \ - $(use_with kerberos gssapi) \ - $(use_with libproxy) \ - $(use_enable nls) \ - $(use_with pkcs11 pakchois) \ - $(use_enable static-libs static) \ - $(use_with zlib) \ - "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} - - if multilib_is_native_abi && use doc; then - ( - docinto html - dodoc -r doc/html/* - ) - fi -} - -multilib_src_install_all() { - find "${D}" -name "*.la" -type f -delete || die - - dodoc AUTHORS BUGS NEWS README.md THANKS TODO -} diff --git a/net-libs/neon/neon-0.32.1.ebuild b/net-libs/neon/neon-0.32.1.ebuild deleted file mode 100644 index 92ef286a9128..000000000000 --- a/net-libs/neon/neon-0.32.1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 2001-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/" -SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/docbook-xml-dtd:4.5 - app-text/xmlto - virtual/pkgconfig -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -src_prepare() { - # Use CHOST-prefixed version of xml2-config for cross-compilation. - sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" - - # Fix compatibility with OpenSSL >=1.1. - sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" - - eapply_user - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=() - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=(--enable-threadsafe-ssl=posix) - fi - - if use expat; then - myconf+=(--with-expat) - else - myconf+=(--with-libxml2) - fi - - if use ssl; then - if use gnutls; then - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") - else - myconf+=(--with-ssl=openssl) - fi - fi - - econf \ - --enable-shared \ - $(use_with kerberos gssapi) \ - $(use_with libproxy) \ - $(use_enable nls) \ - $(use_with pkcs11 pakchois) \ - $(use_enable static-libs static) \ - $(use_with zlib) \ - "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} - - if multilib_is_native_abi && use doc; then - ( - docinto html - dodoc -r doc/html/* - ) - fi -} - -multilib_src_install_all() { - find "${D}" -name "*.la" -type f -delete || die - - dodoc AUTHORS BUGS NEWS README.md THANKS TODO -} diff --git a/net-libs/neon/neon-0.32.2.ebuild b/net-libs/neon/neon-0.32.2.ebuild index b318674ec7f0..6d6ce09d19ac 100644 --- a/net-libs/neon/neon-0.32.2.ebuild +++ b/net-libs/neon/neon-0.32.2.ebuild @@ -1,21 +1,28 @@ # Copyright 2001-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI="8" inherit autotools libtool multilib-minimal DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/" +HOMEPAGE="https://notroj.github.io/neon/ https://github.com/notroj/neon" SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/27" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" -RESTRICT="test" - -RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc +expat gnutls kerberos libproxy nls pkcs11 ssl test zlib" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig + test? ( + ssl? ( + dev-libs/openssl:0 + pkcs11? ( dev-libs/nss ) + ) + )" +DEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) @@ -25,29 +32,24 @@ RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) app-misc/ca-certificates net-libs/gnutls:0=[${MULTILIB_USEDEP}] ) - !gnutls? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - ) + !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) ) zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/docbook-xml-dtd:4.5 - app-text/xmlto - virtual/pkgconfig -" +RDEPEND="${DEPEND}" MULTILIB_CHOST_TOOLS=( /usr/bin/neon-config ) -src_prepare() { - # Use CHOST-prefixed version of xml2-config for cross-compilation. - sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" +DOCS=( AUTHORS BUGS NEWS README.md THANKS TODO ) - # Fix compatibility with OpenSSL >=1.1. - sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" +src_prepare() { + if use gnutls; then + # Ignore failure of test pkcs11. + # https://github.com/notroj/neon/issues/72 + sed -e "s/T(pkcs11)/T_XFAIL(pkcs11)/" -i test/ssl.c || die + fi eapply_user @@ -86,7 +88,6 @@ multilib_src_configure() { $(use_with libproxy) \ $(use_enable nls) \ $(use_with pkcs11 pakchois) \ - $(use_enable static-libs static) \ $(use_with zlib) \ "${myconf[@]}" } @@ -95,15 +96,12 @@ multilib_src_install() { emake DESTDIR="${D}" install-{config,headers,lib,man,nls} if multilib_is_native_abi && use doc; then - ( - docinto html - dodoc -r doc/html/* - ) + dodoc -r doc/html fi } multilib_src_install_all() { - find "${D}" -name "*.la" -type f -delete || die + find "${ED}" -name "*.la" -delete || die - dodoc AUTHORS BUGS NEWS README.md THANKS TODO + einstalldocs } diff --git a/net-libs/net6/net6-1.3.14-r2.ebuild b/net-libs/net6/net6-1.3.14-r2.ebuild index cb41c438fc5d..222b9f1cf536 100644 --- a/net-libs/net6/net6-1.3.14-r2.ebuild +++ b/net-libs/net6/net6-1.3.14-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,8 +6,8 @@ EAPI=7 inherit flag-o-matic DESCRIPTION="Network access framework for IPv4/IPv6 written in C++" -HOMEPAGE="http://gobby.0x539.de/" -SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz" +HOMEPAGE="https://gobby.github.io/" +SRC_URI="https://github.com/gobby/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest index 9b5f2c56362a..bc76307237e7 100644 --- a/net-libs/nghttp2/Manifest +++ b/net-libs/nghttp2/Manifest @@ -1,2 +1,3 @@ DIST nghttp2-1.45.1.tar.xz 4017852 BLAKE2B 17bc5e0a6270494a0296da7f1394d0b89666ca42ad04bcce097740da2b30cdc575f17e681a8320dc2a2161eeebb753f22f228a340fc7cd690fa883d29149bcd8 SHA512 320a8c9f29b58c55df98be4312d415bc406edbdfb0765aa37570cdb472a84f40c4f95a51c44c5488363c16ad6815c75b5503b32e43d94724c54117ff583c7150 -DIST nghttp2-1.46.0.tar.xz 4024972 BLAKE2B 85fe1259b791ff7cda163265f553e0aac8a10ef6674cf6152d5bc7747c7f4f3bc6e9d9c0472534dd7185f093936efed1b4632da64d426b6a7ac432657e8579a1 SHA512 fcf3573bcc421705190c7cf0e3230f6f3028b669cb2976d29cfeb73e706deaae91ce60d0a615472e3f296454049ea5798f1e8defdd260a98895e94fea6a7a16b +DIST nghttp2-1.47.0.tar.xz 4028580 BLAKE2B 4f5302701c8d8a89c3ae72cbb8acb4cbcbe32cd0e2995643e0b669cf802ae28e8f6e52b2d59f69f87e0d12fc64a73c251edbe01c2b0eca2676626a9e456df93f SHA512 ad6266a15789fec966db6be8ac0b9ee6cca257a3bb91fdd34a58acf0e472643a571941b5974d16c98f6ac5bfa6a03c4b70a6dff222fb0cd50909178b7e94ce48 +DIST nghttp2-1.48.0.tar.xz 4112072 BLAKE2B a52dc1ef4c9658298acef5ad703bec1708e538ebe19584dd5fcfe39089777e105594a998c7db696ee54bc8f17d3086828c09e921d8714b7ad3efbf33d04aaca0 SHA512 77c22371290f77e8a538b9efea225d23567cc27cb60b71703cbcb057839b5f117cf50796aa82bf4518f22b38a5773e90a1c273eafff4b17c435ac5858bdf7c6f diff --git a/net-libs/nghttp2/metadata.xml b/net-libs/nghttp2/metadata.xml index e79248991e89..e77d9ad83697 100644 --- a/net-libs/nghttp2/metadata.xml +++ b/net-libs/nghttp2/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>polynomial-c@gentoo.org</email> - <name>Lars Wendler</name> - </maintainer> + <!-- maintainer-needed --> <use> <flag name="hpack-tools">Install HPACK (header compression) helper tools</flag> <flag name="utils">Install nghttp, nghttpd and nghttpx</flag> diff --git a/net-libs/nghttp2/nghttp2-1.46.0.ebuild b/net-libs/nghttp2/nghttp2-1.47.0.ebuild index 6d92e5272f14..cbcd334f43a6 100644 --- a/net-libs/nghttp2/nghttp2-1.46.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.47.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # TODO: Add python support. @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]] ; then inherit autotools git-r3 else SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="HTTP/2 C Library" diff --git a/net-libs/nghttp2/nghttp2-1.48.0.ebuild b/net-libs/nghttp2/nghttp2-1.48.0.ebuild new file mode 100644 index 000000000000..97b642d84a6d --- /dev/null +++ b/net-libs/nghttp2/nghttp2-1.48.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# TODO: Add python support. + +EAPI=8 + +inherit multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" + inherit autotools git-r3 +else + SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="HTTP/2 C Library" +HOMEPAGE="https://nghttp2.org/" + +LICENSE="MIT" +SLOT="0/1.14" # <C++>.<C> SONAMEs +IUSE="cxx debug hpack-tools jemalloc static-libs test +threads utils xml" + +RESTRICT="!test? ( test )" + +SSL_DEPEND=" + >=dev-libs/openssl-1.0.2:0=[-bindist(-),${MULTILIB_USEDEP}] +" +RDEPEND=" + cxx? ( + ${SSL_DEPEND} + dev-libs/boost:=[${MULTILIB_USEDEP},threads(+)] + ) + hpack-tools? ( >=dev-libs/jansson-2.5:= ) + jemalloc? ( dev-libs/jemalloc:=[${MULTILIB_USEDEP}] ) + utils? ( + ${SSL_DEPEND} + >=dev-libs/libev-4.15[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}] + net-dns/c-ares:=[${MULTILIB_USEDEP}] + ) + xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-examples + --disable-failmalloc + --disable-python-bindings + --disable-werror + --without-cython + $(use_enable cxx asio-lib) + $(use_enable debug) + $(multilib_native_use_enable hpack-tools) + $(use_enable static-libs static) + $(use_enable threads) + $(multilib_native_use_enable utils app) + $(multilib_native_use_with jemalloc) + $(multilib_native_use_with xml libxml2) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + if ! use static-libs ; then + find "${ED}"/usr -type f -name '*.la' -delete || die + fi +} diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index c2d6b70d475d..91386a3f0b5d 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,2 +1,8 @@ DIST ngtcp2-0.1.0.tar.xz 540132 BLAKE2B df59b4632110f118e0ae27c709fee24be65216d5461ad73901fb7f7450afe17a255acda10473a39ac45a34c2810728c50e39dcde9a71c48eb843d5d628b70b8c SHA512 935c37fe08bb625b39d4355322df54cedc180584c46b7816a84b2715f777a49590cd0434ed062fabec55df1a2c5332e7edf6335bd071599b053d6f404ce260b8 +DIST ngtcp2-0.2.1.tar.xz 554280 BLAKE2B 243599cde08eeb5833d4836cfe3a1b1ea3b9cd339d6f424899fe5bf10599c1e34a8002130c6b5b6378e99bd9c6ec87e2d8eebd6a439ed4f0df59238504ea6eb6 SHA512 8570f84eaa21190c2abd8140bbaa5495e06331cbc60efb42466eab218d3ac42f51810e0cf2a15bf81d16139de26728ee5009db66930e23bf6732252b7bf38737 +DIST ngtcp2-0.3.0.tar.xz 570876 BLAKE2B 645d09b2b33076d93bfffb79eba347cda5d0d782e1321138f436fe776808b3a51a0a2fc5599ecfe67b4db87b3e653b3e37293f746dabe7ae50cc32cd929c08f7 SHA512 3e37c269fba0261dc1514095104725064c078cc0dc66c0cfb8b536a8e3fe474888ca6a88b02c176689d94ddabf7acad14e1e8dea121da93f18bbe261169b0ee9 +DIST ngtcp2-0.3.1.tar.xz 566612 BLAKE2B 9b9b2e8a671e924bb13d41874c5f5a940fdde352b2f0ac60c41fbb9478bd03c070baecbe3e867ecce73e6671309a93b3696410ea3a965ea618349391e963ae0a SHA512 8c5beae1b257272212dcfaf9d8b56e728ba0b08e0c2f2f27d9f5049c8278a60bdcd97df140e5661793a65a936ce556f5afa55f05fd5b60c647d47dadc4a4cdc3 +DIST ngtcp2-0.4.0.tar.xz 573692 BLAKE2B 9eb428a19a7e6a42dc6344f7569dbb33cb083028c25c34c9bec0999a7f055d1ee1173ffae500ddcdca60e20d508b7b56f2489e9af03e10284611179b5098ce16 SHA512 5ce0933a6e53ce29a0d007f487aad11f068d9450ada10af6e5639c891a292977bf4bc57ccf0b5782b8e6e84292859faf3d409de49038b586c74205acc3a391ee +DIST ngtcp2-0.5.0.tar.xz 570732 BLAKE2B 3e1e11a8e65afb6ff3e7c790545a889459ffaeccd2a93085634b55a2124143a96750b06e3bc494c5311664b9f35adb57784dc164756f7026dbca4a25c33acdf6 SHA512 bd30005126b11165741d2295252c5fe9ca82b1f1cebf9d0064b79f4bf7778b62e39e241063f80b5ad2d5fa859b5f799f938958cf8963d1b1c8477c2202c1ec71 +DIST ngtcp2-0.6.0.tar.xz 574400 BLAKE2B 51f6765af0275a0455ce8b8030bd0353322434058b55a49ec60858e79fa996e8ab62518571ac6ca9a093f6276930851f90338ff2fe8cc749f1f36b70759fa48e SHA512 f7d4530cf027b9d62996640191731240b4af11e8f96fd92220277006be95af781b0331caabfb3fc326a20c58f2aec50a56b21cfef767f9361a6ef11c9f555f53 DIST ngtcp2-0_pre20190912.tar.gz 302984 BLAKE2B 906b248b0c19395288ed2c5ad55c8d42a9df9d76458104785c1013b9ebfaf1b92a4b87ced8755377fcb627018cf8854be0e4687e4c8a23ae994e5a21f466f739 SHA512 91b93575143960af421e8bd37d686602905fa3093750cfbbe3af1b20d743318281d22162676dc451562768ca08b6d0767b1dc28f3f8f6733235ebd76015a05bb diff --git a/net-libs/ngtcp2/metadata.xml b/net-libs/ngtcp2/metadata.xml index 71f915056b8c..4b6987e8ad53 100644 --- a/net-libs/ngtcp2/metadata.xml +++ b/net-libs/ngtcp2/metadata.xml @@ -8,4 +8,7 @@ <upstream> <remote-id type="github">ngtcp2/ngtcp2</remote-id> </upstream> + <use> + <flag name="openssl">Provide SSL support using OpenSSL (requires <pkg>dev-libs/openssl</pkg>)</flag> + </use> </pkgmetadata> diff --git a/net-libs/ngtcp2/ngtcp2-0.2.1.ebuild b/net-libs/ngtcp2/ngtcp2-0.2.1.ebuild new file mode 100644 index 000000000000..a828f15d1ad2 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.2.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-0.3.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.3.0.ebuild new file mode 100644 index 000000000000..a828f15d1ad2 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-0.3.1.ebuild b/net-libs/ngtcp2/ngtcp2-0.3.1.ebuild new file mode 100644 index 000000000000..a828f15d1ad2 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-0.4.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.4.0.ebuild new file mode 100644 index 000000000000..a828f15d1ad2 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.4.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-0.5.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.5.0.ebuild new file mode 100644 index 000000000000..a828f15d1ad2 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.5.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-0.6.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.6.0.ebuild new file mode 100644 index 000000000000..a828f15d1ad2 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild b/net-libs/ngtcp2/ngtcp2-9999.ebuild index e1fef793bf0f..a828f15d1ad2 100644 --- a/net-libs/ngtcp2/ngtcp2-9999.ebuild +++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 CMAKE_ECLASS=cmake inherit cmake-multilib @@ -19,20 +19,27 @@ HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" LICENSE="MIT" SLOT="0/0" -IUSE="ssl test" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" BDEPEND="virtual/pkgconfig" -DEPEND="ssl? ( >=dev-libs/openssl-1.1.1:0= ) +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" -RDEPEND="" RESTRICT="!test? ( test )" multilib_src_configure() { local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=$(usex !ssl) + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON - -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test) ) cmake_src_configure } diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 8d4603a412ba..e3b19f8b8bc5 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -1,11 +1,4 @@ -DIST node-v12.22.5.tar.xz 23654908 BLAKE2B ca4f304e31f091ae656142035851d6e4427d8b2ddd2a69506dec96efbb1269a19a08e9ab8d44dfe10f8429bc239e4102f3f030adb25e9c41901c7d94b53e88c8 SHA512 80f3c673a1f2af7fffd6aaa556c06b8225034c8413e1a738c19d491aff1b3e6ed388df66ecbff88e4bfbefe1013dac7e3beb301456c2099b6a954ba468b21883 -DIST node-v12.22.6.tar.xz 23664904 BLAKE2B 04dd4fd4cbe39642a1c3dd8639a4d9e3362055f56bc2565303d0095cda1655033ba4e0ce5a969647d2be73df13ddbcccc4907825a94a41b45c0723b3c02ca980 SHA512 d107f1ff7073d2db9f0198f14b0523870e9b262c71055de2e03fba54f87bc98a57dad43d902c0b349957df21de71dc066133d4831eb7eb07f4e548d0ac724fb2 -DIST node-v12.22.7.tar.xz 23661696 BLAKE2B aa162e2aee98568c207b11a27651cefdf6444568ad0c0dc602d63a6767fc7d00d10e93626168b334d6fe1774fc8da420ed05b9d2ce485f0ec3544d992bfb5b83 SHA512 7697b409537114abf14a3847fffd8952fd35f54569bfa84ba527f231ac1defced5d11fe7bc39ff8ec7cccb282d584ff50a33bcbba16474c6a125808a29104222 -DIST node-v14.17.5.tar.xz 33585724 BLAKE2B cf79397caad8c81e4096f344f9fdb88d8ecea44b97fe208256dfd4afb750ecdf52142a2dc0430285b9d5117bdd43fa5ce42b4418926eec4d2c7f0a5f5d1a1539 SHA512 9d62c8946d05862d96a13a71b241a097b9f592a9e5f7362c81d8f3c74e7c5546a308b4c74bef34a66cafeef5d1a87d9d3e5ae8bb87d470c1ecf5abb8de0dedb5 -DIST node-v14.17.6.tar.xz 33606464 BLAKE2B c2c449e5eaf8214d7ed4bfab8db0208034cee1d08ef0e1fca478c30fc5cf95be037eb141080dbcfbe4fc58ef734457747dcbd0fe585a0536f9c0bec495435f25 SHA512 581c5698112426042fbf54fa793e56a30cae0c54ce8f23af6ac20d73c69a4f1166c5410f357c5a7b0409a773f99e3b9291e4afffd53b3c0e00569725dc4c47d3 -DIST node-v14.18.0.tar.xz 33698388 BLAKE2B 0a26aac559f2cd44d863b5375bc26692f1abf121c368df040041c9916e56410c3c919be377f099651e9a5e27bad972705d02a20f108f527cf23044e8ba95dd78 SHA512 0603e2466bf89b57e404e2992dda25012866a347489fb811a9757aea07056fc4f346236adf44a56d52c442f5f298f4dfdfc961f8582cd194d062beeb80c60cbf -DIST node-v14.18.1.tar.xz 33693816 BLAKE2B 310a53a7319620d8ff77b4e5947c7f2196efe96eb0d4311c8fb91b500331128750096e7b0471def73bee00cfa6a9da968cc8176b1d46d06d14c3409dedb9203b SHA512 a92d6f392e960008efd0c1f48471a3e294aa5292065fb31acc62723e8924f7f1a22bb02f3ab51a440f6e190bdee3c1667a275808c6b76d053a77aa6d7ad68aef -DIST node-v16.10.0.tar.xz 34046720 BLAKE2B e745443a4707eca97ebfc0d3cb8e697f64cd3eb98a419debde79100291ab64306d2c7cbda6ce1bfe6174cbc53880ddbda2965b0b6b8aa4b4b278781f002da277 SHA512 278f3e29f14362c017fbfa768bf0aa54cd208048741622413a67d3277e35fbdbc099fb84ce1de77837616e0e6f485916ccc771a7bee0b2ac5d30b4d4a6cf94f6 -DIST node-v16.13.0.tar.xz 33502788 BLAKE2B d30a63e77ef3b423bfa3a43299f7f6576ee5b0544757d1dbf233cbbc4bc9c70971927283ca87497add5ed05c9bf5d5501b36992cd242468fcd12e7f950ee29c2 SHA512 5d840fa49e8e637398f20b166b590a57e1070fd04c62bcb9b2d56646cf5a97719a70dbd9e0e29a548a268ac84c9a6c63c02ed6d38536ed45d82ffb96896a61c0 -DIST node-v16.13.1.tar.xz 33907544 BLAKE2B 9243145f53619cb8285dc686d30317b71f474e67853eb16266b4bf4f2af2f81ad1d78d39ffa70024c4a99612230f07605fce69674a5b12013291e7746252dbc4 SHA512 bb0739089965785dff59721303ac68605a459d40318e1eada071c720e1499569cefb61a59a378062794d8533b8d54b8d5fef0e380f7e159206a89b0bb0b9cebf -DIST node-v16.9.1.tar.xz 34026992 BLAKE2B 8bb0d75ab91a00d5b03a31ded17a6b8845894630185d353ded616bf8435b672ea5cef06b4ca5bd01bb3536c5c50774f6ad0aa08a0fa8cbb00d8866e29561c2ab SHA512 e570c39fffa5d79c8d3fa1fe90ece53b22729af6e882416a35b54362be7169eeb3d37cf8be69ee1b748a981b1fbc725d8c85a739bc5cb0b22d6d2e313ab646ac +DIST node-v14.19.3.tar.xz 34483792 BLAKE2B 24b598b4c613ad63f8a2ffa15b2ad5663eef68e75842fac4ef988b43f8e6f9c1a242c9b352c411661dc7d1c9f6800426e12934fc4e7788061a8b9f918491a9b7 SHA512 0d03d9efee23664faf368a6ab42fa7d653033aebda1f2730c80692577825e31ff5522f1a940933245050a6f9af4ee64b6d65fc890e3d2ecfced327a909b63b6f +DIST node-v16.15.1.tar.xz 34618208 BLAKE2B 6bba1dcc01cf18710e75b998d90b2b1f75476052c85e730a1309a6fecf2994530ce65b45e53ff0cee17bfe07728d4f3eb166f460337cc74f3c7975aee858a6cf SHA512 18c05876f0afe6fd402a11824d1987ddadcb103d3ac16d5b500371536a5d53632c9cbf651b6f4a8d69b69e8bda2575beb7b68675c67fd6cd53e205acfba11038 +DIST node-v18.3.0.tar.xz 36941104 BLAKE2B 947d38aa8637f01421fcf5261832b2fd3f53a5f38868fd03b6c9213c2ba3bdff214be12585a60c4cf88dd9390673e068eb08da07d7da28443a9c56cd024186fc SHA512 c793459c38d72d65d5caaa7fbab37269fe6031766609ab2fd7c921b205d314b1ddebc40738b292669bbbaf166a97328f64af7a0a1aaac111903a42cf98057afd +DIST node-v18.4.0.tar.xz 37109064 BLAKE2B d222ad41eef88a2fed13b0591b8c24037f8425c1e788d6ed00e033e28fa88162de6fcf25d094188952a7866e2f488c1ea635a80162c8b01d42c31f1d56406137 SHA512 c00d90cf5cfa8cd5629ed0b7810c436c962e50bd78313789457fd4003900808a190769db9d41e9a22186c6d2cda232bd362d432089eb8990913f7786140e2813 diff --git a/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch b/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch deleted file mode 100644 index 0982d3c81c2a..000000000000 --- a/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch +++ /dev/null @@ -1,44 +0,0 @@ -Backport of https://github.com/nodejs/node/pull/33866 to nodejs-12 - ---- a/deps/v8/src/compiler/backend/instruction-selector.cc -+++ b/deps/v8/src/compiler/backend/instruction-selector.cc -@@ -2788,7 +2788,7 @@ - switch (call_descriptor->kind()) { - case CallDescriptor::kCallAddress: { - int misc_field = static_cast<int>(call_descriptor->ParameterCount()); --#if defined(_AIX) -+#if ABI_USES_FUNCTION_DESCRIPTORS - // Highest misc_field bit is used on AIX to indicate if a CFunction call - // has function descriptor or not. - misc_field |= call_descriptor->HasFunctionDescriptor() ---- a/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc -+++ b/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc -@@ -1026,7 +1026,7 @@ - Label start_call; - bool isWasmCapiFunction = - linkage()->GetIncomingDescriptor()->IsWasmCapiFunction(); --#if defined(_AIX) -+#if ABI_USES_FUNCTION_DESCRIPTORS - // AIX/PPC64BE Linux uses a function descriptor - int kNumParametersMask = kHasFunctionDescriptorBitMask - 1; - num_parameters = kNumParametersMask & misc_field; ---- a/deps/v8/src/execution/simulator.h -+++ b/deps/v8/src/execution/simulator.h -@@ -122,7 +122,7 @@ - - DISABLE_CFI_ICALL Return Call(Args... args) { - // When running without a simulator we call the entry directly. --#if V8_OS_AIX -+#if ABI_USES_FUNCTION_DESCRIPTORS - // AIX ABI requires function descriptors (FD). Artificially create a pseudo - // FD to ensure correct dispatch to generated code. The 'volatile' - // declaration is required to avoid the compiler from not observing the -@@ -134,7 +134,7 @@ - return fn(args...); - #else - return fn_ptr_(args...); --#endif // V8_OS_AIX -+#endif // ABI_USES_FUNCTION_DESCRIPTORS - } - #endif // USE_SIMULATOR - diff --git a/net-libs/nodejs/files/nodejs-12.22.1-uvwasi_shared_libuv.patch b/net-libs/nodejs/files/nodejs-12.22.1-uvwasi_shared_libuv.patch deleted file mode 100644 index eb56bb87d86d..000000000000 --- a/net-libs/nodejs/files/nodejs-12.22.1-uvwasi_shared_libuv.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/deps/uvwasi/uvwasi.gyp -+++ b/deps/uvwasi/uvwasi.gyp -@@ -18,9 +18,6 @@ - 'src/wasi_rights.c', - 'src/wasi_serdes.c', - ], -- 'dependencies': [ -- '../uv/uv.gyp:libuv', -- ], - 'direct_dependent_settings': { - 'include_dirs': ['include'] - }, diff --git a/net-libs/nodejs/files/nodejs-10.3.0-global-npm-config.patch b/net-libs/nodejs/files/nodejs-14.19.0-global-npm-config.patch index 9c7fe6888fb8..09d9dbe47be0 100644 --- a/net-libs/nodejs/files/nodejs-10.3.0-global-npm-config.patch +++ b/net-libs/nodejs/files/nodejs-14.19.0-global-npm-config.patch @@ -1,6 +1,8 @@ +diff --git a/deps/npm/lib/config/core.js b/deps/npm/lib/config/core.js +index 36420b3450..0afb0b6792 100644 --- a/deps/npm/lib/config/core.js +++ b/deps/npm/lib/config/core.js -@@ -153,11 +153,12 @@ +@@ -151,11 +151,10 @@ function load_ (builtin, rc, cli, cb) { // Eg, `npm config get globalconfig --prefix ~/local` should // return `~/local/etc/npmrc` // annoying humans and their expectations! @@ -11,10 +13,8 @@ - } + // gentoo deviates wrt global config; store in /etc/npm + var globalconfig = path.resolve('/etc', 'npm') -+ mkdirp(globalconfig, function () { -+ defaults.globalconfig = path.resolve(globalconfig, 'npmrc') -+ defaults.globalignorefile = path.resolve(globalconfig, 'npmignore') -+ }) ++ defaults.globalconfig = path.resolve(globalconfig, 'npmrc') ++ defaults.globalignorefile = path.resolve(globalconfig, 'npmignore') conf.addFile(conf.get('globalconfig'), 'global') diff --git a/net-libs/nodejs/files/nodejs-16.4.2-paxmarking.patch b/net-libs/nodejs/files/nodejs-16.4.2-paxmarking.patch new file mode 100644 index 000000000000..41abd1f1917f --- /dev/null +++ b/net-libs/nodejs/files/nodejs-16.4.2-paxmarking.patch @@ -0,0 +1,113 @@ +diff -urNp node-v15.8.0-orig/node.gyp node-v15.8.0-dwok/node.gyp +--- node-v15.8.0-orig/node.gyp 2021-02-24 22:21:44.202911780 +0100 ++++ node-v15.8.0-dwok/node.gyp 2021-02-24 22:25:34.298281739 +0100 +@@ -53,7 +53,9 @@ + 'deps/cjs-module-lexer/dist/lexer.js', + ], + 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', ++ 'node_mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot_u<(EXECUTABLE_SUFFIX)', + 'mkcodecache_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkcodecache<(EXECUTABLE_SUFFIX)', ++ 'mkcodecache_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkcodecache_u<(EXECUTABLE_SUFFIX)', + 'conditions': [ + ['GENERATOR == "ninja"', { + 'node_text_start_object_path': 'src/large_pages/node_text_start.node_text_start.o' +@@ -291,10 +293,24 @@ + ], + 'actions': [ + { ++ 'action_name': 'run_pax_mkcodecache', ++ 'inputs': [ ++ '<(mkcodecache_exec)', ++ ], ++ 'outputs': [ ++ '<(mkcodecache_u_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'mv <(mkcodecache_exec) <(mkcodecache_u_exec) && paxmark.sh m <(mkcodecache_u_exec)', ++ ], ++ }, ++ { + 'action_name': 'run_mkcodecache', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(mkcodecache_exec)', ++ '<(mkcodecache_u_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc', +@@ -316,10 +332,24 @@ + ], + 'actions': [ + { ++ 'action_name': 'run_pax_mksnapshot', ++ 'inputs': [ ++ '<(node_mksnapshot_exec)', ++ ], ++ 'outputs': [ ++ '<(node_mksnapshot_u_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'mv <(node_mksnapshot_exec) <(node_mksnapshot_u_exec) && paxmark.sh m <(node_mksnapshot_u_exec)', ++ ], ++ }, ++ { + 'action_name': 'node_mksnapshot', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(node_mksnapshot_exec)', ++ '<(node_mksnapshot_u_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', +diff -urNp node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp +--- node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp 2021-02-24 22:21:44.654910571 +0100 ++++ node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp 2021-02-24 22:25:54.834224791 +0100 +@@ -9,6 +9,7 @@ + 'v8_vector_stores%': 0, + 'v8_embed_script%': "", + 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', ++ 'mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_u<(EXECUTABLE_SUFFIX)', + 'v8_os_page_size%': 0, + 'generate_bytecode_output_root': '<(SHARED_INTERMEDIATE_DIR)/generate-bytecode-output-root', + 'generate_bytecode_builtins_list_output': '<(generate_bytecode_output_root)/builtins-generated/bytecodes-builtins-list.h', +@@ -1430,7 +1431,7 @@ + ], + }, # bytecode_builtins_list_generator + { +- 'target_name': 'mksnapshot', ++ 'target_name': 'mksnapshot_u', + 'type': 'executable', + 'dependencies': [ + 'v8_base_without_compiler', +@@ -1449,6 +1450,27 @@ + 'toolsets': ['host'], + }], + ], ++ }, # mksnapshot_u ++ { ++ 'target_name': 'mksnapshot', ++ 'type': 'none', ++ 'dependencies': ['mksnapshot_u'], ++ 'actions': [ ++ { ++ 'action_name': 'paxmark_mksnapshot', ++ 'inputs': [ ++ '<(mksnapshot_u_exec)', ++ ], ++ 'outputs': [ ++ '<(mksnapshot_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'cp <(mksnapshot_u_exec) <(mksnapshot_exec) && paxmark.sh m <(mksnapshot_exec)' ++ ], ++ }, ++ ], + }, # mksnapshot + { + 'target_name': 'torque', diff --git a/net-libs/nodejs/files/nodejs-18.0.0-paxmarking.patch b/net-libs/nodejs/files/nodejs-18.0.0-paxmarking.patch new file mode 100644 index 000000000000..c778d1729384 --- /dev/null +++ b/net-libs/nodejs/files/nodejs-18.0.0-paxmarking.patch @@ -0,0 +1,113 @@ +diff -urNp node-v15.8.0-orig/node.gyp node-v15.8.0-dwok/node.gyp +--- node-v15.8.0-orig/node.gyp 2021-02-24 22:21:44.202911780 +0100 ++++ node-v15.8.0-dwok/node.gyp 2021-02-24 22:25:34.298281739 +0100 +@@ -55,7 +55,9 @@ + 'deps/undici/undici.js', + ], + 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', ++ 'node_mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot_u<(EXECUTABLE_SUFFIX)', + 'mkcodecache_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkcodecache<(EXECUTABLE_SUFFIX)', ++ 'mkcodecache_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkcodecache_u<(EXECUTABLE_SUFFIX)', + 'conditions': [ + ['GENERATOR == "ninja"', { + 'node_text_start_object_path': 'src/large_pages/node_text_start.node_text_start.o' +@@ -293,10 +295,24 @@ + ], + 'actions': [ + { ++ 'action_name': 'run_pax_mkcodecache', ++ 'inputs': [ ++ '<(mkcodecache_exec)', ++ ], ++ 'outputs': [ ++ '<(mkcodecache_u_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'mv <(mkcodecache_exec) <(mkcodecache_u_exec) && paxmark.sh m <(mkcodecache_u_exec)', ++ ], ++ }, ++ { + 'action_name': 'run_mkcodecache', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(mkcodecache_exec)', ++ '<(mkcodecache_u_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc', +@@ -340,10 +356,24 @@ + }, { + 'actions': [ + { ++ 'action_name': 'run_pax_mksnapshot', ++ 'inputs': [ ++ '<(node_mksnapshot_exec)', ++ ], ++ 'outputs': [ ++ '<(node_mksnapshot_u_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'mv <(node_mksnapshot_exec) <(node_mksnapshot_u_exec) && paxmark.sh m <(node_mksnapshot_u_exec)', ++ ], ++ }, ++ { + 'action_name': 'node_mksnapshot', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(node_mksnapshot_exec)', ++ '<(node_mksnapshot_u_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', +diff -urNp node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp +--- node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp 2021-02-24 22:21:44.654910571 +0100 ++++ node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp 2021-02-24 22:25:54.834224791 +0100 +@@ -9,6 +9,7 @@ + 'v8_vector_stores%': 0, + 'v8_embed_script%': "", + 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', ++ 'mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_u<(EXECUTABLE_SUFFIX)', + 'v8_os_page_size%': 0, + 'generate_bytecode_output_root': '<(SHARED_INTERMEDIATE_DIR)/generate-bytecode-output-root', + 'generate_bytecode_builtins_list_output': '<(generate_bytecode_output_root)/builtins-generated/bytecodes-builtins-list.h', +@@ -1413,7 +1414,7 @@ + ], + }, # bytecode_builtins_list_generator + { +- 'target_name': 'mksnapshot', ++ 'target_name': 'mksnapshot_u', + 'type': 'executable', + 'dependencies': [ + 'v8_base_without_compiler', +@@ -1432,6 +1433,27 @@ + 'toolsets': ['host'], + }], + ], ++ }, # mksnapshot_u ++ { ++ 'target_name': 'mksnapshot', ++ 'type': 'none', ++ 'dependencies': ['mksnapshot_u'], ++ 'actions': [ ++ { ++ 'action_name': 'paxmark_mksnapshot', ++ 'inputs': [ ++ '<(mksnapshot_u_exec)', ++ ], ++ 'outputs': [ ++ '<(mksnapshot_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'cp <(mksnapshot_u_exec) <(mksnapshot_exec) && paxmark.sh m <(mksnapshot_exec)' ++ ], ++ }, ++ ], + }, # mksnapshot + { + 'target_name': 'torque', diff --git a/net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch b/net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch new file mode 100644 index 000000000000..fd7ef431045e --- /dev/null +++ b/net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch @@ -0,0 +1,85 @@ +diff -urNp node-v15.8.0-orig/node.gyp node-v15.8.0-dwok/node.gyp +--- node-v15.8.0-orig/node.gyp 2021-02-24 22:21:44.202911780 +0100 ++++ node-v15.8.0-dwok/node.gyp 2021-02-24 22:25:34.298281739 +0100 +@@ -55,6 +55,7 @@ + 'deps/undici/undici.js', + ], + 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', ++ 'node_mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot_u<(EXECUTABLE_SUFFIX)', + 'conditions': [ + ['GENERATOR == "ninja"', { + 'node_text_start_object_path': 'src/large_pages/node_text_start.node_text_start.o' +@@ -331,10 +332,24 @@ + }, { + 'actions': [ + { ++ 'action_name': 'run_pax_mksnapshot', ++ 'inputs': [ ++ '<(node_mksnapshot_exec)', ++ ], ++ 'outputs': [ ++ '<(node_mksnapshot_u_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'mv <(node_mksnapshot_exec) <(node_mksnapshot_u_exec) && paxmark.sh m <(node_mksnapshot_u_exec)', ++ ], ++ }, ++ { + 'action_name': 'node_mksnapshot', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(node_mksnapshot_exec)', ++ '<(node_mksnapshot_u_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', +diff -urNp node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp +--- node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp 2021-02-24 22:21:44.654910571 +0100 ++++ node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp 2021-02-24 22:25:54.834224791 +0100 +@@ -9,6 +9,7 @@ + 'v8_vector_stores%': 0, + 'v8_embed_script%': "", + 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', ++ 'mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_u<(EXECUTABLE_SUFFIX)', + 'v8_os_page_size%': 0, + 'generate_bytecode_output_root': '<(SHARED_INTERMEDIATE_DIR)/generate-bytecode-output-root', + 'generate_bytecode_builtins_list_output': '<(generate_bytecode_output_root)/builtins-generated/bytecodes-builtins-list.h', +@@ -1413,7 +1414,7 @@ + ], + }, # bytecode_builtins_list_generator + { +- 'target_name': 'mksnapshot', ++ 'target_name': 'mksnapshot_u', + 'type': 'executable', + 'dependencies': [ + 'v8_base_without_compiler', +@@ -1432,6 +1433,27 @@ + 'toolsets': ['host'], + }], + ], ++ }, # mksnapshot_u ++ { ++ 'target_name': 'mksnapshot', ++ 'type': 'none', ++ 'dependencies': ['mksnapshot_u'], ++ 'actions': [ ++ { ++ 'action_name': 'paxmark_mksnapshot', ++ 'inputs': [ ++ '<(mksnapshot_u_exec)', ++ ], ++ 'outputs': [ ++ '<(mksnapshot_exec)', ++ ], ++ 'action': [ ++ 'bash', ++ '-c', ++ 'cp <(mksnapshot_u_exec) <(mksnapshot_exec) && paxmark.sh m <(mksnapshot_exec)' ++ ], ++ }, ++ ], + }, # mksnapshot + { + 'target_name': 'torque', diff --git a/net-libs/nodejs/files/nodejs-99999999-llhttp.patch b/net-libs/nodejs/files/nodejs-99999999-llhttp.patch deleted file mode 100644 index 1b6eb9fb7fa1..000000000000 --- a/net-libs/nodejs/files/nodejs-99999999-llhttp.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/node.gypi -+++ b/node.gypi -@@ -169,11 +169,15 @@ - - [ 'node_shared_http_parser=="false"', { - 'dependencies': [ -- 'deps/http_parser/http_parser.gyp:http_parser', -- 'deps/llhttp/llhttp.gyp:llhttp' -+ 'deps/http_parser/http_parser.gyp:http_parser' - ], - } ], - -+ [ '"true"', { 'dependencies': [ -+ 'deps/llhttp/llhttp.gyp:llhttp' -+ ], -+ }], -+ - [ 'node_shared_cares=="false"', { - 'dependencies': [ 'deps/cares/cares.gyp:cares' ], - }], diff --git a/net-libs/nodejs/nodejs-12.22.5-r1.ebuild b/net-libs/nodejs/nodejs-12.22.5-r1.ebuild deleted file mode 100644 index 1e716cbf5e85..000000000000 --- a/net-libs/nodejs/nodejs-12.22.5-r1.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ppc64 -riscv x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="cpu_flags_x86_sse2 debug doc icu inspector lto +npm +snapshot +ssl +system-ssl systemtap test" -REQUIRED_USE=" - inspector? ( icu ssl ) - npm? ( ssl ) - system-ssl? ( ssl ) -" - -RESTRICT="!test? ( test )" - -RDEPEND=" - >=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.39.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/http-parser-2.9.3:= - >=net-libs/nghttp2-1.40.0:= - sys-libs/zlib - icu? ( >=dev-libs/icu-64.2:= ) - system-ssl? ( - >=dev-libs/openssl-1.1.1:0= - <dev-libs/openssl-3.0.0_beta1:0= - ) -" -BDEPEND=" - ${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) -" -DEPEND=" - ${RDEPEND} -" -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.20.1-fix_ppc64_crashes.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.1-uvwasi_shared_libuv.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-99999999-llhttp.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi -} - -src_prepare() { - tc-export 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 - - # 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 - 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 - - # Known-to-fail test of a deprecated, legacy HTTP parser. Just don't bother. - rm -f test/parallel/test-http-transfer-encoding-smuggling-legacy.js - - # 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 - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - local myconf=( - --shared-brotli - --shared-cares - --shared-http-parser - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none ) - 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 mksnapshot - pax-mark m "out/${BUILDTYPE}/mksnapshot" - emake -C out -} - -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 - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - 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 - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - elog "The global npm config lives in /etc/npm. This deviates slightly" - elog "from upstream which otherwise would have it live in /usr/etc/." - elog "" - elog "Protip: When using node-gyp to install native modules, you can" - elog "avoid having to download extras by doing the following:" - elog "$ node-gyp --nodedir /usr/include/node <command>" -} diff --git a/net-libs/nodejs/nodejs-12.22.6.ebuild b/net-libs/nodejs/nodejs-12.22.6.ebuild deleted file mode 100644 index fc7f6f38aaa1..000000000000 --- a/net-libs/nodejs/nodejs-12.22.6.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ppc64 -riscv x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="cpu_flags_x86_sse2 debug doc icu inspector lto +npm +snapshot +ssl +system-ssl systemtap test" -REQUIRED_USE=" - inspector? ( icu ssl ) - npm? ( ssl ) - system-ssl? ( ssl ) -" - -RESTRICT="!test? ( test )" - -RDEPEND=" - >=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.39.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/http-parser-2.9.3:= - >=net-libs/nghttp2-1.40.0:= - sys-libs/zlib - icu? ( >=dev-libs/icu-64.2:= ) - system-ssl? ( - >=dev-libs/openssl-1.1.1:0= - <dev-libs/openssl-3.0.0_beta1:0= - ) -" -BDEPEND=" - ${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) -" -DEPEND=" - ${RDEPEND} -" -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.20.1-fix_ppc64_crashes.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.1-uvwasi_shared_libuv.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-99999999-llhttp.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi -} - -src_prepare() { - tc-export 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 - - # 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 - 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 - - # Known-to-fail test of a deprecated, legacy HTTP parser. Just don't bother. - rm -f test/parallel/test-http-transfer-encoding-smuggling-legacy.js - - # 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 - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - local myconf=( - --shared-brotli - --shared-cares - --shared-http-parser - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none ) - 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 mksnapshot - pax-mark m "out/${BUILDTYPE}/mksnapshot" - emake -C out -} - -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 - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - 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 - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - elog "The global npm config lives in /etc/npm. This deviates slightly" - elog "from upstream which otherwise would have it live in /usr/etc/." - elog "" - elog "Protip: When using node-gyp to install native modules, you can" - elog "avoid having to download extras by doing the following:" - elog "$ node-gyp --nodedir /usr/include/node <command>" -} diff --git a/net-libs/nodejs/nodejs-12.22.7.ebuild b/net-libs/nodejs/nodejs-12.22.7.ebuild deleted file mode 100644 index b76dbf7ea807..000000000000 --- a/net-libs/nodejs/nodejs-12.22.7.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ~ppc64 -riscv ~x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="cpu_flags_x86_sse2 debug doc icu inspector lto +npm +snapshot +ssl +system-ssl systemtap test" -REQUIRED_USE=" - inspector? ( icu ssl ) - npm? ( ssl ) - system-ssl? ( ssl ) -" - -RESTRICT="!test? ( test )" - -RDEPEND=" - >=app-arch/brotli-1.0.9:= - >=dev-libs/libuv-1.39.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/http-parser-2.9.3:= - >=net-libs/nghttp2-1.40.0:= - sys-libs/zlib - icu? ( >=dev-libs/icu-64.2:= ) - system-ssl? ( - >=dev-libs/openssl-1.1.1:0= - <dev-libs/openssl-3.0.0_beta1:0= - ) -" -BDEPEND=" - ${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) -" -DEPEND=" - ${RDEPEND} -" -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.20.1-fix_ppc64_crashes.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.1-uvwasi_shared_libuv.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-99999999-llhttp.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi -} - -src_prepare() { - tc-export 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 - - # 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 - 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 - - # Known-to-fail test of a deprecated, legacy HTTP parser. Just don't bother. - rm -f test/parallel/test-http-transfer-encoding-smuggling-legacy.js - - # 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 - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - local myconf=( - --shared-brotli - --shared-cares - --shared-http-parser - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - use lto && myconf+=( --enable-lto ) - use icu && myconf+=( --with-intl=system-icu ) || myconf+=( --with-intl=none ) - 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 mksnapshot - pax-mark m "out/${BUILDTYPE}/mksnapshot" - emake -C out -} - -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 - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - 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 - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} - -pkg_postinst() { - elog "The global npm config lives in /etc/npm. This deviates slightly" - elog "from upstream which otherwise would have it live in /usr/etc/." - elog "" - elog "Protip: When using node-gyp to install native modules, you can" - elog "avoid having to download extras by doing the following:" - elog "$ node-gyp --nodedir /usr/include/node <command>" -} diff --git a/net-libs/nodejs/nodejs-14.17.5-r1.ebuild b/net-libs/nodejs/nodejs-14.17.5-r1.ebuild deleted file mode 100644 index 07bb48eee028..000000000000 --- a/net-libs/nodejs/nodejs-14.17.5-r1.ebuild +++ /dev/null @@ -1,243 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ppc64 x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="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.40.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - system-icu? ( >=dev-libs/icu-67:= ) - system-ssl? ( - >=dev-libs/openssl-1.1.1:0= - <dev-libs/openssl-3.0.0_beta1:0= - )" -BDEPEND="${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.1-uvwasi_shared_libuv.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-14.15.0-fix_ppc64_crashes.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi -} - -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 - - # 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 - 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}-13.8.0-paxmarking.patch ) - - # All this test does is check if the npm CLI produces warnings of any sort, - # failing if it does. Overkill, much? Especially given one possible warning - # is that there is a newer version of npm available upstream (yes, it does - # use the network if available), thus making it a real possibility for this - # test to begin failing one day even though it was fine before. - rm -f test/parallel/test-release-npm.js - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - 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 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 -} - -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 - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - 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 - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} diff --git a/net-libs/nodejs/nodejs-14.18.0.ebuild b/net-libs/nodejs/nodejs-14.18.0.ebuild deleted file mode 100644 index 745a7dace6a9..000000000000 --- a/net-libs/nodejs/nodejs-14.18.0.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ~ppc64 -riscv ~x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="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.40.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - system-icu? ( >=dev-libs/icu-67:= ) - system-ssl? ( - >=dev-libs/openssl-1.1.1:0= - <dev-libs/openssl-3.0.0_beta1:0= - )" -BDEPEND="${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-14.15.0-fix_ppc64_crashes.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi -} - -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 - - # 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 - 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}-13.8.0-paxmarking.patch ) - - # All this test does is check if the npm CLI produces warnings of any sort, - # failing if it does. Overkill, much? Especially given one possible warning - # is that there is a newer version of npm available upstream (yes, it does - # use the network if available), thus making it a real possibility for this - # test to begin failing one day even though it was fine before. - rm -f test/parallel/test-release-npm.js - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - 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 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 -} - -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 - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - 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 - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} diff --git a/net-libs/nodejs/nodejs-14.18.1.ebuild b/net-libs/nodejs/nodejs-14.18.1.ebuild deleted file mode 100644 index 745a7dace6a9..000000000000 --- a/net-libs/nodejs/nodejs-14.18.1.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ~ppc64 -riscv ~x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="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.40.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - system-icu? ( >=dev-libs/icu-67:= ) - system-ssl? ( - >=dev-libs/openssl-1.1.1:0= - <dev-libs/openssl-3.0.0_beta1:0= - )" -BDEPEND="${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-14.15.0-fix_ppc64_crashes.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi -} - -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 - - # 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 - 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}-13.8.0-paxmarking.patch ) - - # All this test does is check if the npm CLI produces warnings of any sort, - # failing if it does. Overkill, much? Especially given one possible warning - # is that there is a newer version of npm available upstream (yes, it does - # use the network if available), thus making it a real possibility for this - # test to begin failing one day even though it was fine before. - rm -f test/parallel/test-release-npm.js - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - 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 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 -} - -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 - dodir /etc/npm - - # Install bash completion for `npm` - # We need to temporarily replace default config path since - # npm otherwise tries to write outside of the sandbox - local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" - sed -i -e "s|'/etc'|'${ED}/etc'|g" "${ED}/${npm_config}" || die - 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 - sed -i -e "s|'${ED}/etc'|'/etc'|g" "${ED}/${npm_config}" || die - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} diff --git a/net-libs/nodejs/nodejs-14.17.6.ebuild b/net-libs/nodejs/nodejs-14.19.3.ebuild index dc855697bb82..e86978056ae4 100644 --- a/net-libs/nodejs/nodejs-14.17.6.ebuild +++ b/net-libs/nodejs/nodejs-14.19.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -50,30 +50,14 @@ BDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.1-uvwasi_shared_libuv.patch "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch "${FILESDIR}"/${PN}-14.15.0-fix_ppc64_crashes.patch + "${FILESDIR}"/${PN}-14.19.0-global-npm-config.patch ) 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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - else - # configure.py will abort on this later if we do not - die "${PN} only supports LTO for gcc" - fi - fi - fi } src_prepare() { diff --git a/net-libs/nodejs/nodejs-16.13.0.ebuild b/net-libs/nodejs/nodejs-16.15.1.ebuild index b7c26db64cbe..26d1ffb649f4 100644 --- a/net-libs/nodejs/nodejs-16.13.0.ebuild +++ b/net-libs/nodejs/nodejs-16.15.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,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 ~ppc64 ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi @@ -54,17 +54,6 @@ PATCHES=( 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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - fi - fi - fi } src_prepare() { @@ -96,7 +85,7 @@ src_prepare() { fi # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-13.8.0-paxmarking.patch ) + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-16.4.2-paxmarking.patch ) # All this test does is check if the npm CLI produces warnings of any sort, # failing if it does. Overkill, much? Especially given one possible warning diff --git a/net-libs/nodejs/nodejs-16.9.1.ebuild b/net-libs/nodejs/nodejs-16.9.1.ebuild deleted file mode 100644 index 895cf7cc0b43..000000000000 --- a/net-libs/nodejs/nodejs-16.9.1.ebuild +++ /dev/null @@ -1,231 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic 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 ~ppc64 ~x86 ~amd64-linux ~x64-macos" - S="${WORKDIR}/node-v${PV}" -fi - -IUSE="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.40.0:= - >=net-dns/c-ares-1.17.2:= - >=net-libs/nghttp2-1.41.0:= - sys-libs/zlib - system-icu? ( >=dev-libs/icu-67:= ) - system-ssl? ( >=dev-libs/openssl-1.1.1:0= )" -BDEPEND="${PYTHON_DEPS} - sys-apps/coreutils - virtual/pkgconfig - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) - pax-kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch - "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch - "${FILESDIR}"/${PN}-15.2.0-global-npm-config.patch -) - -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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - fi - fi - fi -} - -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 - - # 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 - 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}-13.8.0-paxmarking.patch ) - - # All this test does is check if the npm CLI produces warnings of any sort, - # failing if it does. Overkill, much? Especially given one possible warning - # is that there is a newer version of npm available upstream (yes, it does - # use the network if available), thus making it a real possibility for this - # test to begin failing one day even though it was fine before. - rm -f test/parallel/test-release-npm.js - - default -} - -src_configure() { - xdg_environment_reset - - # LTO compiler flags are handled by configure.py itself - filter-flags '-flto*' - - 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 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 ${ABI} in - amd64) myarch="x64";; - arm) myarch="arm";; - arm64) myarch="arm64";; - 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 -} - -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 - - # 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 - - mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die -} - -src_test() { - if has usersandbox ${FEATURES}; then - rm -f "${S}"/test/parallel/test-fs-mkdir.js - ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ - "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." - fi - - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die -} diff --git a/net-libs/nodejs/nodejs-16.13.1.ebuild b/net-libs/nodejs/nodejs-18.3.0.ebuild index b7c26db64cbe..5ab2bfa29de9 100644 --- a/net-libs/nodejs/nodejs-16.13.1.ebuild +++ b/net-libs/nodejs/nodejs-18.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,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 ~ppc64 ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi @@ -54,17 +54,6 @@ PATCHES=( 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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - fi - fi - fi } src_prepare() { @@ -96,7 +85,7 @@ src_prepare() { fi # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-13.8.0-paxmarking.patch ) + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.3.0-paxmarking.patch ) # All this test does is check if the npm CLI produces warnings of any sort, # failing if it does. Overkill, much? Especially given one possible warning diff --git a/net-libs/nodejs/nodejs-16.10.0.ebuild b/net-libs/nodejs/nodejs-18.4.0.ebuild index 895cf7cc0b43..ab8116548114 100644 --- a/net-libs/nodejs/nodejs-16.10.0.ebuild +++ b/net-libs/nodejs/nodejs-18.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,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 ~ppc64 ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi @@ -47,7 +47,6 @@ BDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch "${FILESDIR}"/${PN}-15.2.0-global-npm-config.patch ) @@ -55,17 +54,6 @@ PATCHES=( 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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - fi - fi - fi } src_prepare() { @@ -97,7 +85,7 @@ src_prepare() { fi # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-13.8.0-paxmarking.patch ) + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.3.0-paxmarking.patch ) # All this test does is check if the npm CLI produces warnings of any sort, # failing if it does. Overkill, much? Especially given one possible warning diff --git a/net-libs/nodejs/nodejs-99999999.ebuild b/net-libs/nodejs/nodejs-99999999.ebuild index d9745115c19f..577230345a35 100644 --- a/net-libs/nodejs/nodejs-99999999.ebuild +++ b/net-libs/nodejs/nodejs-99999999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="threads(+)" @@ -19,11 +19,11 @@ 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 ~ppc64 ~x86 ~amd64-linux ~x64-macos" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" S="${WORKDIR}/node-v${PV}" fi -IUSE="cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl system-icu +system-ssl systemtap test" +IUSE="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 ) @@ -33,7 +33,7 @@ RESTRICT="!test? ( test )" RDEPEND=">=app-arch/brotli-1.0.9:= >=dev-libs/libuv-1.40.0:= - >=net-dns/c-ares-1.17.0:= + >=net-dns/c-ares-1.17.2:= >=net-libs/nghttp2-1.41.0:= sys-libs/zlib system-icu? ( >=dev-libs/icu-67:= ) @@ -46,24 +46,9 @@ BDEPEND="${PYTHON_DEPS} pax-kernel? ( sys-apps/elfix )" DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}"/${PN}-12.22.1-jinja_collections_abc.patch # still needed as of 2021-06-04 -) - 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 use lto; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -ge 11 ]]; then - # Bug #787158 - die "LTO builds of ${PN} using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild" - fi - fi - fi - fi } src_prepare() { @@ -95,7 +80,7 @@ src_prepare() { fi # We need to disable mprotect on two files when it builds Bug 694100. - use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-13.8.0-paxmarking.patch ) + use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.3.0-paxmarking.patch ) # All this test does is check if the npm CLI produces warnings of any sort, # failing if it does. Overkill, much? Especially given one possible warning @@ -143,6 +128,7 @@ src_configure() { amd64) myarch="x64";; arm) myarch="arm";; arm64) myarch="arm64";; + lp64*) myarch="riscv64";; ppc64) myarch="ppc64";; x32) myarch="x32";; x86) myarch="ia32";; @@ -217,10 +203,10 @@ src_install() { } src_test() { - # parallel/test-fs-mkdir is known to fail with FEATURES=usersandbox if has usersandbox ${FEATURES}; then - ewarn "You are emerging ${P} with 'usersandbox' enabled." \ - "Expect some test failures or emerge with 'FEATURES=-usersandbox'!" + rm -f "${S}"/test/parallel/test-fs-mkdir.js + ewarn "You are emerging ${PN} with 'usersandbox' enabled. Excluding tests known to fail in this mode." \ + "For full test coverage, emerge =${CATEGORY}/${PF} with 'FEATURES=-usersandbox'." fi out/${BUILDTYPE}/cctest || die diff --git a/net-libs/ntirpc/Manifest b/net-libs/ntirpc/Manifest index 96ba317c4d81..1af6249217bd 100644 --- a/net-libs/ntirpc/Manifest +++ b/net-libs/ntirpc/Manifest @@ -1,2 +1 @@ -DIST ntirpc-3.4.tar.gz 387376 BLAKE2B db4d0fd22f1ea46da6e40a613848f9fd396bd85cf01968f5ab976627ab787e8d1bc2a57a8bb87f2ffcaf63b8e59c6ea41145ed9ccafc66d4ba420a15c9a78901 SHA512 913bc9f3208ddb667a7fab6e06585ba15ac3dd1979a15846f49114f54a270c2174a00afc3009d6158851aed779046743dd1ea704227122079164c07b394c01ad DIST ntirpc-4.0.tar.gz 388389 BLAKE2B b997430a119c900cfd8792af530d7baec629d7afa076838ca22b83631a461df2f267c6b786582bbefc98db870d054f37c9e9c0c3201f9a130f3f3806168043c1 SHA512 7bafad650bcebbf53a9958abdcacb8dfa9ac46c9798ac39e82c2ae3215b3e5b5a6b916bb95e3c70e7bc1a09b26a46b00bad236b2400538e9695b1c347f0672d9 diff --git a/net-libs/ntirpc/ntirpc-3.4-r1.ebuild b/net-libs/ntirpc/ntirpc-3.4-r1.ebuild deleted file mode 100644 index e7d899f9943f..000000000000 --- a/net-libs/ntirpc/ntirpc-3.4-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Transport Independent RPC library for nfs-ganesha" -HOMEPAGE="https://github.com/nfs-ganesha/ntirpc" -SRC_URI="https://github.com/nfs-ganesha/ntirpc/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gssapi rdma" - -# Since the GSS option only controls some extra files to be enabled, -# there's nothing to list in the depend string for it. -RDEPEND=" - dev-libs/userspace-rcu:= - rdma? ( sys-cluster/rdma-core ) -" -DEPEND=" - ${RDEPEND} -" - -src_configure() { - local mycmakeargs=( - -DUSE_GSS="$(usex gssapi)" - -DUSE_RPC_RDMA="$(usex rdma)" - ) - cmake_src_configure -} diff --git a/net-libs/ortp/ortp-0.23.0-r1.ebuild b/net-libs/ortp/ortp-0.23.0-r1.ebuild index ce209560f3a4..464e2482fe77 100644 --- a/net-libs/ortp/ortp-0.23.0-r1.ebuild +++ b/net-libs/ortp/ortp-0.23.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -69,7 +69,8 @@ src_install() { find "${ED}" -name '*.la' -delete || die if use examples; then - insinto /usr/share/doc/${PF}/examples - doins src/tests/*.c + docinto examples + dodoc src/tests/*.c + docompress -x /usr/share/doc/${PF}/examples fi } diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index f688ce59f8ae..72238f10a507 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1 +1,2 @@ DIST pacparser-1.3.7.tar.gz 905596 BLAKE2B 122127b6e1d8f68fde4c5ca98207bf2a0fa2a081dbb60aaf34126700a3de9d861e7b5f881e78d3eefdd2a9af97a9ba677339ca2b2a0b4459d26e60a62226e839 SHA512 979238204cd352ecf502a5a6216a35d7c47e82a173c32c6f0a5166f1fe790c66ac74ec1d9d0a58b54038d19e893f8b365ed868664f84ab9d5e653584bf20130b +DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 diff --git a/net-libs/pacparser/files/pacparser-1.4.0-build.patch b/net-libs/pacparser/files/pacparser-1.4.0-build.patch new file mode 100644 index 000000000000..2a8898579327 --- /dev/null +++ b/net-libs/pacparser/files/pacparser-1.4.0-build.patch @@ -0,0 +1,96 @@ +Upstream-PR: https://github.com/manugarg/pacparser/pull/136 +From 5d689be2e250242ef4022054f11bf00af339c149 Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Fri, 13 May 2022 22:34:37 -0700 +Subject: [PATCH 1/2] build: Don't conflict with the user's CFLAGS + +This uses the variable MAINT_CFLAGS to set the project's flags so that +the user can set CFLAGS as an environment variable or as an make +argument without any conflicts. + +This can be problemtic with the build environment in some distros. +--- + src/Makefile | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 87f5c1b..3642241 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -60,14 +60,14 @@ ifeq ($(OS_ARCH),Darwin) + endif + + PREFIX ?= /usr +-CFLAGS = -g -DXP_UNIX -Wall -DVERSION=$(VERSION) ++MAINT_CFLAGS := -g -DXP_UNIX -Wall -DVERSION=$(VERSION) + + ifndef PYTHON + PYTHON = python + endif + + # Spidermonkey library. +-CFLAGS += -Ispidermonkey/js/src ++MAINT_CFLAGS += -Ispidermonkey/js/src + + LIBRARY_LINK = $(LIBRARY_NAME).$(SO_SUFFIX) + PREFIX := $(DESTDIR)$(PREFIX) +@@ -87,17 +87,17 @@ spidermonkey/libjs.a: spidermonkey/js/src + cd spidermonkey && SMCFLAGS="$(SHFLAGS) $(SMCFLAGS)" $(MAKE) jslib + + pacparser.o: pacparser.c pac_utils.h pacparser.h jsapi_buildstamp +- $(CC) $(CFLAGS) $(SHFLAGS) -c pacparser.c -o pacparser.o ++ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(SHFLAGS) -c pacparser.c -o pacparser.o + touch pymod/pacparser_o_buildstamp + + $(LIBRARY): pacparser.o spidermonkey/libjs.a +- $(MKSHLIB) $(CFLAGS) $(LDFLAGS) $(LIB_OPTS) -o $(LIBRARY) pacparser.o spidermonkey/libjs.a -lm ++ $(MKSHLIB) $(MAINT_CFLAGS) $(CFLAGS) $(LDFLAGS) $(LIB_OPTS) -o $(LIBRARY) pacparser.o spidermonkey/libjs.a -lm + + $(LIBRARY_LINK): $(LIBRARY) + ln -sf $(LIBRARY) $(LIBRARY_LINK) + + pactester: pactester.c pacparser.h pacparser.o spidermonkey/libjs.a +- $(CC) $(CFLAGS) $(LDFLAGS) pactester.c pacparser.o spidermonkey/libjs.a -o pactester -lm -L. -I. ++ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(LDFLAGS) pactester.c pacparser.o spidermonkey/libjs.a -o pactester -lm -L. -I. + + testpactester: pactester $(LIBRARY_LINK) + echo "Running tests for pactester." + +From ff86f230de5dd60935e1793077eb038fcbe1e515 Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Fri, 13 May 2022 22:45:19 -0700 +Subject: [PATCH 2/2] build: Add DOC_PREFIX + +This can be useful for distro integration. +--- + src/Makefile | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 3642241..af10890 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -74,6 +74,7 @@ PREFIX := $(DESTDIR)$(PREFIX) + LIB_PREFIX = $(PREFIX)/lib + INC_PREFIX = $(PREFIX)/include + BIN_PREFIX = $(PREFIX)/bin ++DOC_PREFIX = $(PREFIX)/share/doc/pacparser + MAN_PREFIX = $(PREFIX)/share/man + + .PHONY: clean pymod install-pymod +@@ -119,11 +120,11 @@ install: all + install -d $(MAN_PREFIX)/man3/ + (test -d ../docs && install -m 644 ../docs/man/man3/*.3 $(MAN_PREFIX)/man3/) || true + # install html docs +- install -d $(PREFIX)/share/doc/pacparser/html/ +- (test -d ../docs/html && install -m 644 ../docs/html/* $(PREFIX)/share/doc/pacparser/html/) || true ++ install -d $(DOC_PREFIX)/html/ ++ (test -d ../docs/html && install -m 644 ../docs/html/* $(DOC_PREFIX)/html/) || true + # install examples +- install -d $(PREFIX)/share/doc/pacparser/examples/ +- (test -d ../examples && install -m 644 ../examples/* $(PREFIX)/share/doc//pacparser/examples/) || true ++ install -d $(DOC_PREFIX)/examples/ ++ (test -d ../examples && install -m 644 ../examples/* $(DOC_PREFIX)/examples/) || true + + # Targets to build python module + pymod: pacparser.o pacparser.h spidermonkey/libjs.a diff --git a/net-libs/pacparser/files/pacparser-1.4.0-pymod.patch b/net-libs/pacparser/files/pacparser-1.4.0-pymod.patch new file mode 100644 index 000000000000..203e34c838f1 --- /dev/null +++ b/net-libs/pacparser/files/pacparser-1.4.0-pymod.patch @@ -0,0 +1,61 @@ +Upstream-PR: https://github.com/manugarg/pacparser/pull/137 +From 351b8f837ebbdf6e6fa4978a70287899436890eb Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Sat, 14 May 2022 01:46:25 -0700 +Subject: [PATCH] tests: Fix python path in runtests.py + +In Gentoo the runtests.py script fails when it fails to determine the +pacparser path. + +This happens because 'py_ver' expands to '3.9' when the expected +directory ends in '39'. This can be solved by replacing any periods in +the string. + +python ../tests/runtests.py +Traceback (most recent call last): + File "/tmp/pacparser/src/../tests/runtests.py", line 31, in runtests + pacparser_module_path = glob.glob(os.path.join( +IndexError: list index out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/tmp/pacparser/src/../tests/runtests.py", line 81, in <module> + main() + File "/tmp/pacparser/src/../tests/runtests.py", line 78, in main + runtests(pacfile, testdata, tests_dir) + File "/tmp/pacparser/src/../tests/runtests.py", line 34, in runtests + raise Exception('Tests failed. Could not determine pacparser path.') +Exception: Tests failed. Could not determine pacparser path. +--- + tests/runtests.py | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +diff --git a/tests/runtests.py b/tests/runtests.py +index 9760300..a5377d1 100644 +--- a/tests/runtests.py ++++ b/tests/runtests.py +@@ -26,10 +26,20 @@ + import sys + + def runtests(pacfile, testdata, tests_dir): +- py_ver = '.'.join([str(x) for x in sys.version_info[0:2]]) ++ ver = '.'.join([str(x) for x in sys.version_info[0:2]]) ++ py_ver = [ver, ver.replace('.', '')] + try: +- pacparser_module_path = glob.glob(os.path.join( +- tests_dir, '..', 'src', 'pymod', 'build', 'lib*%s' % py_ver))[0] ++ module_path = glob.glob(os.path.join( ++ tests_dir, '..', 'src', 'pymod', 'build', 'lib*')) ++ module_found = False ++ for module in module_path: ++ for version in py_ver: ++ if module.endswith(version): ++ module_found = True ++ break ++ if module_found: ++ pacparser_module_path = module ++ break + except Exception: + raise Exception('Tests failed. Could not determine pacparser path.') + if 'DEBUG' in os.environ: print('Pacparser module path: %s' % diff --git a/net-libs/pacparser/pacparser-1.4.0.ebuild b/net-libs/pacparser/pacparser-1.4.0.ebuild new file mode 100644 index 000000000000..7dc296824bb6 --- /dev/null +++ b/net-libs/pacparser/pacparser-1.4.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit python-r1 toolchain-funcs + +DESCRIPTION="Library to parse proxy auto-config files" +HOMEPAGE="http://pacparser.manugarg.com/" +SRC_URI="https://github.com/manugarg/${PN}/archive/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0/1" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc python" + +DEPEND="python? ( ${PYTHON_DEPS} )" +RDEPEND="${DEPEND}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# spidermonkey-1.7.0 is bundled +# tested unbundling with spidermonkey-1.8* and 1.7 +# and got many failures: unbundling not worth it. + +PATCHES=( + "${FILESDIR}/${P}-build.patch" + "${FILESDIR}/${P}-pymod.patch" +) + +src_prepare() { + default + + sed -e '/CC = gcc/d' \ + -i src/spidermonkey/js/src/config/Linux_All.mk || die + + export NO_INTERNET=yes + export VERSION="${PV}" + tc-export CC AR RANLIB +} + +src_compile() { + # Upstream parallel compilation bug, do that first to work around + emake -C src/spidermonkey + emake -C src + use python && python_foreach_impl emake -C src pymod +} + +src_install() { + emake \ + LIB_PREFIX="${ED}/usr/$(get_libdir)" \ + DOC_PREFIX="${ED}/usr/share/doc/${PF}" \ + BIN_PREFIX="${ED}"/usr/bin \ + INC_PREFIX="${ED}"/usr/include \ + MAN_PREFIX="${ED}"/usr/share/man \ + -C src install + dodoc README.md + + if use python; then + python_foreach_impl emake DESTDIR="${D}" -C src install-pymod + python_foreach_impl python_optimize + fi + + if use doc; then + docompress -x /usr/share/doc/${PF}/{html,examples} + else + rm -r "${ED}"/usr/share/doc/${PF}/{html,examples} || die + fi +} diff --git a/net-libs/phodav/phodav-2.5.ebuild b/net-libs/phodav/phodav-2.5.ebuild index 6382a905ee93..0e03c1c68781 100644 --- a/net-libs/phodav/phodav-2.5.ebuild +++ b/net-libs/phodav/phodav-2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/phodav" LICENSE="LGPL-2.1+" SLOT="2.0" -KEYWORDS="~alpha amd64 arm ~arm64 ppc ppc64 x86" +KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 x86" IUSE="gtk-doc systemd test zeroconf" RESTRICT="!test? ( test )" @@ -59,3 +59,11 @@ src_install() { udev_dorules "${FILESDIR}/70-spice-webdavd.rules" fi } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/net-libs/pjproject/Manifest b/net-libs/pjproject/Manifest index 048f8a59e96f..b0c9fcafc2b1 100644 --- a/net-libs/pjproject/Manifest +++ b/net-libs/pjproject/Manifest @@ -1 +1,2 @@ DIST pjproject-2.10.tar.gz 8768705 BLAKE2B 42d70867e2e0474313426f1e188586d203d6165c28a133a62dedacd2deb2899215212824d9402a48fcc66bb08a17b796d3625e1d51a8aedc9aa4b3a3bf1cb8fa SHA512 a67f083df175b536b4e6a7b7fe39e07d3ee805d6917ec64a50694542a7455c33a100889191044ab3fa679b6656774a6be045621aa53510b5f04cdde9ddd59893 +DIST pjproject-2.12.1.tar.gz 9660659 BLAKE2B d893f22d995c9570e4003f80adf15144cf39e09d5843a88e3a616a529a91164ec7b012ea66ede8d55bfe4ec0dc4eca7d230f07fc66f06dfafaea9d5ff72910fa SHA512 9087456024b8886e56660cebc45c7093b3b91cd6b08a3926fa2c0de452989ac84ceb4e27413c0311bde95f271341ee44d9681f81f83602a4e16151f1831d773b diff --git a/net-libs/pjproject/files/pjproject-2.12.1-CVE-2022-31031.patch b/net-libs/pjproject/files/pjproject-2.12.1-CVE-2022-31031.patch new file mode 100644 index 000000000000..637b7f374ffc --- /dev/null +++ b/net-libs/pjproject/files/pjproject-2.12.1-CVE-2022-31031.patch @@ -0,0 +1,41 @@ +From 450baca94f475345542c6953832650c390889202 Mon Sep 17 00:00:00 2001 +From: sauwming <ming@teluu.com> +Date: Tue, 7 Jun 2022 12:00:13 +0800 +Subject: [PATCH] Merge pull request from GHSA-26j7-ww69-c4qj + +--- + pjlib-util/src/pjlib-util/stun_simple.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/pjlib-util/src/pjlib-util/stun_simple.c b/pjlib-util/src/pjlib-util/stun_simple.c +index 722519584..d0549176d 100644 +--- a/pjlib-util/src/pjlib-util/stun_simple.c ++++ b/pjlib-util/src/pjlib-util/stun_simple.c +@@ -54,6 +54,7 @@ PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, + { + pj_uint16_t msg_type, msg_len; + char *p_attr; ++ int attr_max_cnt = PJ_ARRAY_SIZE(msg->attr); + + PJ_CHECK_STACK(); + +@@ -83,7 +84,7 @@ PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, + msg->attr_count = 0; + p_attr = (char*)buf + sizeof(pjstun_msg_hdr); + +- while (msg_len > 0) { ++ while (msg_len > 0 && msg->attr_count < attr_max_cnt) { + pjstun_attr_hdr **attr = &msg->attr[msg->attr_count]; + pj_uint32_t len; + pj_uint16_t attr_type; +@@ -111,6 +112,10 @@ PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, + p_attr += len; + ++msg->attr_count; + } ++ if (msg->attr_count == attr_max_cnt) { ++ PJ_LOG(4, (THIS_FILE, "Warning: max number attribute %d reached.", ++ attr_max_cnt)); ++ } + + return PJ_SUCCESS; + } diff --git a/net-libs/pjproject/pjproject-2.12.1.ebuild b/net-libs/pjproject/pjproject-2.12.1.ebuild new file mode 100644 index 000000000000..e4b5b281a448 --- /dev/null +++ b/net-libs/pjproject/pjproject-2.12.1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="Open source SIP, Media, and NAT Traversal Library" +HOMEPAGE="https://www.pjsip.org/" +SRC_URI="https://github.com/pjsip/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +LICENSE="GPL-2" +SLOT="0/${PV}" + +# g729 not included due to special bcg729 handling. +CODEC_FLAGS="g711 g722 g7221 gsm ilbc speex l16" +VIDEO_FLAGS="sdl ffmpeg v4l2 openh264 libyuv vpx" +SOUND_FLAGS="alsa portaudio" +IUSE="amr debug epoll examples ipv6 opus resample silk ssl static-libs webrtc + ${CODEC_FLAGS} g729 + ${VIDEO_FLAGS} + ${SOUND_FLAGS}" + +RDEPEND="net-libs/libsrtp:= + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + ffmpeg? ( media-video/ffmpeg:= ) + g729? ( media-libs/bcg729 ) + gsm? ( media-sound/gsm ) + ilbc? ( media-libs/libilbc ) + openh264? ( media-libs/openh264 ) + opus? ( media-libs/opus ) + portaudio? ( media-libs/portaudio ) + resample? ( media-libs/libsamplerate ) + sdl? ( media-libs/libsdl ) + speex? ( + media-libs/speex + media-libs/speexdsp + ) + ssl? ( + dev-libs/openssl:0= + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/pjproject-2.12.1-CVE-2022-31031.patch" +) + +src_prepare() { + default + rm configure || die "Unable to remove unwanted wrapper" + mv aconfigure.ac configure.ac || die "Unable to rename configure script source" + eautoreconf + + cp "${FILESDIR}/pjproject-2.9-config_site.h" "${S}/pjlib/include/pj/config_site.h" || die "Unable to create config_site.h" +} + +_pj_enable() { + usex "$1" '' "--disable-${2:-$1}" +} + +src_configure() { + local myconf=() + local videnable="--disable-video" + local t + + use debug || append-cflags -DNDEBUG=1 + use ipv6 && append-cflags -DPJ_HAS_IPV6=1 + append-cflags -DPJMEDIA_HAS_SRTP=1 + + for t in ${CODEC_FLAGS}; do + myconf+=( $(_pj_enable ${t} ${t}-codec) ) + done + myconf+=( $(_pj_enable g729 bcg729) ) + + for t in ${VIDEO_FLAGS}; do + myconf+=( $(_pj_enable ${t}) ) + use "${t}" && videnable="--enable-video" + done + + [ "${videnable}" = "--enable-video" ] && append-cflags -DPJMEDIA_HAS_VIDEO=1 + + LD="$(tc-getCC)" econf \ + --enable-shared \ + --with-external-srtp \ + ${videnable} \ + $(_pj_enable alsa sound) \ + $(_pj_enable amr opencore-amr) \ + $(_pj_enable epoll) \ + $(_pj_enable opus) \ + $(_pj_enable portaudio ext-sound) \ + $(_pj_enable resample libsamplerate) \ + $(_pj_enable resample resample-dll) \ + $(_pj_enable resample) \ + $(_pj_enable silk) \ + $(_pj_enable speex speex-aec) \ + $(_pj_enable ssl) \ + $(_pj_enable webrtc libwebrtc) \ + $(use_with gsm external-gsm) \ + $(use_with portaudio external-pa) \ + $(use_with speex external-speex) \ + "${myconf[@]}" +} + +src_compile() { + emake dep LD="$(tc-getCC)" + emake LD="$(tc-getCC)" +} + +src_install() { + default + + newbin pjsip-apps/bin/pjsua-${CHOST} pjsua + newbin pjsip-apps/bin/pjsystest-${CHOST} pjsystest + + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins -r pjsip-apps/src/samples + fi + + use static-libs || rm "${ED}/usr/$(get_libdir)"/*.a || die "Error removing static archives" +} diff --git a/net-libs/ppp-defs/files/ppp_defs.h b/net-libs/ppp-defs/files/ppp_defs.h new file mode 100644 index 000000000000..c8be812168c1 --- /dev/null +++ b/net-libs/ppp-defs/files/ppp_defs.h @@ -0,0 +1,6 @@ +#ifndef _NET_PPP_DEFS_H +#define _NET_PPP_DEFS_H 1 + +#include <linux/ppp_defs.h> + +#endif /* net/ppp_defs.h */ diff --git a/net-libs/libnfsidmap/metadata.xml b/net-libs/ppp-defs/metadata.xml index 73dda144f9ac..6b00211d29ea 100644 --- a/net-libs/libnfsidmap/metadata.xml +++ b/net-libs/ppp-defs/metadata.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> -</maintainer> + <maintainer type="project"> + <email>musl@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/net-libs/ppp-defs/ppp-defs-0.ebuild b/net-libs/ppp-defs/ppp-defs-0.ebuild new file mode 100644 index 000000000000..f3f93b109e31 --- /dev/null +++ b/net-libs/ppp-defs/ppp-defs-0.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Shim header for net/ppp_defs.h on musl" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Musl" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv x86" + +RDEPEND="!sys-libs/glibc" + +S=${WORKDIR} + +src_install() { + insinto /usr/include/net + doins "${FILESDIR}/ppp_defs.h" +} diff --git a/net-libs/quiche/Manifest b/net-libs/quiche/Manifest index 24a1f914db6c..7043f1f6102e 100644 --- a/net-libs/quiche/Manifest +++ b/net-libs/quiche/Manifest @@ -2,28 +2,41 @@ DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 4f6947d1aacf89ccfab0592cdc55fa61ef DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa DIST anyhow-1.0.26.crate 26024 BLAKE2B 09cdaf61531f3a36b186fbebc2c783d472b54494c1dbd0e2b808be332bfba5783f40d66e46b2148a677ec61ed89f73bf2db04ebb6d43c8b395162177181d2094 SHA512 362a22854f90032f407875ee3687287f2c9c87e3b462e808219e0fd4d3067ad245544d1b6f38b3130d824af77390a331ac0b5a918498ee6c6b401fc8d0292ccc DIST arrayvec-0.4.11.crate 26439 BLAKE2B 5ea27434d57f37f7ea3e7d94acc1a3450ec464bd62e2d377cd378f4faa13078244afc53284bf2838ea0f62802801961d6915f202eea951a8792e9fe825424be9 SHA512 6919f07fce0aa834b75ecc722476d05580a7dd58e8119b0ead5077d6501ee69ffef71016b6e63ed0617ce2d29a6fa1a4f5431d7aa20340c9f3f2e4c9c93d49c4 +DIST arrayvec-0.7.2.crate 29341 BLAKE2B eae9d3f494033ea2d837a6024cb24bd4574683ed1e76ac6be7f7c6b0d8ee65c0eaf03dbae7fea04cf0921299f69234ad91e1cf41342de86f554f74e287dd3ba1 SHA512 80cc6e55b6032f4882362813de970d3d99e600ada774b28ac6a24c9c8e018fda3b35c5750ac3a09fca6fb9496e2e3fe608b58d21b1b84685ebd170f567a0ecbc DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 DIST autocfg-1.0.1.crate 12908 BLAKE2B 40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a SHA512 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST backtrace-0.3.37.crate 67955 BLAKE2B af9deeda806a9c47084df102ed6f5e6d57a81db9ac410678684c7026069be43bc4efd15bbf4b042d5aea9d85d619168484396d1dfc2ed83a69eeb29d750b6158 SHA512 d32ef8fa11cffeee298f7468f8f9b6d3492cdd805679fa72600115df7dd7e0ae65378ed7aa767a75a90743e278018cfb9631842e7eb633869d77485405dc520b DIST backtrace-sys-0.1.31.crate 518877 BLAKE2B 397f3c4053eeabd7216c4373e6457637e22ee124d8a864c2587a78ebd8d619745dece654357cb9cd970ee20d7c41d53c84ecb3ed92beefaacbcfddfaca804ce5 SHA512 6aa8c7a2694f4e953a0e9bbd07dc8b7e218719de5aef2adaecfae81beb919deffde6f184675dc6b6c1a330bb81dc9611c256f7f63caef5e301101dbe3bbaafe0 DIST bindgen-0.57.0.crate 199132 BLAKE2B ed5d73da72116acca0124770f6f8e162c161c3375980505a704d3fc73ad20fc8cd81ce59680deb4922def8737914027c1c1e2c9fb4b181ddf114a08522657b62 SHA512 a4bf376aa0f84e625f4c5eed7bdc9775549b0ab9e9edcee708d8b56df6cb49611b7093692e772ed7ad5adb1c3d8055d81b4ff19359a193a5bfb4b200ca8a26a8 +DIST bindgen-0.59.2.crate 206267 BLAKE2B de66347fcf2d538879e49c85d2db80e86a70e27d3c84464b52a840476a31edae0cfa3e1afaba33ef0b7abadcb1e23a2fe1420e3254e0de1f6848b575a9c96620 SHA512 14c49879c7443191b877957a4fd405c7f10a1e8b70016d91bf5fe33861fc5d71982a1c685c190e4f7922cedb6c8aefadac3b0b68cbe5578da791a8da6bfedf44 DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST boring-2.0.0.crate 159332 BLAKE2B e51e299bd46c29c3572c8c1a3105cad5910de9528ccd82407ea578fa093762ffe0cc4915cd9e09c848651f3d9814253fcb612b82b9d72b259545f99dbd1a4c45 SHA512 162f3d5b066a7026a82027d2ec01946e3852b80926ec95e7e4395527fb33667b6a880dfa34a289e70e065472a0bba701a676b03ea160819b1ff4b12740037bfe DIST boring-sys-1.1.1.crate 3301658 BLAKE2B bbc064d2dc0b888e4427702fa15b9123a85f8aac045404ce70fef1d7994ac8d640f9155245c63b4b9489e9c4f7071a4585c62abe23351b8acf9a296a8b9841ae SHA512 23fbcf459c6b7e0023fd572b810de246d4e4e164ca0375b205deba1107a038c167364becaebac44856dd0f8057c72ea3b335fba820ddb8334b4faafb22b38e78 +DIST boring-sys-2.0.0.crate 3303655 BLAKE2B 4a71edcb9a4955f13740ea49d54cba8e3cbfc208c3f3c3baeeae0f0a106b58fc1fefca56e875f4a4e0b82d233686cff1e5f4fb527da6321ef2c5267b675165be SHA512 f742315e62ba84a93de67cf5ac40312f61e4c84b1b30b75ef51e5582de4e30fa7b3e6ec440ceda7e1efcd43053eaddf707148a27d09f52bb0b32fd9422b78159 DIST bstr-0.2.12.crate 344435 BLAKE2B b55a55be4875d9aefcff0091be82d80a19c1c92d5d6e17b751dd41bebd37f6a5f72d884fa8a70e829905baf3526ce4d854b162d10d894573dd2801ed030460e9 SHA512 2d14ac85274814bb29439acf67c3aaf84ac32ad361dd6d2cbca58bf571c968f594eeb1443a632b625296929b84047652fc60ec39983c110737ba1950d88bce89 DIST bumpalo-3.7.0.crate 134261 BLAKE2B 15c4944abc803537c57076dfa8f5fb4b59949909450edd9e043a6cd438ddd227820e20e95236324c06e40cb27ec1e4d958bebf3d38df90f0723b8e30df79b6ef SHA512 0b570e1baee530b5c3f775330ead7cf5f8878eab75e5a6a61b5d3f64d4d82912cb26de1c098ec9492c29c7a04fc49565db97a54373c546d8ef58aab276d77c59 DIST bumpalo-3.7.1.crate 78573 BLAKE2B 2bd6c041a703033e0214746c087f3f505853596ff37b5abc04323b45721346c66f6b867387adb000b3cad80eec3661afb008f75d7cdd4e7328e730ed36e926c8 SHA512 879bc0993d8ac18cc7af87276aaf7aa042bdaca338c8cc766d5a1822c5675c1852b97467da0f6d5f4721213e3781a195e143b73d21e02ce11600e13e147e943b +DIST bumpalo-3.9.1.crate 77507 BLAKE2B b248a0c2a9faaf52061f2fe0a82b9fd4efb4dae01da9dbd986493941f3ef2632f1d5608d167f2d088536dc96b4cce28981602220062892a7af51c3ead7a74a4b SHA512 40bf3f0d261aaff1f7c30a539953b9c14f4526f05586af0dbe2e4df4cc042cbe6180e3dcc2fbc6f1802e694066f72e629e74de40bc2951c5527edaf551722a52 DIST byteorder-1.3.4.crate 21943 BLAKE2B 278b24e036e920f84683f883991a967d997883bc80edefc5b69f52551794a37e5051786a1ac1b7a30bf2f5cad7318d781f189a7b2e496e2743df01262d5c33d6 SHA512 0618ce2cd6f3f6c586201d9aee8c8aaa08f99c9f9f215cf448b3cb6af1ac741845f5279953544caaec7fcf0beec1474bb991bee1ad0c0dac0c3f1d3ddd99e2d9 DIST cast-0.2.3.crate 11446 BLAKE2B 70003625a66e1f505d81cb324992f38388762686def5f6edd8023d55425273b9aad36a2d1c7f429799565c02a0c9d6db1a869137aec9c8d1e2fe12b228e4c8c4 SHA512 2afdba50989aaefd64b2cd1274dcf8812f69e7b2d8ed783a261fe9d3805bd7800e8e0b30beccc64f640df1a869c012d35c7cdac5ef976829a53dc82e73048ae0 DIST cc-1.0.68.crate 55936 BLAKE2B 9bbbeda78b8c3aca487e770cddbe11bf4686424bd33d023ad66e1fbdfc8dcbc17fd85c15905e0edbed8745202c01aea13d4f03a7f8f655e5806da152565419aa SHA512 faca9aa91488808f920f1d88422cc8a69790aa6dbd7bd2cc5d08a579d248faafd0fd675e8499e56aef6715398c278db1fa2079511d211d41aa65741de5d5ac8c DIST cc-1.0.70.crate 57200 BLAKE2B 196b0435c8a521a02e9877ed3ff81fbefa88cd56717556776b46366bad1835bff134a1b4fc4e31ee5497600e98d1031119d0973b420cf16aece1ff18fbdcd1bc SHA512 9158eabcb9405fa2ef41fb120821ddaa2e5c7234c02d5cfbb5b59570f7de393d1fa33942ca52f86bf9271765b3df934debdea89e7563cbfe193dc01b2dcd72f9 +DIST cc-1.0.72.crate 57495 BLAKE2B b2057ca53aacafa063a4eaa907bfb65aa32ce01a74a90b9085c8243a87723cee8ce79e4904f9d205f9d451598ee34495f8879d27c189477ca43bd39b88b5ea2e SHA512 e9a5b283b2a1fee1030009068c1f87291ec1dab7584a0892f27cc7e523c8fdfd5d986281d9aec1a00af706af1e61d7e64c245c74be7b39c8c022ae2d4f87de8d +DIST cc-1.0.73.crate 57880 BLAKE2B be8d7a25a54afdd759844e76aec61526fc2bd5ca09480e6cdd3bdcf27e5f9d3a88dc16cbcbf54cd021470a7cc521e1ad468116c112bbd30752bac0d5486939ac SHA512 980f012b90c6410144f6de4995048337e09214f19603076db6d4edb88e9ef9ac9e8c6e25569f66c2be3a47e99298f5886dafc102e1a9122316179aa26bc1c985 DIST cexpr-0.4.0.crate 18023 BLAKE2B 4a55c6c80f09c1d4ee86706d8af1f52219ceee99f19ecd0618825ce5bb27535184b64c0a49a540756b0c5e9cce6e39aac271545c504fbfb37c44052d04856cb2 SHA512 31592e38d80414cd07b25f7460775eafce1f91570abc1b94af7452961604574d1ca2374c0177875569b644f615a2b6fede273f37a6ee137f9adc9c0315c59b37 +DIST cexpr-0.6.0.crate 17966 BLAKE2B cb46f066eb1f4dbac00ec86dc3e562db7ee8ea5ff17d16a60004fa020405e455b8aeb3d001f669cb33d1b62525bfd04ec657ffca4ed44a83af4a5e75b2c820e3 SHA512 766bff7ca7f9bf0885aee6f014bcfc084e7fdfcd567a49443d5340acfe8f257db109de17b24588504fc35c53f2d4303e2d22da21f73669125cfca984950cf886 DIST cfg-if-0.1.10.crate 7933 BLAKE2B 063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8 SHA512 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST clang-sys-1.2.0.crate 36874 BLAKE2B ff4bb39ae79280632aae404566ccde614e059d0a04aeeed1475080755fb07853da63353343b0ad66d97588679f461c7f5e5f69b753372174799c52ee7fc3e7d0 SHA512 64577b5f82878ff465eee0bd5f154522640e9bae7e6d52c1c8b868412a2297ded69b104b85b7ca6b6031d6a6eef60579933cb6502bb7342af1f9aa593428a256 DIST clang-sys-1.2.2.crate 37661 BLAKE2B cbf637171253aca4892270e28c54c43b01cd1d56311555bd6c5e6b142b5f42d561a2808e1ce0baee344d08a2fbc19be1712ca34bbc5b33356a845042ba0df5bd SHA512 7f1736bce5dbc644a4901a73926ea2f6a92a419a7399b6cb49bf8ffed6a3177e9327add6e68fdf6b9966f4b0b580b213555d6cefbe194ad7a4bee987adf555e5 +DIST clang-sys-1.3.0.crate 37713 BLAKE2B ca7ee0771a970ed67b02d55d9027bab061c52d624540894cd00d09d847f6f35c58e76a1a6153309f8af709474df64b46f4764c2036883a688ffb8154d77ed123 SHA512 80c78c53a877cd8208730885214c135dd65a208cfd047dba7595283bbeec266f4d39cd1e0b3c2c69a474569ba68e4db93636e31a77c350d7bb2337e06ee7cb74 +DIST clang-sys-1.3.1.crate 37840 BLAKE2B 4c925a684d66fddb5f3953fff6b96fa56b0b996eed227e17873ccd5555baf4ca77964a38ff279999533e7409e2b1d355c13470a6c461fb4b0e11807bc948dbe4 SHA512 aeea37957f7e9a7ecc862f56c6492b68b57217d1a893d3978f5d48d5ef9f80cefa8c52604d7201b9c96402d87ca43ba694890b0bc849d4d623f74ea009ce45bb +DIST clang-sys-1.3.2.crate 37904 BLAKE2B f6000d5e9238c662c7c3f0f886de0916164bc115be7fd846640081a0506fb8d60db34ac62d8c83f6bd25a87eb598eac719f0f17a9a37180c72ec2362549483d1 SHA512 500cee4af6510741e5fe7b72d6e25a513072aff26a90ce9766a70cb5e266e7c76bb4178f15ad517a0dea0d1e2f61b8b5953a2639e8cb87525bf2bb62b64847f4 DIST clap-2.33.3.crate 201925 BLAKE2B bec9c866481c5b3fddeb314f68af9bce38fc421e42816182de3209e8ea3447b72cf033e6251eea27fe974eff8085b7d98cdd2911b5cc0ec6b4bf4c750deb8a25 SHA512 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf DIST cmake-0.1.45.crate 14375 BLAKE2B aaeb4b910087bcc735f2cef65fb46184de3c3181add90715ec709c3162c081cc506ed4c7f4f3e6ed6d76aef8213ce80b9b865b2e737166b498a50b60acb7c83b SHA512 7de4ae0c3a50806f2b060e145948be6c6dd0db3975b626e0432301f454612fb7bc7fd2f4549529deaf7a1a55063a11dd553efb59a9dd5aa61ede5e63371d6b2d +DIST cmake-0.1.48.crate 15142 BLAKE2B 5566d196c7ebcaa6b4d91e3361d7c92eb9c60c0a940b6d581d8cfc547606781f04f77d707ed128a6a391ec46fe801a4f65acac3c7c9bc90e0e43cd9e1bd6be03 SHA512 c836208d43f4a716be6ef043a6b5f526d3961b9414f1419171895903491176a2a8dc2f271062667a7568c7deb2bebfe96541b4e4fe73c31aa9aa760557b188b9 DIST criterion-0.3.1.crate 95450 BLAKE2B d63477b414176eb3b49857b6a6e3f1e30d72e95856756051974bb99289082315bde362dd39254a766480e167707a147b621ae84a887243ece6f865ba784a9210 SHA512 c6beae7350029632206cd201faf3e9aa16fae39e96b9256b702cb4c09b013be88280b2e8b87ec2790c386be8ef6f9e9179482655f3af3ec9e34f8b402fe8bec9 DIST criterion-plot-0.4.1.crate 17185 BLAKE2B 106f956a32ab2a0f274882e2cf5707c9763e16ca9e98d2bda2ac92520a9dbff46ff4748f4b14417ccbc288b48fc527ffb9810c3cbcd50c1744975ed2e998c148 SHA512 910ee12c373b2003be314a495d162eeec2b6c5d54fa80f3cd31f5b5ef4a5c1c32181ff0744dccd522ca2e5e501a88cf4c56b231f8eb9b2f2732707eb82f98c39 DIST crossbeam-deque-0.7.3.crate 19888 BLAKE2B f83e6915624ed8d01e56ad28e0a40e84732d820fd07f0f0fa4aac9578aed0f4a980bdcd64d29811be2b5055f28135403faf091b902dd4c800d6d736452ab03d0 SHA512 7c6a42643b2eda7ffbe2d485de4d3723c6a37beaf77e81329e39c9300a80492ef46650fe5a6b18101d3f6b4ed031ddb06174624f5449998ec3a7808e979df131 @@ -33,12 +46,22 @@ DIST crossbeam-utils-0.7.2.crate 34338 BLAKE2B 3cb287c7741c4d5b0551331634a75b066 DIST csv-1.1.3.crate 890849 BLAKE2B 4d5fcc75f693a7e5f224866c626f3e65c6af66c8f0c13bf7d3d5fddb31a5078c47b195c3e1068ebdb81a5cdfbd716db649b5f2f3e3ffbb4471bbd0176c3c7b5e SHA512 2e5319b50cdb96f85c129743c0ecfc23638713113641608b817e47ac34c6f9767079b98405808a387a8a870d52c44e858aea98b91126e5d996d4d3efecbab713 DIST csv-core-0.1.10.crate 25668 BLAKE2B 8e9a56c26e75f4c4c9e90a21cc30c60cc3fff17515ac93bc858e8ec45e130df2ecabafa7c513b2d2815269fbbd98c418269dfb1bf1425d2fd32fe46823cee6c8 SHA512 2a269d050fbe5d9e0f5dcda2de1e84bfeb69538dde86040ad1ec7307a214eed813a1482acb5029a51f18126d384d5238355e021964e47811db971a0821bcc328 DIST darling-0.13.0.crate 19181 BLAKE2B 7880218ff592fb8e0790e7d39695424c7ef942f8f35ee8e06be914da7749b9be54a19bf9de6b5d2cb43e4c76f914fbf594282966099d1cb9ad54e01a01264be6 SHA512 89894f4004f102d2f889a1adbcc79bf3cb96fbe09e6e8bb4233df196367174b626bf5ecce53627a2ec8a6abb251bf027054d39b9b91d799a9d4c1e1c3da4cd96 +DIST darling-0.13.1.crate 20097 BLAKE2B cf72b572ee0672a3599d2154a7d42bfc71fb927640b7db80c8e93c9044fdb182b351a353788155776194a33a00def7951c572302555e1e5d03a119989876affd SHA512 0271198be875ee1a42d14e2f34b4d26bfc8cfc4cb86361f21c0bc079aceef4ad86bbcba919d7066abb891a87549404c432df53b0ec0e96fe293408b114c5ba99 +DIST darling-0.13.4.crate 20895 BLAKE2B 76675c20937450c47c1bda80170140930fc626d27d58b7dad3db33dce2e69457e2262189853141bdabeabf257d05d954f7dc1dbfa344276e05ee6dedfc8a2dab SHA512 7392896b97b80ad24d76a985f4b950668ba351498f48ef0722c783c28d43c4a4828f5f6eba7e754ca554b6662fc419e73bcb65d4b20037285a16e345fec9ef75 DIST darling_core-0.13.0.crate 49969 BLAKE2B a8a26a6b272b00a06d17585edee07d8a3a5a5c7a7a84a389a0fb31b60f9526bf79d5e2e69625f9014cd286657507a268e4a2ff25230cdfaddacfc23a1af234f0 SHA512 b97ebc4cec09aaf1a3ff6773bf312c94889522ca21573271d459c51942c57b71e104993c1b723ad122edfe49c0d029ea27234f07daeb50b5cd36f007ab57bb39 +DIST darling_core-0.13.1.crate 50847 BLAKE2B d7117ecc836e3c56eac69e4e81d350b2d8fe88e72484bb5269eb34972062a84882de43651561cf2df5e82d68b22791656017b3eea3d9f79758d8e5ba4a84f5fe SHA512 67fd1bf5059c6b7ea1b2b17b6f7bcc1ea6a9f84f50182852b2b8b9601b8d43529918b373dacb9b2a7aa12fe6162a9412d1330ce6e9ab6a3e2171f6072d958711 +DIST darling_core-0.13.4.crate 52937 BLAKE2B e038aea27b5b56f29cec8874132881ef589c869ffc974427924605b92436ef06f21c7ea748e97d9b719aa7156b3024e788968ac0cc6144d58eeace658b62a08f SHA512 96d431ebfb9d13aaff2c50f7ad7d5ac5e95813fac851e3e1d7739d1fd5b366fda32172829af88cabadb475f83b4500199167ede54bc802ca1e52137cf6c16c0f DIST darling_macro-0.13.0.crate 1915 BLAKE2B 15572e0e3d8122d5dc02929decd93338082d9639d7c5c103aaa04da1620a941333ed35a7d8fdad94bdff6b11d412d31c4cd61e56a41bc0b3f9403d8eefdb7d76 SHA512 a8f96d3f84b1a121b3991b09e262dfacaf3023bcca1143a269ed6b9528c903db1ebb67b9858028e50cfa547c1f9644676ebc9c085d05219f9dca06b24354c9f6 +DIST darling_macro-0.13.1.crate 1910 BLAKE2B 3c40b45ee8ff5a5b7a6dd365c561025dbb66db4121dd732806c7ad9d691ac423c367e97693d90b9037626211c7b31939ed4360e107dff0b958f640916ba879ca SHA512 41b190019f1c02e664020dccf21b4248f85182d16b6d1a8eb0b82fb6da1cf871b07959fc2cc65620fec6d23b309c0d188603d35ff288165250fdc807780dc149 +DIST darling_macro-0.13.4.crate 1910 BLAKE2B 432adc44108cce6a13adc9ec45ff9b7555eb4c0ac7f1000fdc8f8e9d1bc0ecfeb65b78f81438b097946aed8e37835f82028c1b16c1d466a124998139ae854df1 SHA512 908ea6459110da16e4ec6ac843659664ed4fa3fb2ea9b92274a738ff5994cf81fbb48403db609b9a70f39c3e288da4358ce369c66821122e3a6a0940473da94c +DIST data-encoding-2.3.2.crate 19159 BLAKE2B 43208abc26b243537e9a2556bc3ec5db53ff1aa0cc9c0111728d51b4fce6c6b4314ba445bbb9ac7d813bea57ab600a3a671c5167257f0c344e5e3b149a01f6dd SHA512 b62d0c9a937df59f3c84d4c27bafdac9088370a250d3b85e259258cb0843ee32ccd0a9fb1a01ecc5929dcb22e36bf82f7c1edbc9981acec70f5a1a01f00731c4 DIST either-1.5.3.crate 12278 BLAKE2B ffbe3878098daadcef9a554b60b2904d8d4814ea38cb915ee0003d3cd11243e04813dfb41384545e7b180f7d542c7aa2c0a351b736d4f449e70fa11d0a09cca1 SHA512 5e283412597bc3a1341d42c6cfe824606e056aaac82cbf3f662e7074ab74f1f80befe9de1b1011ce2dc970a0ec159ade5ed5b3e71c9984facee6314eac20d0f2 DIST env_logger-0.8.3.crate 32543 BLAKE2B 513790f39c63eb096b0fb62687c74262b42b0edc3e6fc2e2f2fdd44463eb4cfbf67560136ec206e252afa1477fabf66917f4fc0e8192e040670f98f3d7c4bb51 SHA512 7f6c3c79b8f4efb8d1d4e4b879c1c78a427f15669244ce1eca869aea9bcad950ffa5b59f3f8e4513e085c2daf1f5857313b374e238fc78b731bba2646ec895ff DIST env_logger-0.8.4.crate 33342 BLAKE2B b1bb359be2f34ca6f93f72154c86920b8254f574b48f693b2ae7296cd1ff25d34dea61e95fb2954569fdebb6c522c851ef7499c107005528aa2226df13b0de33 SHA512 9e4478ff609a2e1e1a902a55b221af43a52622fdb5668dc33fb0be354b964708b7b6d13b7f1ef11982f45fa7e71f0712a2ab3fd4ea98155a5115e5a7c3d33049 DIST fnv-1.0.7.crate 11266 BLAKE2B 81da85889c91b6567e0f555e37dd915f1bd919719d1ca10c31a6861d7aec29a49ae9c1e8bc500791bf9d6b8dbb318c096d04872c5872a4b1f7d45fbd8e12842d SHA512 2195a4b34a78e2dd9838caf0ee556bf87cbb4a8ef5505aac663b614eb59dcfc0c40f432463ede41ecca57bfe7711f72673d39a85fe03d426f1324097d5628334 +DIST foreign-types-0.5.0.crate 7824 BLAKE2B 01a5111a11e48462914f9877d3228008590093633e957883fdafd3a7017e144c14fbbe713bb8b0061ebae78d20a49978191ce416a4e28317b67ec69e38acb879 SHA512 d07c92cf99c99419a3ebe05ba9154e396ab88116f46af736ffdd958c8e47741bca5d9f478f6719d5361360e844375968c1cbf6ac40995d47128a5e5fda3f6c82 +DIST foreign-types-macros-0.2.2.crate 7636 BLAKE2B 43c882b82b03f5f2d59bdc4ccf85c11bd05e58da57115815cfbd433a43c523438078e8eef4e95631f1f4486292e010319ea0b00784a99468c2bbc0d47e8ca3e9 SHA512 b5ce7599bfa9342f7586dbc0c7124ad19d560afe75cfbd758eb17ebfe7ac8c7f8f5515c4b527df4e8bfe812a8ac9df1a921d40df6d0e6e371a0be3795a36da05 +DIST foreign-types-shared-0.3.1.crate 6006 BLAKE2B 27c26518e0de0a298df2996da4959727dcc6a21bb4efa6c28869a9affe7ee3b427d1bae25ed6928477d07959bd143d5d4fa27325f8f5a5cb0ddd3cdb9e5314df SHA512 c68da34b55230941d6655f6a52d5dcb8ee02149f25c25a5ef782402f9a18b33047905f28b70183a5f45b45977c011a5320cf7283b7901c76ede4d82082ca4c9e DIST fuchsia-zircon-0.3.3.crate 22565 BLAKE2B a4dac3457036efab8f79fe5d5b4545e4091e994d3dc63188f71fafbcc28bf98ef359dcd20add30ac1d990ab2e66159723302fb66697349c65fab0aa58d54535e SHA512 a43ee59452d49742111e506d6bdd8b8399a3a646e08648e25292864d7f71460c1dd1f2d77b8efa8ed09ac21fa4ff0442a2709f16d8833a3849bde0c388d83a93 DIST fuchsia-zircon-sys-0.3.3.crate 7191 BLAKE2B 530bb5d475ac828843af248c6bbd24ca3b5dd8118c8884ccc6d7261818cff1c79038077114ffa04bc73a078177527824c4d9d20a9b022e4057afee3330258cff SHA512 978b7e8795a5877a68409ed3a1d7b4246263f8e7e7ce9ba8a022643be98f58f329cc1c234717df80a509db849da4394f39e90a8e2a6f56f8fa8dd3c07e7d4386 DIST glob-0.3.0.crate 18724 BLAKE2B 1f1dd380e7d668a0c2cff9134279ebda958b4bccdd4a65ff01f9665b45ec4cce8ffbd47eb46e52cf516c5fd5803561e6bcb60cdee21ddfbb8601a95d45500620 SHA512 87098ffdbc518442995c422120cef71f83069c8f88a1970ecec5105b0f284ddd92bcee929f5c230d5b90ae1ead7e1214c3eea26f4a8b26715a00c1ab8b09bc46 @@ -51,109 +74,189 @@ DIST ident_case-1.0.1.crate 3492 BLAKE2B bc79ebeefbb7e3ed1139e3f41d8d20fb175786b DIST idna-0.1.5.crate 258735 BLAKE2B 31f2506f76e9bbab68c0da6222db214865dc37994851d91eab8c6e7f0220e6bcebe50ce3a571866bc03f3ad1b337f25c3a02c7e7f1494553d91e85c1bf042950 SHA512 217bc49f667242bd89eff708fef395fd46cfe3d24440bfb76869086fb93805c4f49d718251fb1c35ac40d5588ec98cf8b8b516fda53d6d7fd3da1ab04b0d173a DIST indexmap-1.6.2.crate 50225 BLAKE2B 38f40c5aae0c5dc5da515e610007983b2d581994293f2eac747a3fd78c9cefb9faff64555e0c6dda146e9d1332d59f23c353c6758e63f99b6c4676123723ec67 SHA512 1509b6aa6b3b84fa15b98026052f6d5f0f1aedd065b02b24e31b799f8db68d5770e9a8302ef10e1ad16817256dbc03c55593928a48eddb252d25de7e0b7e6406 DIST indexmap-1.7.0.crate 50363 BLAKE2B b45318ae2a6e1f008494db77a3159eea3fed4f77eb04ae65599be9392d6ef78d4677b65d04fefab8f917f6808fee821a33bcf53a50b88785fae5ef6848e3a08a SHA512 9b882b4a7068a686acaee0a08bd4f3b35b58d36e786358cf14a3436eb61339649e64f1757331cc7833a2fa364c76eb6b75cf0c732afaeb202113de1e66b72ab9 +DIST indexmap-1.8.0.crate 52583 BLAKE2B fce94d24af0ae74f8173dcdfd35bcc51a23451cdeebbcb10c92dda74312c1ec980e925020ba7bdfa9e4a54b72a619068ca7ae133eea66a4df8775595a3a3551a SHA512 6af44320a80c8256291cc6e3c90311ce67b7f69ce039d640bb3abbcb6057f16eb443a407060ba647d7b16f44214acf59b566772a4802ba5000f036f69ca82a43 +DIST indexmap-1.8.1.crate 53220 BLAKE2B 9605405ef6d7559fc5d6fde38cc6810ae49e69b93e0687323f9a4ecee9b513a1cf7c57b8ef625a9095fd36cc7ba6e98410fa11a7a8788c424fb6a0cecfe6b37c SHA512 919372d9bbe791092ca78026ea6f7f6b6560b5c011682b21afcfbbc76684a18844602545a527e3342e2b787643b1c07c8f18f2279535b7afdf395361c9a8749b DIST iovec-0.1.4.crate 8720 BLAKE2B aa1b4cd98ebe47901c0959cf1d8eb2586a803d0453e2a8bdd5c63442b32886dbcb37650aa218c748fd45c9fe3a7fdf20569eae5b19716487b139caae1526da4c SHA512 e23fcaac239807daea20ddcf2cdd4fb858ba1aa970ce6248f70f0fba5bff7ebdb27247c0997ac0ff2791178f86ff9657e473d8f64b86c644763e5b3474edd158 DIST itertools-0.8.2.crate 89203 BLAKE2B bcf8c00da5033f36cc205708324fd8eff083d46313ee84f567e4f333d8ac1ebe44474d89835a312a5357a48659e2f51d34d2194d548256118943999a3da8ebaf SHA512 325d87a80c0b217469762ae958c46925d284b37ddd987c3ab977c864f426dc6e4515701864f12fafbe49289b45b1910906f0e7d884ba8aea217cac521c3d1ff3 DIST itoa-0.4.7.crate 12099 BLAKE2B 0e4ffbaad504565056f74c3ef560a87eff321a0da6d7a2c8fa35813c207713c22d77080c3b830fefbb21370dd29cfbc6a2807044485b38ac1e0c9c1de3ccebc5 SHA512 c61eb50aa00591af28698b45c528c36bd92088f7cd2f453cf686a1824f4656292638bebc468cf67f903473a5045f22777af623cc0515ef3bf25146b89a7c454f DIST itoa-0.4.8.crate 11926 BLAKE2B e5a648b490908d0ffa3a0832342ad11264eb4357939bb39aad014aed3938bb60e82703b7e31929a458525061e9bc40539d33753bdbd722a03b6804e57dd1f70c SHA512 6911d269ff3ed7350e4f0dcfc6e9e0d70e25833e1e7cfcc57d5b8aff1f47b8be4f2e9baf1b92e5517cff63492be489b6d29b48dd9bb642e428acaa431216b68e +DIST itoa-1.0.1.crate 11059 BLAKE2B 5a2e22ab891ec883a90f652c88f924113252765579c03c783e43210fb2604e9e3ccbd4c1571087791be07bb99c4e85c7f85253be831b3ea883bc0ac18a927980 SHA512 8e7bc1e9bf4fc06871b9fe20caad4e0af965477d724f4c8d0e2a3a4d87aedf99f92e4e583a6440ce574d0fb43fc9d6a2e80add52a2f64210c6aa3b402e424295 +DIST itoa-1.0.2.crate 11112 BLAKE2B e277db8e2f506d4d20b6888b609d9726d594e1cb2c9f21df60a8cf8dcbad1808d8c1bdb0b7857ce7734b92c0f23fb1ec56f8564e779f27eea953d0ffbfcd3f84 SHA512 44a732a102d60b58e72fe76c43a1d185fa12ff08d04eeacf03234368552f84d3de87a2ea0a6e7a56b8cfa74cb6f6697005afcee26f45afe0c2fc7dce5da3b593 DIST js-sys-0.3.51.crate 67124 BLAKE2B 4f4c28c1ea1a490551ff759ccc494536b099fee6d2eaa597f6ef5ab22e7dbcb72ee870df5550205efbee181aea8cf6623abdb6ecc35418eb17ebd2bf3f56877b SHA512 e352238ec085a9381c27fbd849000c8a26d71d947b75ccabecf941612a87e446c45f793eaa152062e7c699cdae74512a016d44ed06f3298b4cc7d32ae5139f5e DIST js-sys-0.3.55.crate 70499 BLAKE2B 6108d6bf4be72dc93db5c2f45d59dcbd7b94edc02ccb368a05bdc0e259768be4708e449647b254bc3c542a366492a02f0569d08e69c00249f58b07a566cdf97a SHA512 bd51d61684b3683d5b80df42eb80cb2e4688096bf14fcbd30234503709b1730ab25c7b58112516aeb5d7f44ae20e0ba08bdfddb0518a20603bbb4ca74544d4ac +DIST js-sys-0.3.56.crate 70520 BLAKE2B 3ea566b937221963b0aaa037b3b702e5d4143300a5463e8474cddeed0c82612b76711518b91b2bcb63f5bae4c11a207c0c1a33d23f9c8ebcf5b54ae1109fd1e4 SHA512 52c2020d2bc80173a2ba5c614ed07d86755e969f4d6b071b5857259cbfdd3eb5a62a5abadd42ebc0d673397ad18721e1ce55e177fef831ac13e15971373056da +DIST js-sys-0.3.57.crate 78605 BLAKE2B 260e2fe94a213ea169d9296dc8f5639fe62f47ce69eb69f2ac2f9b1f409c3f2dc1b26fef56cda5cbfbb775a7f85d2b6d866bd4e30cd6041feb337b744e57358f SHA512 797865ba4c40bdd338ea3b980d6f7139b580a12057437319d3427da6c5045455e0612461289ecbd6ed445e8b675369a8ce77ec8ac0383c8a800a7fc84606ac2b DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed1444070c1dcd75bb75acfb53556d6cf2eddf5a6639e7852a3df2a0cc715c5ce1d3fc898ef16a1687020d98f715bc SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 DIST lazycell-1.3.0.crate 12502 BLAKE2B dca2d3f46823a52dcf87b7d6103fc4f1f83bc5247ce361946ac2d9df239fb43ce4b418104503698dff0242480cd014996e77da4ae0a88f3cedbce4eb9d3c9ef8 SHA512 f9d627afc28b61e9687a3f72260eb013401fd64057647641ff2e763770d7380ab1d2d8cbb4a3c8818d53d504c618a3b46aaf701f72f4d7b25d226042824c2f8d DIST libc-0.2.102.crate 537138 BLAKE2B 2814792c4215555d5a33d4e3d21f2c78e1d9c87b3e1884d7fffa512aaed0737ed2329db6298fc074d477abfdc02f5bd30ec485f3fa7afe7d7a3e608453985c63 SHA512 cec681043b9c279e25ffbfdf2aeffe2a5fe057a8187fc2c986aca9a3fc900eac96ae3134632b124f1aaae4e5d2ecbc7122aeb40d94f83b5ec075769ede361643 +DIST libc-0.2.115.crate 565468 BLAKE2B b13d56f63d9da517d89ec97f8a4b20b6ad14637eda3241b08fd8bbd3244e7821fecdf81721e27653372ecb04f347769c742147c3c747f7cbe678ef78ca737b60 SHA512 885f31e148391d739015e22ca87737041ed4deea25f02e566c31a64a1534d27a29f711e24c2c6eb2614e9f930972220a3a5e20716d7a14a8603239ed21d0c410 +DIST libc-0.2.117.crate 566541 BLAKE2B a0ee103e6167ccf84cbaca9e41934ccaa1f4abcbaad9d7a4d4a8cccdc2f22ff36ccc46a16a295fed9c3113e1534df86a3d19eda9e0cb609bb75145acf8ca9a0a SHA512 1ff22201cad04f8a21674c25bd57e2c708738af7ff1d5677b513d728ecb99f4eec4b78e9685aa633518672de0d44d5dd2e727ee7b6b06c74718181565df3fa7f +DIST libc-0.2.125.crate 589236 BLAKE2B 57ca3aa19687b5c5702b66ad690a86ec7639dca41c5846c7cc3500f2d0fffcfee95a2def7695652174862fb6b8d211e7564fef6bef6d1197c481b5b8f18a9c74 SHA512 64ea5bb20120b9893bf5a3648f28da07384972e3cbad13da40c3ecc501efe1bff0bd6b71f52d5f253f00d7a97c2f69d86fba490955e8d70ca1360b8db1e431cf +DIST libc-0.2.126.crate 590481 BLAKE2B 1000de6b9fa2b3ff025b961e504d6d20b401f37cdeda6710187d18ad2dfe8ec89142bba65486d7853f1796897b58f343c5a34dd6381a0d0794b615635ac31175 SHA512 9bbb17f64a7503819616a71076ebe8ee317daf07b17b9fff783a4459da0439aecee535c09e7185bf148b1993e6fc958d182a490fc9c9a7b9fb635429c491ca44 DIST libc-0.2.95.crate 515341 BLAKE2B 5bbb10917433ac9b305e4eadd4626a31149ec46aaef91f7d360bea8b5956499c55066339ea63102e71976a3aa969744c871c0683eb137e3c8ad2f8d62570cea0 SHA512 40ba9908c202f3d40c1bd7d7bf516f3b236e7751020bad0007f185802fada64fc5e959b68a33aa1f59de76d5a649f62bcce7eea671fd420852e0bb902544ebbf DIST libloading-0.7.0.crate 26216 BLAKE2B 83827746f57fb5f1819aa0ccce0ffd698a3ed4b85ef0e954741691003c843ca877de81b4a97ad7c53d28f79701a5caf2fee801a68c015d19c20230f2560b5fc3 SHA512 e2089a8ecacd65522b246cebcf531b6b1ce697d4eaf294e0540e1f34bfd714037177ba802406c31e6bcc722b4f391a84709427de1c6fb441cdeb8e41fd4f1e28 +DIST libloading-0.7.3.crate 27378 BLAKE2B da36353819cbbc85dbb3196585970b431eb5570140978fed8a6b5e46bec2560b373e20fc108b9520589bfd1f804eea57a524a0cb497620d4a8fd11030e9c4818 SHA512 58da6e73f86aa05132949939507a128188ec2e26e2245e23b1534d90673c9909c7d5220aa4aeab2c16249f7433b4d0f98f20c94b8b1f7434c7abadc8b8039ae9 DIST libm-0.2.1.crate 111906 BLAKE2B aedb58515c1f63a1731231cc3415b2269a1dedd8c56e614ec08b9075c80a0edec5480efd984b320c38a256ab97d9590851f8880e846ce7dd03fb5dd7711f798d SHA512 a037ce773e4c4b0a9c20a23a9c04a34bc468753a1ccafb42199ae1793adc100148b77b08533c4bcc0f269d7de421c0657b6ea62f132ae808cc3b998f55e713a9 +DIST libm-0.2.2.crate 113226 BLAKE2B 126ff68b4ccc7c4e3043095c84ef010bffdc1f76d3c0c871441d1ecaaa044534506844fd6accf145f94cfdbb611fbb1fb13ce976521911dcfe77d57c3c81463a SHA512 5aed180dec326ed9ee2fb90dfd94127ee5f75804f7ce7fa0ed5c7e1f0533215690553551da44c055f9ad47170ca32971467fb378f7328a3c22930832388eed75 DIST log-0.4.14.crate 34582 BLAKE2B ddfba35947ae1f5905cd9ecb9eb862a78af6f00ee8b8fe6258b369b140928fe677a02b1b3ca5bdec36ff2b16abd85a9f49688fd5f3d1ba2b2905e7f96b8a84c1 SHA512 796100167663d85a7bc4244cd305e9b3f0a1b1520764b63464698eb136318d0928c40c16f5d19d9f602a5bf769851275bbd48d66b088b0c37be7a6fb62def7cc +DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2 DIST matches-0.1.8.crate 2216 BLAKE2B f18176110921b1cf6e58d52d12f1d1a3455ce2dc04421fbf1b392f66cdd81a88e924571fa27e307a06301d83b04f3b8a0ca3ae40d2da6f2decb8aac4e2801fbb SHA512 98b58f6a2694b03a7dd1be69ebf7e3ad14483fc8e4cb6e6c26a4937e4e660e843efb4dd04a7312dd9659ca02acd3775678f73b8faac44a76ffafaf873c22f590 DIST matches-0.1.9.crate 2246 BLAKE2B de155202636c6a03ed68cdb21e8ef96e19b45be040a82943d2d7e5192c0ab5c253ab6d65f0b30b2689e21da79cba684af5be6e63c48266681aceba356f6eea41 SHA512 6a2809687d30ff04ea97bf9d1610d746e097699a4c3625ffd1b7b1e4a9673ece9d559058c9f760b99d6ab509024f7b338e7cfa6fe767499c983efa98bfb98305 DIST maybe-uninit-2.0.0.crate 11809 BLAKE2B 5e517b8c59f9ae4f1a4f86b48679ea64d62450ec2519c8caaa914479ce9e5b3aff24707e2e37272ba74bb60499afdc602fff17756337b0c50a9184edbd8b8805 SHA512 3006fc009c7c743d9147a4122e677cdeb2546f7bb46963b2f266839614eb906f9d763c161044fd0bf3f7b54124ac0734ac9ae7f7151b1a7a5f45cbc739976434 DIST memchr-2.4.0.crate 63392 BLAKE2B a3f30546c3b58ff4eba534bd7046446e96ad793718edfd3379bd125c47eb270728c4aed4aed1c6afa27032f74078b2b2ddddd5cc6044e117e2b956bb13f902a6 SHA512 b142e308a5aef8e45910411789031e194349ee540c4ced0e2384d864dc1913299fb63a161ceb5228256e97d0949661b7f83a169ef9d4b78afbd9004cb7b8a2fb DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11 +DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa DIST memoffset-0.5.3.crate 6107 BLAKE2B edafda6ce36dc8bad6bb1f2d824d6c6726b24effaaf8b6e1e612bb95c506d9f0aede29fbc7c5cd71b27b624ec4f4295b0f09842e6b66257093df8db076b7b974 SHA512 a647140f4218bae56c48119a21c96edefb214a10329bdb91f16382e2b85854dffae33c6c3d55bbad3dd7c82424f0a10e5d97a9010ccfe84b7339bc5f16c4786c +DIST minimal-lexical-0.2.1.crate 94841 BLAKE2B e6b8919b80d938d0b98d60d4f5f29ce43d77ebfcf8b18bde08909141915c6ef4f0d07a543538d4f3ba8527a9f55926d4a8e83473248469d087e80b274d701d61 SHA512 385fab51884bdcc7b0f2728a219ab164d0dc8efe42160b918f2c09f79ecf853fb12bda006d11e649f097bae1499dcd41ddf2a8784ee7d178cf2c28059e46078c DIST mio-0.6.23.crate 103554 BLAKE2B 1286ea6deb7579964a5c15926509d438c5454d4f56e936753c76927826fbc5444dbe33b7465a15d0ae6c122bcc98899959391a5418bff31c176d51d7b2f33077 SHA512 ea95d15072fe36524a85b50108415a809d7ea3744deee45e4b6a1b763a11c88cda6dbabe4f8d01945a5edeb52296a74fcf457c85be3032c1311a35025860d05c +DIST mio-0.8.3.crate 92506 BLAKE2B 4ae9e7f68921d7102274cd8afe2dbdd59393f9a0f63a1d4a1d9418ba8978e31d521ea73eac7ed1b27bf31d67450952b28964f6d35b14eabf2325c08aee43bbea SHA512 c6eaff99cbfe797dd97e6d29da09a6bbb2a46b3f3ddab7d75fb756950d463545199d13ccb2d51d367a2499d18f88500fce8084b82b2f020865dec0d9d9ccdfbb DIST miow-0.2.2.crate 22044 BLAKE2B bec3bbd899a080e5c97a8c1dd9dead16a57aa44cf2bcd97be03155c28345c45fb731650eabffd2fe18a633ff947e63561327cfc86560ee86c3fa71ad4d2a3b62 SHA512 e42012f67e1c5a475d1c9790bc731add53f7a3838d36f8a701f69974c3ff33d31364006220e69c8f37bae2eb31055ee704c42b64241d13be528c768ca5c3d6ba +DIST miow-0.4.0.crate 27567 BLAKE2B fbd395d3766c3874da8067dec37bfe40f3dd90c995af5139d2583aacb9d634cea73467b87b84af84c760cad89031c1d26670174b2c52e932ef6729d3fc98dfdd SHA512 fc974ec96a82c92492cafd15a5002c1c647841d607cc1726eb2b98645bb528a5d6adb086322d6fc1753326500ecceecb6cf26d721af26441de8ee23ef87be0f0 DIST net2-0.2.37.crate 21311 BLAKE2B 21cef5df92d5d51c8e23c57ad2225e3311c13083fb86830bcb313965eb5ad0170519bed9a47cefb2305d3614ce55e11896a06437cf9ca50c79b7843ea633e99f SHA512 9ae70c655468c3e35ce05988626e0398a3cdf7b7343c08aaecf1267bb958329e608b814cc7be252fe085de3cf6913a1c72aad206c677459469ba4886c20206ec DIST nom-5.1.2.crate 136174 BLAKE2B 32387d6ded0fbcdee8a1a0d0a08cd36bf92c38906cd199b574b6b9b24f6c245f2287e04374f7d84e2867d2785aa16d8c01ae3bd3bc811829770232681e2d33a5 SHA512 53b8ddab62475588efae46c78b5fd086a14c0fa505c84e625fbedd6dc74d4ac047e9fbed7312b797f126e9ca1f056458d8ffe0ab13f0117de685ef8b43f86aca +DIST nom-7.1.0.crate 115647 BLAKE2B 5adbe8250d168379aa7051a4fad7fce3cee74820043ba8233f1016417f91ecff64887c3bec1dd6bf4cc6b3b3803a2c19a44513f1affc635d8be6212bdc8ee47d SHA512 aacf14e84be17edced412e3d256734508426a8acb8352e83a5d9d4f26d640f60a881d8f70fbc6edf1843173af63ec05be7694fcd6c6287d871e40518e2ed04ee +DIST nom-7.1.1.crate 115818 BLAKE2B 1ec3df3d9a7527f26618a9b6b976ca8ad5176d711dc7e6163dafb1ec214a55345e952439b4c98b2ac371c9a67c7ffdc3213d1081b62b699b36af68207fa8b320 SHA512 1456efdbda4f5b3da6c8580721acf101ed7d779619ee0190c1df103244e405a8ffa0c3889901a2d8beeab0ab84074ed4c7cec5330c7cc2a5a3c30e36a2530be8 DIST num-traits-0.2.11.crate 42000 BLAKE2B 78584a3e8011391b47c7ce45c5a63da5fee88aebc2ee7ae8d788e22b1d6cf46e31e70b7bf6ae094d35ed8dd5ea4f91472e6050c526acff3f181ee383fee139a1 SHA512 12d73656db34456a30de7538daa1efb6e6f61353a0e274aca388bf184732402d8eb8ca19282fbf51975e0541b5c8d764a0148abe346061dc81922d5eb12592e9 +DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 DIST num_cpus-1.12.0.crate 11867 BLAKE2B 49ba476ebd14f2894dcd3e017921a865ceafe62ebf990a27874d264588f5e45fc8d6c3a3e82717e661434daca8b134faafeaf55f44e6ac447b81f162a9cbc695 SHA512 502cb7c7abdaaa42e849847313e6e12b34d9d619b58dccf7f3e80458b5b7778657f352828481daa21d482c247cfbf6d167f9ada8bbf0c3186b82d30a93a6e381 +DIST octets-0.1.0.crate 5674 BLAKE2B 76d94597c93a5fe0be10a9bcf4f67e3ea620081a3e029cc3274704e42817296a54c1ac2e08ad19198768386be766dcc2b08969e284110f280db34a09d24bc107 SHA512 72fba6a7a055b9dcf45b39d0dc7e61d8ad62401a480faf2c71b1fd243b755bc1e732e6983bcea147e80d35b3eff6e4bb1e2ddd4d8b961c0846fb20875e5e62b2 +DIST once_cell-1.10.0.crate 30414 BLAKE2B 4161622dc9dab4748a1b96777da263523f23329808506faea7938160f0d5ca07b5edd31f385b14b88dd2fc34c58063df4d40a34a479573750a369512dc956992 SHA512 f6b5ce5e68923296d2041f83ac037f10ad7b9e94fc607c71332e8ee942a02c29534c2073cecdb132c7e1d91428e9d9687fbf05393ca0abbf7e15db50bb3b74ab +DIST once_cell-1.11.0.crate 31121 BLAKE2B 02ff93cd8845bbc3f7741d0e05fee11df5e1c35961b505b2717e697b9c503891a89e15b2c71b76a66f5f239c5ee650f2ed6105b445a4f977578a4243b4dac96e SHA512 3769223beed1a7c8c5625e18dc000b3ab296c7c3af21bb6cb563ad9d130bbbcd447d420d0ec591e6366652727de11dc76dc8f7720110de50be7cbf177587cb15 DIST once_cell-1.7.2.crate 28250 BLAKE2B a30a55f6d6e820c691928173a9ce70a60486b28e3e79e8a01a08d87ca0bfb1725b967cc9e070cf53e71b924f73fc2eec2cf67190fc743361b60d82290762725d SHA512 30cf51249bb73e9881cfbc6a54ead7a3db709d560da8d420fd85cf248e66c727b92e8351b7c0c682913cff12b3f984684a272a69c965c56f8343948eb5a194d6 DIST once_cell-1.8.0.crate 28925 BLAKE2B 7681b1a7497b5711e663773c1a7e076f333c06c10d3f289079a781c36f050c1620cc279742ea8e5b15ec48f3d6038a6079bbda7fee3ae8e1128bd916d53ed43a SHA512 88e55c9433225ce85a08353168c87fca2237615482160a5c28f3ac17f06d48c63e0c21b5f7ef81f82ca133436e371802ea099453844f1c111003bcb6ba89e827 +DIST once_cell-1.9.0.crate 30702 BLAKE2B 3d492e64db120d8a23c08490a34d376a006e46b28bb5f0f44c3a955896e6e597c67ced35daeb4ccc7f7748f142d3bf2cb1d81ee61a99dc6526c48730c86a2fdc SHA512 cfdb6aa4bcc0f50d4c37eb69867d2deefa70323a7b607e55180b7d417b7188c4f2889417fd04fc51671c65eac75c7d9e7eda06a87dedb846056def66d14eaa46 DIST oorandom-11.1.0.crate 9762 BLAKE2B 0589af12d0ad99009655272035738a6a5f57abb47eda2f2dc3be443474cb67cf4808207f95aee0be5417714f1c72c13fca82fdde778565574d670271ee9528d1 SHA512 faf840b52a315125d5f6c80f6101fcbff6ac29217d362915ebbae4f7337c18ecd46b89da96bf67147e84d0f805edb626be0da448af12b0bf537fb0f0a3a25c0c DIST peeking_take_while-0.1.2.crate 6697 BLAKE2B 31571604d00872900abcb677a483da93654de523bbdb0331c326dc9a3e531f246e571bebcb983e79dc46e33ed6dd32b978be509841ec0d9f1e7209c06289c22a SHA512 7bf8721987c3e2e1986683dd897746592a909382f02b840b777effec7d8b0a864c1a83b03c73d555e359f22c423168a54b75448a7e7b996b739527ce8c88b721 DIST percent-encoding-1.0.1.crate 10057 BLAKE2B 6dbfea557cb7a604a99b6fa694ed24b1555fec34bfed54503d98fa4b285a91aab1405b7156bd00be0001b10bf15706878b7bfb4f73cc34560166e0e8f004d944 SHA512 6e884d7172e8cadcf6e39056c9f92b70252f56a8062af0e792179dcf990344f47553c04e2fce84841f20f5c28557d7768727f60c862b9876d29cabffd4ad19e9 DIST plotters-0.2.12.crate 3194754 BLAKE2B 21035d561321bc66b47cd3a1d3374f4e11d49cae62cc363a3bac98938328aebd527592270ac4014f558751bcdcf7e4994da5647baf98437200a93849bc9e549f SHA512 f9d8be381ffbb853b9a3bfdb0cf5b29c23fbab9b376ab2cc9a734fb7d573a1ef1ae3a32c5b4f080f534e52505fba1d6051475d62811da01205323420f2045dff DIST proc-macro2-1.0.27.crate 38625 BLAKE2B a55e2404e3c7444c6da8aca6c0e7702b865ec56cfd2c20fec319e737fc83b00bbf505c15dadaa8740d5a6d07c089ed4854a173049b1be9872bba132ae7cbc8db SHA512 3227bcaa726e88bfdb1b4d1243a4eb216ad2394a7a3b4b258de342ac76a1ab1a39a07f28f3490e42e2c2034176bf0d84b1c1fcadba2444c0abcc5878b02f93a4 DIST proc-macro2-1.0.29.crate 38772 BLAKE2B 742c2602afc4beddc96b688d105fd93b1dbdb3cfced724aaf542e97120d374d334e90cfbf02ab62741dd052a272dc583b7d2e1992da3d1b8ff260414c65ac89e SHA512 b3b3b7c6988afeb92209c7e0362f45f9c207611a74bb63bc7746b86fb9ab0d74fea9e7a2d9bc8ac943225ea439540726ffc13711dc5bcb056c1821fc99e8dc63 +DIST proc-macro2-1.0.36.crate 41411 BLAKE2B d7d99aed41080b65680736d92dd027e21c9e9e0b03601915c000f5dea8f2b2d9126b116af32f2fb04b4fa407775f0131423055d0b62fdbfe87fa4ba7ec098beb SHA512 f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a +DIST proc-macro2-1.0.38.crate 41687 BLAKE2B 226f76a1c264d6e74b72fe1f1a10fa8ab1405b618d0412863cc7e04509f682435dcc2703bf196e4fb1628219630d882d2be64926da19903b36d052113dfa60d8 SHA512 f360b00b4b1e05df52ca1714df34c719778f7bb6ed54fab04a84811acd0a29f7c4d4871fad7d988f0c042fe0fc326d7b1fedc731c55fd32c7257dd1895203080 +DIST proc-macro2-1.0.39.crate 41663 BLAKE2B f7d83709efa289ccf12500389c7a4f4f0e32aa686f2d9c47f0da2a5381981e70e45f1b689023891c2543ce633c593a68a629c6414fbb3c2266e4cd99b8660048 SHA512 cd1572831493f83eb51985eed06d8ef5c0ea96ce4231d5ce3be5af9db97e7dd24400332d3b80e0e9c808091fc11889340dd86d8783ff3d9681dc53b876f49a0e DIST qlog-0.4.0.crate 23452 BLAKE2B 219053b98d09189415d45c6487356e565f6240c35508b84dc4b1a1d0d7aff0af8b02889805cc36930c600ec37bdc2941b52d9ca325c719497ee49e5bdbf3228f SHA512 d1ae8fc0ec99ca77946e89c3295183aec551e41f44e5c44178c0b60e997311a6fbce7a44eeafea757303f6f051c3fef08724c85b273dd11014d555f3c5761613 DIST qlog-0.5.0.crate 18586 BLAKE2B 81a2c7650d019069a0ed101e27bfd0fe729fbbcb5c512b78bebecb85f85b7449bbd5c933524bb864a024dd70c632f92e2d4405448b9c92f3860e0fcf6d7d5a67 SHA512 f185edfab8e1499066eeee0fa35711f9a035a56d0d0a192ca8b964168152e3431f6f55c5b72df78d7af3aaa66ecfb8c897889939ce47570f5296e42df5c5febb +DIST qlog-0.6.0.crate 21322 BLAKE2B 24e74c6ab14820423867dcfe85fbae8fe9912c942afcc4011972049782dfa0ec9f5d2fa55a07358b9bc4f86bdeb422b80e9aac20b2349ec62d19abbacbc05c9d SHA512 29e2945890fd3146af594293c8ad4803cd7a3cf2ddea2cdad62d7c4fe84abcae0875204b08a99bc53c0b0e3519a1634fd3c6eb99b50854655de1b30fb8ae0a34 +DIST qlog-0.7.0.crate 20584 BLAKE2B 122f4b5b669f1c658e408d48e4e4f5c9cb76a117ee361022c8b7da3d818e7821f352d6690d338ab702243c949ea710fd312257048fec80f927d0906673d99bfc SHA512 ed6435a38f77c6b9d13d35569395f1b50d04e85f2b2f8afa05ea875c6a0bdc24d160d1b5c04a5c8c1c975dd62ec201f19d1c512f3f98646d4f9db88738ba4361 DIST quiche-0.10.0.crate 3604568 BLAKE2B b79bf113e21bfe613ef88a1279f0a6be2df5efa82db719a8407ff5db2f1f757a076326e1f243483e042000dfdee6bf81a649b51384a8f804f39016d388e14efe SHA512 94265a4245dd64e40e211a8e3dda356c0774971009afe0aa6c10c507d688535a3e54d318217de4b98de1b7828a5de921e6490003d55a77b7a4fd5b1316a262a3 +DIST quiche-0.11.0.crate 3608178 BLAKE2B 8a2d01733dc3094237be1371a9f6ad33ed27a40289c16c41febcd20ed1d091a2b68c7c2f43a034c7a2a7779a3060813bdaacee6a4bdc96f82d7b2a14db217876 SHA512 293e95302dc812f5be24ff5153ec979fc0fa802b374b734dd2fae152532ba0d7eaf91a192c86959e8fdd6ea5017303c4b72076f3bc2bc80ce6636285759aeb60 +DIST quiche-0.12.0.crate 3608965 BLAKE2B 9694a97eb276c4302ebf9b425e8aa35d44535d45233600e487d427cf922d7bae664120726c741d36074373e6eb7f16801ac6c192958513117922ddc11cadb165 SHA512 85c48e8f9da82ff58a0f6e06cd3ec2fdb50b51fc0e904fdef85340f29d8bd5d693f9fad3db04b0ad36ac1a014536778daef163ef1574cd33cf272c4be6b88184 +DIST quiche-0.13.0.crate 3613670 BLAKE2B 526d9ce4c04d61205dcb64a8b804640300cf455ef922405a13525b76921ae66c28ccacef574bcf67f3c88dbf1b6d417abc101568369a8803328442eeb395a25a SHA512 16dc9f9aa8536e2a9e27dde124f5e775ca227d117a7510f28cd97c98d0357960eefdae8ae80490285c662b6c63c486c30d8419008f96a90c5a12ad79ab665744 +DIST quiche-0.14.0.crate 3616806 BLAKE2B 7379c6aa83dafd8948820e4ed93409516daf13344ec70a8ec0049db03a1a584acbc635a5ea1c92885781a09fe4f2de1ba842fbeb493cfc9920b6d2c0ad2de8d0 SHA512 61f0d0beec39732cbb185807ae1c159fba1ea13ad5e168bbef9065b79ec6d0e6a06435894fd90bb4b7777ed84a3b620b4ae85cab07d0ce2e6dd214133d2b8ce9 DIST quiche-0.9.0.crate 3536510 BLAKE2B 0051d349677f7a5b9c7560c8765c8eaa551ee2575a7234f01eab32878140cdf2ffedc5dd78abe3156ac554f7c4d0d078ba1ebaba93870a3445e63ccb2fb201eb SHA512 791945f5c15dfbf018f6329b7fb8e0b19912d1ed85b58e6490df5a72115a715f654ac57c5a5658877f5e7e4a5e365535b89172667c42a9425c5528973e157de8 +DIST quote-1.0.15.crate 27281 BLAKE2B 5612633415d30e26e646a968ab7a64ecdc978b02efdbd40dfecf5afa489c21bbc6a9c93ecce2a2b45519db6be3384bb372cfc9f597846e8399f7c2b57e8b34e1 SHA512 76403bfac4e9a018b29ddf8f911135206d4fdc266db38a95cc92f6159a8b436d39d64c4ae6c3fd16ad83117270ed329b6a151d589cab46c75443c57b533dfaeb +DIST quote-1.0.18.crate 28911 BLAKE2B 623872402cb185a57e2ffb1bfe4105c49c152c33c44c8054af59df7bb193d14416ea2caa7b28b3f9b9ae6985bec7fc7825bc946e2e41915d2744c887a51559b6 SHA512 3fa537aa96a8970104411471b0e4b7b9339583d552c1d9297737a59ef5301af41da105b92aeace87376e1395e379153f6551bfcfe9c740e6945064426f5f6f84 DIST quote-1.0.9.crate 25042 BLAKE2B 26ef31e89fd2f0cc21ff65f8072f30c7977ac634d2536cf9845a0894d6659f62a96cd0a6ee48f7706036c2c1b898ef8c9167bd62714ad0c9cba4fb02f30922af SHA512 dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8 DIST rayon-1.3.0.crate 143294 BLAKE2B c52c0ca7f3424eb6c251f91a4a8f556ff40120889b91fb0e4dce36401cbc653310c16393c12b73b29d56eb04846e06c04942b7fd41173cd8fcd8dc11046163f7 SHA512 176af1a8148026954e271ece820c67b215223cdf11b80ff4e3229e4871ad87ce9c21c0b5b5c9f1c9e8063102ed0722c3e5194c13bbe77d8688fdf81e0ba8a599 DIST rayon-core-1.7.0.crate 58306 BLAKE2B ffcff7e465267a5c360fd92089787281fd1dc07af05cc49b62dd2030267fccb31ea7590509d2af8b7e7a87df9f23167358e91044bb61062bdfaef790d2a4684d SHA512 7bacda8330518c137b433ac1f7f65f64aaf7939d7fdae1c8263bdaefbdf6734003054a1fc7acf73d4e323f27e9f152f273ffb7388abbf6cca0fa2357f1362e2e DIST regex-1.5.4.crate 236581 BLAKE2B 6efaf69d1a99dc3a2e04b2d1a96b036f631e9a0ad0d3aa57263febd47f7ec12765526f06f9c52a5497bf0d9b455f1d1b39e011adc4c28530c44b65c8a453efc0 SHA512 1a9208358c4ab87c19ec91bcf5c1e35dede46f3a0c0097061b7b53fa77a1e5ad38090d243aab274956f09c491e5fbe3b3b35a91db079b82a2dde2fd9fbad4c19 +DIST regex-1.5.5.crate 238119 BLAKE2B 175cec668da4321930a070993feb1671e14348b78e8b432f9fa25afd764863ff233b0d1d8931951ff99a3b5bc2e18774f68a6c0a4e31125ffcdb990b5b1b009c SHA512 a5873edc75a64f03be77151c318bc90c7dff565f838d811f5973ebca2e86247efd58830b0a8ba41e372f5a72f5402d93873f8d34c36481fa4359874b2fa5d571 +DIST regex-1.5.6.crate 238593 BLAKE2B d2b200d9d3d8924e7dd7a1f96c769a5bdf01d9bcd358ffb90692c526a81ac6f1a5db8ab0c343b96868ef9d71e78633373744468fe97d281676c84ac795352745 SHA512 43ad2ebe14f43d69c62f563a4fd53b5657f0f2cc130a0e6353a13073027640ff891e9f9b40ea85858507047bddb2e023d668c9bf57f2ba0ae045b74b5f0d2a1f DIST regex-automata-0.1.9.crate 114560 BLAKE2B 2bbaeaaa896479c817b7bac2f51108f8f74fda72178068c3b5e599b466899692fba8ff3ce8cd30f1f978a944a0df98f466f3d4bd340bf595d6f7048ba6f648a8 SHA512 53323733dc2f8c47ec33b5b3aefacac3a0042cff80c59c3a05ee02b581671dd9a6ebf6b0b5eeddf9cd249662731cabf5a684553daeff440bf8d1d4d296afbeb0 +DIST regex-automata-0.2.0.crate 315947 BLAKE2B 0edb12b2cfbd4525e2d71edf8348587315b2355d4effc9d9a40c156b527ee99e54171ac476c2d83bf44035bd8b52a3ec4c1c1b59c58f56993a12fccb49967768 SHA512 9af74b3efaeb65a06fa1dbb848354c7a2a236821fbcdf842e7370834f92db25ce16137f62301a23ca2d809591daba721172f7823575978bce1e564f91d4fff98 DIST regex-syntax-0.6.25.crate 293293 BLAKE2B d5ca0dbc26b03c6a1818026f9a69cd226ec934e7c64094d0ebe843052b648617ffae7aa3a074f8da46d03c46996d8b547d8916576342000bd9711089b3e57d73 SHA512 a3d31f82aadc6be1796f76c03152ff24f37fe42d6ce27fb98e2f55ab102f86502bc37ccd563f6e0eba61aab20d002184c618517b678b3b93cb8f0497cc046ca5 +DIST regex-syntax-0.6.26.crate 293912 BLAKE2B b0ea1ea1f87a493c770265a8d9371e3c532bf5ca20330b5946f5c922292d4420ddcfc30105a4ec3c1b154b5a77e55e86987f7edd61ef34c12eb0b4bbcaf23d2b SHA512 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634 DIST ring-0.16.20.crate 5082615 BLAKE2B 6011eb7148c2d2ab410e564a06604f4350e07ea030e4d7dcb30574b977f0b0c7e53e09f6e6dbb2d068cdf110262876c48dfaeeef1b691932a056fe149916d934 SHA512 d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191 +DIST rust_decimal-1.23.1.crate 113153 BLAKE2B 2ab370f5999aa5fe60bd3cdbaf9f7b4a4286090f5e047acf6075098a71cafe16b4740b3c30847833c91f31815868132f58825d1fa4b269c1e4ddf1be30e150e0 SHA512 1283af81b2641d393d6be6bde33bc71d8e6708e7da8e59718512047c9439fdef566232e6a806a1de6f3ce87c4d74cd91b1da538497fb8b93b7a110c237d2659b DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 DIST rustc_version-0.2.3.crate 10210 BLAKE2B 1f707d1c66d907c9b1d2ef6d0bc6bc9c89990a7b922a6dfc2041865940ff3854c4d0e1daf558279fd5871af5818d4000457a32c949104f46538312fbf730443b SHA512 01fa7a758dcaa4f15c18628a0d5ee5adde5ade96a8b7dde0908e39e27b290d1e9adb20d44e2adcd379341d2d4a0c34a80dc12553a3bb4efa4758988f28989779 DIST rustversion-1.0.5.crate 16984 BLAKE2B 314d4a7b78a91fe6a0f35d850ef7a4dda72859fec7f603307154d2b25722ef6be71d5986991b4958009ba066d3078a53131691b0d375677985b9e351876dcd15 SHA512 43f3ed12e007e0a7bf0ecbe44edec5ff092c88973903ad8032b12d678d98d8827a9e51040fa157b0d5b07d26a5b6cd314b410553fec46689b3a31b392c24770a +DIST rustversion-1.0.6.crate 18380 BLAKE2B 2969bb40849dbd2f0d3f4a190629e53204cc5ef9065be6aec7a4504470e1dba6cde7172a3075a1bade421b30b88947cef6b29c0ab5aea8601695f72a7acc45d1 SHA512 fa9efca7e49eff6c510d062d02fc73d15341b1fe16d24dada86108202a4295d2e0519aecf3f1701540cd4d49a513c05e74d3d27e21e5eb3cb1aba46c70a992cc +DIST ryu-1.0.10.crate 48485 BLAKE2B cbc0ab4e0b2031f4ca3a34914bd61395d14706d42e2414757aa23a67530d549382d61b630159c92a169d1dd3315951b0071ff18349d2b090ae262de536aa29e2 SHA512 1bd0af71a20715251dd42596df6e7677e44f712bbb40b0d9544109c1b2478a7bd2c9393535f0d4f3bfe2d1b75b3a2b899044051715a7da7d165d6d586e0775f2 DIST ryu-1.0.5.crate 49570 BLAKE2B 3bfba4a5f290a429de7ac3b86823b2a973f40eb6f48c15329173d95964d31ada36f2618be4b36774a03f97f2ce61364900c6a3ad5465a294e2df311a1f4104ed SHA512 d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c +DIST ryu-1.0.9.crate 48391 BLAKE2B d5c1035ffd6340d846009953cb4303fb8c250a3a6ac60b51a2fec77a6cb3648524420064b7380fe31af33c57011f950f6f739a1f0114196675b3b5de4b54efc6 SHA512 4e7c2c7ec73da1ddb32e18d36b8159cb4047b9f4feeb975361e7ba68135e671e11419bb7786df789f5d08e5895231d2c98e36035b515f2c64ac40474d08905cb DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST semver-0.9.0.crate 17344 BLAKE2B ae782bc78f29e45577de8574ee58959c70b54bb0b6f45a5a7b09cc4d358d9a0a80bbefc6e0f2a330e2b55adfbbe5c1f64f4ec9bb94c4adf7bb3e4fc9c142db6c SHA512 03a2ea563456f812c301721c3572370fe4934a22db60079da0dd6ffa33fa789e5e2436ef09e62fc35e0b742b06fabc290992c74eed80419a353c9de9449928dc DIST semver-parser-0.7.0.crate 10268 BLAKE2B e46b7cf9d292f8fc54561fca4df8534dc96f6be920a5c869c405ddb31b9d1a18eab0799207113cf4910a52cc0df5017ab1bc1883a7c3787ebf2d60f09ac0ab4f SHA512 17320468ec6b9862d595f358d70c09ac6e09db7885fe0ead7a1e596f79350a6306e8bfde5bbd6512008a7c5454da1c7ae55fe1e3bc1c1ff02ac9df54c0a6121f DIST serde-1.0.126.crate 75138 BLAKE2B 51f37473483da8a05670a213f02e119173e4c97a49313cf855ff3e547bb0969fcd84ccb7d1554e7c1761b388ac5cd917cd7e680e3ac23d2504412f75401c0937 SHA512 f22ec92b2eaed0819610ae2c4471eb12aa3a4209f5fbfe829c2329010813837d11ffc02d7809335df6a978cf7944095fae79c7593324dfd49becc7633dd626ed DIST serde-1.0.130.crate 75305 BLAKE2B 3973b70d8e06ab7c2f35e19f23739e8e4dd75dcdcddd818771be5daca8c61f6e2a7a830b4ccb8b3e3898769d7afdeb39ff217bcbf40bbd00867c13bc4668f905 SHA512 e6d6444abadcdac95ff15cdab53736adc9ddd1b6441d67158b6b41e68bee4b7763f9c2d80a857f879f40620429e8f04a90b01380c8c88da45a273c3ad13cfff3 +DIST serde-1.0.136.crate 76158 BLAKE2B 44603c8eede428dce4211350497a443385ff0ddb0b43799170411110fd8908a56e9df801c72695723f4fcff5eb33384bcf92ef58eecb9c4924d5d9cc30e2f6c9 SHA512 d043ccfd6a1dc9a114a1a95530a63ed9342688d31d3aadeec600a9a9d47aad328be35b6f80080400ea4bb3f820ddd18cc5ce1e6ea1db28e02752962061e71019 +DIST serde-1.0.137.crate 76182 BLAKE2B dffef53be259eeb051a375e532c3748219f8219413af0615debdbbce61c5ca17be13b06c0bbbd7a85a696b4bc76ae8e252d880b01ecf540b758fc10f11415b21 SHA512 28223488e18826f83a7e90029aebc0722e0cd238a2c0c021e5a162d0f5deaa494713fad10f7ac79c8e14de856af931b6d83cb3efcfd0885837fc71e35ee38a2b DIST serde_derive-1.0.126.crate 54189 BLAKE2B fa3ca8ef2e7d9bd29e682ac7df066bab05301c2b92dc8f12d254a7e8b29e8d8a83d5405def3050db00f7e396fdd14f18cfac7918a5218d4b6822463c7c0f5c5d SHA512 e3c430b82def037d2f1dcc96ff7dc075636c81ab8f12e07ba09d232bc8224204c7b0cddc994c1ec98400e50340e03d6bad0dfa624b4d869e5f29d72b293d30bf DIST serde_derive-1.0.130.crate 54703 BLAKE2B 35db74464913a93da88b80cf29e4983bcc4377e397618064b1cb397ecbc9e6620c863e4d365153d03ab77ec6dbe9b1d03f8f86aba1adb76fc6d697f39ea7316f SHA512 d3ca974bf8856ed8a73af4eaff69941b35eef187d7e348d6d2ef9ee79eccad893e66270c7d814ac3871e09e21e603d34d7d1f24b182d9b39e9219acd42a7baa8 +DIST serde_derive-1.0.136.crate 54776 BLAKE2B 687524001bf61c42266d91a7263661ab80aa9556e570975a39bdf56a5cb1a2ec3ad1baf22dff586c7ad4ff66d035555d0a9d4a431c49402dcad6d79d0ef40cee SHA512 92c99455a5a9ac0fe45eb6ff1ad3ea55db860031fb912ace3755d1d2aad0dd880b2d83add4d41872823bd60557ebe1cb36e898bf0ac975b1093caa9819f7c289 +DIST serde_derive-1.0.137.crate 54831 BLAKE2B 19a0324c18bd00da4feabcf83dd78de2ff7a1905abb82d5600c6128a8351f5ccc37df21e0135601167a51ea1e6691bd22957c2bbd9da637653c7673dbb808d24 SHA512 ee47d3bad717ae16118c43e6f308a0e264bde80caab8f8649bef96ed3f7aa0f9b6a479311df22ecdc7bbcdade65f7b03b79100f8b86caf02f9a0bc77ce01035a DIST serde_json-1.0.64.crate 115138 BLAKE2B c61a404db9800cfb4e2ac29d4e287a7c8f388b62407d5e25e07514e2840fdf9c127476db35cb556b56143755c64c26be1c6b1facc7529067b06946ac8f54a573 SHA512 55a45dd4c60fd93d2d9331f6a8eac39fdfece9ddc1aae45ea27e3dfa81352f08c71bf03906ba99d0feb5df8d847b68547ecaa8eb5a2c76011ebbe8d4cd5bfc2d DIST serde_json-1.0.68.crate 114986 BLAKE2B a588a87ac9fe2b3635d7bf72c185801e3866101020a0afb8f714d37939c2dc7b5b32e2177910df7221df197e4e8a92d92187968efdb5e9f1f1616647c10d81d3 SHA512 54a0345029016873883dbdcd2094615f509759f61b04d9a496dfdbc1e27ee5361dfb3d129f209a9ad66984cc1f4c82751adfe1a564198649ecc939e8c3dd1ac5 +DIST serde_json-1.0.78.crate 144364 BLAKE2B 840477a9eeedf75834f18435fc8d6d8b8b35cf45842b6f42158afbf2404293a31b80e07802ca3b7215d37335db0d1365709e5b1ec68c55d6a47317e732779e39 SHA512 cbef082fbf633b9eb40056c1d47576d0233087ac08f76fafc2ea3598ad730770365f46bd0afd1bec6e6cb16c7d66feec1b6d8b0f2ee46db69a10e4d5d76dbf01 +DIST serde_json-1.0.81.crate 144480 BLAKE2B 3c95d56e65c6673ebe9ef0aa41ba184c5246cbcfb0dd9edf8e87ca6cab736d195ce8b6349846806ba7047854d579517d2d19bbfa932c90b700f06e54cf49b131 SHA512 9f224b2182db2fdddfe1878d05d857c52a60a38f9b4fdfc87c09c20efc8b6ec2419bc60e4b18a0852ed080b09332773eac372f8356af5ac0ddf3da8212345cb8 DIST serde_with-1.10.0.crate 75349 BLAKE2B 840944d399144e383ef5f974588de0f126cc27174409a498ab2e0f193ddfa757853256255990d4ec3048d1ee983af3dded203d905d7d08f182da4905e67d8afa SHA512 c3a27433b25eab8ea87716caed67b778fc4c6d7d721d95c466d545e19b2fe02d9496a9e927450b4a08703ab7857f7127968ffb3f4389080cd054a43d07bc8489 +DIST serde_with-1.11.0.crate 77644 BLAKE2B 89ff01959c54ec292fb76106228309324bc313d8447d30d54ac804741bc67ff9c67e61dffad7c98a616254b3b48096706513adacf78a419b6aa4cf9e27a36bec SHA512 c8faa3b14c90eae6daed16e03bc3e26137fae7a2fe0d1003ccdb1d036d25025f0422b06bb743b647997ea72410766a332f024d831e063cd1aa6375790287ae21 +DIST serde_with-1.13.0.crate 108768 BLAKE2B 62725ef3df86036e10607ba28aefd69acc07476c82e3cdf78240fab0d89f185c33beefd06170998f52cc7097a928c349735f8069d2b55240690641d22cc50a1a SHA512 7dbd5278e51167e08fb0a07c3aec7a90101042f088ad3b27bb15c4bb56481eb0e51d0283ae7f07fe8154c11b0bd7d44cbe8e4dcb8db1295a2d4f18ab7f82f1df DIST serde_with-1.9.2.crate 67712 BLAKE2B 1a297b422a0e783ea5da1485bea7c726f7b1b33be8e1ec13a14290a5a666343a50241c2ae4580d4c4bd00c37f9013391aeb2adf2231297d8c9f3e2b726a7f370 SHA512 832ccccb63eff2ceae77d317394fed71b7cdcf42078fb30dfdd63bdd0a294f88a1959aa62de8ddfe18d9f2f791227208500a8b8e6efa16f573b1ad0e54ed0a3d DIST serde_with_macros-1.4.2.crate 17752 BLAKE2B 2549b65d267be90e5dd3e64b38c2e220dcb156adf95f3816a98c2b729f4270dd7399e8527b77d0f6c9deea5b4d99d9b7fef52a2d7c5af9e382cf20b022157f2d SHA512 ef9191d94d0402b65eaec653fbaa91ecaf3fbf3c77279eaef121c2882e0b8ed3031c1f8d3e199c3af8b371fcda4f830f703bfe47635284c6520873ff3b5215b8 DIST serde_with_macros-1.5.0.crate 20802 BLAKE2B aa80bd116dca4ff483ba8f1cb59c8126fec7e064cebcbefb3ee90527345974b8ba3eae2b0ea9d218e84f064e1762f65d414f6 |