diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /net-libs | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'net-libs')
231 files changed, 2092 insertions, 3997 deletions
diff --git a/net-libs/aqbanking/aqbanking-6.2.5.ebuild b/net-libs/aqbanking/aqbanking-6.2.5.ebuild index f0c61657451c..b13c94109378 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-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,7 @@ DEPEND=" >=sys-libs/gwenhywfar-5.4.1:= virtual/libintl ebics? ( dev-libs/xmlsec[gcrypt] ) - ofx? ( >=dev-libs/libofx-0.9.5 ) + ofx? ( >=dev-libs/libofx-0.9.5:= ) " RDEPEND="${DEPEND}" diff --git a/net-libs/axtls/axtls-2.1.5-r1.ebuild b/net-libs/axtls/axtls-2.1.5-r1.ebuild index a8ce3cb1e5d3..f1f10909827d 100644 --- a/net-libs/axtls/axtls-2.1.5-r1.ebuild +++ b/net-libs/axtls/axtls-2.1.5-r1.ebuild @@ -49,7 +49,7 @@ IUSE="httpd cgi-lua cgi-php static static-libs doc" DEPEND="doc? ( app-doc/doxygen )" RDEPEND=" httpd? ( - cgi-lua? ( dev-lang/lua ) + cgi-lua? ( dev-lang/lua:0= ) cgi-php? ( dev-lang/php[cgi] ) )" diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild new file mode 100644 index 000000000000..af38f5be8b31 --- /dev/null +++ b/net-libs/axtls/axtls-2.1.5-r100.ebuild @@ -0,0 +1,185 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua-single multilib multilib-minimal savedconfig toolchain-funcs user + +################################################################################ +# axtls CONFIG MINI-HOWTO +# +# Note: axtls is highly configurable and uses mconf, like the linux kernel. +# You can configure it in a couple of ways: +# +# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features +# you want, and possibly a lot more. +# +# 2) You can create your own configuration file by doing +# +# FEATURES="keepwork" USE="savedconfig -*" emerge axtls +# cd /var/tmp/portage/net-libs/axtls*/work/axTLS +# make menuconfig +# +# Now configure axtls as you want. Finally save your config file: +# +# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV} +# +# where ${PV} is the current version. You can then run emerge again with +# your configuration by doing +# +# USE="savedconfig" emerge axtls +# +################################################################################ + +MY_PN=${PN/tls/TLS} + +DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server" +HOMEPAGE="https://sourceforge.net/projects/axtls/" +SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${PN}-code" + +LICENSE="BSD GPL-2" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +IUSE="httpd cgi-lua cgi-php static static-libs doc" + +# TODO: add ipv6, and c#, java, lua, perl bindings +# Currently these all have some issue +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND=" + httpd? ( + cgi-lua? ( ${LUA_DEPS} ) + cgi-php? ( dev-lang/php[cgi] ) + )" + +#Note1: static, cgi-* makes no sense if httpd is not given +REQUIRED_USE=" + static? ( httpd ) + cgi-lua? ( httpd ${LUA_REQUIRED_USE} ) + cgi-php? ( httpd )" + +AXTLS_GROUP="axtls" +AXTLS_USER="axtls" + +pkg_setup() { + use cgi-lua && lua-single_pkg_setup + + use httpd && { + ebegin "Creating axtls user and group" + enewgroup ${AXTLS_GROUP} + enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP} + } +} + +src_prepare() { + tc-export AR CC + + eapply "${FILESDIR}/explicit-libdir-r1.patch" + + #We want CONFIG_DEBUG to avoid stripping + #but not for debugging info + sed -i -e 's: -g::' config/Rules.mak || die + sed -i -e 's: -g::' config/makefile.conf || die + + eapply_user + + multilib_copy_sources +} + +use_flag_config() { + cp "${FILESDIR}"/config config/.config || die + + #Respect CFLAGS/LDFLAGS + sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \ + config/.config || die + sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDFLAGS}\":" \ + config/.config || die + + #The logic is that the default config file enables everything and we disable + #here with sed unless a USE flags says to keep it + if use httpd; then + if ! use static; then + sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \ + config/.config || die + fi + if ! use cgi-php && ! use cgi-lua; then + sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \ + config/.config || die + fi + if ! use cgi-php; then + sed -i -e 's:,.php::' config/.config || die + fi + if ! use cgi-lua; then + sed -i -e 's:\.lua,::' \ + -e 's:lua:php:' \ + -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \ + config/.config || die + fi + if use cgi-lua; then + sed -i -e "s:/usr/bin/lua:${LUA}:" config/.config || die + fi + else + sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \ + config/.config || die + fi + + emake -j1 oldconfig < <(yes n) > /dev/null +} + +multilib_src_configure() { + #Per-ABI substitutions. + sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \ + Makefile || die + + #Use CC as the host compiler for mconf + sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \ + config/Rules.mak || die + + if use savedconfig; then + restore_config config/.config + if [[ -f config/.config ]]; then + ewarn "Using saved config, all other USE flags ignored" + else + ewarn "No saved config, seeding with the default" + cp "${FILESDIR}"/config config/.config || die + fi + emake -j1 oldconfig < <(yes '') > /dev/null + else + use_flag_config + fi +} + +multilib_src_install() { + if multilib_is_native_abi && use savedconfig; then + save_config config/.config + fi + + emake PREFIX="${ED}/usr" install + + if ! use static-libs; then + rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die + fi + + # The build system needs to install before it builds docs + if multilib_is_native_abi && use doc; then + emake docs + dodoc -r docsrc/html + fi +} + +multilib_src_install_all() { + if [[ -f "${ED}"/usr/bin/htpasswd ]]; then + mv "${ED}"/usr/bin/{,ax}htpasswd || die + fi + + if use httpd; then + newinitd "${FILESDIR}"/axhttpd.initd axhttpd + newconfd "${FILESDIR}"/axhttpd.confd axhttpd + fi + + docompress -x /usr/share/doc/${PF}/README + dodoc README +} diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild index 4e566dbaf4a9..94005d6f98af 100644 --- a/net-libs/axtls/axtls-2.1.5.ebuild +++ b/net-libs/axtls/axtls-2.1.5.ebuild @@ -49,7 +49,7 @@ IUSE="httpd cgi-lua cgi-php static static-libs doc" DEPEND="doc? ( app-doc/doxygen )" RDEPEND=" httpd? ( - cgi-lua? ( dev-lang/lua ) + cgi-lua? ( dev-lang/lua:0= ) cgi-php? ( dev-lang/php[cgi] ) )" diff --git a/net-libs/balde-markdown/metadata.xml b/net-libs/balde-markdown/metadata.xml index 87ce870658a7..2fe05cb494d0 100644 --- a/net-libs/balde-markdown/metadata.xml +++ b/net-libs/balde-markdown/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>rafaelmartins@gentoo.org</email> - <name>Rafael G. Martins</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <maintainer status="active"> <email>rafaelmartins@gentoo.org</email> diff --git a/net-libs/balde/metadata.xml b/net-libs/balde/metadata.xml index 6d1a8896320b..bfe58773cdf7 100644 --- a/net-libs/balde/metadata.xml +++ b/net-libs/balde/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>rafaelmartins@gentoo.org</email> - <name>Rafael G. Martins</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <maintainer status="active"> <email>rafaelmartins@gentoo.org</email> diff --git a/net-libs/c-client/c-client-2007f-r6.ebuild b/net-libs/c-client/c-client-2007f-r6.ebuild index 222863bf52c3..5fc89d2f6e21 100644 --- a/net-libs/c-client/c-client-2007f-r6.ebuild +++ b/net-libs/c-client/c-client-2007f-r6.ebuild @@ -16,7 +16,7 @@ SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z LICENSE="Apache-2.0" 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="doc +ipv6 kerberos kernel_linux kernel_FreeBSD libressl pam ssl static-libs topal chappa" RDEPEND=" diff --git a/net-libs/czmq/czmq-4.2.0.ebuild b/net-libs/czmq/czmq-4.2.0.ebuild index 0da68d05d0f5..67f3ac086f63 100644 --- a/net-libs/czmq/czmq-4.2.0.ebuild +++ b/net-libs/czmq/czmq-4.2.0.ebuild @@ -11,7 +11,7 @@ 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" +KEYWORDS="amd64 arm ~arm64 ~hppa x86" IUSE="curl drafts http-client http-server lz4 static-libs systemd +uuid" BDEPEND="app-text/asciidoc diff --git a/net-libs/daq/daq-2.0.7.ebuild b/net-libs/daq/daq-2.0.7.ebuild index 9abd84733239..d6681e08a357 100644 --- a/net-libs/daq/daq-2.0.7.ebuild +++ b/net-libs/daq/daq-2.0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -10,7 +10,7 @@ SRC_URI="https://www.snort.org/downloads/snort/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc x86" IUSE="ipv6 +afpacket +dump +pcap nfq ipq static-libs" PCAP_DEPEND=">=net-libs/libpcap-1.0.0" diff --git a/net-libs/dslib/dslib-3.0-r2.ebuild b/net-libs/dslib/dslib-3.0-r3.ebuild index 7dc7bfb9f585..f4e68aa7db00 100644 --- a/net-libs/dslib/dslib-3.0-r2.ebuild +++ b/net-libs/dslib/dslib-3.0-r3.ebuild @@ -5,6 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=manual inherit distutils-r1 DESCRIPTION="Library to access Czech eGov system \"Datove schranky\"" @@ -22,5 +23,5 @@ RDEPEND=" >=dev-python/sudsds-1.0.1[${PYTHON_USEDEP}] " DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools-python2[${PYTHON_USEDEP}] " diff --git a/net-libs/enet/Manifest b/net-libs/enet/Manifest index 1711e5554acf..daa988d6f3fa 100644 --- a/net-libs/enet/Manifest +++ b/net-libs/enet/Manifest @@ -1,3 +1,3 @@ DIST enet-1.2.2.tar.gz 413454 BLAKE2B 3d13ae43a3ce361cf19d7b79c8ec92f76b7c1066659bf4e531a3144b03aac4e7b3738c102eff12bc0748a4a798e7be77473a6b386d29bb416998057f71ffe9d9 SHA512 2c28ab4b650dd4165ee5913c1bc80dc47e43f2363a5fdd7f3aa9be8fb3afbc8aff7a6bce731f7dac45eb930fc6338cd811c07e8dedca5554a7dd32293685062d DIST enet-1.3.13.tar.gz 669090 BLAKE2B 3041e9b2fe431dda2eae3464417d79b80664ff2c303222607991db28328e8eca2357fbf66248f40344bf93a26e0d1ffdad4698f9fe58939224b830700acee501 SHA512 82501c0248330a3a6bcac907907760e59b18cb662ebb42fe2c91e1557f1bc8ab452bf3fe7477dc01fa7a6e3b6124e1eb8eac46382d5bbebb2394879f9568b5df -DIST enet-1.3.16.tar.gz 703461 BLAKE2B 30046a50a00eb3ccdb24e69a7f315555b1b395f42e30efff55c09bab28f4f2404c5183da2bce166f719956a9286ebfbc91d184cb146c252351909eb04ac1b345 SHA512 79761749d0f127c30b3c7186ca3c73795532d2e96ac1c152cd1fb5ca422b020f75e0c08ef9c9744e16866f8e5261dc24985e0421be56bcb0a4b072411af425ae +DIST enet-1.3.17.tar.gz 703278 BLAKE2B d31838a173f629a2216f59173c259cf7cb35985913c5f8f016641ceb189dc20308effa206f03391cafde842ad6e43ec1776d38ce02283bd5990ccf38eadf4d6b SHA512 efa0cb093a6ca295e5012a4fdebc5ffd6516a66a967e97b386b72781b18ce4a118c9bf94e87adbbdcd0ed441e22c62a05c24ff39fd6b475919e8efe9ab4715e4 diff --git a/net-libs/enet/enet-1.3.16.ebuild b/net-libs/enet/enet-1.3.17.ebuild index 1577bff21701..bc157f25199f 100644 --- a/net-libs/enet/enet-1.3.16.ebuild +++ b/net-libs/enet/enet-1.3.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/net-libs/enet/metadata.xml b/net-libs/enet/metadata.xml index b16a255c1cc6..292f2e46cdc9 100644 --- a/net-libs/enet/metadata.xml +++ b/net-libs/enet/metadata.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> <upstream> <changelog>https://github.com/lsalzman/enet/blob/master/ChangeLog</changelog> <remote-id type="github">lsalzman/enet</remote-id> diff --git a/net-libs/glib-networking/glib-networking-2.62.4.ebuild b/net-libs/glib-networking/glib-networking-2.62.4.ebuild index 3c7092bef4e7..d1a91d25ddae 100644 --- a/net-libs/glib-networking/glib-networking-2.62.4.ebuild +++ b/net-libs/glib-networking/glib-networking-2.62.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -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 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" RDEPEND=" >=dev-libs/glib-2.60.0:2[${MULTILIB_USEDEP}] diff --git a/net-libs/glib-networking/glib-networking-2.64.3.ebuild b/net-libs/glib-networking/glib-networking-2.64.3.ebuild index aa771c91c918..f22fb43f04ad 100644 --- a/net-libs/glib-networking/glib-networking-2.64.3.ebuild +++ b/net-libs/glib-networking/glib-networking-2.64.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -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 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" RDEPEND=" >=dev-libs/glib-2.64.0:2[${MULTILIB_USEDEP}] diff --git a/net-libs/glib-networking/glib-networking-2.66.0.ebuild b/net-libs/glib-networking/glib-networking-2.66.0.ebuild index 133f9d9bc174..ab26b1fdccea 100644 --- a/net-libs/glib-networking/glib-networking-2.66.0.ebuild +++ b/net-libs/glib-networking/glib-networking-2.66.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" RDEPEND=" >=dev-libs/glib-2.64.0:2[${MULTILIB_USEDEP}] diff --git a/net-libs/gnet/gnet-2.0.8-r2.ebuild b/net-libs/gnet/gnet-2.0.8-r2.ebuild index f1c6822d9696..4ed80b5b4ed5 100644 --- a/net-libs/gnet/gnet-2.0.8-r2.ebuild +++ b/net-libs/gnet/gnet-2.0.8-r2.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GNetLibrary" LICENSE="LGPL-2" SLOT="2" -KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-libs/gnutls/gnutls-3.6.15.ebuild b/net-libs/gnutls/gnutls-3.6.15.ebuild index 4103ba431769..462583d91fa7 100644 --- a/net-libs/gnutls/gnutls-3.6.15.ebuild +++ b/net-libs/gnutls/gnutls-3.6.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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 ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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=" @@ -54,7 +54,7 @@ DOCS=( HTML_DOCS=() -#PATCHES=( "${FILESDIR}"/${PN}-3.6.15-skip-dtls-seccomp-tests.patch ) +PATCHES=( "${FILESDIR}"/${PN}-3.6.15-skip-dtls-seccomp-tests.patch ) pkg_setup() { # bug#520818 diff --git a/net-libs/gnutls/gnutls-3.7.0.ebuild b/net-libs/gnutls/gnutls-3.7.0.ebuild index 48cc53ce4156..ece149c18554 100644 --- a/net-libs/gnutls/gnutls-3.7.0.ebuild +++ b/net-libs/gnutls/gnutls-3.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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 ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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=" diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest index 4d9d1a3d69cc..997c2ced01d4 100644 --- a/net-libs/gsoap/Manifest +++ b/net-libs/gsoap/Manifest @@ -1,6 +1 @@ -DIST gsoap_2.8.105.zip 32728935 BLAKE2B 2a72080566811e65dd3fbb45af40f308ab2950edd6b142359019fdb1b3f84bd4cb13d5e5a8d8ee4ca35fb685535752bed225982fa7861be9e7872be93ab9c155 SHA512 3b7b66ef738e9ba78f0c9d5ec141faab102dc2ed7c528e84358d530ec8cb913c559438bb86ae0f22e0736c4cd9be9e74f364a44257189ccaa1e6d001317f99de DIST gsoap_2.8.106.zip 32740371 BLAKE2B b4904290ec5d8ebfc326bfd8d2c99e68c88cc9a07440d97ed8a442331c9f74549f75118f3e237f0796eba060b988d521c3af2bb9485d06e8277c5f18ade8cd82 SHA512 c461870fc563f848bfbdbc492cc5a26fece0d0c9a56092cb06ca3139e88c340969f23865e72187e1141a8f707f14ab6806e6a0b739b3c531161deefd6fbe510a -DIST gsoap_2.8.84.zip 32538551 BLAKE2B cab2b75ac931ee6063af47975665f45514cb94f5514fb1f76d17ccb2e71d64d4ebd43543cc004ff7f5c49982975ebaa38e555e3bc45dbc370aae991bc7639273 SHA512 ec050119cd3e480b266cad36823f4862fe0ac21045ce901c3c91a552eae2fbf9e1cd515458835807cce54c04df7835a980a299d37f418190cd57684fd6bdcf79 -DIST gsoap_2.8.87.zip 32545316 BLAKE2B c2d0f9fafdfa9de83ea35f8dfc88e23d9d80967a2e58c30d554d539fd93056d7a8eb00ea9c928c6cf786e4888eb9f942ba4574e343de0c0104fce8b270494d6a SHA512 638bf9b2b8aca5facba518f136ad5af5bda41f2b92ee345ee6989d73223a571ce5ddab23c0b65259e9fd524039250d861defc8cfc2fc0a366a578ce3629b9ca4 -DIST gsoap_2.8.91.zip 32553307 BLAKE2B 463c2d9c2d56c2a09fa8c9ebea7fa8059ed050cff81780b04a1a47ee1f016e385e6eb338ca740a40cd0c9483b4e10cf0963d02c52d6020863ce015e2f9cf2024 SHA512 ed99f1a20fd95edc7f24cf55454ee057b8c88d2e5b5b153b61c44c57bf4d92fb65ed557e9cb9ea89e3fa8939689c0e30791cebdb91b837482ec8ec13ae281abc -DIST gsoap_2.8.93.zip 32559296 BLAKE2B 1c27a2d99eb529715f775392a6aeed803ef03f9b703caca49e56e7b4eeb6c9bf7b801d9853fb4009ab61ec138da1c23d54dc33c2f604d73f8134121a5ea2e975 SHA512 45965d04e1c46e06803467887f62d9bea5909fa2d4c4d9ffc935f9fced014efed9169a0171a555067c89ef47b2def9983b277eecee18eb9e70d7198bc72b1ece diff --git a/net-libs/gsoap/gsoap-2.8.105.ebuild b/net-libs/gsoap/gsoap-2.8.105.ebuild deleted file mode 100644 index cc1d59c2b49c..000000000000 --- a/net-libs/gsoap/gsoap-2.8.105.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_P="${PN}-2.8" - -DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" -HOMEPAGE="https://sourceforge.net/projects/gsoap2/" -SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" - -LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc debug examples ipv6 libressl gnutls +ssl" - -RDEPEND=" - sys-libs/zlib - gnutls? ( net-libs/gnutls ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl ) - ) -" -DEPEND="${RDEPEND} - app-arch/unzip - sys-devel/flex - sys-devel/bison -" - -PATCHES=( - # Fix Pre-ISO headers - "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" - - # enable shared libs https://bugs.gentoo.org/583398 - "${FILESDIR}/${PN}-2.8.91-shared_libs.patch" -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - # Don't include xlocale.h as it got removed in >=glibc-2.26 - --disable-xlocale - $(use_enable debug) - $(use_enable gnutls) - $(usex ipv6 --enable-ipv6 '') - $(usex ssl '' --disable-ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - # yes, we also install the license-file since - # it contains info about how to apply the licenses - dodoc *.txt - - docinto html - dodoc changelog.md - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die - - if use examples; then - insinto /usr/share/${PN}/examples - doins -r gsoap/samples/* - fi - - if use doc; then - docinto html - dodoc -r gsoap/doc/* - fi -} diff --git a/net-libs/gsoap/gsoap-2.8.106.ebuild b/net-libs/gsoap/gsoap-2.8.106.ebuild index cc1d59c2b49c..707d9edc125d 100644 --- a/net-libs/gsoap/gsoap-2.8.106.ebuild +++ b/net-libs/gsoap/gsoap-2.8.106.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc debug examples ipv6 libressl gnutls +ssl" RDEPEND=" diff --git a/net-libs/gsoap/gsoap-2.8.84.ebuild b/net-libs/gsoap/gsoap-2.8.84.ebuild deleted file mode 100644 index 885b9c1c7757..000000000000 --- a/net-libs/gsoap/gsoap-2.8.84.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_P="${PN}-2.8" - -DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" -HOMEPAGE="https://sourceforge.net/projects/gsoap2/" -SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" - -LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc debug examples ipv6 libressl gnutls +ssl" - -RDEPEND=" - sys-libs/zlib - gnutls? ( net-libs/gnutls ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl ) - ) -" -DEPEND="${RDEPEND} - app-arch/unzip - sys-devel/flex - sys-devel/bison -" - -PATCHES=( - # Fix Pre-ISO headers - "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" - - # enable shared libs https://bugs.gentoo.org/583398 - "${FILESDIR}/${PN}-2.8.70-shared_libs.patch" - - # Fix parallel make - "${FILESDIR}/${PN}-2.8.70-parallel.patch" -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - # Don't include xlocale.h as it got removed in >=glibc-2.26 - --disable-xlocale - $(use_enable debug) - $(use_enable examples samples) - $(usex gnutls --enable-gnutls '') - $(usex ipv6 --enable-ipv6 '') - $(usex ssl '' --disable-ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - # yes, we also install the license-file since - # it contains info about how to apply the licenses - dodoc *.txt - - docinto html - dodoc changelog.md - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die - - if use examples; then - rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die - insinto /usr/share/doc/${PF}/examples - doins -r gsoap/samples/* - fi - - if use doc; then - docinto html - dodoc -r gsoap/doc/* - fi -} diff --git a/net-libs/gsoap/gsoap-2.8.87.ebuild b/net-libs/gsoap/gsoap-2.8.87.ebuild deleted file mode 100644 index 58958ddba95d..000000000000 --- a/net-libs/gsoap/gsoap-2.8.87.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_P="${PN}-2.8" - -DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" -HOMEPAGE="https://sourceforge.net/projects/gsoap2/" -SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" - -LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc debug examples ipv6 libressl gnutls +ssl" - -RDEPEND=" - sys-libs/zlib - gnutls? ( net-libs/gnutls ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl ) - ) -" -DEPEND="${RDEPEND} - app-arch/unzip - sys-devel/flex - sys-devel/bison -" - -PATCHES=( - # Fix Pre-ISO headers - "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" - - # enable shared libs https://bugs.gentoo.org/583398 - "${FILESDIR}/${PN}-2.8.70-shared_libs.patch" - - # Fix parallel make - "${FILESDIR}/${PN}-2.8.70-parallel.patch" -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - # Don't include xlocale.h as it got removed in >=glibc-2.26 - --disable-xlocale - $(use_enable debug) - $(use_enable examples samples) - $(usex gnutls --enable-gnutls '') - $(usex ipv6 --enable-ipv6 '') - $(usex ssl '' --disable-ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - # yes, we also install the license-file since - # it contains info about how to apply the licenses - dodoc *.txt - - docinto html - dodoc changelog.md - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die - - if use examples; then - rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die - insinto /usr/share/doc/${PF}/examples - doins -r gsoap/samples/* - fi - - if use doc; then - docinto html - dodoc -r gsoap/doc/* - fi -} diff --git a/net-libs/gsoap/gsoap-2.8.91.ebuild b/net-libs/gsoap/gsoap-2.8.91.ebuild deleted file mode 100644 index bf71fef37cd2..000000000000 --- a/net-libs/gsoap/gsoap-2.8.91.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_P="${PN}-2.8" - -DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" -HOMEPAGE="https://sourceforge.net/projects/gsoap2/" -SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" - -LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc debug examples ipv6 libressl gnutls +ssl" - -RDEPEND=" - sys-libs/zlib - gnutls? ( net-libs/gnutls ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl ) - ) -" -DEPEND="${RDEPEND} - app-arch/unzip - sys-devel/flex - sys-devel/bison -" - -PATCHES=( - # Fix Pre-ISO headers - "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" - - # enable shared libs https://bugs.gentoo.org/583398 - "${FILESDIR}/${PN}-2.8.91-shared_libs.patch" - - # Fix parallel make - "${FILESDIR}/${PN}-2.8.70-parallel.patch" -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - # Don't include xlocale.h as it got removed in >=glibc-2.26 - --disable-xlocale - $(use_enable debug) - $(use_enable examples samples) - $(usex gnutls --enable-gnutls '') - $(usex ipv6 --enable-ipv6 '') - $(usex ssl '' --disable-ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - # yes, we also install the license-file since - # it contains info about how to apply the licenses - dodoc *.txt - - docinto html - dodoc changelog.md - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die - - if use examples; then - rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die - insinto /usr/share/doc/${PF}/examples - doins -r gsoap/samples/* - fi - - if use doc; then - docinto html - dodoc -r gsoap/doc/* - fi -} diff --git a/net-libs/gsoap/gsoap-2.8.93.ebuild b/net-libs/gsoap/gsoap-2.8.93.ebuild deleted file mode 100644 index 42927147f4d7..000000000000 --- a/net-libs/gsoap/gsoap-2.8.93.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -MY_P="${PN}-2.8" - -DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" -HOMEPAGE="https://sourceforge.net/projects/gsoap2/" -SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" - -LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc debug examples ipv6 libressl gnutls +ssl" - -RDEPEND=" - sys-libs/zlib - gnutls? ( net-libs/gnutls ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl ) - ) -" -DEPEND="${RDEPEND} - app-arch/unzip - sys-devel/flex - sys-devel/bison -" - -PATCHES=( - # Fix Pre-ISO headers - "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" - - # enable shared libs https://bugs.gentoo.org/583398 - "${FILESDIR}/${PN}-2.8.91-shared_libs.patch" - - # Fix parallel make - "${FILESDIR}/${PN}-2.8.93-fix-parallel-build.patch" -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - # Don't include xlocale.h as it got removed in >=glibc-2.26 - --disable-xlocale - $(use_enable debug) - $(use_enable examples samples) - $(usex gnutls --enable-gnutls '') - $(usex ipv6 --enable-ipv6 '') - $(usex ssl '' --disable-ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - # yes, we also install the license-file since - # it contains info about how to apply the licenses - dodoc *.txt - - docinto html - dodoc changelog.md - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die - - if use examples; then - rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die - insinto /usr/share/doc/${PF}/examples - doins -r gsoap/samples/* - fi - - if use doc; then - docinto html - dodoc -r gsoap/doc/* - fi -} diff --git a/net-libs/jreen/jreen-1.3.0-r1.ebuild b/net-libs/jreen/jreen-1.3.0-r1.ebuild index b0175ce32225..ebb04f64dd7d 100644 --- a/net-libs/jreen/jreen-1.3.0-r1.ebuild +++ b/net-libs/jreen/jreen-1.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/net-libs/kdsoap-ws-discovery-client/Manifest b/net-libs/kdsoap-ws-discovery-client/Manifest index 83d1d976ff27..7dac6647d177 100644 --- a/net-libs/kdsoap-ws-discovery-client/Manifest +++ b/net-libs/kdsoap-ws-discovery-client/Manifest @@ -1 +1,2 @@ DIST kdsoap-ws-discovery-client-0.2_pre20200317.tar.gz 37395 BLAKE2B 03bee2d6f87a3fb407e0cff7e84f9bd83814d742f714630b8c469b26a139062472ad39a0f743caac6f5de4ae2c8a55c42b56ee14c6afcd3a0a874c3f0d9978c5 SHA512 f99092e06e4d7496d6fe79e4cf78265c072476159da958c2a0ee7b852be00b16c89582a8c69c5cbe4160a6419435ee2d8bc71bce40ea9753eaf458c34df6f86b +DIST kdsoap-ws-discovery-client-0.2_pre20200927.tar.gz 37493 BLAKE2B c0dff21554bc56c4055c74a166a85186d67b0378f7bfbfcd3582ae7b992aaa71cefb6b794258fa07b37fcdd1d42ac2bf9fbfd7cd8142f8f77b1ba9791d683dae SHA512 86f8c4eee3fd484253ee91190092a9ae0dbd3d0c536ec25a6e3ec35be45d4a3d320cffbfc0ed2024d447788b43c9df88ca81181157720ce8942c9034d4eea49f diff --git a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200927.ebuild b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200927.ebuild new file mode 100644 index 000000000000..74f1eb852d13 --- /dev/null +++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.2_pre20200927.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_QTHELP="false" +ECM_TEST="true" +inherit ecm + +if [[ ${PV} != *9999* ]]; then + COMMIT=dcefb65c88e76f1f9eda8b0318006e93d15a0e1e + SRC_URI="https://gitlab.com/caspermeijn/${PN}/repository/${COMMIT}/archive.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + S="${WORKDIR}/${PN}-${COMMIT}-${COMMIT}" +else + EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git" + inherit git-r3 +fi + +DESCRIPTION="WS-Discovery client library based on KDSoap" +HOMEPAGE="https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client +https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client" + +LICENSE="CC0-1.0 GPL-3+" +SLOT="0" +IUSE="doc" + +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + >=net-libs/kdsoap-1.9.0:=" +DEPEND="${RDEPEND} + test? ( dev-qt/qtxml:5 ) +" + +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}"/${PN}-0.2_pre20200317-no-install-docs.patch ) + +src_prepare() { + ecm_src_prepare + use test || ecm_punt_bogus_dep Qt5 Xml +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package doc Doxygen) + -DBUILD_QCH=OFF # does not use ecm_add_qch from ECMAddQch + ) + ecm_src_configure +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) + ecm_src_install +} diff --git a/net-libs/kdsoap/Manifest b/net-libs/kdsoap/Manifest index c24b812b570e..dd7ff3dcea74 100644 --- a/net-libs/kdsoap/Manifest +++ b/net-libs/kdsoap/Manifest @@ -1,2 +1,3 @@ +DIST kdsoap-1.10.0.tar.gz 1399777 BLAKE2B d04393e34536eca43edb612339cfc40ff024849b74231d472f9936d86172d299f973e4140ae2bde363dca441e26016126db5f0782807c3d5598543ec4afcd737 SHA512 c0e0108f74e5d4075a71369f428862b7f3eb6a7b1968eea7a7b01f4536d999468a7af8013be722c02b303a0580e7cd649fe78c1588f837405ede4bb753fb56b7 DIST kdsoap-1.9.50_pre20200317-libkode-dfe0d565cb58cfb25da77853d9694097aa8e5882.tar.gz 50653 BLAKE2B a14145adcb1a9551c9fc70246bebe034db605e8d4056744856ff67a575ed192b90439a25b7ba6916d66b9830d7ffec1da82f2e12425b6e58801ebbe289cc09b7 SHA512 efe539888d25a527d43a83a6e3c38d75eec92bab3f09766890870f3fe6516cbd8349b049b42399c8764b28550291130b705350ae9d4d9947b839c03174b9b984 DIST kdsoap-1.9.50_pre20200317.tar.gz 919821 BLAKE2B 8028e98a1d79800e9f8bbddcb50e0b3ebb2d71b2f87d4f2920c6689b8536d712f76fb9ff48dd16b3d68871e46d9b1d36198aadab3d1d645f2dc397beef3d596e SHA512 f00c960d442c6a2977d321441ddd0924b42422e2a4e974a7fabb2d896fdb7310813750154f7548758ccb01a5d312d9af74a8d34746e09d07aff7925ebb6c3b4c diff --git a/net-libs/kdsoap/kdsoap-1.10.0.ebuild b/net-libs/kdsoap/kdsoap-1.10.0.ebuild new file mode 100644 index 000000000000..d16d3493eda0 --- /dev/null +++ b/net-libs/kdsoap/kdsoap-1.10.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/KDAB/KDSoap/releases/download/${P}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +else + EGIT_REPO_URI="https://github.com/KDAB/KDSoap.git" + EGIT_SUBMODULES=( kdwsdl2cpp/libkode -autogen ) + inherit git-r3 +fi +inherit cmake + +DESCRIPTION="Qt-based client-side and server-side SOAP component" +HOMEPAGE="https://www.kdab.com/development-resources/qt-tools/kd-soap/" + +LICENSE="GPL-3 AGPL-3" +SLOT="0/1" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 +" +DEPEND="${RDEPEND} + dev-libs/boost +" + +src_prepare() { + cmake_src_prepare + sed -e "/install.*INSTALL_DOC_DIR/d" -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DKDSoap_EXAMPLES=OFF # no install targets + ) + cmake_src_configure +} diff --git a/net-libs/liba53/liba53-9999.ebuild b/net-libs/liba53/liba53-9999.ebuild deleted file mode 100644 index 72fe4d1689a6..000000000000 --- a/net-libs/liba53/liba53-9999.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit git-r3 - -DESCRIPTION="A5/3 Call encryption library" -HOMEPAGE="https://github.com/RangeNetworks/liba53" -EGIT_REPO_URI="https://github.com/RangeNetworks/${PN}.git" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_install() { - mkdir -p "${D}/usr/lib" "${D}/usr/include" - default -} diff --git a/net-libs/liba53/metadata.xml b/net-libs/liba53/metadata.xml deleted file mode 100644 index 4590ac71edd8..000000000000 --- a/net-libs/liba53/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>radio@gentoo.org</email> - <name>Radio</name> - </maintainer> - <upstream> - <remote-id type="github">RangeNetworks/liba53</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/net-libs/libasr/libasr-1.0.4.ebuild b/net-libs/libasr/libasr-1.0.4.ebuild index 41ba9e0f2126..9ba16d00f5f7 100644 --- a/net-libs/libasr/libasr-1.0.4.ebuild +++ b/net-libs/libasr/libasr-1.0.4.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.opensmtpd.org/archives/${P}.tar.gz" LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" src_configure() { econf --disable-static diff --git a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild index 0c36829fd1f6..a13d8609f163 100644 --- a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild +++ b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild @@ -12,7 +12,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 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" IUSE="doc debug" diff --git a/net-libs/libbitcoinconsensus/libbitcoinconsensus-0.20.1.ebuild b/net-libs/libbitcoinconsensus/libbitcoinconsensus-0.20.1.ebuild index a7db9996ea9b..7a0ea42117b5 100644 --- a/net-libs/libbitcoinconsensus/libbitcoinconsensus-0.20.1.ebuild +++ b/net-libs/libbitcoinconsensus/libbitcoinconsensus-0.20.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+asm knots" DEPEND=" diff --git a/net-libs/libbtbb/Manifest b/net-libs/libbtbb/Manifest index 5523e14eef9a..db5113ea61af 100644 --- a/net-libs/libbtbb/Manifest +++ b/net-libs/libbtbb/Manifest @@ -1,2 +1,3 @@ DIST libbtbb-2018-08-R1.tar.gz 310542 BLAKE2B 0ae945c530c476caadfd7786f34eca4d7efd71c2f27a37c7b0242a1d3fba80e985c76a0635a354184aa80039ca8ac11f59778f550cbe9bb7e8a535723396cab0 SHA512 63fa995b51f2246b6f27d8aa1bd7a5c0276414df9d13d432d9a1a7ad78ac06e4c67fe3dcf00cf1634f11d6e999f13633591a3347d4e533fff4f131f8deee922e DIST libbtbb-2018-12-R1.tar.gz 310437 BLAKE2B 8fec246e05c47df424840f159d97bbb8c6554b2ce72344b63602cb034eb712bf8ee9f280e7bbb5104dc0b9788818ea14cf53d09af0938b1bc1dcede5463b36ce SHA512 5c41bb4f0fdeedc1064de973daa4d396f73ff10b6e28266a43f029cbfa8a7f2db5e3b764410efb50ef79c56ba1fac0d242bb547c0a883d0dc3c06cc9e993332c +DIST libbtbb-2020-12-R1.tar.gz 308434 BLAKE2B 0f802f3c5eef0c434d0468a72104cf63e6bf5f29467e1606d2892751cd8b4824639e3847c0b8305ace926667434e668d75b6d4544e8e026b07872bafbb09c90b SHA512 a3dc2c8d27e4b85aae4847ac39f871ecf800ebf911aacd01682da6c50b13f3247c7d683bce855f2cf59b56a29c661223a2c22e98a8d86e8edaccd57af282bac6 diff --git a/net-libs/libbtbb/libbtbb-2020.12.1.ebuild b/net-libs/libbtbb/libbtbb-2020.12.1.ebuild new file mode 100644 index 000000000000..3c3008ed36cf --- /dev/null +++ b/net-libs/libbtbb/libbtbb-2020.12.1.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib cmake-utils + +DESCRIPTION="A library to decode Bluetooth baseband packets" +HOMEPAGE="https://sourceforge.net/projects/libbtbb/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/greatscottgadgets/libbtbb.git" + inherit git-r3 +else + MY_PV=${PV/\./-} + MY_PV=${MY_PV/./-R} + S=${WORKDIR}/${PN}-${MY_PV} + SRC_URI="https://github.com/greatscottgadgets/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="static-libs wireshark-plugins" + +RDEPEND=" + wireshark-plugins? ( + >=net-analyzer/wireshark-1.8.3-r1:= + ) +" +DEPEND="${RDEPEND} + wireshark-plugins? ( dev-libs/glib + virtual/pkgconfig )" + +get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; } + +which_plugins() { + if has_version '>=net-analyzer/wireshark-2.2.0'; then + plugins="" + elif has_version '>=net-analyzer/wireshark-1.12.0'; then + plugins="btbb btbredr" + elif has_version '<net-analyzer/wireshark-1.12.0'; then + plugins="btbb btle btsm" + fi +} + +src_prepare() { + CMAKE_USE_DIR="${S}" + BUILD_DIR="${S}"_build + cmake-utils_src_prepare + + if use wireshark-plugins; then + which_plugins + for i in ${plugins} + do + sed -i 's#column_info#packet#' wireshark/plugins/${i}/cmake/FindWireshark.cmake || die + if has_version '>=net-analyzer/wireshark-2.0'; then + CMAKE_USE_DIR="${S}"/wireshark/plugins/${i} + else + CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i} + fi + BUILD_DIR="${WORKDIR}"/${i}_build + cmake-utils_src_prepare + done + fi +} + +src_configure() { + CMAKE_USE_DIR="${S}" + BUILD_DIR="${S}"_build + local mycmakeargs=( + -DENABLE_PYTHON=OFF + -DBUILD_STATIC_LIB=$(usex static-libs) + -DBUILD_ROOT="${ED}" + ) + cmake-utils_src_configure + + if use wireshark-plugins; then + for i in ${plugins} + do + if has_version '>=net-analyzer/wireshark-2.0'; then + CMAKE_USE_DIR="${S}"/wireshark/plugins/${i} + else + CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i} + fi + BUILD_DIR="${WORKDIR}"/${i}_build + local mycmakeargs=( + -DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)" + ) + cmake-utils_src_configure + done + fi +} + +src_compile() { + CMAKE_USE_DIR="${S}" + BUILD_DIR="${S}"_build + cmake-utils_src_compile + + if use wireshark-plugins; then + for i in ${plugins} + do + if has_version '>=net-analyzer/wireshark-2.0'; then + CMAKE_USE_DIR="${S}"/wireshark/plugins/${i} + else + CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i} + fi + BUILD_DIR="${WORKDIR}"/${i}_build + cmake-utils_src_compile + done + fi +} + +src_test() { + CMAKE_USE_DIR="${S}" + BUILD_DIR="${S}"_build + cmake-utils_src_test + + if use wireshark-plugins; then + for i in ${plugins} + do + if has_version '>=net-analyzer/wireshark-2.0'; then + CMAKE_USE_DIR="${S}"/wireshark/plugins/${i} + else + CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i} + fi + BUILD_DIR="${WORKDIR}"/${i}_build + cmake-utils_src_test + done + fi +} + +src_install() { + CMAKE_USE_DIR="${S}" + BUILD_DIR="${S}"_build + cmake-utils_src_install + + if use wireshark-plugins; then + for i in ${plugins} + do + if has_version '>=net-analyzer/wireshark-2.0'; then + CMAKE_USE_DIR="${S}"/wireshark/plugins/${i} + else + CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i} + fi + BUILD_DIR="${WORKDIR}"/${i}_build + cmake-utils_src_install + done + fi +} diff --git a/net-libs/libcork/libcork-0.15.0-r1.ebuild b/net-libs/libcork/libcork-0.15.0-r1.ebuild index 24782aabf811..4ca5bbd356f8 100644 --- a/net-libs/libcork/libcork-0.15.0-r1.ebuild +++ b/net-libs/libcork/libcork-0.15.0-r1.ebuild @@ -29,6 +29,7 @@ src_prepare() { fi sed -i -e "/DESTINATION/s/\${PROJECT_NAME}/\${PROJECT_NAME}-${PVR}/g" \ docs/old/CMakeLists.txt || die + sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die cmake-utils_src_prepare } 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 93acbfa1f31b..c811d6770717 100644 --- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild +++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -32,6 +32,7 @@ src_prepare() { */*/*/*.c \ */*/*/*.c.in \ */*/*.c */*.c || die + sed -i -e "s/-Werror/-Wextra/" CMakeLists.txt || die mv include/{,libcork}ipset || die diff --git a/net-libs/libdom/libdom-0.3.3-r2.ebuild b/net-libs/libdom/libdom-0.3.3-r2.ebuild index aa345631b2e0..c582c5debf96 100644 --- a/net-libs/libdom/libdom-0.3.3-r2.ebuild +++ b/net-libs/libdom/libdom-0.3.3-r2.ebuild @@ -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 ~ppc ~ppc64 ~m68k-mint" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" IUSE="expat test xml" RESTRICT="!test? ( test )" diff --git a/net-libs/libdom/libdom-0.4.0-r1.ebuild b/net-libs/libdom/libdom-0.4.0-r1.ebuild index e23c825ddd8e..a627d8fdb711 100644 --- a/net-libs/libdom/libdom-0.4.0-r1.ebuild +++ b/net-libs/libdom/libdom-0.4.0-r1.ebuild @@ -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 ~ppc ~ppc64 ~m68k-mint" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" IUSE="expat test xml" RESTRICT="!test? ( test )" diff --git a/net-libs/libdom/libdom-0.4.1-r1.ebuild b/net-libs/libdom/libdom-0.4.1-r1.ebuild index e23c825ddd8e..a627d8fdb711 100644 --- a/net-libs/libdom/libdom-0.4.1-r1.ebuild +++ b/net-libs/libdom/libdom-0.4.1-r1.ebuild @@ -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 ~ppc ~ppc64 ~m68k-mint" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64" IUSE="expat test xml" RESTRICT="!test? ( test )" diff --git a/net-libs/libecap/libecap-1.0.0.ebuild b/net-libs/libecap/libecap-1.0.0.ebuild index da00ddded23b..659310d03259 100644 --- a/net-libs/libecap/libecap-1.0.0.ebuild +++ b/net-libs/libecap/libecap-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.measurement-factory.com/tmp/ecap/${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 sparc x86" IUSE="static-libs" RDEPEND="!net-libs/libecap:0 diff --git a/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild b/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild index 6e7b980429fb..8272020f0da4 100644 --- a/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild +++ b/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools DESCRIPTION="lib that implements the client side of the SMTP protocol" @@ -10,7 +11,7 @@ SRC_URI="http://brianstafford.info/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1 GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="debug libressl ntlm ssl static-libs threads" RDEPEND=" @@ -19,7 +20,9 @@ RDEPEND=" libressl? ( dev-libs/libressl:0= ) )" DEPEND="${RDEPEND}" + DOCS=( AUTHORS ChangeLog NEWS Notes README TODO ) + PATCHES=( "${FILESDIR}/${P}-openssl-1.1-api-compatibility.patch" ) @@ -31,8 +34,8 @@ src_prepare() { src_configure() { econf \ - $(use_enable static-libs static) \ --enable-all \ + $(use_enable static-libs static) \ $(use_enable ntlm) \ $(use_enable threads pthreads) \ $(use_enable debug) \ @@ -41,6 +44,7 @@ src_configure() { src_install() { default - insinto /usr/share/doc/${PF}/xml - doins doc/api.xml + + docinto xml + dodoc doc/api.xml } diff --git a/net-libs/libesmtp/libesmtp-9999.ebuild b/net-libs/libesmtp/libesmtp-9999.ebuild index 4f34d1424a76..20a4ae8e7534 100644 --- a/net-libs/libesmtp/libesmtp-9999.ebuild +++ b/net-libs/libesmtp/libesmtp-9999.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit meson DESCRIPTION="lib that implements the client side of the SMTP protocol" @@ -11,8 +12,9 @@ if [[ "${PV}" == *9999 ]] ; then EGIT_REPO_URI="https://github.com/libesmtp/libESMTP.git" else SRC_URI="https://github.com/libesmtp/libESMTP/archive/v${PV/_}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" fi + LICENSE="LGPL-2.1 GPL-2" SLOT="0" IUSE="libressl ssl static-libs threads" diff --git a/net-libs/libesmtp/metadata.xml b/net-libs/libesmtp/metadata.xml index d156dac74b3e..2004b7caa8dd 100644 --- a/net-libs/libesmtp/metadata.xml +++ b/net-libs/libesmtp/metadata.xml @@ -1,9 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> -<use> - <flag name="ntlm">Enable support for NTLM authentication</flag> -</use> + <!-- maintainer-needed --> + <use> + <flag name="ntlm">Enable support for NTLM authentication</flag> + </use> + <upstream> + <remote-id type="github">libesmtp/libESMTP</remote-id> + </upstream> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/net-libs/libetpan/libetpan-1.9.4-r1.ebuild b/net-libs/libetpan/libetpan-1.9.4-r1.ebuild index ba55a0aca917..1f1a8cfbf265 100644 --- a/net-libs/libetpan/libetpan-1.9.4-r1.ebuild +++ b/net-libs/libetpan/libetpan-1.9.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="https://github.com/dinhviethoa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="berkdb gnutls ipv6 liblockfile libressl lmdb sasl ssl static-libs" # BerkDB is only supported up to version 6.0 diff --git a/net-libs/libgrss/libgrss-0.7.0.ebuild b/net-libs/libgrss/libgrss-0.7.0.ebuild index 379a157032d7..5cd89dff71d1 100644 --- a/net-libs/libgrss/libgrss-0.7.0.ebuild +++ b/net-libs/libgrss/libgrss-0.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" diff --git a/net-libs/libgsasl/Manifest b/net-libs/libgsasl/Manifest index 8398d6f53955..a58a5d0e9203 100644 --- a/net-libs/libgsasl/Manifest +++ b/net-libs/libgsasl/Manifest @@ -1,2 +1,3 @@ +DIST libgsasl-1.10.0.tar.gz 1854755 BLAKE2B 691c143ece57b0b895f17ff3bfce8e216adb2ffcc7f6058501626b7b2e83d9eb0a85a036b6c7978b10eefbc94aab7b191e056341732d155597be5037e527b0e0 SHA512 33a8ea43be90a00fcda1b099ced8086b2ef9f72ee0dbce07bca04c944fa2d17588b6e5a32b7ab4ffeaf7ee695f9c84d3eb89c757c71934300d35580e423196dd DIST libgsasl-1.8.0.tar.gz 1208417 BLAKE2B 03eea4be45ccc28bbc5c98b5f266552e6f5da151dfc561b1f01dac107a6edf0f06a3000e868c07d5539df33334d3c965c6c276de30c75038e25165aa7e2db2e8 SHA512 7e591d12404919559bf67590f862270ffcae2030a14097cdaf92820aa79619b3048541e9f83b3fcb98a84622c44a52ecaceeebb1be55b9e9f68fb1790ade8721 DIST libgsasl-1.8.1.tar.gz 1791261 BLAKE2B bd8b954f9d950fe449fe140baca840a14f12ef6318e74a6fd070b35504b8c3a7002f13fe93142bce992e4a1df773ebaad4ec01d04c01c63a7374187a8142136b SHA512 52bda3a962a2cbb598009fd02c547a4f8b5b9a4243511aa8104df97b4737023281ab57dbbcf839db3cad73c64cbc72bbd89b49da8b0379dd635220ffb642aa22 diff --git a/net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch b/net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch new file mode 100644 index 000000000000..a2a558db5a64 --- /dev/null +++ b/net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch @@ -0,0 +1,36 @@ +--- a/m4/std-gnu11.m4 ++++ b/m4/std-gnu11.m4 +@@ -6,6 +6,8 @@ + # This implementation will be obsolete once we can assume Autoconf 2.70 + # or later is installed everywhere a Gnulib program might be developed. + ++m4_version_prereq([2.70], [], [ ++ + + # Copyright (C) 2001-2020 Free Software Foundation, Inc. + +@@ -70,7 +72,7 @@ _AS_ECHO_LOG([checking for _AC_LANG compiler version]) + set X $ac_compile + ac_compiler=$[2] + for ac_option in --version -v -V -qversion -version; do +- m4_ifdef([_AC_DO_LIMIT],[_AC_DO_LIMIT],[_AC_DO])([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) ++ _AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) + done + + m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl +@@ -135,7 +137,7 @@ _AS_ECHO_LOG([checking for _AC_LANG compiler version]) + set X $ac_compile + ac_compiler=$[2] + for ac_option in --version -v -V -qversion; do +- m4_ifdef([_AC_DO_LIMIT],[_AC_DO_LIMIT],[_AC_DO])([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) ++ _AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) + done + + m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl +@@ -822,3 +824,6 @@ dnl Tru64 N/A (no support) + dnl with extended modes being tried first. + [[-std=gnu++11 -std=c++11 -std=gnu++0x -std=c++0x -qlanglvl=extended0x -AA]], [$1], [$2])[]dnl + ])# _AC_PROG_CXX_CXX11 ++ ++ ++])# m4_version_prereq diff --git a/net-libs/libgsasl/libgsasl-1.10.0.ebuild b/net-libs/libgsasl/libgsasl-1.10.0.ebuild new file mode 100644 index 000000000000..8be209781dbc --- /dev/null +++ b/net-libs/libgsasl/libgsasl-1.10.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="The GNU SASL library" +HOMEPAGE="https://www.gnu.org/software/gsasl/" +SRC_URI="mirror://gnu/${PN/lib}/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="idn gcrypt kerberos nls ntlm static-libs" + +DEPEND=" + gcrypt? ( dev-libs/libgcrypt:0= ) + idn? ( net-dns/libidn:= ) + kerberos? ( virtual/krb5 ) + nls? ( >=sys-devel/gettext-0.18.1 ) + ntlm? ( net-libs/libntlm ) +" +RDEPEND="${DEPEND} + !net-misc/gsasl" + +PATCHES=( + #"${FILESDIR}"/${PN}-1.8.1-gss-extra.patch +) + +src_prepare() { + default + + sed -i -e 's/ -Werror//' configure.ac || die + eautoreconf +} + +src_configure() { + local krb5_impl + if use kerberos; then + krb5_impl="--with-gssapi-impl=" + # These are the two providers of virtual/krb5 + if has_version app-crypt/mit-krb5; then + krb5_impl+="mit" + else + krb5_impl+="heimdal" + fi + fi + + local myeconfargs=( + $(use_with gcrypt libgcrypt) + $(use_with idn stringprep) + $(use_enable kerberos gssapi) + ${krb5_impl} + $(use_enable nls) + $(use_enable ntlm) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs; then + rm -f "${ED}"/usr/lib*/lib*.la || die + fi +} diff --git a/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild b/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild index 7550115ea3ff..a1b730b55ff4 100644 --- a/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild +++ b/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN/lib}/${P}.tar.gz" LICENSE="GPL-3 LGPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="idn gcrypt kerberos nls ntlm static-libs" DEPEND=" diff --git a/net-libs/libgsasl/libgsasl-1.8.1.ebuild b/net-libs/libgsasl/libgsasl-1.8.1.ebuild index c23abb24fb4a..06a3058dc239 100644 --- a/net-libs/libgsasl/libgsasl-1.8.1.ebuild +++ b/net-libs/libgsasl/libgsasl-1.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN/lib}/${P}.tar.gz" LICENSE="GPL-3 LGPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="idn gcrypt kerberos nls ntlm static-libs" DEPEND=" @@ -25,7 +25,8 @@ RDEPEND="${DEPEND} !net-misc/gsasl" PATCHES=( - "${FILESDIR}/${PN}-1.8.1-gss-extra.patch" + "${FILESDIR}"/${PN}-1.8.1-gss-extra.patch + "${FILESDIR}"/${PN}-1.8.1-ac-270.patch ) src_prepare() { diff --git a/net-libs/libgssglue/libgssglue-0.4-r1.ebuild b/net-libs/libgssglue/libgssglue-0.4-r1.ebuild index 86dff3d05384..a883049b709b 100644 --- a/net-libs/libgssglue/libgssglue-0.4-r1.ebuild +++ b/net-libs/libgssglue/libgssglue-0.4-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/${PN}/${P}.tar.gz" LICENSE="BSD" 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="" RDEPEND="!app-crypt/libgssapi" diff --git a/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild b/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild index 37c534bcee47..7beafd98de26 100644 --- a/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild +++ b/net-libs/libhubbub/libhubbub-0.3.6-r2.ebuild @@ -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 ~m68k-mint" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="doc test" BDEPEND=" diff --git a/net-libs/libhubbub/libhubbub-0.3.6.ebuild b/net-libs/libhubbub/libhubbub-0.3.6.ebuild index 65061d064f25..d11754cb384d 100644 --- a/net-libs/libhubbub/libhubbub-0.3.6.ebuild +++ b/net-libs/libhubbub/libhubbub-0.3.6.ebuild @@ -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 ~m68k-mint" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86" IUSE="doc test" BDEPEND=" diff --git a/net-libs/libhubbub/libhubbub-0.3.7.ebuild b/net-libs/libhubbub/libhubbub-0.3.7.ebuild index 37c534bcee47..7beafd98de26 100644 --- a/net-libs/libhubbub/libhubbub-0.3.7.ebuild +++ b/net-libs/libhubbub/libhubbub-0.3.7.ebuild @@ -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 ~m68k-mint" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="doc test" BDEPEND=" diff --git a/net-libs/libiscsi/files/libiscsi-1.18.0-fno-common.patch b/net-libs/libiscsi/files/libiscsi-1.18.0-fno-common.patch new file mode 100644 index 000000000000..e5ce2f7bd493 --- /dev/null +++ b/net-libs/libiscsi/files/libiscsi-1.18.0-fno-common.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/708526 +Taken from: https://github.com/sahlberg/libiscsi/pull/307 +Author: wanghonghao <wanghonghao@bytedance.com> +--- a/include/iser-private.h ++++ b/include/iser-private.h +@@ -159,7 +159,7 @@ struct iser_tx_desc { + struct iser_cm_hdr { + uint8_t flags; + uint8_t rsvd[3]; +-} __packed; ++}; + + struct iser_pdu { + struct iscsi_pdu iscsi_pdu; diff --git a/net-libs/libiscsi/libiscsi-1.18.0.ebuild b/net-libs/libiscsi/libiscsi-1.18.0.ebuild index 652b0b2953a8..d5f2c942c2dc 100644 --- a/net-libs/libiscsi/libiscsi-1.18.0.ebuild +++ b/net-libs/libiscsi/libiscsi-1.18.0.ebuild @@ -1,22 +1,29 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +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" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86" +fi + DESCRIPTION="iscsi client library and utilities" HOMEPAGE="https://github.com/sahlberg/libiscsi" -SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="GPL-2 LGPL-2" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86" -IUSE="static-libs" RDEPEND="dev-libs/libgcrypt:0=" DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) + src_prepare() { default eautoreconf @@ -25,11 +32,11 @@ src_prepare() { src_configure() { econf \ --enable-manpages \ - --disable-werror \ - $(use_enable static-libs static) + --disable-static \ + --disable-werror } src_install() { default - find "${D}" -name '*.la' -delete || die + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libiscsi/libiscsi-9999.ebuild b/net-libs/libiscsi/libiscsi-9999.ebuild index 6defe3546295..9d1977923e12 100644 --- a/net-libs/libiscsi/libiscsi-9999.ebuild +++ b/net-libs/libiscsi/libiscsi-9999.ebuild @@ -1,19 +1,23 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit autotools git-r3 +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" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86" +fi DESCRIPTION="iscsi client library and utilities" HOMEPAGE="https://github.com/sahlberg/libiscsi" -SRC_URI="" -EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git" SLOT="0" LICENSE="GPL-2 LGPL-2" -KEYWORDS="" -IUSE="static-libs" RDEPEND="dev-libs/libgcrypt:0=" DEPEND="${RDEPEND}" @@ -26,11 +30,11 @@ src_prepare() { src_configure() { econf \ --enable-manpages \ - --disable-werror \ - $(use_enable static-libs static) + --disable-static \ + --disable-werror } src_install() { default - find "${D}" -name '*.la' -delete || die + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libisds/Manifest b/net-libs/libisds/Manifest index 8f3aa379ee10..12b9bb9ee5b0 100644 --- a/net-libs/libisds/Manifest +++ b/net-libs/libisds/Manifest @@ -1,4 +1,2 @@ -DIST libisds-0.10.6.tar.xz 724120 BLAKE2B b6d3f42d4ff84c377c9425dfd84a14ae97ccc39ea4bb96169e3a8de21b99dd6e5ceda39a6d4a574ccb418561dbec2507f72afc8b6f185c34ff92202abcc49441 SHA512 602c4e7f047dedff131cda941d02ea41fca7b8ea80eb668ab8f7ab2626a013ddc1a86f1e2c7b5759adf266c7c22c515284e6d4fdd9fd594ad310bed1be6016f4 -DIST libisds-0.10.7.tar.xz 724840 BLAKE2B 73d93b518271cbd08787a38da454ceb8fa6c2d421b0291c61cded8f1438d44c5607d1e90d75714c3d76e0886ac723e38dc2a41d60284a58d567abdcba76becd4 SHA512 ba2ef11c2983cb3bc8f779e7af3fb8319d38a786911e68c6b53c25aff339b4630bdf78886825ea3da671e87f689cab376cd9e41398f3f74608af932abe7a0023 DIST libisds-0.10.8.tar.xz 726040 BLAKE2B e3509202cb95e6e2bd0a6e7592c3d1d649ecb47806823265e5e12fa3a79a5daff9d249b2f0642d13aaebf1c64243690d06c9387fcb3a166f4b989c19f337c059 SHA512 648ba30c3156ece329d663d0d6e649319d8d104de97ca1946d94c24205c44189be08cb0c573df1f5a889fba487f2d088ac472c3f922a1920e172dda0c592b41e -DIST libisds-0.11.tar.xz 741952 BLAKE2B 553613b7f1d8f5b3af1ecff2734584234f5d461c289c08acaf4353b724102ac87da5e60c2b5ffc2895a6441af2a51e0a381ab9df4494d7543edf356b989df891 SHA512 d30708cc6df92f0da9c4fac9acea3c1f3d97ae5ed1f17967e41c4887fe90f5b7375508df987b4b98cc5653a099a78c7a678f8fcb6897de863ff2f4538413f7dd +DIST libisds-0.11.1.tar.xz 741992 BLAKE2B e1895450b1148c63a365a569fcdfa0d3cf3f2cdd011da6dbe92ea876aa1a9082470f3c7efc5757766df7e870559dd4ba62b59973e22d47401ef575e0fd412ec1 SHA512 8baf126ebf49c5eae6aa7b8f872ad90882a9a5088c8a33ffb415983eaf1ffc1df489f44ae6ba14a69a94bc4f79f455c7937276885afaa29e61c5c67408f7080a diff --git a/net-libs/libisds/libisds-0.10.6.ebuild b/net-libs/libisds/libisds-0.10.6.ebuild deleted file mode 100644 index 554ebdb45e71..000000000000 --- a/net-libs/libisds/libisds-0.10.6.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Client library for accessing ISDS Soap services" -HOMEPAGE="https://xpisar.wz.cz/libisds/" -SRC_URI="http://xpisar.wz.cz/${PN}/dist/${P}.tar.xz" -KEYWORDS="~amd64 ~mips ~x86" - -LICENSE="LGPL-3" -SLOT="0" -IUSE="+curl debug nls openssl static-libs test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/expat - dev-libs/libxml2 - curl? ( net-misc/curl[ssl] ) - openssl? ( dev-libs/openssl:= ) - !openssl? ( - app-crypt/gpgme - dev-libs/libgcrypt:= - ) -" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( >=net-libs/gnutls-2.12.0 ) -" -RDEPEND="${COMMON_DEPEND} - !openssl? ( >=app-crypt/gnupg-2 ) -" - -DOCS=( NEWS README AUTHORS ChangeLog ) - -src_configure() { - local myeconfargs=( - --disable-fatalwarnings - $(use_with curl libcurl) - $(use_enable curl curlreauthorizationbug) - $(use_enable debug) - $(use_enable nls) - $(use_enable openssl openssl-backend) - $(use_enable static-libs static) - $(use_enable test) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die -} diff --git a/net-libs/libisds/libisds-0.10.7.ebuild b/net-libs/libisds/libisds-0.10.7.ebuild deleted file mode 100644 index 554ebdb45e71..000000000000 --- a/net-libs/libisds/libisds-0.10.7.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Client library for accessing ISDS Soap services" -HOMEPAGE="https://xpisar.wz.cz/libisds/" -SRC_URI="http://xpisar.wz.cz/${PN}/dist/${P}.tar.xz" -KEYWORDS="~amd64 ~mips ~x86" - -LICENSE="LGPL-3" -SLOT="0" -IUSE="+curl debug nls openssl static-libs test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/expat - dev-libs/libxml2 - curl? ( net-misc/curl[ssl] ) - openssl? ( dev-libs/openssl:= ) - !openssl? ( - app-crypt/gpgme - dev-libs/libgcrypt:= - ) -" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( >=net-libs/gnutls-2.12.0 ) -" -RDEPEND="${COMMON_DEPEND} - !openssl? ( >=app-crypt/gnupg-2 ) -" - -DOCS=( NEWS README AUTHORS ChangeLog ) - -src_configure() { - local myeconfargs=( - --disable-fatalwarnings - $(use_with curl libcurl) - $(use_enable curl curlreauthorizationbug) - $(use_enable debug) - $(use_enable nls) - $(use_enable openssl openssl-backend) - $(use_enable static-libs static) - $(use_enable test) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die -} diff --git a/net-libs/libisds/libisds-0.11.ebuild b/net-libs/libisds/libisds-0.11.1.ebuild index 86a906d08a67..df1d8c3f3084 100644 --- a/net-libs/libisds/libisds-0.11.ebuild +++ b/net-libs/libisds/libisds-0.11.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,10 +10,10 @@ KEYWORDS="~amd64 ~mips ~x86" LICENSE="LGPL-3" SLOT="0" -IUSE="+curl debug doc nls openssl static-libs test" +IUSE="+curl debug doc nls openssl test" RESTRICT="!test? ( test )" -COMMON_DEPEND=" +RDEPEND=" dev-libs/expat dev-libs/libxml2 curl? ( net-misc/curl[ssl] ) @@ -23,31 +23,26 @@ COMMON_DEPEND=" ) openssl? ( dev-libs/openssl:= ) !openssl? ( + app-crypt/gnupg app-crypt/gpgme dev-libs/libgcrypt:= - ) -" -DEPEND="${COMMON_DEPEND} + )" +DEPEND="${RDEPEND} + test? ( net-libs/gnutls )" +BDEPEND=" virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( >=net-libs/gnutls-2.12.0 ) -" -RDEPEND="${COMMON_DEPEND} - !openssl? ( >=app-crypt/gnupg-2 ) -" - -DOCS=( NEWS README AUTHORS ChangeLog ) + nls? ( sys-devel/gettext )" src_configure() { local myeconfargs=( --disable-fatalwarnings + --disable-static $(use_with curl libcurl) $(use_enable curl curlreauthorizationbug) $(use_enable doc) $(use_enable debug) $(use_enable nls) $(use_enable openssl openssl-backend) - $(use_enable static-libs static) $(use_enable test) ) econf "${myeconfargs[@]}" @@ -56,5 +51,5 @@ src_configure() { src_install() { default - find "${ED}/" \( -name "*.a" -o -name "*.la" \) -delete || die + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libisds/libisds-9999.ebuild b/net-libs/libisds/libisds-9999.ebuild index 97145549ff96..31451ff531f8 100644 --- a/net-libs/libisds/libisds-9999.ebuild +++ b/net-libs/libisds/libisds-9999.ebuild @@ -1,54 +1,53 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -[[ ${PV} = 9999* ]] && inherit git-r3 autotools +EAPI=7 +inherit autotools git-r3 DESCRIPTION="Client library for accessing ISDS Soap services" HOMEPAGE="https://xpisar.wz.cz/libisds/" -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://repo.or.cz/${PN}.git" -else - SRC_URI="http://xpisar.wz.cz/${PN}/dist/${P}.tar.xz" - KEYWORDS="~amd64 ~mips ~x86" -fi +EGIT_REPO_URI="git://repo.or.cz/${PN}.git" LICENSE="LGPL-3" SLOT="0" -IUSE="+curl debug nls static-libs test" +IUSE="+curl debug doc nls openssl test" RESTRICT="!test? ( test )" -COMMON_DEPEND=" - app-crypt/gpgme +RDEPEND=" dev-libs/expat - dev-libs/libgcrypt:0= dev-libs/libxml2 curl? ( net-misc/curl[ssl] ) -" -DEPEND="${COMMON_DEPEND} + doc? ( + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + ) + openssl? ( dev-libs/openssl:= ) + !openssl? ( + app-crypt/gnupg + app-crypt/gpgme + dev-libs/libgcrypt:= + )" +DEPEND="${RDEPEND} + test? ( net-libs/gnutls )" +BDEPEND=" virtual/pkgconfig - nls? ( sys-devel/gettext ) -" -RDEPEND="${COMMON_DEPEND} - >=app-crypt/gnupg-2 -" - -DOCS=( NEWS README AUTHORS ChangeLog ) + nls? ( sys-devel/gettext )" src_prepare() { default - [[ ${PV} = 9999* ]] && eautoreconf + eautoreconf } src_configure() { local myeconfargs=( --disable-fatalwarnings + --disable-static $(use_with curl libcurl) $(use_enable curl curlreauthorizationbug) + $(use_enable doc) $(use_enable debug) $(use_enable nls) - $(use_enable static-libs static) + $(use_enable openssl openssl-backend) $(use_enable test) ) econf "${myeconfargs[@]}" @@ -57,5 +56,5 @@ src_configure() { src_install() { default - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest index b60fe5b26647..362213b9e19f 100644 --- a/net-libs/libktorrent/Manifest +++ b/net-libs/libktorrent/Manifest @@ -1,2 +1,2 @@ DIST libktorrent-2.2.0.tar.xz 357364 BLAKE2B 66a91fc32dc11a680d22755468513896c9cea1cbaef8664c84633860b78efba85e5c9e47684fdaaf7fb6f03f624268f9158ee2b8c6fc3d14b0e70339c1f6903e SHA512 2edcb3a230f4fa3a55a6b774c819f4964fe8f2f5447b723ba81cdb0c187dc0268b6e78566d710fa364abe2cc40cd618d1874ecb1637e872fbad0ea8c340abc1a -DIST libktorrent-20.12.0.tar.xz 604492 BLAKE2B 0a423d9b289806160109acb44d604af0e475aefc847a4c1ad1ac904fc776058db5eb7beb79ff2e573b9aff010ad57e30adeecd2c0c67afe89ba85aeb12eb215a SHA512 3c782b31ab4ed18660b331bcb0e28b61209cd070354d4dfd0c27152090e6baa1d63ad8faf5ffe41f4ec59d0ede98580317a16ee01a47ddf6d1e773ee61f4fcd0 +DIST libktorrent-20.12.1.tar.xz 604508 BLAKE2B c6ad02dc58b405dcca9d5508389a408a77364c3ce17ebd2c308185456d0df69b6b393c75b5fae7f1aa92ffd0279f9a7d8325de55baae897372fd012d9f505bc9 SHA512 acec75d797e588e35b8ab60413f452395cebcabaf680261e83270e357ef18ff3e951306bf4d1ab60e79be5dcb5de7479df0535b4ff52318bfd451c483dd500c7 diff --git a/net-libs/libktorrent/libktorrent-20.12.0.ebuild b/net-libs/libktorrent/libktorrent-20.12.1.ebuild index 4b4281cdef2d..a67ebf8505af 100644 --- a/net-libs/libktorrent/libktorrent-20.12.0.ebuild +++ b/net-libs/libktorrent/libktorrent-20.12.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/net-libs/libkvkontakte/Manifest b/net-libs/libkvkontakte/Manifest deleted file mode 100644 index e93929728011..000000000000 --- a/net-libs/libkvkontakte/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libkvkontakte-5.0.0.tar.xz 59116 BLAKE2B 18b4b3c0eb7e408a94c1d2d3613b4c2ef3c485490490aaee42a35175c81453961773031030ba3cfdf9c29fec7f73f7670d93d0c9ac1f748b33dc66d497434c19 SHA512 bc7fa3d2d8a815c3a8b2265bf45500c10ac31383883a6a19802c5d01be5c16c1e72a8fe0c2c7cc086c9a7403ce001df0629e546caa872a2ae599e3a2650ef1af diff --git a/net-libs/libkvkontakte/files/libkvkontakte-5.0.0-fix-warnings.patch b/net-libs/libkvkontakte/files/libkvkontakte-5.0.0-fix-warnings.patch deleted file mode 100644 index 36e107001d1b..000000000000 --- a/net-libs/libkvkontakte/files/libkvkontakte-5.0.0-fix-warnings.patch +++ /dev/null @@ -1,386 +0,0 @@ -From ba1f7e7f7424df2bf96513c14f10d3cff47f48a4 Mon Sep 17 00:00:00 2001 -From: Pino Toscano <pino@kde.org> -Date: Sat, 9 Sep 2017 15:20:05 +0200 -Subject: use Q_DECL_OVERRIDE - ---- - src/albumlistjob.h | 2 +- - src/allmessageslistjob.h | 2 +- - src/allnoteslistjob.h | 2 +- - src/cidsnamesjob.h | 2 +- - src/createalbumjob.h | 2 +- - src/deletealbumjob.h | 2 +- - src/discussionslistjob.h | 2 +- - src/editalbumjob.h | 2 +- - src/friendlistjob.h | 2 +- - src/getapplicationpermissionsjob.h | 2 +- - src/getinfojob.h | 2 +- - src/getphotouploadserverjob.h | 4 ++-- - src/getvariablejob.h | 2 +- - src/grouplistjob.h | 2 +- - src/messageslistjob.h | 2 +- - src/noteaddjob.h | 2 +- - src/notejob.h | 2 +- - src/noteslistjob.h | 2 +- - src/photojob.h | 2 +- - src/photolistjob.h | 2 +- - src/photopostjob.h | 2 +- - src/savephotojob.h | 2 +- - src/uploadphotosjob.h | 2 +- - src/userinfojob.h | 4 ++-- - src/vkontaktejobs.h | 6 +++--- - 25 files changed, 29 insertions(+), 29 deletions(-) - -diff --git a/src/albumlistjob.h b/src/albumlistjob.h -index 0e91af0..70dc29e 100644 ---- a/src/albumlistjob.h -+++ b/src/albumlistjob.h -@@ -38,7 +38,7 @@ public: - QList<AlbumInfo> list() const; - - protected: -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - void handleItem(const QVariant &data); - -diff --git a/src/allmessageslistjob.h b/src/allmessageslistjob.h -index e714526..4bf067c 100644 ---- a/src/allmessageslistjob.h -+++ b/src/allmessageslistjob.h -@@ -44,7 +44,7 @@ public: - int filters = 0, int timeOffset = 0); - ~AllMessagesListJob(); - -- virtual void start(); -+ void start() Q_DECL_OVERRIDE; - - QList<MessageInfoPtr> list() const; - int count() const; -diff --git a/src/allnoteslistjob.h b/src/allnoteslistjob.h -index 1228bb8..661107a 100644 ---- a/src/allnoteslistjob.h -+++ b/src/allnoteslistjob.h -@@ -33,7 +33,7 @@ public: - AllNotesListJob(const QString &accessToken, int uid); - ~AllNotesListJob(); - -- virtual void start(); -+ void start() Q_DECL_OVERRIDE; - - QList<NoteInfoPtr> list() const; - int count() const; -diff --git a/src/cidsnamesjob.h b/src/cidsnamesjob.h -index 9bd142c..c6878a1 100644 ---- a/src/cidsnamesjob.h -+++ b/src/cidsnamesjob.h -@@ -40,7 +40,7 @@ public: - QMap<int, QString> names() const; - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/createalbumjob.h b/src/createalbumjob.h -index 8d7ec17..09c68e9 100644 ---- a/src/createalbumjob.h -+++ b/src/createalbumjob.h -@@ -40,7 +40,7 @@ public: - AlbumInfo album() const; - - protected: -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/deletealbumjob.h b/src/deletealbumjob.h -index ef1f001..84fcfb5 100644 ---- a/src/deletealbumjob.h -+++ b/src/deletealbumjob.h -@@ -33,7 +33,7 @@ public: - DeleteAlbumJob(const QString &accessToken, int aid); - - protected: -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/discussionslistjob.h b/src/discussionslistjob.h -index 79e801a..63cd825 100644 ---- a/src/discussionslistjob.h -+++ b/src/discussionslistjob.h -@@ -46,7 +46,7 @@ public: - int totalCount() const; - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - void handleItem(const QVariant &data); - -diff --git a/src/editalbumjob.h b/src/editalbumjob.h -index d9d76b6..eb52fe4 100644 ---- a/src/editalbumjob.h -+++ b/src/editalbumjob.h -@@ -36,7 +36,7 @@ public: - int comment_privacy = AlbumInfo::PRIVACY_UNKNOWN); - - protected: -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/friendlistjob.h b/src/friendlistjob.h -index 6a7de49..465a109 100644 ---- a/src/friendlistjob.h -+++ b/src/friendlistjob.h -@@ -39,7 +39,7 @@ public: - QList<UserInfoPtr> list() const; - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/getapplicationpermissionsjob.h b/src/getapplicationpermissionsjob.h -index 72b6759..4165a1b 100644 ---- a/src/getapplicationpermissionsjob.h -+++ b/src/getapplicationpermissionsjob.h -@@ -35,7 +35,7 @@ public: - int permissions() const; - - protected: -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/getinfojob.h b/src/getinfojob.h -index 98df0db..19b8f31 100644 ---- a/src/getinfojob.h -+++ b/src/getinfojob.h -@@ -38,7 +38,7 @@ public: - QVariantMap info(); - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/getphotouploadserverjob.h b/src/getphotouploadserverjob.h -index af65921..3a3e9b0 100644 ---- a/src/getphotouploadserverjob.h -+++ b/src/getphotouploadserverjob.h -@@ -41,8 +41,8 @@ public: - - protected: - static QString getMethod(enum UploadPhotosJob::Dest dest); -- virtual void prepareQueryItems(); -- virtual void handleData(const QJsonValue &data); -+ void prepareQueryItems() Q_DECL_OVERRIDE; -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - UploadPhotosJob::Dest m_dest; -diff --git a/src/getvariablejob.h b/src/getvariablejob.h -index f80ceb7..5250c6e 100644 ---- a/src/getvariablejob.h -+++ b/src/getvariablejob.h -@@ -41,7 +41,7 @@ public: - QVariant variable() const; - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/grouplistjob.h b/src/grouplistjob.h -index 29628f3..d41e1dc 100644 ---- a/src/grouplistjob.h -+++ b/src/grouplistjob.h -@@ -42,7 +42,7 @@ public: - - protected: - GroupInfoPtr handleSingleData(const QVariant &data); -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/messageslistjob.h b/src/messageslistjob.h -index 0f67360..091ef60 100644 ---- a/src/messageslistjob.h -+++ b/src/messageslistjob.h -@@ -57,7 +57,7 @@ public: - int out() const; - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - void handleItem(const QVariant &data); - -diff --git a/src/noteaddjob.h b/src/noteaddjob.h -index 84cc63f..6c37efb 100644 ---- a/src/noteaddjob.h -+++ b/src/noteaddjob.h -@@ -41,7 +41,7 @@ public: - int nid() const; - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/notejob.h b/src/notejob.h -index dfeefc2..340eaef 100644 ---- a/src/notejob.h -+++ b/src/notejob.h -@@ -37,7 +37,7 @@ public: - NoteInfoPtr noteInfo(); - - protected: -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/noteslistjob.h b/src/noteslistjob.h -index 3ea51a7..d36e0bf 100644 ---- a/src/noteslistjob.h -+++ b/src/noteslistjob.h -@@ -49,7 +49,7 @@ protected: - * @brief Handles the data returned by the VkontakteGetJob - * @param data A JSON string containing the data. - */ -- virtual void handleData(const QVariant &data); -+ void handleData(const QVariant &data) Q_DECL_OVERRIDE; - - void handleItem(const QVariant &data); - -diff --git a/src/photojob.h b/src/photojob.h -index b8af5b3..b230c29 100644 ---- a/src/photojob.h -+++ b/src/photojob.h -@@ -35,7 +35,7 @@ public: - PhotoJob(const QUrl &urlString); - ~PhotoJob(); - -- virtual void start(); -+ void start() Q_DECL_OVERRIDE; - QImage photo() const; - - private Q_SLOTS: -diff --git a/src/photolistjob.h b/src/photolistjob.h -index 4b38a12..a0c868f 100644 ---- a/src/photolistjob.h -+++ b/src/photolistjob.h -@@ -42,7 +42,7 @@ protected: - * @brief Handles the data returned by VkontakteJob - * @param data JSON value containing an array of photos. - */ -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/photopostjob.h b/src/photopostjob.h -index 712906d..1f7b2ec 100644 ---- a/src/photopostjob.h -+++ b/src/photopostjob.h -@@ -43,7 +43,7 @@ public: - // files.size <= 5 - PhotoPostJob(Vkontakte::UploadPhotosJob::Dest dest, const QUrl &url, const QStringList &files); - -- virtual void start(); -+ void start() Q_DECL_OVERRIDE; - QVariantMap response() const; - - protected: -diff --git a/src/savephotojob.h b/src/savephotojob.h -index af2a795..cd4ab85 100644 ---- a/src/savephotojob.h -+++ b/src/savephotojob.h -@@ -46,7 +46,7 @@ public: - protected: - QString getMethod(Vkontakte::UploadPhotosJob::Dest dest); - void handleItem(const QJsonValue &item); -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - private: - UploadPhotosJob::Dest m_dest; -diff --git a/src/uploadphotosjob.h b/src/uploadphotosjob.h -index 461f62a..d9290c4 100644 ---- a/src/uploadphotosjob.h -+++ b/src/uploadphotosjob.h -@@ -43,7 +43,7 @@ public: - const QStringList &files, bool saveBig, int aid, int gid = -1); - ~UploadPhotosJob(); - -- virtual void start(); -+ void start() Q_DECL_OVERRIDE; - - QList<PhotoInfo> list() const; - -diff --git a/src/userinfojob.h b/src/userinfojob.h -index 85e6b86..5090ab3 100644 ---- a/src/userinfojob.h -+++ b/src/userinfojob.h -@@ -71,12 +71,12 @@ protected: - * @brief Handles the data returned by the VkontakteGetJob - * @param data A JSON string containing the data. - */ -- virtual void handleData(const QJsonValue &data); -+ void handleData(const QJsonValue &data) Q_DECL_OVERRIDE; - - /** - * @brief Prepares m_queryItems by several addQueryItem calls - **/ -- virtual void prepareQueryItems(); -+ void prepareQueryItems() Q_DECL_OVERRIDE; - - private: - class Private; -diff --git a/src/vkontaktejobs.h b/src/vkontaktejobs.h -index 9429da8..af04aa9 100644 ---- a/src/vkontaktejobs.h -+++ b/src/vkontaktejobs.h -@@ -38,7 +38,7 @@ class LIBKVKONTAKTE_EXPORT KJobWithSubjob : public KJob - { - protected: - /** Kill the currentjobs and its subjobs */ -- virtual bool doKill(); -+ bool doKill() Q_DECL_OVERRIDE; - - QPointer<KJob> m_job; /** Pointer to the running job */ - }; -@@ -47,7 +47,7 @@ class LIBKVKONTAKTE_EXPORT KJobWithSubjobs : public KJob - { - protected: - /** Kill the currentjobs and its subjobs */ -- virtual bool doKill(); -+ bool doKill() Q_DECL_OVERRIDE; - - QList<KJob *> m_jobs; /** Pointers to running jobs */ - }; -@@ -68,7 +68,7 @@ public: - * */ - VkontakteJob(const QString &accessToken, const QString &method, bool httpPost = false); - -- virtual void start(); -+ void start() Q_DECL_OVERRIDE; - - enum JobErrorType { AuthenticationProblem = KJob::UserDefinedError + 42 }; - --- -cgit v1.1 diff --git a/net-libs/libkvkontakte/libkvkontakte-5.0.0-r1.ebuild b/net-libs/libkvkontakte/libkvkontakte-5.0.0-r1.ebuild deleted file mode 100644 index 9575a5125215..000000000000 --- a/net-libs/libkvkontakte/libkvkontakte-5.0.0-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_TEST="true" -KFMIN=5.60.0 -QTMIN=5.12.3 -inherit ecm kde.org - -DESCRIPTION="Library for accessing the features of social networking site vkontakte.ru" -HOMEPAGE="https://www.digikam.org/" -SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" - -LICENSE="GPL-2+ || ( LGPL-2.1 LGPL-3 )" -SLOT="5" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -DEPEND=" - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtwebkit-5.212.0_pre20180120:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kdewebkit-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 -" -RDEPEND="${DEPEND}" - -# accessing network -RESTRICT+=" test" - -PATCHES=( "${FILESDIR}/${P}-fix-warnings.patch" ) diff --git a/net-libs/liblockfile/liblockfile-1.16.ebuild b/net-libs/liblockfile/liblockfile-1.16.ebuild index e2b632a0cca3..5d0dad140895 100644 --- a/net-libs/liblockfile/liblockfile-1.16.ebuild +++ b/net-libs/liblockfile/liblockfile-1.16.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/miquels/liblockfile/archive/v${PV}.tar.gz -> ${P}.ta 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 ~x86-macos ~sparc-solaris ~x86-solaris" +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" diff --git a/net-libs/libmbim/Manifest b/net-libs/libmbim/Manifest index ba76b7a36bcf..30ddc790f934 100644 --- a/net-libs/libmbim/Manifest +++ b/net-libs/libmbim/Manifest @@ -1,5 +1,2 @@ -DIST libmbim-1.14.0.tar.xz 401460 BLAKE2B 702bb0bbfeaf48f982986da9f5c57a09534d5fae8e42af2c8735822f832ce9a08473deb4fb20c65597d854aa73311ff317f8c99dd466d1874ed57bae1dbe684b SHA512 a9b1ba59828fd1c8cf39705717c56e3b75f34d6b3b9cd9f8be40fe245c07f4ea4d211727322c8b3c6d92f004c670e2fe6de76a3117e38b1e8de6673cfb6168bd -DIST libmbim-1.14.4.tar.xz 402924 BLAKE2B 0dec5cc540c2d57a5f98d2619c0c478c2b1377fcf446a1d40d5f978ab99a79d83f1fc55831483269fc12225ea08f6f7516310b23ab7e068916b58ff6c352b589 SHA512 0471cf1647aeaa4ee5c304fc3719d4ad9a631752458d71dd7cd24bd17215fada4ee47aa65c05903f24bb2d4e2f637e577ff30cbf8c22b5de5af2107bb05970e3 -DIST libmbim-1.16.0.tar.xz 453532 BLAKE2B 68732c02f7ee56d898895fe61a1aac44b0c1e858d5bd8fbc4a962429d86ffd1e58442f8ab7c74211d312cc8efb549d3dda14f2c13e16d5d12f8b790299d268be SHA512 90dcb4bf0e4d1d8da5f8bdc0d5a788b51775c55289c416e4dde1020dc353604a4ce40d723c500f8fb9099d7e9061b5c83148106dfd167128bae2cbafbda1279c -DIST libmbim-1.16.2.tar.xz 455096 BLAKE2B f29eaea16ab1f627ed7976fb84d6d1234bc58009e140e70e5ef4f3b9d2a37fcbc3a5492ccbf94d83c169cc64d4f7b545ce556704ce3c750bc00da80d5431119d SHA512 6081a5b40b7fc5cd21adf1948c16c57919c452bc2eccdccb561412ecada5aca7ff1fcac79568eb3dda83d49c780b0dab95a0b15bda0c4f2712b735cbe95402be DIST libmbim-1.18.0.tar.xz 474768 BLAKE2B 3dce8e1fa0e57cdf75174d0145006b38213fcd2de9166589f2d3ddd7a17dae3b308ce7a7338d388543c8ba83b6a9d2bf12051cbde1666fc43580314d9906704b SHA512 510af324563a6a4f9a9d656d6724398cf5c5ba07424962d5407dd05867ef36da40e1ee6c8be8040c6a67e764bc059d24282db45ce3d47075fcf4d7416245b28d +DIST libmbim-1.24.4.tar.xz 512524 BLAKE2B 4f91d1fd4d993b3e28f7508f4fbc3d6f4467db1c27307a3c4bd006ad9cdb40800513641fabf37deb673f5926d7a0f0d4806e3bd62a3ad8825227631d35c67d5b SHA512 bb0b82c64213e5b382a807c5c4c36751138c343419dc6abf1605573c91620af1a6de45587eab7341265f950548924fa65fa4bfedba0659b2f9eb80fa23ae88bc diff --git a/net-libs/libmbim/libmbim-1.14.0.ebuild b/net-libs/libmbim/libmbim-1.14.0.ebuild deleted file mode 100644 index ae78f4905e48..000000000000 --- a/net-libs/libmbim/libmbim-1.14.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib - -DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libmbim/" -SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc ppc64 x86" -IUSE="static-libs udev" - -RDEPEND=">=dev-libs/glib-2.32:2 - udev? ( dev-libs/libgudev:= )" -DEPEND="${RDEPEND} - dev-util/glib-utils - dev-util/gtk-doc-am - virtual/pkgconfig" - -src_configure() { - econf \ - --disable-more-warnings \ - --disable-gtk-doc \ - $(use_with udev) \ - $(use_enable static{-libs,}) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libmbim/libmbim-1.16.0.ebuild b/net-libs/libmbim/libmbim-1.16.0.ebuild deleted file mode 100644 index 3205f4a10e4a..000000000000 --- a/net-libs/libmbim/libmbim-1.16.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib - -DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libmbim/" -SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" -IUSE="static-libs udev" - -RDEPEND=">=dev-libs/glib-2.32:2 - udev? ( dev-libs/libgudev:= )" -DEPEND="${RDEPEND} - dev-util/glib-utils - dev-util/gtk-doc-am - virtual/pkgconfig" - -src_configure() { - econf \ - --disable-more-warnings \ - --disable-gtk-doc \ - $(use_with udev) \ - $(use_enable static{-libs,}) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libmbim/libmbim-1.16.2.ebuild b/net-libs/libmbim/libmbim-1.16.2.ebuild deleted file mode 100644 index ceb337e60f12..000000000000 --- a/net-libs/libmbim/libmbim-1.16.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib - -DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libmbim/" -SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 x86" -IUSE="static-libs udev" - -RDEPEND=">=dev-libs/glib-2.32:2 - udev? ( dev-libs/libgudev:= )" -DEPEND="${RDEPEND} - dev-util/glib-utils - dev-util/gtk-doc-am - virtual/pkgconfig" - -src_configure() { - econf \ - --disable-more-warnings \ - --disable-gtk-doc \ - $(use_with udev) \ - $(use_enable static{-libs,}) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libmbim/libmbim-1.14.4.ebuild b/net-libs/libmbim/libmbim-1.24.4.ebuild index 3205f4a10e4a..6aa324455bcc 100644 --- a/net-libs/libmbim/libmbim-1.14.4.ebuild +++ b/net-libs/libmbim/libmbim-1.24.4.ebuild @@ -1,35 +1,37 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 inherit multilib DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libmbim/" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim" SRC_URI="https://www.freedesktop.org/software/libmbim/${P}.tar.xz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" -IUSE="static-libs udev" +IUSE="udev" -RDEPEND=">=dev-libs/glib-2.32:2 +RDEPEND=">=dev-libs/glib-2.48:2 udev? ( dev-libs/libgudev:= )" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/glib-utils dev-util/gtk-doc-am - virtual/pkgconfig" + virtual/pkgconfig +" src_configure() { econf \ - --disable-more-warnings \ + --disable-Werror \ + --disable-static \ --disable-gtk-doc \ - $(use_with udev) \ - $(use_enable static{-libs,}) + $(use_with udev) } src_install() { default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest index e30a5d051b4c..9fc2402c1021 100644 --- a/net-libs/libmicrohttpd/Manifest +++ b/net-libs/libmicrohttpd/Manifest @@ -3,3 +3,4 @@ DIST libmicrohttpd-0.9.68.tar.gz 1884342 BLAKE2B 3f74c48917fa19753a617242fa07b99 DIST libmicrohttpd-0.9.69.tar.gz 1884511 BLAKE2B 6470b52e58d82a7fee17d8545e546cb9d3fa38012bcf3380d238afdf0f1b5391e19df53a89ac977ac9452d23610dc851f5da5972cace8d8f1088e1040d173572 SHA512 1633d2e606f476489e8af549fff88735e3b5641c85d59071edc8b2e1177fe1b6302578b69b8ff6669d3e1954c20cf0fa1ee52b42378362edd26197d8992e469b DIST libmicrohttpd-0.9.70.tar.gz 1886435 BLAKE2B 09ae33c66f151d9ce03b8333b26c32e2c0896d150441f39da632fe1316c66123f343d021d7fc9a974fbbab7e642d253138d071d4ee506477de46bffd3ce4691c SHA512 391293688d5ef51cf8d918294000384cb291f46bf767295af5a97123c06c75573d480a6c4b2486712b53636fe3e5dc1f8827ccf4335ac435ec85c3529733d8f5 DIST libmicrohttpd-0.9.71.tar.gz 1894695 BLAKE2B 46bee477972a1bf791f9edaa7451790e03fccfac9a8b79fd6fb4038fbd2c3c0f268df787894cd21ddba2640fa087537f681dec4765fe03064a3c9f79aa708b26 SHA512 dab92c0979f8016844970ce4e110469e608e2e15b4096cf518350541248f123e40a4c0289ba025302e318e0bf47a957e9a3dcdee6f55936504b6c1c4f02efb86 +DIST libmicrohttpd-0.9.72.tar.gz 1693553 BLAKE2B 24d9284d8cab65d4a5b6b7f3a5b860dfd8cf69b21e44ee05ae2f7561b766a72d2dbb7f57849a31c22454e211befa74e058f78814b79e7876b3d14c7252ab5800 SHA512 9695e2fb08785e4b60342226ef3a0af22da4d80f127e7db9ec80ce844f70d0d781b30af207d58d8eb691b85a5fe4691cb9ecf887ca86f5e059a05259ae041316 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.70.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.70.ebuild index 4268ba30d811..e131da4973db 100644 --- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.70.ebuild +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.70.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0/12" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="+epoll ssl static-libs test" RESTRICT="!test? ( test )" diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.72.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.72.ebuild new file mode 100644 index 000000000000..b8e3599fc5f8 --- /dev/null +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.72.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit multilib-minimal + +MY_P="${P/_/}" + +DESCRIPTION="Small C library to run an HTTP server as part of another application" +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/12" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+epoll ssl static-libs test thread-names" +RESTRICT="!test? ( test )" + +RDEPEND="ssl? ( >net-libs/gnutls-2.12.20 )" + +DEPEND="${RDEPEND} + test? ( net-misc/curl[ssl?] ) + virtual/pkgconfig + " + +S=${WORKDIR}/${MY_P} + +DOCS="AUTHORS NEWS README ChangeLog" + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + --disable-nls \ + --enable-bauth \ + --enable-dauth \ + --disable-examples \ + --enable-messages \ + --enable-postprocessor \ + --enable-httpupgrade \ + --disable-experimental \ + $(use_enable thread-names) \ + $(use_enable epoll) \ + $(use_enable test curl) \ + $(use_enable ssl https) \ + $(use_with ssl gnutls) +} + +multilib_src_install_all() { + default + + use static-libs || find "${ED}" -name '*.la' -delete +} diff --git a/net-libs/libmicrohttpd/metadata.xml b/net-libs/libmicrohttpd/metadata.xml index 1896a45d53fc..c63641cbad90 100644 --- a/net-libs/libmicrohttpd/metadata.xml +++ b/net-libs/libmicrohttpd/metadata.xml @@ -5,9 +5,14 @@ <email>blueness@gentoo.org</email> <name>Anthony G. Basile</name> </maintainer> + <maintainer type="person"> + <email>k2k@narod.ru</email> + <name>Evgeny Grin</name> + </maintainer> <use> <flag name="messages">enable error messages</flag> - <flag name="epoll">use epoll() system call</flag> + <flag name="epoll">Use epoll() system call</flag> + <flag name="thread-names">Assign thread names to internal threads</flag> </use> <upstream> <remote-id type="cpe">cpe:/a:gnu:libmicrohttpd</remote-id> diff --git a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild index 85cfa4db0e48..4bf6ffdf05b4 100644 --- a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild +++ b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux" IUSE="examples static-libs" src_configure() { diff --git a/net-libs/libmnl/libmnl-1.0.4.ebuild b/net-libs/libmnl/libmnl-1.0.4.ebuild index 21669afa725a..cf35872a9050 100644 --- a/net-libs/libmnl/libmnl-1.0.4.ebuild +++ b/net-libs/libmnl/libmnl-1.0.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux" IUSE="examples static-libs" src_configure() { diff --git a/net-libs/libmrss/libmrss-0.19.2-r1.ebuild b/net-libs/libmrss/libmrss-0.19.2-r1.ebuild index 11b589a29931..c36887130680 100644 --- a/net-libs/libmrss/libmrss-0.19.2-r1.ebuild +++ b/net-libs/libmrss/libmrss-0.19.2-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.autistici.org/bakunin/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +KEYWORDS="amd64 ~arm ~mips ppc x86" IUSE="doc examples" RDEPEND=" diff --git a/net-libs/libmrss/libmrss-0.19.2.ebuild b/net-libs/libmrss/libmrss-0.19.2.ebuild deleted file mode 100644 index 4676489f4776..000000000000 --- a/net-libs/libmrss/libmrss-0.19.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams" -HOMEPAGE="https://www.autistici.org/bakunin/libmrss/doc/" -SRC_URI="https://www.autistici.org/bakunin/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~mips ppc x86" -IUSE="doc examples" - -RDEPEND=" - net-libs/libnxml - net-misc/curl" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -# TODO: php-bindings - -src_configure() { - econf --disable-static -} - -src_compile() { - default - - if use doc; then - ebegin "Creating documentation" - doxygen doxy.conf || die "generating docs failed" - # clean out doxygen gunk - rm doc/html/*.{md5,map} || die - HTML_DOCS=( doc/html/. ) - eend 0 - fi -} - -src_install() { - default - - if use examples; then - docinto test - dodoc test/*.c - fi - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 07bcdd32131d..4e66d86498bc 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index cf904dd58999..5366c66e0730 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="static-libs" DOCS=( 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 846b7d7c3a65..9f94207d6a7e 100644 --- a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild +++ b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.3.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux" IUSE="examples" RDEPEND=" diff --git a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild index ae46400e1ebc..88e9f74dcc26 100644 --- a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild +++ b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.6.ebuild @@ -10,7 +10,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 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 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.7.ebuild index fce41470c42f..73da27792f89 100644 --- a/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.7.ebuild +++ b/net-libs/libnetfilter_conntrack/libnetfilter_conntrack-1.0.7.ebuild @@ -10,7 +10,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_cthelper/libnetfilter_cthelper-1.0.0.ebuild b/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0.ebuild index c86870bcbd28..eeae2bfe3377 100644 --- a/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0.ebuild +++ b/net-libs/libnetfilter_cthelper/libnetfilter_cthelper-1.0.0.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm hppa x86" +KEYWORDS="~alpha amd64 ~arm ~hppa x86" IUSE="static-libs" RDEPEND="net-libs/libmnl" diff --git a/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0.ebuild b/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0.ebuild index 5e8392aebcfe..5543760e648b 100644 --- a/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0.ebuild +++ b/net-libs/libnetfilter_cttimeout/libnetfilter_cttimeout-1.0.0.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm hppa x86" +KEYWORDS="~alpha amd64 ~arm ~hppa x86" IUSE="static-libs" RDEPEND="net-libs/libmnl" diff --git a/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.3.ebuild b/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.3.ebuild index 2d79ab927382..0d40ed627b8d 100644 --- a/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.3.ebuild +++ b/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.3.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~mips ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86" IUSE="static-libs" RDEPEND=" diff --git a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild index e824c1f11040..84afbe26ffd1 100644 --- a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild +++ b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" 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" PATCHES=( "${DISTDIR}/${PATCH_FN}" ) diff --git a/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild b/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild index 7e1812b2bc1b..bb7f25e05f22 100644 --- a/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild +++ b/net-libs/libnfsidmap/libnfsidmap-0.27.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" IUSE="ldap static-libs" DEPEND="ldap? ( net-nds/openldap )" diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 520c1f8d8d4b..5e1bfb9cfb3f 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -1,6 +1,3 @@ -DIST libnftnl-1.1.3.tar.bz2 366521 BLAKE2B 9a46a46b68fd6d3e0ffc3d28713ee9a70017dd4d05763a49a655f172ae77928d9b54554e7609851f3a18e9465c53f53c1828311162013bc067493e4e02ff3fb8 SHA512 3fb96ea1a8bc9eb00fa2cf79f64cc9613250e8b97de6e90e440c7c44e92789e7c7fd603b7347bb02d9d74af725cf8fde5d2e435c5ffdcb784316c67b83ddf0fe -DIST libnftnl-1.1.4.tar.bz2 368262 BLAKE2B e5f396b582221b9f9a7d3303d65548e3597474b1cedf931728f3105b04a851eeeeff98fd2a49772f29849a9094c2e0cfef7d500050e8f205565e8dfd1ec7a49d SHA512 6fe248b1340decc1ec8ae40dd0ed60b8d4b819c2f36f2399d39e13e92fc5e6f6ec693b736d6c188bff954afb2bf2dbce67d54a9e664b45f43288b2c5c6cc08f6 -DIST libnftnl-1.1.5.tar.bz2 373930 BLAKE2B cfd06084fb7de5dd6120a22faa43ac578f170e5209564579ff26bdf49e2b70b5b3944275861e32fcc7f6f2bb1d9f43bf51157665d0d5faea259e14cf930030c0 SHA512 a0495e1a99ea9efcf3994db48e50943023ff3d8101055887574ff4eb6b0df8600cf7db68a9c91ca02bbbcc1f01099b008649f88321bb956897bcc90eb4167ee7 -DIST libnftnl-1.1.6.tar.bz2 376340 BLAKE2B b5ca243af71462f7c91cae3f368bca7ba19151f5e14bdc459efc136cbf1d6f0234a097337dcee2a2e733a173c72c71496f34222dbd217e79b2a5b614315e6b30 SHA512 3de13cb667060f0942c8dd9e139ee8c7aff1854c544793774a827c01d06e432a4ce05d54846e1062aa620b5e54533da09daa9588467866c82c9119ef4cfbb57d DIST libnftnl-1.1.7.tar.bz2 387829 BLAKE2B e21ca38edbc7c651a061fcd6db80278ba99b4fe0c92c1912039fd0a1cd4b7636c87e17f538eaad8c6b963748c7c77800eaa83ddb80d344865504329984ac9c96 SHA512 80fd09147b1e2c1533cc2c8347d35137ff94f14118d5ba7bf3c1fbd0a226f6443560d5eca03273129e091b3442f820cd24455e72e917a8b7fedc8f3c9b6dc407 DIST libnftnl-1.1.8.tar.bz2 389632 BLAKE2B 5668bc3839abb99b44d2eecfa4fe391d1669b31d5f653f859ef2ae80ed355252bff20bc74773ec68024e0bf9e93c8993765b84e8d562fc2b2b1f7e3f5d3fed91 SHA512 173d8a7b95eb964a9fbe7ffcb46541a6bae976b4d4f2a28fbf9b03bf3e50a29b1ea12faa49926d2d33bc088580a833fc6e15ff59a30bcfe67c91c524f00c778e +DIST libnftnl-1.1.9.tar.bz2 389639 BLAKE2B 230a78cc350910735c622f4996a217490ee2384a0f6809784aa3ba0de484f540ea83d8cb72933c05961103ba20339b3eae3e866135a222b6f96df0ef01ac8066 SHA512 8e2551a902a320769198e0ebce52596501c548e230c3172ba4989e25dcb3dd6c9b97a104af69b93ede4ef298811cff10608758e6f1d274e758d87306c4b50f25 diff --git a/net-libs/libnftnl/files/libnftnl-1.1.5-fix-nft-flowtable-test.patch b/net-libs/libnftnl/files/libnftnl-1.1.5-fix-nft-flowtable-test.patch deleted file mode 100644 index 312ff16eecbf..000000000000 --- a/net-libs/libnftnl/files/libnftnl-1.1.5-fix-nft-flowtable-test.patch +++ /dev/null @@ -1,40 +0,0 @@ -From b2388765e0c4405442faa13845419f6a35d0134c Mon Sep 17 00:00:00 2001 -From: Phil Sutter <phil@nwl.cc> -Date: Mon, 2 Dec 2019 18:29:56 +0100 -Subject: tests: flowtable: Don't check NFTNL_FLOWTABLE_SIZE - -Marshalling code around that attribute has been dropped by commit -d1c4b98c733a5 ("flowtable: remove NFTA_FLOWTABLE_SIZE") so it's value is -lost during the test. - -Assuming that NFTNL_FLOWTABLE_SIZE will receive kernel support at a -later point, leave the test code in place but just comment it out. - -Fixes: d1c4b98c733a5 ("flowtable: remove NFTA_FLOWTABLE_SIZE") -Signed-off-by: Phil Sutter <phil@nwl.cc> -Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> ---- - tests/nft-flowtable-test.c | 2 ++ - 1 file changed, 2 insertions(+) - -(limited to 'tests/nft-flowtable-test.c') - -diff --git a/tests/nft-flowtable-test.c b/tests/nft-flowtable-test.c -index 3edb00d..8ab8d4c 100644 ---- a/tests/nft-flowtable-test.c -+++ b/tests/nft-flowtable-test.c -@@ -33,9 +33,11 @@ static void cmp_nftnl_flowtable(struct nftnl_flowtable *a, struct nftnl_flowtabl - if (nftnl_flowtable_get_u32(a, NFTNL_FLOWTABLE_USE) != - nftnl_flowtable_get_u32(b, NFTNL_FLOWTABLE_USE)) - print_err("Flowtable use mismatches"); -+#if 0 - if (nftnl_flowtable_get_u32(a, NFTNL_FLOWTABLE_SIZE) != - nftnl_flowtable_get_u32(b, NFTNL_FLOWTABLE_SIZE)) - print_err("Flowtable size mismatches"); -+#endif - if (nftnl_flowtable_get_u32(a, NFTNL_FLOWTABLE_FLAGS) != - nftnl_flowtable_get_u32(b, NFTNL_FLOWTABLE_FLAGS)) - print_err("Flowtable flags mismatches"); --- -cgit v1.2.1 - diff --git a/net-libs/libnftnl/libnftnl-1.1.3.ebuild b/net-libs/libnftnl/libnftnl-1.1.3.ebuild deleted file mode 100644 index aa66c6d45c69..000000000000 --- a/net-libs/libnftnl/libnftnl-1.1.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info toolchain-funcs usr-ldscript - -DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" -HOMEPAGE="https://netfilter.org/projects/nftables/" -SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0/11" # libnftnl.so version -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" -IUSE="examples static-libs test" - -RESTRICT="!test? ( test )" - -RDEPEND=">=net-libs/libmnl-1.0.3" -BDEPEND="virtual/pkgconfig" -DEPEND="${RDEPEND}" - -pkg_setup() { - if kernel_is ge 3 13; then - CONFIG_CHECK="~NF_TABLES" - linux-info_pkg_setup - else - eerror "This package requires kernel version 3.13 or newer to work properly." - fi -} - -src_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 - find examples/ -name 'Makefile*' -delete || die "Could not rm examples" - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/net-libs/libnftnl/libnftnl-1.1.4.ebuild b/net-libs/libnftnl/libnftnl-1.1.4.ebuild deleted file mode 100644 index ce7a01b0ab8a..000000000000 --- a/net-libs/libnftnl/libnftnl-1.1.4.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info toolchain-funcs usr-ldscript - -DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" -HOMEPAGE="https://netfilter.org/projects/nftables/" -SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0/11" # libnftnl.so version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="examples static-libs test" - -RESTRICT="!test? ( test )" - -RDEPEND=">=net-libs/libmnl-1.0.3" -BDEPEND="virtual/pkgconfig" -DEPEND="${RDEPEND}" - -pkg_setup() { - if kernel_is ge 3 13; then - CONFIG_CHECK="~NF_TABLES" - linux-info_pkg_setup - else - eerror "This package requires kernel version 3.13 or newer to work properly." - fi -} - -src_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 - find examples/ -name 'Makefile*' -delete || die "Could not rm examples" - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/net-libs/libnftnl/libnftnl-1.1.5.ebuild b/net-libs/libnftnl/libnftnl-1.1.5.ebuild deleted file mode 100644 index 8b55096564bb..000000000000 --- a/net-libs/libnftnl/libnftnl-1.1.5.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info toolchain-funcs usr-ldscript - -DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" -HOMEPAGE="https://netfilter.org/projects/nftables/" -SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0/11" # libnftnl.so version -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="examples static-libs test" - -RESTRICT="!test? ( test )" - -RDEPEND=">=net-libs/libmnl-1.0.3" -BDEPEND="virtual/pkgconfig" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-fix-nft-flowtable-test.patch ) - -pkg_setup() { - if kernel_is ge 3 13; then - CONFIG_CHECK="~NF_TABLES" - linux-info_pkg_setup - else - eerror "This package requires kernel version 3.13 or newer to work properly." - fi -} - -src_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 - find examples/ -name 'Makefile*' -delete || die "Could not rm examples" - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/net-libs/libnftnl/libnftnl-1.1.7.ebuild b/net-libs/libnftnl/libnftnl-1.1.7.ebuild index 935d07ddbb44..0626a8e5c8ff 100644 --- a/net-libs/libnftnl/libnftnl-1.1.7.ebuild +++ b/net-libs/libnftnl/libnftnl-1.1.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0/11" # libnftnl.so version -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" IUSE="examples static-libs test" RESTRICT="!test? ( test )" diff --git a/net-libs/libnftnl/libnftnl-1.1.6.ebuild b/net-libs/libnftnl/libnftnl-1.1.9.ebuild index 06a2c10c99b0..bad28dad954a 100644 --- a/net-libs/libnftnl/libnftnl-1.1.6.ebuild +++ b/net-libs/libnftnl/libnftnl-1.1.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ IUSE="examples static-libs test" RESTRICT="!test? ( test )" -RDEPEND=">=net-libs/libmnl-1.0.3" +RDEPEND=">=net-libs/libmnl-1.0.4" BDEPEND="virtual/pkgconfig" DEPEND="${RDEPEND}" diff --git a/net-libs/libnice/libnice-0.1.13.ebuild b/net-libs/libnice/libnice-0.1.13.ebuild index bca6e1f8abfd..90e98c97427d 100644 --- a/net-libs/libnice/libnice-0.1.13.ebuild +++ b/net-libs/libnice/libnice-0.1.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -10,7 +10,7 @@ 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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+introspection +upnp" RDEPEND=" diff --git a/net-libs/libnice/libnice-0.1.15.ebuild b/net-libs/libnice/libnice-0.1.15.ebuild index 9c8fb774645b..aee3c3ffebd8 100644 --- a/net-libs/libnice/libnice-0.1.15.ebuild +++ b/net-libs/libnice/libnice-0.1.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ 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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+gnutls +introspection libressl +upnp" RDEPEND=" diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest index 240ceb39013b..0936599ce316 100644 --- a/net-libs/libnpupnp/Manifest +++ b/net-libs/libnpupnp/Manifest @@ -1,2 +1 @@ -DIST libnpupnp-4.0.13.tar.gz 537389 BLAKE2B 0085d9ea9cf1786bba8e8abb812b0c1279fc30c70a16cb2bf4cfad405ec1346180171dd39296a30f5747cd55ee06fc314bcb49fdb6537a4dfbcf048fb66fd7f5 SHA512 c0332552ab2ba8aea8e72858601f2415a08a68224f724454d230acddf612b2fdd873daf41aeeeb3e1b4d1694665245087b3c4f96c896d36e2e9c017ea95d13aa DIST libnpupnp-4.0.14.tar.gz 538629 BLAKE2B 3bcd1cf04126aa0d16056865e2f7c90bc479ae4ccea5094b2c44ee687be95fe346494a2d07ab7925963d88e614fff1a451341af7d41c2a16df1208aef728d515 SHA512 b224cadbcd92b8d66118da015db345b3ef5c4858a458ac681d550c1409e62f212d3b2a744a8368fa4149309f29de2edb8cb14c75ebcb14653ee351e0d24cba71 diff --git a/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild b/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild deleted file mode 100644 index a00ee17059e3..000000000000 --- a/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -RDEPEND=" - dev-libs/expat - net-libs/libmicrohttpd - net-misc/curl -" - -src_prepare() { - default - ./autogen.sh || die -} - -src_configure() { - econf \ - --enable-client \ - --enable-debug \ - --enable-device \ - --enable-gena \ - --enable-ipv6 \ - --enable-optssdp \ - --enable-reuseaddr \ - --enable-soap \ - --enable-ssdp \ - --enable-tools \ - --enable-webserver -} diff --git a/net-libs/libnpupnp/libnpupnp-4.0.14-r1.ebuild b/net-libs/libnpupnp/libnpupnp-4.0.14-r1.ebuild index 733dfdc33817..da0ca8884524 100644 --- a/net-libs/libnpupnp/libnpupnp-4.0.14-r1.ebuild +++ b/net-libs/libnpupnp/libnpupnp-4.0.14-r1.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://framagit.org/medoc92/npupnp" SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-libs/expat diff --git a/net-libs/libnpupnp/libnpupnp-4.0.14.ebuild b/net-libs/libnpupnp/libnpupnp-4.0.14.ebuild deleted file mode 100644 index a00ee17059e3..000000000000 --- a/net-libs/libnpupnp/libnpupnp-4.0.14.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -RDEPEND=" - dev-libs/expat - net-libs/libmicrohttpd - net-misc/curl -" - -src_prepare() { - default - ./autogen.sh || die -} - -src_configure() { - econf \ - --enable-client \ - --enable-debug \ - --enable-device \ - --enable-gena \ - --enable-ipv6 \ - --enable-optssdp \ - --enable-reuseaddr \ - --enable-soap \ - --enable-ssdp \ - --enable-tools \ - --enable-webserver -} diff --git a/net-libs/libntlm/libntlm-1.6.ebuild b/net-libs/libntlm/libntlm-1.6.ebuild index bee9fec5c2a3..721be8414535 100644 --- a/net-libs/libntlm/libntlm-1.6.ebuild +++ b/net-libs/libntlm/libntlm-1.6.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://www.nongnu.org/${PN}/releases/${P}.tar.gz" SLOT="0" LICENSE="LGPL-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux" IUSE="static-libs" src_configure() { diff --git a/net-libs/libnxml/libnxml-0.18.3-r1.ebuild b/net-libs/libnxml/libnxml-0.18.3-r1.ebuild index f973f45b72e4..0d411264df2f 100644 --- a/net-libs/libnxml/libnxml-0.18.3-r1.ebuild +++ b/net-libs/libnxml/libnxml-0.18.3-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.autistici.org/bakunin/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~sparc ~x86" +KEYWORDS="amd64 ~arm ~mips ppc ~sparc x86" IUSE="doc examples" RDEPEND="net-misc/curl" diff --git a/net-libs/libnxml/libnxml-0.18.3.ebuild b/net-libs/libnxml/libnxml-0.18.3.ebuild deleted file mode 100644 index c153deafa5a7..000000000000 --- a/net-libs/libnxml/libnxml-0.18.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A C-library for parsing and writing XML 1.0/1.1 files or streams" -HOMEPAGE="https://www.autistici.org/bakunin/libnxml/doc/" -SRC_URI="https://www.autistici.org/bakunin/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~mips ppc ~sparc x86" -IUSE="doc examples" - -RDEPEND="net-misc/curl" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-doc/doxygen )" - -src_configure() { - econf --disable-static -} - -src_compile() { - default - - if use doc; then - ebegin "Creating documentation" - doxygen doxy.conf || die "generating docs failed" - # clean out doxygen gunk - rm doc/html/*.{md5,map} || die - HTML_DOCS=( doc/html/. ) - eend 0 - fi -} - -src_install() { - default - - if use examples; then - docinto test - dodoc test/*.c - fi - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild b/net-libs/liboauth/liboauth-1.0.3-r1.ebuild index 31509213de66..91be07100c22 100644 --- a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild +++ b/net-libs/liboauth/liboauth-1.0.3-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz" LICENSE="|| ( GPL-2 MIT )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" IUSE="bindist curl doc libressl +nss" REQUIRED_USE="bindist? ( nss )" diff --git a/net-libs/libosmocore/Manifest b/net-libs/libosmocore/Manifest index 995316315f4e..4f227d410617 100644 --- a/net-libs/libosmocore/Manifest +++ b/net-libs/libosmocore/Manifest @@ -1,2 +1 @@ DIST libosmocore-0.10.2.tar.bz2 646555 BLAKE2B 62dbabdbb8a397662b618863aade394ef4638dd266e059ef4c6fa54364aba60db29cce1fc6c2692af095f32b3ce186ee5b788598595fe2128f0d04caad9d83d2 SHA512 a42db3467faec9c814efe40ae8cf4a41e610b97cac04c1da30c211f116e1f7907117aaab89aca8af3dcd8aedc2be73c9e1c194b9062d33856de02feddf4bda22 -DIST libosmocore-0.8.0.tar.bz2 439320 BLAKE2B 2614ddb8a1f7a0a72bae888d601264d90836daf2067716f2a264f0632699929db9b0a3d3f353629c08aaaecc84f429d6fa2c36481c8bd27ecb078f4447c937c8 SHA512 4ffd5943807440f80f70e381e477631a592fef41a3485819d94e7ce9523785e20057759aec6cac7abe57ba21b7d48e38164b7272c5bcd89882a3a8e213d89361 diff --git a/net-libs/libosmocore/libosmocore-0.10.2.ebuild b/net-libs/libosmocore/libosmocore-0.10.2.ebuild index 96bf1d43c1b4..156169f9d79a 100644 --- a/net-libs/libosmocore/libosmocore-0.10.2.ebuild +++ b/net-libs/libosmocore/libosmocore-0.10.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects" HOMEPAGE="https://bb.osmocom.org/trac/wiki/libosmocore" @@ -41,6 +41,7 @@ src_prepare() { } src_configure() { + append-flags -fcommon econf \ $(use_enable pcsc-lite pcsc) } diff --git a/net-libs/libosmocore/libosmocore-0.8.0.ebuild b/net-libs/libosmocore/libosmocore-0.8.0.ebuild deleted file mode 100644 index be87043ab24d..000000000000 --- a/net-libs/libosmocore/libosmocore-0.8.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils - -DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects" -HOMEPAGE="https://bb.osmocom.org/trac/wiki/libosmocore" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" - KEYWORDS="" -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="embedded pcsc-lite" - -RDEPEND="embedded? ( sys-libs/talloc ) - pcsc-lite? ( sys-apps/pcsc-lite )" -DEPEND="${RDEPEND} - app-doc/doxygen" - -src_prepare() { - # set correct version in pkgconfig files - sed -i "s/UNKNOWN/${PV}/" git-version-gen || die - - epatch "${FILESDIR}"/${PN}-0.6.0-automake-1.13.patch - eautoreconf -} - -src_configure() { - econf \ - $(use_enable embedded) \ - $(use_enable pcsc-lite pcsc) -} - -src_install() { - default - # install to correct documentation directory - mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die -} diff --git a/net-libs/libosmocore/libosmocore-9999.ebuild b/net-libs/libosmocore/libosmocore-9999.ebuild index 96bf1d43c1b4..156169f9d79a 100644 --- a/net-libs/libosmocore/libosmocore-9999.ebuild +++ b/net-libs/libosmocore/libosmocore-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects" HOMEPAGE="https://bb.osmocom.org/trac/wiki/libosmocore" @@ -41,6 +41,7 @@ src_prepare() { } 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 index dac8fac66fbf..e126c273aeab 100644 --- a/net-libs/libosmocore/metadata.xml +++ b/net-libs/libosmocore/metadata.xml @@ -6,7 +6,6 @@ <name>Radio</name> </maintainer> <use> - <flag name="embedded">Build for embedded use and disable unsupported features</flag> <flag name="pcsc-lite">Enable smartcard support with <pkg>sys-apps/pcsc-lite</pkg></flag> </use> <origin>gentoo-staging</origin> diff --git a/net-libs/libotr/libotr-4.1.1.ebuild b/net-libs/libotr/libotr-4.1.1.ebuild index 0d4492fc6ff4..c4976292c2ca 100644 --- a/net-libs/libotr/libotr-4.1.1.ebuild +++ b/net-libs/libotr/libotr-4.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ 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 ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" RDEPEND=" diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest index e437bfba26e1..1d64f36e6edb 100644 --- a/net-libs/libpcap/Manifest +++ b/net-libs/libpcap/Manifest @@ -1,2 +1,2 @@ -DIST libpcap-1.10.0-bp.tar.gz 911001 BLAKE2B bbcb1f48c5cbe8bfc46003cbf7c691e0b3a2051e319aa3ec761de045ac11bbacafe1a06b52c4cd332eb85e598a0a1ff5403ae7c3a611cc0cdd2eeab859587487 SHA512 c3d6047192ab1521687d856f2a954a38bfd8d42aedb853559a698ed3c24bfe5698efb6f81c0280b696229165c1088a58471e8d62f071343fcb14b1464f65fe3f +DIST libpcap-1.10.0.tar.gz 920263 BLAKE2B 40b9f3562161dbdd30065757ae045bc3b6447a954dd3019e932cdc9c794e0f47e8eb0480144bfd7765122a3efa750caa0c77abbb98ce29ad79a84ceaedcb9e3f SHA512 d77f05aff76aefbd280e5e24eb4a23b6f3b31c9aacff77d556259325273083f185c451b7ad40b57ac63c9114510e8f768fb99907b1ee54fa95b80f21d7d6500f DIST libpcap-1.9.1.tar.gz 849407 BLAKE2B 700d8b3d25c036033c4f9b652cec6a30d4a45aa418c2ec45698018b3d3fe8d0a61f6759f5734e2c7ff9a8f42cce65fbd8b3e1b1efd44776e53674fbc609da59d SHA512 9ab9da20194e0dfb105daa28c8841118118f5a7f68b5e30e31da6c56eec91430c8ee481f1f9d20aec4d33d7ee9e6fb0b5e08a90a8d7e5ace8e6210e29e7eab0f diff --git a/net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch b/net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch deleted file mode 100644 index cd2c9fe61f2f..000000000000 --- a/net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/pcap-config.in -+++ b/pcap-config.in -@@ -59,13 +59,13 @@ - # - if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] - then -- echo "-I$includedir -L$libdir -lpcap $LIBS" -+ echo "-L$libdir -lpcap $LIBS" - elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] - then -- echo "-I$includedir -L$libdir $LIBS" -+ echo "-L$libdir $LIBS" - elif [ "$show_cflags" = 1 ] - then -- echo "-I$includedir" -+ echo "" - elif [ "$show_libs" = 1 ] - then - echo "-L$libdir -lpcap $LIBS" -@@ -80,13 +80,13 @@ - # - if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] - then -- echo "-I$includedir -L$libdir $RPATH -l$PACKAGE_NAME" -+ echo "-L$libdir $RPATH -l$PACKAGE_NAME" - elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] - then -- echo "-I$includedir" -+ echo "" - elif [ "$show_cflags" = 1 ] - then -- echo "-I$includedir" -+ echo "" - elif [ "$show_libs" = 1 ] - then - echo "-L$libdir $RPATH -l$PACKAGE_NAME" diff --git a/net-libs/libpcap/libpcap-1.10.0_pre.ebuild b/net-libs/libpcap/libpcap-1.10.0.ebuild index 3a80522a9f77..b815b83f9788 100644 --- a/net-libs/libpcap/libpcap-1.10.0_pre.ebuild +++ b/net-libs/libpcap/libpcap-1.10.0.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools multilib-minimal DESCRIPTION="A system-independent library for user-level network packet capture" @@ -9,13 +10,12 @@ HOMEPAGE=" https://www.tcpdump.org/ https://github.com/the-tcpdump-group/libpcap " -SRC_URI=" - https://github.com/the-tcpdump-group/${PN}/archive/${P/_pre/-bp}.tar.gz -" +SRC_URI="https://github.com/the-tcpdump-group/${PN}/archive/${P/_pre/-bp}.tar.gz" +S="${WORKDIR}/${PN}-${P/_pre/-bp}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +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" IUSE="bluetooth dbus netlink rdma -remote static-libs usb -yydebug" RDEPEND=" @@ -25,17 +25,13 @@ RDEPEND=" rdma? ( sys-cluster/rdma-core ) usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] ) " -DEPEND=" - ${RDEPEND} -" +DEPEND="${RDEPEND}" BDEPEND=" sys-devel/flex virtual/yacc dbus? ( virtual/pkgconfig ) " -S=${WORKDIR}/${PN}-${P/_pre/-bp} - PATCHES=( "${FILESDIR}"/${PN}-1.9.1-pcap-config.patch "${FILESDIR}"/${PN}-1.10.0-usbmon.patch diff --git a/net-libs/libpcap/libpcap-1.9.1-r3.ebuild b/net-libs/libpcap/libpcap-1.9.1-r3.ebuild index d4e1a7d59bc3..5e862ad5bd47 100644 --- a/net-libs/libpcap/libpcap-1.9.1-r3.ebuild +++ b/net-libs/libpcap/libpcap-1.9.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +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" IUSE="bluetooth dbus netlink rdma -remote static-libs usb -yydebug" RDEPEND=" diff --git a/net-libs/libproxy/Manifest b/net-libs/libproxy/Manifest index d879cde8ceec..42ddcd2569f6 100644 --- a/net-libs/libproxy/Manifest +++ b/net-libs/libproxy/Manifest @@ -1,2 +1,2 @@ -DIST libproxy-0.4.15.tar.gz 93084 BLAKE2B 9aa86403eaf4e1791958013c2739e251c61f11da40e66b3296b33a7f380828895f621175add5efb3cd17222ff016941801c25c2d70c19ef3a6652510268a0b3d SHA512 8f68bd56e44aeb3f553f4657bef82a5d14302780508dafa32454d6f724b724c884ceed6042f8df53a081d26ea0b05598cf35eab44823257c47c5ef8afb36442b DIST libproxy-0.4.16.tar.gz 95534 BLAKE2B 163f4fa359758a2186802683005b7d2bbd68933d2512f2c4a284912b6d07e3aa288613e3b473d1bd8d9fe941033da634490c78367692a489da31184dd4dc3cb8 SHA512 28bca7c86e486d08ddc1699e562dd98366b569ec9a7a965f7d15d265ede508575e6eae43abde1778f46d55c3304d32218d891d01ba6a8c360820412748ed5ca1 +DIST libproxy-0.4.17.tar.gz 95542 BLAKE2B 70b78c90aebb0ea308d105ec6d2c61bb54dea36df2d99db835f29c6ffa91168c15e73e01823b799a37fa89a9cb6fca51013ea057006b608fa2a79f4056a5d3c5 SHA512 589045538a78dc7453335ed61c60adad3352b840b224885d4a58ae284e52224ae3ff2eebd77df57aebbc3ae75d7b6d69a825f24f01c19e75bf0a3345dce53126 diff --git a/net-libs/libproxy/files/libproxy-0.4.15-gcc-11.patch b/net-libs/libproxy/files/libproxy-0.4.15-gcc-11.patch deleted file mode 100644 index 2d40a6c1600d..000000000000 --- a/net-libs/libproxy/files/libproxy-0.4.15-gcc-11.patch +++ /dev/null @@ -1,118 +0,0 @@ -https://bugs.gentoo.org/732700 -https://github.com/libproxy/libproxy/issues/127 - ---- a/libproxy/extension_config.hpp -+++ b/libproxy/extension_config.hpp -@@ -31,7 +31,7 @@ using namespace libmodman; - class DLL_PUBLIC config_extension : public extension<config_extension> { - public: - // Abstract methods -- virtual vector<url> get_config(const url &dst) throw (runtime_error)=0; -+ virtual vector<url> get_config(const url &dst)=0; - - // Virtual methods - virtual string get_ignore(const url &dst); ---- a/libproxy/extension_pacrunner.cpp -+++ b/libproxy/extension_pacrunner.cpp -@@ -30,7 +30,7 @@ pacrunner_extension::~pacrunner_extension() { - if (this->pr) delete this->pr; - } - --pacrunner* pacrunner_extension::get(string pac, const url& pacurl) throw (bad_alloc) { -+pacrunner* pacrunner_extension::get(string pac, const url& pacurl) { - if (this->pr) { - if (this->last == pac) - return this->pr; ---- a/libproxy/extension_pacrunner.hpp -+++ b/libproxy/extension_pacrunner.hpp -@@ -26,7 +26,7 @@ - #define PX_PACRUNNER_MODULE_EZ(name, symb, smod) \ - class name ## _pacrunner_extension : public pacrunner_extension { \ - protected: \ -- virtual pacrunner* create(string pac, const url& pacurl) throw (bad_alloc) { \ -+ virtual pacrunner* create(string pac, const url& pacurl) { \ - return new name ## _pacrunner(pac, pacurl); \ - } \ - }; \ -@@ -41,13 +41,13 @@ class DLL_PUBLIC pacrunner { - public: - pacrunner(string pac, const url& pacurl); - virtual ~pacrunner() {}; -- virtual string run(const url& url) throw (bad_alloc)=0; -+ virtual string run(const url& url)=0; - }; - - class DLL_PUBLIC pacrunner_extension : public extension<pacrunner_extension, true> { - public: - // Virtual methods -- virtual pacrunner* get(string pac, const url& pacurl) throw (bad_alloc); -+ virtual pacrunner* get(string pac, const url& pacurl); - virtual ~pacrunner_extension(); - - // Final methods -@@ -55,7 +55,7 @@ public: - - protected: - // Abstract methods -- virtual pacrunner* create(string pac, const url& pacurl) throw (bad_alloc)=0; -+ virtual pacrunner* create(string pac, const url& pacurl)=0; - - private: - pacrunner* pr; ---- a/libproxy/modules/config_envvar.cpp -+++ b/libproxy/modules/config_envvar.cpp -@@ -24,7 +24,7 @@ using namespace libproxy; - - class envvar_config_extension : public config_extension { - public: -- vector<url> get_config(const url &dst) throw (runtime_error) { -+ vector<url> get_config(const url &dst) { - const char *proxy = NULL; - vector<url> response; - ---- a/libproxy/modules/config_sysconfig.cpp -+++ b/libproxy/modules/config_sysconfig.cpp -@@ -124,7 +124,7 @@ public: - ~sysconfig_config_extension() { - } - -- vector<url> get_config(const url &dst) throw (runtime_error) { -+ vector<url> get_config(const url &dst) { - map<string,string>::const_iterator it = _data.find("PROXY_ENABLED"); - vector<url> response; - ---- a/libproxy/url.cpp -+++ b/libproxy/url.cpp -@@ -115,7 +115,7 @@ string url::encode(const string &data, const string &valid_reserved) { - return encoded.str(); - } - --url::url(const string &url) throw(parse_error) -+url::url(const string &url) - : m_orig(url), m_port(0), m_ips(NULL) { - size_t idx = 0; - size_t hier_part_start, hier_part_end; -@@ -298,7 +298,7 @@ url& url::operator=(const url& url) { - return *this; - } - --url& url::operator=(string strurl) throw (parse_error) { -+url& url::operator=(string strurl) { - url tmp(strurl); - *this = tmp; - return *this; ---- a/libproxy/url.hpp -+++ b/libproxy/url.hpp -@@ -50,10 +50,10 @@ public: - - ~url(); - url(const url& url); -- url(const string& url) throw (parse_error); -+ url(const string& url); - bool operator==(const url& url) const; - url& operator=(const url& url); -- url& operator=(string url) throw (parse_error); -+ url& operator=(string url); - - string get_host() const; - sockaddr const* const* get_ips(bool usedns); diff --git a/net-libs/libproxy/files/libproxy-0.4.15-mozjs-52-1.patch b/net-libs/libproxy/files/libproxy-0.4.15-mozjs-52-1.patch deleted file mode 100644 index c2d0257d437f..000000000000 --- a/net-libs/libproxy/files/libproxy-0.4.15-mozjs-52-1.patch +++ /dev/null @@ -1,101 +0,0 @@ -From f594720280b2e40d81fa6e286a0ef8868687ef7e Mon Sep 17 00:00:00 2001 -From: Pierre Lejeune <superheron@gmail.com> -Date: Sat, 30 Jun 2018 21:10:06 +0200 -Subject: [PATCH] Build with mozjs-52 - -Fixes #71 ---- - libproxy/cmake/modules/pacrunner_mozjs.cmk | 2 +- - libproxy/modules/pacrunner_mozjs.cpp | 19 +++++++------------ - 2 files changed, 8 insertions(+), 13 deletions(-) - -diff --git a/libproxy/cmake/modules/pacrunner_mozjs.cmk b/libproxy/cmake/modules/pacrunner_mozjs.cmk -index c2ae3db..20857fb 100644 ---- a/libproxy/cmake/modules/pacrunner_mozjs.cmk -+++ b/libproxy/cmake/modules/pacrunner_mozjs.cmk -@@ -9,7 +9,7 @@ if(WIN32) - elseif(NOT APPLE) - option(WITH_MOZJS "Search for MOZJS package" ON) - if (WITH_MOZJS) -- pkg_search_module(MOZJS mozjs-38) -+ pkg_search_module(MOZJS mozjs-52 mozjs-60) - if(MOZJS_FOUND) - include_directories(${MOZJS_INCLUDE_DIRS}) - link_directories(${MOZJS_LIBRARY_DIRS}) -diff --git a/libproxy/modules/pacrunner_mozjs.cpp b/libproxy/modules/pacrunner_mozjs.cpp -index a70b2e9..ed07c69 100644 ---- a/libproxy/modules/pacrunner_mozjs.cpp -+++ b/libproxy/modules/pacrunner_mozjs.cpp -@@ -35,6 +35,7 @@ using namespace libproxy; - #pragma GCC diagnostic ignored "-Winvalid-offsetof" - #include <jsapi.h> - #pragma GCC diagnostic error "-Winvalid-offsetof" -+#include <js/Initialization.h> - #include <js/CallArgs.h> - - #include "pacutils.h" -@@ -111,17 +112,14 @@ class mozjs_pacrunner : public pacrunner { - mozjs_pacrunner(string pac, const url& pacurl) throw (bad_alloc) : pacrunner(pac, pacurl) { - - // Set defaults -- this->jsrun = nullptr; - this->jsctx = nullptr; - JS_Init(); - -- // Initialize Javascript runtime environment -- if (!(this->jsrun = JS_NewRuntime(1024 * 1024))) goto error; -- if (!(this->jsctx = JS_NewContext(this->jsrun, 1024 * 1024))) goto error; -+ // Initialize Javascript context -+ if (!(this->jsctx = JS_NewContext(1024 * 1024))) goto error; - { - JS::RootedValue rval(this->jsctx); - JS::CompartmentOptions compart_opts; -- compart_opts.setVersion(JSVERSION_LATEST); - - this->jsglb = new JS::Heap<JSObject*>(JS_NewGlobalObject( - this->jsctx, &cls, -@@ -139,16 +137,15 @@ class mozjs_pacrunner : public pacrunner { - JS::CompileOptions options(this->jsctx); - options.setUTF8(true); - -- JS::Evaluate(this->jsctx, global, options, JAVASCRIPT_ROUTINES, -- strlen(JAVASCRIPT_ROUTINES), &rval); -+ JS::Evaluate(this->jsctx, options, JAVASCRIPT_ROUTINES, -+ strlen(JAVASCRIPT_ROUTINES), JS::MutableHandleValue(&rval)); - - // Add PAC to the environment -- JS::Evaluate(this->jsctx, global, options, pac.c_str(), pac.length(), &rval); -+ JS::Evaluate(this->jsctx, options, pac.c_str(), pac.length(), JS::MutableHandleValue(&rval)); - return; - } - error: - if (this->jsctx) JS_DestroyContext(this->jsctx); -- if (this->jsrun) JS_DestroyRuntime(this->jsrun); - throw bad_alloc(); - } - -@@ -156,7 +153,6 @@ class mozjs_pacrunner : public pacrunner { - if (this->jsac) delete this->jsac; - if (this->jsglb) delete this->jsglb; - if (this->jsctx) JS_DestroyContext(this->jsctx); -- if (this->jsrun) JS_DestroyRuntime(this->jsrun); - JS_ShutDown(); - } - -@@ -178,7 +174,7 @@ class mozjs_pacrunner : public pacrunner { - JS::RootedObject global(this->jsctx,this->jsglb->get()); - bool result = JS_CallFunctionName(this->jsctx, global, "FindProxyForURL", args, &rval); - if (!result) return ""; -- -+ - char * tmpanswer = JS_EncodeString(this->jsctx, rval.toString()); - string answer = string(tmpanswer); - JS_free(this->jsctx, tmpanswer); -@@ -188,7 +184,6 @@ class mozjs_pacrunner : public pacrunner { - } - - private: -- JSRuntime *jsrun; - JSContext *jsctx; - JS::Heap<JSObject*> *jsglb; - JSAutoCompartment *jsac; diff --git a/net-libs/libproxy/files/libproxy-0.4.15-mozjs-52-2.patch b/net-libs/libproxy/files/libproxy-0.4.15-mozjs-52-2.patch deleted file mode 100644 index fc23ef2cf8e5..000000000000 --- a/net-libs/libproxy/files/libproxy-0.4.15-mozjs-52-2.patch +++ /dev/null @@ -1,23 +0,0 @@ -From a9b052c6e30101fb0b702917f245a3e2a2f08366 Mon Sep 17 00:00:00 2001 -From: Laurent Bigonville <bigon@bigon.be> -Date: Tue, 2 Oct 2018 10:22:56 +0200 -Subject: [PATCH] Add call to JS::InitSelfHostedCode() - -This is needed otherwise mozjs crashes ---- - libproxy/modules/pacrunner_mozjs.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/libproxy/modules/pacrunner_mozjs.cpp b/libproxy/modules/pacrunner_mozjs.cpp -index ed07c69..38e7d46 100644 ---- a/libproxy/modules/pacrunner_mozjs.cpp -+++ b/libproxy/modules/pacrunner_mozjs.cpp -@@ -118,6 +118,8 @@ class mozjs_pacrunner : public pacrunner { - // Initialize Javascript context - if (!(this->jsctx = JS_NewContext(1024 * 1024))) goto error; - { -+ if (!JS::InitSelfHostedCode(this->jsctx)) goto error; -+ - JS::RootedValue rval(this->jsctx); - JS::CompartmentOptions compart_opts; - diff --git a/net-libs/libproxy/files/libproxy-0.4.15-python-3.7.patch b/net-libs/libproxy/files/libproxy-0.4.15-python-3.7.patch deleted file mode 100644 index 95e56c2fe25d..000000000000 --- a/net-libs/libproxy/files/libproxy-0.4.15-python-3.7.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 2d6da65598b90480b4a62c4633eda035ea51681f Mon Sep 17 00:00:00 2001 -From: David King <amigadave@amigadave.com> -Date: Wed, 27 Jun 2018 06:36:00 +0100 -Subject: [PATCH] python: support Python 3.7 and 3.8 - -Add 3.7 and 3.8 to the list of accepted Python 3 versions. ---- - cmake/FindPython3Interp.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cmake/FindPython3Interp.cmake b/cmake/FindPython3Interp.cmake -index c6cbe3d..8e5e409 100644 ---- a/cmake/FindPython3Interp.cmake -+++ b/cmake/FindPython3Interp.cmake -@@ -39,7 +39,7 @@ - - unset(_Python3_NAMES) - --set(_Python3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0) -+set(_Python3_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) - - if(Python3Interp_FIND_VERSION) - if(Python3Interp_FIND_VERSION_COUNT GREATER 1) diff --git a/net-libs/libproxy/libproxy-0.4.15-r2.ebuild b/net-libs/libproxy/libproxy-0.4.15-r2.ebuild deleted file mode 100644 index cbec1147443c..000000000000 --- a/net-libs/libproxy/libproxy-0.4.15-r2.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2020 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="gnome kde mono networkmanager spidermonkey test webkit" - -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig -" -DEPEND=" - gnome? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) - mono? ( dev-lang/mono ) - networkmanager? ( sys-apps/dbus:0[${MULTILIB_USEDEP}] ) - spidermonkey? ( >=dev-lang/spidermonkey-52.0.0:= ) - webkit? ( net-libs/webkit-gtk:4 ) -" -RDEPEND="${DEPEND} - kde? ( kde-frameworks/kconfig:5 ) -" -# avoid dependency loop, bug #467696 -PDEPEND="networkmanager? ( net-misc/networkmanager )" - -PATCHES=( - # get-pac-test freezes when run by the ebuild, succeeds when building - # manually; virtualx.eclass doesn't help :( - "${FILESDIR}/${PN}-0.4.10-disable-pac-test.patch" - - # 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}/${P}-avoid-nm-build-dep.patch" - - # backports from git master: - "${FILESDIR}"/${P}-python-3.7.patch # find python-3.7 and 3.8 as well - "${FILESDIR}"/${P}-mozjs-52-{1,2}.patch - "${FILESDIR}"/${P}-gcc-11.patch -) - -multilib_src_configure() { - local mycmakeargs=( - -DCMAKE_C_FLAGS="${CFLAGS}" - -DCMAKE_CXX_FLAGS="${CXXFLAGS}" - -DWITH_NATUS=OFF - -DWITH_PYTHON2=OFF - # WITH_VALA just copies the .vapi file over and needs no deps, - # hence always enable it unconditionally - -DWITH_VALA=ON - -DWITH_WEBKIT=OFF - $(multilib_is_native_abi && usex mono -DGMCS_EXECUTABLE="${EPREFIX}"/usr/bin/mcs) - -DWITH_GNOME3=$(usex gnome) - -DWITH_KDE=$(usex kde) - -DWITH_DOTNET=$(multilib_is_native_abi && usex mono || echo OFF) - -DWITH_NM=$(usex networkmanager) - -DWITH_PERL=OFF # bug 705410, uses reserved target name "test" - -DWITH_PYTHON3=OFF # Major issue: https://github.com/libproxy/libproxy/issues/65 - -DWITH_MOZJS=$(multilib_is_native_abi && usex spidermonkey || echo OFF) - -DBUILD_TESTING=$(usex test) - -DWITH_WEBKIT3=$(multilib_is_native_abi && usex webkit || echo OFF) - ) - 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/libproxy-0.4.15-r1.ebuild b/net-libs/libproxy/libproxy-0.4.16-r1.ebuild index ea1e91bfaa25..8ed586d917b7 100644 --- a/net-libs/libproxy/libproxy-0.4.15-r1.ebuild +++ b/net-libs/libproxy/libproxy-0.4.16-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 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 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris" IUSE="gnome kde mono networkmanager spidermonkey test webkit" RESTRICT="!test? ( test )" @@ -24,7 +24,7 @@ DEPEND=" gnome? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) mono? ( dev-lang/mono ) networkmanager? ( sys-apps/dbus:0[${MULTILIB_USEDEP}] ) - spidermonkey? ( >=dev-lang/spidermonkey-52.0.0:= ) + spidermonkey? ( dev-lang/spidermonkey:68 ) webkit? ( net-libs/webkit-gtk:4 ) " RDEPEND="${DEPEND} @@ -44,10 +44,6 @@ PATCHES=( # prevent dependency loop with networkmanager, libsoup, glib-networking; bug #467696 # https://github.com/libproxy/libproxy/issues/28 "${FILESDIR}/${P}-avoid-nm-build-dep.patch" - - # backports from git master: - "${FILESDIR}"/${P}-python-3.7.patch # find python-3.7 and 3.8 as well - "${FILESDIR}"/${P}-mozjs-52-{1,2}.patch ) multilib_src_configure() { diff --git a/net-libs/libproxy/libproxy-0.4.16.ebuild b/net-libs/libproxy/libproxy-0.4.17.ebuild index 1373ea5f58a0..42108bf4ad33 100644 --- a/net-libs/libproxy/libproxy-0.4.16.ebuild +++ b/net-libs/libproxy/libproxy-0.4.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 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 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris" IUSE="gnome kde mono networkmanager spidermonkey test webkit" RESTRICT="!test? ( test )" @@ -24,7 +24,7 @@ DEPEND=" gnome? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) mono? ( dev-lang/mono ) networkmanager? ( sys-apps/dbus:0[${MULTILIB_USEDEP}] ) - spidermonkey? ( >=dev-lang/spidermonkey-52.0.0:= ) + spidermonkey? ( dev-lang/spidermonkey:68 ) webkit? ( net-libs/webkit-gtk:4 ) " RDEPEND="${DEPEND} @@ -43,7 +43,7 @@ PATCHES=( # prevent dependency loop with networkmanager, libsoup, glib-networking; bug #467696 # https://github.com/libproxy/libproxy/issues/28 - "${FILESDIR}/${P}-avoid-nm-build-dep.patch" + "${FILESDIR}/${PN}-0.4.16-avoid-nm-build-dep.patch" ) multilib_src_configure() { diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest index 073fbca7bb34..71a6d1d0cdce 100644 --- a/net-libs/libqmi/Manifest +++ b/net-libs/libqmi/Manifest @@ -1,10 +1,2 @@ -DIST libqmi-1.12.6.tar.xz 710564 BLAKE2B b7e16b1f8da62815788355a4ad54bb819e53ad891d82ac3c9eb4c824082732b8ce8357d68a30474ca9bddd605e5d25bc62d5b7c2dad468129dda6d7661f81853 SHA512 7001f61dbe2be431867a504dbfc634ed5e7c3f3b1740aef7833fb8163d1a6bdffb57793f09062f49c0b8eeff5a011a2a057a938d618f3547ff5942021b3e8a9d -DIST libqmi-1.14.0.tar.xz 759472 BLAKE2B 4826105830037fe9dc6e6b3341060e3821a7b586641156bf2db7d5fbec27ae03a0a354e928a51f087c4b7722400fb5dd3503fdcb97e031d5435eddfe33182f87 SHA512 d5b4affe479e4704a9d94232bbef096533322413de8ea3c27d3ab7d6fd077fbbae779b49633fa22833ab1ce25f76cf341bfb84ec81d75fdc477f2a355ac298bd -DIST libqmi-1.16.0.tar.xz 734280 BLAKE2B dd8614ef16e8de2bde0babbb487130b3dc13da776238d4e2aae100a150c7f05a20ca24e682f7a160ae56fad3a7ee4e8b8f4ff31971e1ac5e1cb22a9960ecf99b SHA512 e8ac10b72a15ab3d102ab5dd45ed2960f552d37c291b7ef2818f41d5a46121a5c25e60bb549f96d4982468607a11f33866632c13b0454c5cbe0d61aa95992996 -DIST libqmi-1.16.2.tar.xz 735124 BLAKE2B e99aa20e8030610b1958cab3ed7f91a3f4a3cad76fcad3bf25ea6cf82176a8571660e0fb301ed6b7cc27fbb7243d8437f16485275fcb2c42644acadf12ffe791 SHA512 7d0977d1904efb76adcdde0ca52cef864fc66a065e641f1d2b905d74fa5d314e6eae5b6ef58a508725f631823308fc8ddcc67a0547bd0e4c87dc8e3eb39b4cfb -DIST libqmi-1.16.4.tar.xz 735220 BLAKE2B 52651eb4dc886b3b56ee0e6c47da930be2547c491748664a24dc7f012ad999377800a2d410bf1b605c40784756bfce15231fdc430419993b58e330cc8abbc968 SHA512 1cd3df8602e4ed7a8e0e068146490a0cd2581244ab5d1dd961129c1a58fa384a8d3bb6bbf715f799660f44ab3b1d20ae744c4eee3972b7392e2ac560cee6e75c -DIST libqmi-1.18.0.tar.xz 873176 BLAKE2B ff60e3616d2ac94576df993f8f03020e19b8745541287ac069a1d15ff166f37a661f4778c1a92921791ab43ccd583a8162564e87507511a5faa85e536493f976 SHA512 3890501fa2299ce5ac8fda732363e39738c95ffb153708d8f727e88c082014018463c569a0d9666385f6394d060ec41052dec400f3f6c733e78748ca7ee56b76 -DIST libqmi-1.18.2.tar.xz 845560 BLAKE2B 732c7385d149073a9cf89a58f0e2977fff593b00ca86f4d1abfbbc1a4521a257f57d56fc73ba5e46bfc902b9aa882eed6e3e63ac00cab2649ab35b8a547c844c SHA512 769e67534e0eeb7454849b69be72674ba07f65ec26adec668c0a0cf91c22c11bb6d91546606a33036d2a05fcd290efe05dcc1d4ab0740d625756628a7a7d3428 -DIST libqmi-1.20.0.tar.xz 859464 BLAKE2B 146b07b47aa5d40d93ce381aca107ec554918a909aef85b28751228fdcb3a518ffa9479a88b1f17a94f9251a1cff1cb606c4cfd4689e8d5e813a6467f078e5cb SHA512 fceec9aff22942fa64f7a568527033354dc379f347b96c9b37844bbdfb7bfa0936f554402b855c4b191fd63ca488776b94ee69e84502a460e941caddbd648b63 -DIST libqmi-1.20.2.tar.xz 860408 BLAKE2B d6f757c7eb7d93101763714f32dee1bfc4de1f4b58fe2b6f457b938e42175da12ba6070395f06542f4edb9c6b3264ad74a718f7fc58ac25de4f4d5f2692ee123 SHA512 2d1ceda25ad995b27dc20d9b5d85ee23a841c43f33aa68b3543df10cc1da72062e648c1136a2706740659ae2cf8c17373d7c6c6f5f8d075864f47e4fb89d7b50 DIST libqmi-1.22.2.tar.xz 947124 BLAKE2B 662cf58cb3fe48b5bbe167ac552b12ecff2944d1098e47b5a8c216a65c42c5e5c462f16625c4572e0e27e69a55cdfad76777468a42f8887f5b3984313c70747b SHA512 5785b56a60db8fb2566b6a712a18ec2ae74ce1da257473ab6b7cdea3163298ebee6c60a3158a7041aa759bd717eee4b16d9eeaa6b15d9b6e911bc8c8c44bd3d8 +DIST libqmi-1.26.6.tar.xz 1127552 BLAKE2B 1dba56c867c688c991fde7bb019234a05d77092f0725498d677a7ff620c56e58e17c873c773d96ee2131bfeac8cdbec86dadacd8fcc2f751f4e9a8d2c75efe5b SHA512 6c5e05fc158a085e1f652ff31cef65762c026cb09eb630153fddccb15e19187141e74c79818ebe00a058c5624891981cfce4d56545d4150ebb3b6e8d7bddb5ba diff --git a/net-libs/libqmi/libqmi-1.12.6.ebuild b/net-libs/libqmi/libqmi-1.12.6.ebuild deleted file mode 100644 index 30560ac73dd2..000000000000 --- a/net-libs/libqmi/libqmi-1.12.6.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="amd64 arm ~mips x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="QMI modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0" -IUSE="doc static-libs" - -RDEPEND=">=dev-libs/glib-2.32" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.14.0.ebuild b/net-libs/libqmi/libqmi-1.14.0.ebuild deleted file mode 100644 index 3ced59117e84..000000000000 --- a/net-libs/libqmi/libqmi-1.14.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="~amd64 ~arm ~mips ~x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="QMI modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0" -IUSE="doc static-libs" - -RDEPEND=">=dev-libs/glib-2.32" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.16.0.ebuild b/net-libs/libqmi/libqmi-1.16.0.ebuild deleted file mode 100644 index 52ae8fd582c5..000000000000 --- a/net-libs/libqmi/libqmi-1.16.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="~amd64 ~arm ~mips ~x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="QMI modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - eapply_user - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux ) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.16.2.ebuild b/net-libs/libqmi/libqmi-1.16.2.ebuild deleted file mode 100644 index 9a16e2b7027d..000000000000 --- a/net-libs/libqmi/libqmi-1.16.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="amd64 arm ~mips ppc x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - default - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.16.4.ebuild b/net-libs/libqmi/libqmi-1.16.4.ebuild deleted file mode 100644 index 5a9f25d5a371..000000000000 --- a/net-libs/libqmi/libqmi-1.16.4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - default - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.18.0.ebuild b/net-libs/libqmi/libqmi-1.18.0.ebuild deleted file mode 100644 index e8219b0697e2..000000000000 --- a/net-libs/libqmi/libqmi-1.18.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - dev-libs/libgudev - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - default - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.18.2.ebuild b/net-libs/libqmi/libqmi-1.18.2.ebuild deleted file mode 100644 index e8219b0697e2..000000000000 --- a/net-libs/libqmi/libqmi-1.18.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - dev-libs/libgudev - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - default - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.20.0.ebuild b/net-libs/libqmi/libqmi-1.20.0.ebuild deleted file mode 100644 index e8219b0697e2..000000000000 --- a/net-libs/libqmi/libqmi-1.20.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - dev-libs/libgudev - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - default - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.20.2.ebuild b/net-libs/libqmi/libqmi-1.20.2.ebuild deleted file mode 100644 index 3f2f0561c2fb..000000000000 --- a/net-libs/libqmi/libqmi-1.20.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" -else - KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" - SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" -fi - -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" - -LICENSE="LGPL-2" -SLOT="0/5.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" - -RDEPEND=">=dev-libs/glib-2.32 - dev-libs/libgudev - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 - -src_prepare() { - default - [[ -e configure ]] || eautoreconf -} - -src_configure() { - econf \ - --disable-more-warnings \ - $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ - $(use_enable {,gtk-}doc) -} - -src_install() { - default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" -} diff --git a/net-libs/libqmi/libqmi-1.26.6.ebuild b/net-libs/libqmi/libqmi-1.26.6.ebuild new file mode 100644 index 000000000000..51ac0339e070 --- /dev/null +++ b/net-libs/libqmi/libqmi-1.26.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib +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" + 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.7" # soname of libqmi-glib.so +IUSE="doc +mbim" + +RDEPEND=">=dev-libs/glib-2.48 + dev-libs/libgudev + mbim? ( >=net-libs/libmbim-1.18.0 )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( dev-util/gtk-doc )" +[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214 + +src_prepare() { + default + [[ ${PV} == "9999" ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-Werror \ + --disable-static \ + $(use_enable mbim mbim-qmux) \ + $(use_enable {,gtk-}doc) +} + +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 9ae85656240c..51ac0339e070 100644 --- a/net-libs/libqmi/libqmi-9999.ebuild +++ b/net-libs/libqmi/libqmi-9999.ebuild @@ -1,46 +1,47 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 inherit multilib if [[ ${PV} == "9999" ]] ; then inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git" + EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" else - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz" fi -DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library" -HOMEPAGE="https://cgit.freedesktop.org/libqmi/" +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.1" # soname of libqmi-glib.so -IUSE="doc +mbim static-libs" +SLOT="0/5.7" # soname of libqmi-glib.so +IUSE="doc +mbim" -RDEPEND=">=dev-libs/glib-2.36 +RDEPEND=">=dev-libs/glib-2.48 dev-libs/libgudev - mbim? ( >=net-libs/libmbim-1.14.0 )" -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - virtual/pkgconfig" -[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214 + mbim? ( >=net-libs/libmbim-1.18.0 )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( dev-util/gtk-doc )" +[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214 src_prepare() { default - [[ -e configure ]] || eautoreconf + [[ ${PV} == "9999" ]] && eautoreconf } src_configure() { econf \ - --disable-more-warnings \ + --disable-Werror \ + --disable-static \ $(use_enable mbim mbim-qmux) \ - $(use_enable static{-libs,}) \ $(use_enable {,gtk-}doc) } src_install() { default - use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la" + find "${ED}" -name '*.la' -delete || die } diff --git a/net-libs/libquotient/Manifest b/net-libs/libquotient/Manifest new file mode 100644 index 000000000000..6e04ad57d674 --- /dev/null +++ b/net-libs/libquotient/Manifest @@ -0,0 +1 @@ +DIST libquotient-0.6.3.tar.gz 559142 BLAKE2B 77ba0583a90e9d29d44ce9a70909d6b51462a1f16dbc2e9d321eb9d638329af41fe7b0c4f7569e5d46f3a9c12d32b1ef0b926c5e285bc3ed9b70ba6d4dbe8024 SHA512 a81d88b00edc2af8ad9a6a297f1d65ef5d96fb305f503b46f29381df1bb007b42e44b207fb649316c38c977a5b03c93f884407dccdc48ab066af6b004dd9a9d6 diff --git a/net-libs/libquotient/files/libquotient-0.6.3-no-android.patch b/net-libs/libquotient/files/libquotient-0.6.3-no-android.patch new file mode 100644 index 000000000000..5541f4d7133b --- /dev/null +++ b/net-libs/libquotient/files/libquotient-0.6.3-no-android.patch @@ -0,0 +1,29 @@ +From d82cb1f43cab7976e25c6e9ff3e4ae17789ee11c Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sun, 3 Jan 2021 15:18:01 +0100 +Subject: [PATCH] Install EXPORT_ANDROID_MK only if(ANDROID) + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2ee1cb4..eec27c8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -321,7 +321,10 @@ install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake" + DESTINATION ${ConfigFilesLocation} + ) +-install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION share/ndk-modules) ++ ++if (ANDROID) ++ install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION share/ndk-modules) ++endif () + + if (WIN32) + install(FILES mime/packages/freedesktop.org.xml DESTINATION mime/packages) +-- +2.30.0 + diff --git a/net-libs/libquotient/files/libquotient-0.6.3-no-tests.patch b/net-libs/libquotient/files/libquotient-0.6.3-no-tests.patch new file mode 100644 index 000000000000..fb884e10ac76 --- /dev/null +++ b/net-libs/libquotient/files/libquotient-0.6.3-no-tests.patch @@ -0,0 +1,42 @@ +From ff972d181f0f9e7bfa327c71450d55f951de27c1 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sun, 3 Jan 2021 15:05:59 +0100 +Subject: [PATCH] Put Qt5Test dependency behind -DQuotient_INSTALL_TESTS + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2ee1cb4..2a0908d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -58,7 +58,7 @@ else() + endforeach () + endif() + +-find_package(Qt5 5.9 REQUIRED Network Gui Multimedia Test) ++find_package(Qt5 5.9 REQUIRED Network Gui Multimedia) + get_filename_component(Qt5_Prefix "${Qt5_DIR}/../../../.." ABSOLUTE) + + if (${PROJECT_NAME}_ENABLE_E2EE) +@@ -280,9 +280,12 @@ if (${PROJECT_NAME}_ENABLE_E2EE) + endif() + target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Network Qt5::Gui Qt5::Multimedia) + +-set(TEST_BINARY quotest) +-add_executable(${TEST_BINARY} ${tests_SRCS}) +-target_link_libraries(${TEST_BINARY} Qt5::Core Qt5::Test ${PROJECT_NAME}) ++if(${PROJECT_NAME}_INSTALL_TESTS) ++ find_package(Qt5Test) ++ set(TEST_BINARY quotest) ++ add_executable(${TEST_BINARY} ${tests_SRCS}) ++ target_link_libraries(${TEST_BINARY} Qt5::Core Qt5::Test ${PROJECT_NAME}) ++endif() + + configure_file(${PROJECT_NAME}.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc @ONLY NEWLINE_STYLE UNIX) + +-- +2.30.0 + diff --git a/net-libs/libquotient/files/libquotient-0.6.3-use-after-free.patch b/net-libs/libquotient/files/libquotient-0.6.3-use-after-free.patch new file mode 100644 index 000000000000..12046a102121 --- /dev/null +++ b/net-libs/libquotient/files/libquotient-0.6.3-use-after-free.patch @@ -0,0 +1,92 @@ +From f286ef4c5b3c71510d6ef15e8cc12cada84f3682 Mon Sep 17 00:00:00 2001 +From: Nicolas Fella <nicolas.fella@gmx.de> +Date: Sun, 27 Dec 2020 21:24:06 +0100 +Subject: [PATCH] Fix use-after-free of QNetworkReply in BaseJob + +Usually QNetworkAccessManager expects the user to delete the replies, but when the QNetworkAccessManager itself is deleted it deletes all pending replies (https://code.woboq.org/qt5/qtbase/src/network/access/qnetworkaccessmanager.cpp.html#529). + +This can lead to use-after-free crashes when d->reply is accessed. By putting the reply into a QPointer the exiting if(d->reply) checks can work properly. + +(cherry picked from commit 9d854e778d8d6ef8e03e1ea74fe958675b24fd45) +--- + lib/jobs/basejob.cpp | 33 +++++++++++++++++++-------------- + 1 file changed, 19 insertions(+), 14 deletions(-) + +diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp +index 3fa1cd94..2ac942f5 100644 +--- a/lib/jobs/basejob.cpp ++++ b/lib/jobs/basejob.cpp +@@ -24,6 +24,7 @@ + #include <QtCore/QTimer> + #include <QtCore/QStringBuilder> + #include <QtCore/QMetaEnum> ++#include <QtCore/QPointer> + #include <QtNetwork/QNetworkAccessManager> + #include <QtNetwork/QNetworkReply> + #include <QtNetwork/QNetworkRequest> +@@ -76,15 +77,6 @@ QDebug BaseJob::Status::dumpToLog(QDebug dbg) const + return dbg << ": " << message; + } + +-struct NetworkReplyDeleter : public QScopedPointerDeleteLater { +- static inline void cleanup(QNetworkReply* reply) +- { +- if (reply && reply->isRunning()) +- reply->abort(); +- QScopedPointerDeleteLater::cleanup(reply); +- } +-}; +- + template <typename... Ts> + constexpr auto make_array(Ts&&... items) + { +@@ -112,6 +104,16 @@ class BaseJob::Private { + retryTimer.setSingleShot(true); + } + ++ ~Private() ++ { ++ if (reply) { ++ if (reply->isRunning()) { ++ reply->abort(); ++ } ++ delete reply; ++ } ++ } ++ + void sendRequest(); + /*! \brief Parse the response byte array into JSON + * +@@ -140,7 +142,10 @@ class BaseJob::Private { + + QByteArrayList expectedKeys; + +- QScopedPointer<QNetworkReply, NetworkReplyDeleter> reply; ++ // When the QNetworkAccessManager is destroyed it destroys all pending replies. ++ // Using QPointer allows us to know when that happend. ++ QPointer<QNetworkReply> reply; ++ + Status status = Unprepared; + QByteArray rawResponse; + /// Contains a null document in case of non-JSON body (for a successful +@@ -315,16 +320,16 @@ void BaseJob::Private::sendRequest() + + switch (verb) { + case HttpVerb::Get: +- reply.reset(connection->nam()->get(req)); ++ reply = connection->nam()->get(req); + break; + case HttpVerb::Post: +- reply.reset(connection->nam()->post(req, requestData.source())); ++ reply = connection->nam()->post(req, requestData.source()); + break; + case HttpVerb::Put: +- reply.reset(connection->nam()->put(req, requestData.source())); ++ reply = connection->nam()->put(req, requestData.source()); + break; + case HttpVerb::Delete: +- reply.reset(connection->nam()->sendCustomRequest(req, "DELETE", requestData.source())); ++ reply = connection->nam()->sendCustomRequest(req, "DELETE", requestData.source()); + break; + } + } diff --git a/net-libs/libquotient/libquotient-0.6.3.ebuild b/net-libs/libquotient/libquotient-0.6.3.ebuild new file mode 100644 index 000000000000..9ab95317dc78 --- /dev/null +++ b/net-libs/libquotient/libquotient-0.6.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Qt5-based SDK to develop applications for Matrix" +HOMEPAGE="https://github.com/quotient-im/libQuotient" +SRC_URI="https://github.com/quotient-im/libQuotient/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libQuotient-${PV}" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-use-after-free.patch # 0.6.x branch + # downstream patches + "${FILESDIR}"/${P}-no-android.patch + "${FILESDIR}"/${P}-no-tests.patch +) + +src_configure() { + local mycmakeargs=( + -DQuotient_INSTALL_TESTS=OFF + -DQuotient_ENABLE_E2EE=OFF # TODO: libolm, libqtolm not packaged + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON # no thanks. + ) + cmake_src_configure +} diff --git a/net-libs/libkvkontakte/metadata.xml b/net-libs/libquotient/metadata.xml index 9c604ba4a6dc..9c604ba4a6dc 100644 --- a/net-libs/libkvkontakte/metadata.xml +++ b/net-libs/libquotient/metadata.xml diff --git a/net-libs/librouteros/metadata.xml b/net-libs/librouteros/metadata.xml index 35527d1ae4b0..d85b4252fc33 100644 --- a/net-libs/librouteros/metadata.xml +++ b/net-libs/librouteros/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="person"> - <email>maksbotan@gentoo.org</email> - <name>Maxim Koltsov</name> -</maintainer> +<!-- maintainer-needed --> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/net-libs/librsync/librsync-2.3.1.ebuild b/net-libs/librsync/librsync-2.3.1.ebuild index 04df479a54d5..a8a8e5749026 100644 --- a/net-libs/librsync/librsync-2.3.1.ebuild +++ b/net-libs/librsync/librsync-2.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/librsync/librsync/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="LGPL-2.1" SLOT="0/2.2" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" RDEPEND=" dev-libs/popt diff --git a/net-libs/libsignal-protocol-c/libsignal-protocol-c-2.3.3.ebuild b/net-libs/libsignal-protocol-c/libsignal-protocol-c-2.3.3.ebuild index 8d67dfca9e35..152bed279253 100644 --- a/net-libs/libsignal-protocol-c/libsignal-protocol-c-2.3.3.ebuild +++ b/net-libs/libsignal-protocol-c/libsignal-protocol-c-2.3.3.ebuild @@ -8,7 +8,7 @@ inherit cmake DESCRIPTION="Signal Protocol C Library" HOMEPAGE="https://www.whispersystems.org/" SRC_URI="https://github.com/signalapp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 arm64 x86" LICENSE="GPL-3" SLOT="0" diff --git a/net-libs/libslirp/libslirp-4.3.1-r1.ebuild b/net-libs/libslirp/libslirp-4.3.1-r1.ebuild index a8d758fa596d..1ab7f75196c7 100644 --- a/net-libs/libslirp/libslirp-4.3.1-r1.ebuild +++ b/net-libs/libslirp/libslirp-4.3.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit meson -KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc ppc64 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 general purpose TCP-IP emulator used by virtual machine hypervisors to provide virtual networking services." diff --git a/net-libs/libslirp/libslirp-4.3.1.ebuild b/net-libs/libslirp/libslirp-4.3.1.ebuild deleted file mode 100644 index 5a87450fae43..000000000000 --- a/net-libs/libslirp/libslirp-4.3.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson - -KEYWORDS="amd64 arm64 ~ppc ppc64 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 general purpose TCP-IP emulator used by virtual machine hypervisors 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() { - default - echo "${PV}" > .tarball-version || die - echo -e "#!${BASH}\necho -n \$(cat '${S}/.tarball-version')" > build-aux/git-version-gen || die -} - -src_configure() { - local emesonargs=( - -Ddefault_library=$(usex static-libs both shared) - ) - meson_src_configure -} diff --git a/net-libs/libsmi/Manifest b/net-libs/libsmi/Manifest index 1c1160db75c4..cf6e9a4ad291 100644 --- a/net-libs/libsmi/Manifest +++ b/net-libs/libsmi/Manifest @@ -1,2 +1 @@ -DIST libsmi-0.4.8.tar.gz 4104111 BLAKE2B af7fe812d8dd6cbd538fbb9d5671f9478b6c3bf4b251eb0729142f56aacc87fd8aa38927f92ebb4f546069e81391e85be338fec92979cd462efe614e16220754 SHA512 c4f5f30c9fbf26c2e0d87e29783794014a518a7494c17112b1970b5434c698d06ffd529ea58eb7856a0f86a30f1059aaf49d4fbdf39db971d9114d427d8a1863 DIST libsmi-0.5.0.tar.gz 4798883 BLAKE2B 37e9b0160f131db52fb68bd0b3eb0555b1cfb588aefb8e094fc50eec28b31f315907cd602f262d9f6c1ef887de148350da4747e0587b5518dac7376981fc12ae SHA512 be82e6b7054426e4634ac9d90467b89a51a9c836273c9d516f07ff3cec3a8dcc8b3bb0e0396d5facec3d9c952b17fb67f24ff2d3959e7e5cf9eced72023a0708 diff --git a/net-libs/libsmi/libsmi-0.4.8-r1.ebuild b/net-libs/libsmi/libsmi-0.4.8-r1.ebuild deleted file mode 100644 index f5b1fb46e092..000000000000 --- a/net-libs/libsmi/libsmi-0.4.8-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic ltprune - -DESCRIPTION="A Library to Access SMI MIB Information" -SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz" -HOMEPAGE="https://www.ibr.cs.tu-bs.de/projects/libsmi/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 s390 sparc x86" -IUSE="static-libs" -RESTRICT="test" - -src_prepare() { - epatch "${FILESDIR}"/${P}-CVE-2010-2891.patch -} - -src_configure() { - replace-flags -O? -O2 - econf $(use_enable static-libs static) -} - -src_test() { - # sming test is known to fail and some other fail if LC_ALL!=C: - # https://mail.ibr.cs.tu-bs.de/pipermail/libsmi/2008-March/001014.html - sed -i '/^[[:space:]]*smidump-sming.test \\$/d' test/Makefile - LC_ALL=C emake -j1 check -} - -src_install() { - default - dodoc smi.conf-example ANNOUNCE ChangeLog README THANKS TODO \ - doc/{*.txt,smi.dia,smi.dtd,smi.xsd} - prune_libtool_files -} diff --git a/net-libs/libsrtp/libsrtp-1.6.0-r1.ebuild b/net-libs/libsrtp/libsrtp-1.6.0-r1.ebuild index 35aad8e9283b..7f54938f6081 100644 --- a/net-libs/libsrtp/libsrtp-1.6.0-r1.ebuild +++ b/net-libs/libsrtp/libsrtp-1.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos" IUSE="aesicm console debug doc libressl openssl static-libs syslog test" RESTRICT="!test? ( test )" diff --git a/net-libs/libsrtp/libsrtp-2.2.0.ebuild b/net-libs/libsrtp/libsrtp-2.2.0.ebuild index ae17a22381c3..e886c0397b5f 100644 --- a/net-libs/libsrtp/libsrtp-2.2.0.ebuild +++ b/net-libs/libsrtp/libsrtp-2.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="2/1" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos" IUSE="aesicm console debug doc libressl openssl static-libs syslog test" RESTRICT="!test? ( test )" diff --git a/net-libs/libsrtp/libsrtp-2.3.0-r1.ebuild b/net-libs/libsrtp/libsrtp-2.3.0-r1.ebuild index 552f914255bf..96746968a237 100644 --- a/net-libs/libsrtp/libsrtp-2.3.0-r1.ebuild +++ b/net-libs/libsrtp/libsrtp-2.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="2/1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos" IUSE="debug doc libressl nss openssl static-libs test" RESTRICT="!test? ( test )" diff --git a/net-libs/libssh/libssh-0.9.5.ebuild b/net-libs/libssh/libssh-0.9.5.ebuild index 31c86bf94ce8..8b9314b6fd31 100644 --- a/net-libs/libssh/libssh-0.9.5.ebuild +++ b/net-libs/libssh/libssh-0.9.5.ebuild @@ -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 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" fi LICENSE="LGPL-2.1" diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index d4de008b2caf..c33b2bada688 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,4 +1,2 @@ DIST libtorrent-1.2.10.tar.gz 3586008 BLAKE2B 71971124930462feb5f5083fed38ccadcfd1a2aed0d000a06cd7e0898b40a1451722cd79fdf0b1da3477047b26c7f7e3c1f74086a141770a7d143c916e96b6bb SHA512 e6de939fb6527783695e0b6623ddbe27f85842a36c0899b93ea0284cb3c6f3d14b8c39e29316adb3bf9acac7804f38385cc06854a32df28e7f4f6839af9f382d -DIST libtorrent-1.2.9.tar.gz 3584800 BLAKE2B 5160056e227a54992ca4e490ffe0088d080aa9bade7a76f55eac26a644bab720c39a70b90d94f465ec711893249a084d9f77fa496be770585094b9b3ea4a1cdd SHA512 c547d96470f6a89f22adc0f5579ffb98b877a46f0a163698c49f1de57f23af60a7b0d3c1ca482e3ed8d3e35124d14a1d16a53e455f4d69f347fcb33c6ded75a8 -DIST libtorrent-rasterbar-1.1.14.tar.gz 4040571 BLAKE2B 38ea1a71e46bf18c9beeb869280e4949b199ab58c32f41e63f1c15c7c32db0d256b741ea707350e9e153695b9cc28e0a95385944bf76dbd5eb2055e66bb0f919 SHA512 b640ada016f8e68a3fb0e033dd33ab79b345b0f691aa722c4256b8cd8524c6e55067ccd1f11584984bbb82c0f64151f0b5223bd2b8431b899ffca46d2d31fff5 -DIST libtorrent-rasterbar-1.2.6.tar.gz 3611015 BLAKE2B 39323c223927272a4eb9bb93ad70acd62165b9b3eb3f4f45cb76f99a23b1e131b526c8d8370fbd7cc30c7e776a5f9b7990c989ceaa3566272adc25df639fc5ba SHA512 9f03e28449b08e18a98a1f1bf0571f470c56fabd2becde5bde56ad566611c8519b0b387939f285a552d1f0382446633b67d00b6b5ff7083e4d1420a3ce9232fc +DIST libtorrent-rasterbar-1.2.11.tar.gz 4138173 BLAKE2B 615704a57a0b9857b86154ba3a78501bf10d35933c976214090a63af6584e0812f11dbd936d1b3867a822cba54cda61d875ef153cad25a3bbcacc4d479f0b53b SHA512 abcfaa9f22f9adc030f0c4ec8dfd2e5070d1177cc2cf0bcb4e08dfca1b2e806a5c90a82d1860b5dc51efe3e8d2bea3c1d3d966c132a39bfdd5d4791e59bb503a diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.14.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.14.ebuild deleted file mode 100644 index 444747db0844..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.14.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads" -DISTUTILS_OPTIONAL=true -DISTUTILS_IN_SOURCE_BUILD=true - -inherit distutils-r1 flag-o-matic - -MY_PV=$(ver_rs 1-2 '_') - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/9" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="debug +dht doc examples libressl python +ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/boost:=[threads] - virtual/libiconv - examples? ( !net-p2p/mldonkey ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - ) -" -DEPEND="${RDEPEND} - sys-devel/libtool -" - -src_prepare() { - 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() { - append-cxxflags -std=c++11 # bug 634506 - - local myeconfargs=( - $(use_enable debug) - $(use_enable debug disk-stats) - $(use_enable dht) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable static-libs static) - $(use_enable test tests) - --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.9.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.11.ebuild index 8b4f6ccb0982..65571475d2b0 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.9.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.11.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 2020 Liguros Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -12,7 +11,8 @@ inherit autotools flag-o-matic 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/libtorrent-${PV}.tar.gz" +#SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${PV}.tar.gz" +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" LICENSE="BSD" SLOT="0/10" @@ -23,7 +23,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" -S="${WORKDIR}/libtorrent-libtorrent-${PV}" +S="${WORKDIR}/libtorrent-rasterbar-${PV}" RDEPEND=" dev-libs/boost:=[threads] diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.6.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.6.ebuild deleted file mode 100644 index 0b0e8061364c..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.6.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_OPTIONAL=true -DISTUTILS_IN_SOURCE_BUILD=true - -inherit autotools distutils-r1 - -MY_PV=$(ver_rs 1-2 '_') -MY_P=${PN/-rasterbar}-${MY_PV} - -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/${MY_P}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/10" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="debug +dht doc examples libressl python +ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/boost:=[threads] - virtual/libiconv - examples? ( !net-p2p/mldonkey ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - ) -" -DEPEND="${RDEPEND} - sys-devel/libtool -" - -S="${WORKDIR}/${PN/-rasterbar}-${MY_P}" - -src_prepare() { - mkdir "${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 dht) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable static-libs static) - $(use_enable test tests) - --with-boost - --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/libtorrent-0.13.7-r1.ebuild b/net-libs/libtorrent/libtorrent-0.13.7-r1.ebuild index 9cd3a0d347e1..7827dab08a9e 100644 --- a/net-libs/libtorrent/libtorrent-0.13.7-r1.ebuild +++ b/net-libs/libtorrent/libtorrent-0.13.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,7 +17,7 @@ LICENSE="GPL-2" # subslot. SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug libressl ssl test" RESTRICT="!test? ( test )" diff --git a/net-libs/libtorrent/libtorrent-0.13.7.ebuild b/net-libs/libtorrent/libtorrent-0.13.7.ebuild index b40c230693c5..7c40a29aafe5 100644 --- a/net-libs/libtorrent/libtorrent-0.13.7.ebuild +++ b/net-libs/libtorrent/libtorrent-0.13.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,7 +17,7 @@ LICENSE="GPL-2" # subslot. SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug libressl ssl test" RESTRICT="!test? ( test )" diff --git a/net-libs/libtorrent/libtorrent-0.13.8.ebuild b/net-libs/libtorrent/libtorrent-0.13.8.ebuild index 2b97d26f6f9a..1e5ec4094bab 100644 --- a/net-libs/libtorrent/libtorrent-0.13.8.ebuild +++ b/net-libs/libtorrent/libtorrent-0.13.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,7 +17,7 @@ LICENSE="GPL-2" # subslot. SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug libressl ssl test" RESTRICT="!test? ( test )" diff --git a/net-libs/libupnp/libupnp-1.14.0.ebuild b/net-libs/libupnp/libupnp-1.14.0.ebuild index 6cc7689ab66d..1de1bddda5cb 100644 --- a/net-libs/libupnp/libupnp-1.14.0.ebuild +++ b/net-libs/libupnp/libupnp-1.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> ${P} LICENSE="BSD" SLOT="0/17" -KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux" IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs" # bug 733750 diff --git a/net-libs/libupnp/libupnp-1.6.21.ebuild b/net-libs/libupnp/libupnp-1.6.21.ebuild index 98580f9c3cee..bc6bd36f4455 100644 --- a/net-libs/libupnp/libupnp-1.6.21.ebuild +++ b/net-libs/libupnp/libupnp-1.6.21.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/pupnp/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86 ~amd64-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux" IUSE="debug doc ipv6 static-libs" DOCS="NEWS README ChangeLog" diff --git a/net-libs/libupnpp/Manifest b/net-libs/libupnpp/Manifest index fe575942cf4a..f53118d4f102 100644 --- a/net-libs/libupnpp/Manifest +++ b/net-libs/libupnpp/Manifest @@ -1,4 +1 @@ -DIST libupnpp-0.17.0.tar.gz 475725 BLAKE2B 568ead87791db1a41a4e5f93280cc8560336516cf676e1b64c35d0835579501ba61b75ee41e1dd1e58024d771f6f077c3c85515929be1c059a51ca314756fbfb SHA512 da7ef2453a8fad1e226c6252a84d76bf874128d306d4f9ca53e77e64734d113f3ad6dcd79549b2fe2a3cfab22243b5dceb1b7bd1fffeb512ed996b8fc680667e -DIST libupnpp-0.19.4.tar.gz 469296 BLAKE2B e1240446bdd48329138183015445778f89abc575ade64a15c8564d2d3a6992b73c8fe7d0e9e99370f37ea851e65fef0a6b52e0fd274d064a5cdbc65ab2129c2d SHA512 4fda8ef9046d18b39cde4c5c6cfca4284f1f6ad76689cdab5a0d584b9fae17adbfe225542b81b88c62e62b65584dab38211a0606ac02ffd0f12abd13246c040f -DIST libupnpp-0.20.0.tar.gz 476361 BLAKE2B 23c319e506a073b769437a842db6cd03709d834cb91b9c7626fdd3ff0573c8a654b8de91f180d152885570e42c53fa58e7f1602f932511a89b532340958329b4 SHA512 18b3026e65b3f1ae0b8d61154325e7f89c808fe2281d7d514358298a29152a4b5903f5cad9d8bbe9db34c5f57efe98989efd9d99c0b512197eb4554b3a4ff3cc DIST libupnpp-0.20.1.tar.gz 476369 BLAKE2B 8ba72486524c28789564db46e64804289f12b4fa4f249fe4f54830488d80f04f519005ad2f5fd8c3a9626c602a4673d7655177a11586fb43b9bd81644cf7fb3b SHA512 17ad11b2898abbdc57ed96280c298a6c94943f3e79101163cf7cace06a4d36058c0d54f0eaeb5da9b9cbb40a23f0597a6a9658060aefeb714723c9c53404db80 diff --git a/net-libs/libupnpp/libupnpp-0.17.0.ebuild b/net-libs/libupnpp/libupnpp-0.17.0.ebuild deleted file mode 100644 index f64ebade3e90..000000000000 --- a/net-libs/libupnpp/libupnpp-0.17.0.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -DESCRIPTION="The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay" -HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli" -SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" - -DEPEND=" - dev-libs/expat - <=net-libs/libupnp-1.7.0 - net-misc/curl -" -RDEPEND="${DEPEND}" diff --git a/net-libs/libupnpp/libupnpp-0.19.4.ebuild b/net-libs/libupnpp/libupnpp-0.19.4.ebuild deleted file mode 100644 index 638dc365a3e3..000000000000 --- a/net-libs/libupnpp/libupnpp-0.19.4.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -DESCRIPTION="The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay" -HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli" -SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-libs/expat - net-libs/libnpupnp - net-misc/curl -" -RDEPEND="${DEPEND}" diff --git a/net-libs/libupnpp/libupnpp-0.20.0-r1.ebuild b/net-libs/libupnpp/libupnpp-0.20.0-r1.ebuild deleted file mode 100644 index 2ffca9d9e1bf..000000000000 --- a/net-libs/libupnpp/libupnpp-0.20.0-r1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -DESCRIPTION="The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay" -HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli" -SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - dev-libs/expat - >=net-libs/libnpupnp-4.0.14-r1 - net-misc/curl -" -RDEPEND="${DEPEND}" diff --git a/net-libs/libupnpp/libupnpp-0.20.0.ebuild b/net-libs/libupnpp/libupnpp-0.20.0.ebuild deleted file mode 100644 index 638dc365a3e3..000000000000 --- a/net-libs/libupnpp/libupnpp-0.20.0.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -DESCRIPTION="The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay" -HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli" -SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-libs/expat - net-libs/libnpupnp - net-misc/curl -" -RDEPEND="${DEPEND}" diff --git a/net-libs/libupnpp/libupnpp-0.20.1.ebuild b/net-libs/libupnpp/libupnpp-0.20.1.ebuild index 2ffca9d9e1bf..8e126f564445 100644 --- a/net-libs/libupnpp/libupnpp-0.20.1.ebuild +++ b/net-libs/libupnpp/libupnpp-0.20.1.ebuild @@ -8,7 +8,7 @@ SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND=" dev-libs/expat diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild b/net-libs/libvncserver/libvncserver-0.9.13.ebuild index c513bda1f85d..319149c5bc12 100644 --- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild +++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}" LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT" # no sub slot wanted (yet), see #578958 SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd +threads +zlib" # https://bugs.gentoo.org/690202 # https://bugs.gentoo.org/435326 diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index 077854446b6b..8db0f4985f20 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,2 +1 @@ -DIST libwebsockets-4.1.4.tar.gz 12698800 BLAKE2B 78cb9587af7a5cc368c3c4ce7b8c8cba7d25961595ae8853f52d374b73404e5fbd99ff9b552dc9d6370fd425d6bd28fc69b71be37f2f045817f2cb8f5354dcbc SHA512 4da84f612ad427465c4eea0bdd0db59c21c9e42bb21eb46b904f544dc4078af2c9a957e61430f3569b87cfc96b3addee50ac7a7c77777dcf16350fe441dd8854 DIST libwebsockets-4.1.6.tar.gz 12912895 BLAKE2B d6b8c96b8da4c177e7c730acb13bbba63996b1817bc0e0df36923c7ad3aabb6823f852c84bef865e85ed7eac1855273527ff6e92e413bbed8576388ce2ec7e3f SHA512 b83059b5405fe5c8bbfb6ef4cdfb66ce8b3fa2a660c013e64fa579f3ae09c70a6e3807d37ad4cff1d37b0c797959ba4e9c527be7e31520b3853161cfd6224a54 diff --git a/net-libs/libwebsockets/libwebsockets-4.1.4.ebuild b/net-libs/libwebsockets/libwebsockets-4.1.4.ebuild deleted file mode 100644 index 67609f666097..000000000000 --- a/net-libs/libwebsockets/libwebsockets-4.1.4.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="A flexible pure-C library for implementing network protocols" -HOMEPAGE="https://libwebsockets.org/" -SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/17" # libwebsockets.so.17 -KEYWORDS="amd64 arm arm64 ppc x86" -IUSE="access-log caps cgi client dbus generic-sessions http-proxy http2 ipv6 - +lejp libev libevent libressl libuv mbedtls peer-limits server-status smtp socks5 - sqlite3 ssl static-libs threads zip" - -REQUIRED_USE=" - access-log? ( http2 ) - generic-sessions? ( smtp sqlite3 ) - http-proxy? ( client ) - smtp? ( libuv ) - socks5? ( client http-proxy ) - ssl? ( ?? ( libressl mbedtls ) ) - mbedtls? ( ssl ) - ?? ( libev libevent ) -" - -RDEPEND=" - sys-libs/zlib - caps? ( sys-libs/libcap ) - dbus? ( sys-apps/dbus ) - http-proxy? ( net-libs/libhubbub ) - libev? ( dev-libs/libev ) - libevent? ( dev-libs/libevent:= ) - libuv? ( dev-libs/libuv:= ) - sqlite3? ( dev-db/sqlite:= ) - ssl? ( - !libressl? ( - !mbedtls? ( dev-libs/openssl:0= ) - mbedtls? ( >net-libs/mbedtls-2.0.0 ) - ) - ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-lang/perl - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON - -DDISABLE_WERROR=ON - -DLWS_HAVE_LIBCAP=$(usex caps) - -DLWS_IPV6=$(usex ipv6) - -DLWS_ROLE_DBUS=$(usex dbus) - -DLWS_WITHOUT_CLIENT=$(usex !client) - -DLWS_WITHOUT_TEST_CLIENT=$(usex !client) - -DLWS_WITH_ACCESS_LOG=$(usex access-log) - -DLWS_WITH_CGI=$(usex cgi) - -DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions) - -DLWS_WITH_HTTP2=$(usex http2) - -DLWS_WITH_HTTP_PROXY=$(usex http-proxy) - -DLWS_WITH_HUBBUB=$(usex http-proxy) - -DLWS_WITH_LEJP=$(usex lejp) - -DLWS_WITH_LIBEV=$(usex libev) - -DLWS_WITH_LIBEVENT=$(usex libevent) - -DLWS_WITH_LIBUV=$(usex libuv) - -DLWS_WITH_MBEDTLS=$(usex mbedtls) - -DLWS_WITH_PEER_LIMITS=$(usex peer-limits) - -DLWS_WITH_SERVER_STATUS=$(usex server-status) - -DLWS_WITH_SMTP=$(usex smtp) - -DLWS_WITH_SOCKS5=$(usex socks5) - -DLWS_WITH_SQLITE3=$(usex sqlite3) - -DLWS_WITH_SSL=$(usex ssl) - -DLWS_WITH_STATIC=$(usex static-libs) - -DLWS_WITH_STRUCT_JSON=$(usex lejp) - -DLWS_WITH_THREADPOOL=$(usex threads) - -DLWS_WITH_ZIP_FOPS=$(usex zip) - -DLWS_WITHOUT_TESTAPPS=ON - ) - - cmake_src_configure -} diff --git a/net-libs/libwebsockets/libwebsockets-4.1.6.ebuild b/net-libs/libwebsockets/libwebsockets-4.1.6.ebuild index 30dbd55c5f2f..06b29473d9b9 100644 --- a/net-libs/libwebsockets/libwebsockets-4.1.6.ebuild +++ b/net-libs/libwebsockets/libwebsockets-4.1.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}. LICENSE="MIT" SLOT="0/17" # libwebsockets.so.17 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +KEYWORDS="amd64 arm arm64 ppc x86" IUSE="access-log caps cgi client dbus generic-sessions http-proxy http2 ipv6 +lejp libev libevent libressl libuv mbedtls peer-limits server-status smtp socks5 sqlite3 ssl static-libs threads zip" diff --git a/net-libs/mbedtls/Manifest b/net-libs/mbedtls/Manifest index aef009b8f5bb..f4394f3b2413 100644 --- a/net-libs/mbedtls/Manifest +++ b/net-libs/mbedtls/Manifest @@ -1,2 +1,4 @@ DIST mbedtls-2.16.8.tar.gz 2662927 BLAKE2B 80dabffe644c792ce8a317629950bee71a2376be8f84de29d5cb92047ee433347e7e91be513d638b2954c0c7b2393eaef81b7d449753efffab25694b8a8b52d5 SHA512 645d58d42594a2b547b904634acc1e7e8583465e075c190183e1179638f05e1f8f5c56561ab172fed8dcec4a1742429663abdfdc25d607410ea64a35fbb22168 +DIST mbedtls-2.16.9.tar.gz 2668396 BLAKE2B c637509e8960916bea714b0558b729bf43544d64a560b2e76beba78f8d1355e982f0112bd9e5dd5a14698fa8292d23ed0f41670b220d48d26d6b5a17884481d4 SHA512 f72538851c7a24ac14b5c153220260a49a083bfff44a52e9c1e77c51109bac779b5b4caac21f995176fe8f9d27843f3495692d6c7e9dc733cbcec896823ff0e0 DIST mbedtls-2.24.0.tar.gz 3912697 BLAKE2B 4355fb4db90e3d72e73adcd8ee96c7db2809154c08a00c1a3a8a8f8d6360689f17317a6dd3564c85e1fadece1a49f1ce30561ad21faf48a5bab78e223f2cd070 SHA512 5437ea57eb8b8af9446a796876aa2bfe3c59c88f926b1638c7e8a021a8bef9f4bc6cb1b254e7387e2afe095bd27c518060719726bbaf5478582a56c34315cfb8 +DIST mbedtls-2.25.0.tar.gz 3994272 BLAKE2B 27a326ba08c341ed47ce280401a4b73606138aa8946fd8d8df5d084496eecc6eadf4eedd65270725a360d4b171c86cefeccb6b1515847587f0f11ed15b7dda9b SHA512 78e68dd9a2939fb9e40d796dcc2de36671c900921eac800688bfc3b5f47fda88be2eb4c7dcb34a01628983cd66323b15606ef2a29e7cbfda0d86aa3f6c948647 diff --git a/net-libs/mbedtls/mbedtls-2.16.9.ebuild b/net-libs/mbedtls/mbedtls-2.16.9.ebuild new file mode 100644 index 000000000000..324eaa4202fa --- /dev/null +++ b/net-libs/mbedtls/mbedtls-2.16.9.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake multilib-minimal + +DESCRIPTION="Cryptographic library for embedded systems" +HOMEPAGE="https://tls.mbed.org/" +SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" +S=${WORKDIR}/${PN}-${P} + +LICENSE="Apache-2.0" +SLOT="0/3.12.0" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" +RESTRICT="!test? ( test )" + +RDEPEND=" + programs? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen media-gfx/graphviz ) + test? ( dev-lang/perl )" + +enable_mbedtls_option() { + local myopt="$@" + # check that config.h syntax is the same at version bump + sed -i \ + -e "s://#define ${myopt}:#define ${myopt}:" \ + include/mbedtls/config.h || die +} + +src_prepare() { + use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 + use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT + use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C + use threads && enable_mbedtls_option MBEDTLS_THREADING_C + use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD + + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_PROGRAMS=$(multilib_native_usex programs) + -DENABLE_ZLIB_SUPPORT=$(usex zlib) + -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) + -DENABLE_TESTING=$(usex test) + -DUSE_SHARED_MBEDTLS_LIBRARY=ON + -DINSTALL_MBEDTLS_HEADERS=ON + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + ) + + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile + use doc && multilib_is_native_abi && cd "${S}" && emake apidoc +} + +multilib_src_test() { + LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ + cmake_src_test +} + +multilib_src_install() { + cmake_src_install +} + +multilib_src_install_all() { + use doc && HTML_DOCS=( apidoc ) + + einstalldocs + + if use programs ; then + # avoid file collisions with sys-apps/coreutils + local p e + for p in "${ED}"/usr/bin/* ; do + if [[ -x "${p}" && ! -d "${p}" ]] ; then + mv "${p}" "${ED}"/usr/bin/mbedtls_${p##*/} || die + fi + done + for e in aes hash pkey ssl test ; do + docinto "${e}" + dodoc programs/"${e}"/*.c + dodoc programs/"${e}"/*.txt + done + fi +} diff --git a/net-libs/mbedtls/mbedtls-2.25.0.ebuild b/net-libs/mbedtls/mbedtls-2.25.0.ebuild new file mode 100644 index 000000000000..02354b030f80 --- /dev/null +++ b/net-libs/mbedtls/mbedtls-2.25.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake multilib-minimal + +DESCRIPTION="Cryptographic library for embedded systems" +HOMEPAGE="https://tls.mbed.org/" +SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz" +S=${WORKDIR}/${PN}-${P} + +LICENSE="Apache-2.0" +SLOT="0/6.13.1" # ffmpeg subslot naming: SONAME tuple of {libmbedcrypto.so,libmbedtls.so,libmbedx509.so} +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc ~x86" +IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" +RESTRICT="!test? ( test )" + +RDEPEND=" + programs? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen media-gfx/graphviz ) + test? ( dev-lang/perl )" + +enable_mbedtls_option() { + local myopt="$@" + # check that config.h syntax is the same at version bump + sed -i \ + -e "s://#define ${myopt}:#define ${myopt}:" \ + include/mbedtls/config.h || die +} + +src_prepare() { + use cpu_flags_x86_sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2 + use zlib && enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT + use havege && enable_mbedtls_option MBEDTLS_HAVEGE_C + use threads && enable_mbedtls_option MBEDTLS_THREADING_C + use threads && enable_mbedtls_option MBEDTLS_THREADING_PTHREAD + + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_PROGRAMS=$(multilib_native_usex programs) + -DENABLE_ZLIB_SUPPORT=$(usex zlib) + -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) + -DENABLE_TESTING=$(usex test) + -DUSE_SHARED_MBEDTLS_LIBRARY=ON + -DINSTALL_MBEDTLS_HEADERS=ON + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + -DMBEDTLS_FATAL_WARNINGS=OFF # Don't use -Werror, #744946 + ) + + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile + use doc && multilib_is_native_abi && cd "${S}" && emake apidoc +} + +multilib_src_test() { + LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \ + cmake_src_test +} + +multilib_src_install() { + cmake_src_install +} + +multilib_src_install_all() { + use doc && HTML_DOCS=( apidoc ) + + einstalldocs + + if use programs ; then + # avoid file collisions with sys-apps/coreutils + local p e + for p in "${ED}"/usr/bin/* ; do + if [[ -x "${p}" && ! -d "${p}" ]] ; then + mv "${p}" "${ED}"/usr/bin/mbedtls_${p##*/} || die + fi + done + for e in aes hash pkey ssl test ; do + docinto "${e}" + dodoc programs/"${e}"/*.c + dodoc programs/"${e}"/*.txt + done + fi +} diff --git a/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild b/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild index 59631e2e96ab..aa76c230f281 100644 --- a/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild +++ b/net-libs/meanwhile/meanwhile-1.0.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="doc debug" RDEPEND="dev-libs/glib:2" diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index eace9f0adc8e..9b4da1a12a1e 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -1,4 +1,4 @@ -DIST miniupnpc-2.1.20201016.tar.gz 97682 BLAKE2B 2c98f71ff7262a24a69a9a4af411dbeb58c20ec4181bca8bbdd61c628bf5bd49f7e9b763b73ffb5d3508b5b545a0c918828ead2a376b57b8ea5051cd7b8e9c13 SHA512 d619f7e205cac68137020fab31e8bdaeebd09eeaca5e42e1e03a9e0085a64d635ec896862a488b0d57798d1e6ce96e2ba5652f60c0b8df9fc866eea90baea152 -DIST miniupnpc-2.1.20201016.tar.gz.sig 543 BLAKE2B b8ddcadb58e7b8dc4646ea1ac4e10331fe70a5b9a27902dd5ad09ac306605160b63f2e21d96eda4aa0f77485800cb9c5aa110f215dbe3536a9f6ec1c4a5e9ed9 SHA512 fb7886d4198bd2ae1eeff293152ff509e7ebe6ff0f9b3c20d5824f7ca9f65091a61db2bc0a8ac9fb0449994aba594cff3bf6c556876dbb47d593ecf8b7b26d10 DIST miniupnpc-2.2.0.tar.gz 98348 BLAKE2B 3464dc7f0b5416b558d0dd49121f3b851d9808a516c19d4f99fdb205e20149f27ef495d9f8da09ad3a28656580bfc16d1cf99ef993e41e9600cfe427b4a776d2 SHA512 b5bb674f162cae3d9e0205a9cdf6acc1fb334ab8ac5330be924411a8fd46833fb916d09f947d1e40d05224df7df1ecf6d812037185690e5022287c2024eb183f DIST miniupnpc-2.2.0.tar.gz.sig 543 BLAKE2B c75dbc54debc77e63ea3534f8f424a3904131893fc31d6485163ee6ecdafdab02fc0db8e290d28c834ac0efc5a37c34cbca7f14e1c78f859d22abc4e0b2ae48f SHA512 54f8cccea5886e06fbdaa04d270c12bd95d219be0b275491d9168f1089b1efe96e8a6f30ebf428091a3bae4bc349c0b8c94a22e94d56845a0a8b9724b1f9f74d +DIST miniupnpc-2.2.1.tar.gz 99595 BLAKE2B 07736eb15a985096178273c4578bb3f0cbf32a04632196e9c216d10751a6a5b1269af5fe2cbd447d85145746a7a8ce750ce13f674f5d8f9e4f6921b9d58204bf SHA512 62fc0098890980028199dd16e87b13ce23e78b2cc996433799792dc2a4fa9b5e230139593bde5c721f649c14fcee2e4d8a0558976c5506c21ff26deff6c7c907 +DIST miniupnpc-2.2.1.tar.gz.sig 543 BLAKE2B 19da35662cf75d47de9cd16d3d8f767119e3dc04370801bf8893a17cd0af47072456b75bc3415b587371972a7c5c36623665391bbf4b9c655d1da3c0e5b8beb7 SHA512 8b5d41556c66e6330673a63eb3be2397cb057c37f648d950e8dfa0bb00e646f343cfbcbd11a6547198d4fa6b1ca2a82b46724e284ce76e96d96ad6b3b5b41c3f diff --git a/net-libs/miniupnpc/miniupnpc-2.2.0.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.0.ebuild index 1e32a4fc5dae..6a8418d22bea 100644 --- a/net-libs/miniupnpc/miniupnpc-2.2.0.ebuild +++ b/net-libs/miniupnpc/miniupnpc-2.2.0.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 ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86" IUSE="ipv6 kernel_linux static-libs" RDEPEND="" diff --git a/net-libs/miniupnpc/miniupnpc-2.1.20201016.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.1.ebuild index 6a8418d22bea..1e32a4fc5dae 100644 --- a/net-libs/miniupnpc/miniupnpc-2.1.20201016.ebuild +++ b/net-libs/miniupnpc/miniupnpc-2.2.1.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 s390 sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="ipv6 kernel_linux static-libs" RDEPEND="" diff --git a/net-libs/neon/neon-0.30.2.ebuild b/net-libs/neon/neon-0.30.2.ebuild index fca4daa7349d..863f2e389580 100644 --- a/net-libs/neon/neon-0.30.2.ebuild +++ b/net-libs/neon/neon-0.30.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2001-2020 Gentoo Authors +# Copyright 2001-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -11,7 +11,7 @@ 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 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 libressl nls pkcs11 ssl static-libs zlib" RESTRICT="test" diff --git a/net-libs/neon/neon-0.31.0.ebuild b/net-libs/neon/neon-0.31.0.ebuild index a13f5f590f94..1a5b84fea672 100644 --- a/net-libs/neon/neon-0.31.0.ebuild +++ b/net-libs/neon/neon-0.31.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2001-2020 Gentoo Authors +# Copyright 2001-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 libressl nls pkcs11 ssl static-libs zlib" RESTRICT="test" diff --git a/net-libs/neon/neon-0.31.1.ebuild b/net-libs/neon/neon-0.31.1.ebuild index d3724b859dbb..06d89576f8d4 100644 --- a/net-libs/neon/neon-0.31.1.ebuild +++ b/net-libs/neon/neon-0.31.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2001-2020 Gentoo Authors +# Copyright 2001-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 libressl nls pkcs11 ssl static-libs zlib" RESTRICT="test" diff --git a/net-libs/neon/neon-0.31.2.ebuild b/net-libs/neon/neon-0.31.2.ebuild index d3724b859dbb..06d89576f8d4 100644 --- a/net-libs/neon/neon-0.31.2.ebuild +++ b/net-libs/neon/neon-0.31.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2001-2020 Gentoo Authors +# Copyright 2001-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 libressl nls pkcs11 ssl static-libs zlib" RESTRICT="test" diff --git a/net-libs/net6/net6-1.3.14-r2.ebuild b/net-libs/net6/net6-1.3.14-r2.ebuild index 5304a0f45cff..e0687fe071f4 100644 --- a/net-libs/net6/net6-1.3.14-r2.ebuild +++ b/net-libs/net6/net6-1.3.14-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm hppa ppc x86" +KEYWORDS="amd64 ~arm ~hppa ppc x86" IUSE="nls static-libs" RDEPEND="dev-libs/libsigc++:2 diff --git a/net-libs/nghttp2/nghttp2-1.42.0.ebuild b/net-libs/nghttp2/nghttp2-1.42.0.ebuild index b868914d4119..5426a55b59df 100644 --- a/net-libs/nghttp2/nghttp2-1.42.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.42.0.ebuild @@ -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 ~s390 ~sparc ~x86 ~amd64-linux ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="HTTP/2 C Library" diff --git a/net-libs/nghttp2/nghttp2-9999.ebuild b/net-libs/nghttp2/nghttp2-9999.ebuild index 6159ee00f9b6..ad61312be51f 100644 --- a/net-libs/nghttp2/nghttp2-9999.ebuild +++ b/net-libs/nghttp2/nghttp2-9999.ebuild @@ -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 ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="HTTP/2 C Library" diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index dfc14db4832e..681dcedc3f8a 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -1,6 +1,3 @@ -DIST node-v12.19.1.tar.xz 23829692 BLAKE2B 244ca8ef29e315ce027638d9d5c66469ac8cd69abec47d5bf6370b990da0d9d2a7af812963530e5187d273d3f20638be0d23ccb1c0409fbbd678677740939f4f SHA512 7c628ca214d3b17b34658aae32e335ce863d90853c92f1cd4119e9a82b7097ddf47d0d4cc7c9bbdbfdd4b403811aa6ee08e844078a947f31a3adc78f569b931a -DIST node-v12.20.0.tar.xz 23868796 BLAKE2B 80df641bebb3f89002ce260874adfbbd60c92eda50d28396441d7429b7bc0474fd141393c9756cd8d49c7904ea47048740c1e21071d07d083490c1b3755f27f7 SHA512 b0eb66ad64f727c8f3a0b34cadebb904afeb04709de20b2808c6a91980e079402f17e1fc8fa9ed870262508788f78e0eb5891e99aac57a9c41b92c70384bd7e0 -DIST node-v14.15.0.tar.xz 33440584 BLAKE2B dda9fb44f163b2268db126dfcda34e80064eba24921e4f8e6c14c212deb9170c79f31f7b2be272c8fa7ca992d14540df490c6cad078833514bd348825934ad95 SHA512 2a0cd1b9d95e0ac228a90aca82cb04b9f4fc4d08ab86f0286eed7a519ca6e756081b37375ad5d14d7f0e09affdd27bad658c3e364237eb3c212fe5b5e27af96e -DIST node-v14.15.1.tar.xz 33437304 BLAKE2B f08251d2a76e4030433001fd7f062c71193de190036d1147ade0ea36350df0d65df9e1b749fbac77837dd090cbeda6c133ff88099691c932bc29e75b7bfa2acc SHA512 cbab757e370a09b73c29a9bcb310b4122e4424d6baeaeaf1b10919ed6b348bc6ddbfc0e0eaff99d8ebb4d3d74f0206f575e2656245151eda564dd2cd33ff823a -DIST node-v15.2.1.tar.xz 33172472 BLAKE2B d63dbc138ec161253f996fb61c9f40db2eabb5a598804eca7f2446b654ae8a11164820d46ea3c2b41b6a891bb0a3f15fe67712988ed67c1344ab72e2e4749fac SHA512 b05663131d6bb458fe49cf610a7296cdd169b6e957df3e5117ad5553de9891ed4cb71c7d3dc0dbb7774153c884cf245f49faecfa308736086fe6f041f83c8a57 -DIST node-v15.3.0.tar.xz 33198460 BLAKE2B e88db9556e13b0df8f8e78a9b2673c9f1cd9445ea9d71b6cb9e674bfcdddad0ddd564d3c1323dff51e68c47f16eda3dc78cb303a3a7f6da341d0c51081bb965f SHA512 77408b49385cbf1cf168409b1eaf1d12caa97ad6c1106e99abc05e2665ea3ca6447552cfabe0cf43e90db80ecadf14ff4d9923ef34b854e70976a6fd0130d6b7 +DIST node-v12.20.1.tar.xz 23641412 BLAKE2B 1c1d828a46c7d3ba3a8995d65902f20ff4d3e3c992a90e4cd0d0e985d5537a8251a1b789cac106caccca9050e5e74ca2e15b27100f715ef453d194fa07271a7a SHA512 a8948cfa64cc5222a975294a6403c1fb0c2443552ad739a049f7e50beed542c22e0004a456f1a225af847cfd06fcb4101d8f70e3f932750e74be86b14402af4d +DIST node-v14.15.4.tar.xz 33296076 BLAKE2B a707dc15bdb670cdb239560d9b7a10541b793cad2339d02dafac2974df38dbe57d141b60d934f8b91cd65961f3a2df4ce92bcccf8b4359c7041f5f5531f1b704 SHA512 0d497a5d51de52412d09dd0fbcb936dbf0cba810f84d598be8f02c876d55f614e00c1ea0b25a00838e7b9f9c73a7882e3de0e9507d1c6ee45270a62d3438ab41 +DIST node-v15.5.1.tar.xz 33380504 BLAKE2B 508ba56370fd2ebd32f917da1dfc5fc5f46929397ce92826d73d1c4e7bd76a14ca712ebfe55f7e2c60d44a1abc15a05dae01de3f574b3e181e0a1e107049c9d4 SHA512 ca27dcc541287bc4d2f661d793ead02390b844cc70bfce7f3affe79618426201eff40d430e3b68a2194b6269c32d150b15b617169bd063576308fab9714cb7a2 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 new file mode 100644 index 000000000000..0982d3c81c2a --- /dev/null +++ b/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch @@ -0,0 +1,44 @@ +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/nodejs-12.19.1.ebuild b/net-libs/nodejs/nodejs-12.19.1.ebuild deleted file mode 100644 index e3e2754cc7c3..000000000000 --- a/net-libs/nodejs/nodejs-12.19.1.ebuild +++ /dev/null @@ -1,218 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,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/" -SRC_URI=" - https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz -" - -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos" -IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl +system-ssl systemtap test" -REQUIRED_USE=" - inspector? ( icu ssl ) - npm? ( ssl ) - system-ssl? ( ssl ) -" - -RDEPEND=" - >=app-arch/brotli-1.0.9 - >=dev-libs/libuv-1.39.0:= - >=net-dns/c-ares-1.16.0 - >=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= ) -" -BDEPEND=" - ${PYTHON_DEPS} - sys-apps/coreutils - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) -" -DEPEND=" - ${RDEPEND} -" -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-99999999-llhttp.patch -) -RESTRICT="test" -S="${WORKDIR}/node-v${PV}" - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." - - ( [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11 ) && \ - die "Your compiler doesn't support C++11. Use GCC 4.8, Clang 3.3 or newer." -} - -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 - - # Avoid a test that I've only been able to reproduce from emerge. It doesnt - # seem sandbox related either (invoking it from a sandbox works fine). - # The issue is that no stdin handle is openened when asked for one. - # It doesn't really belong upstream , so it'll just be removed until someone - # with more gentoo-knowledge than me (jbergstroem) figures it out. - rm test/parallel/test-stdout-close-unref.js || 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 - - default -} - -src_configure() { - xdg_environment_reset - - local myconf=( - --shared-brotli - --shared-cares - --shared-http-parser - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - 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 "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} || die - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} || die - - 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() { - out/${BUILDTYPE}/cctest || die - "${PYTHON}" tools/test.py --mode=${BUILDTYPE,,} -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.20.0.ebuild b/net-libs/nodejs/nodejs-12.20.1.ebuild index 6c1811a8b85e..dcbfb5dd6fae 100644 --- a/net-libs/nodejs/nodejs-12.20.0.ebuild +++ b/net-libs/nodejs/nodejs-12.20.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos" +KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos" IUSE="cpu_flags_x86_sse2 debug doc icu inspector +npm +snapshot +ssl +system-ssl systemtap test" REQUIRED_USE=" inspector? ( icu ssl ) @@ -45,6 +45,7 @@ DEPEND=" " PATCHES=( "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch + "${FILESDIR}"/${PN}-12.20.1-fix_ppc64_crashes.patch "${FILESDIR}"/${PN}-99999999-llhttp.patch ) RESTRICT="test" diff --git a/net-libs/nodejs/nodejs-14.15.0.ebuild b/net-libs/nodejs/nodejs-14.15.0.ebuild deleted file mode 100644 index 8d264d3c070e..000000000000 --- a/net-libs/nodejs/nodejs-14.15.0.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit bash-completion-r1 flag-o-matic python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" -HOMEPAGE="https://nodejs.org/" -SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos" - -IUSE="cpu_flags_x86_sse2 debug doc +icu inspector +npm +snapshot +ssl system-icu +system-ssl systemtap test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl )" - -# FIXME: test-fs-mkdir fails with "no such file or directory". Investigate. -RESTRICT="test" - -RDEPEND=">=app-arch/brotli-1.0.9 - >=dev-libs/libuv-1.40.0:= - >=net-dns/c-ares-1.16.1 - >=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 - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch - "${FILESDIR}"/${PN}-14.15.0-fix_ppc64_crashes.patch -) - -S="${WORKDIR}/node-v${PV}" - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." -} - -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 - - # Avoid a test that I've only been able to reproduce from emerge. It doesnt - # seem sandbox related either (invoking it from a sandbox works fine). - # The issue is that no stdin handle is openened when asked for one. - # It doesn't really belong upstream , so it'll just be removed until someone - # with more gentoo-knowledge than me (jbergstroem) figures it out. - rm test/parallel/test-stdout-close-unref.js || 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 - - default -} - -src_configure() { - xdg_environment_reset - - local myconf=( - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - 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 - - # 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 "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} || die - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} || die - - 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() { - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die -} diff --git a/net-libs/nodejs/nodejs-14.15.1.ebuild b/net-libs/nodejs/nodejs-14.15.4.ebuild index d008e9ae5267..c0958955a52c 100644 --- a/net-libs/nodejs/nodejs-14.15.1.ebuild +++ b/net-libs/nodejs/nodejs-14.15.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos" +KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos" IUSE="cpu_flags_x86_sse2 debug doc +icu inspector +npm pax_kernel +snapshot +ssl system-icu +system-ssl systemtap test" REQUIRED_USE="inspector? ( icu ssl ) diff --git a/net-libs/nodejs/nodejs-15.3.0.ebuild b/net-libs/nodejs/nodejs-15.3.0.ebuild deleted file mode 100644 index 2a7ac3e7a7b0..000000000000 --- a/net-libs/nodejs/nodejs-15.3.0.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,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/" -SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" - -LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos" - -IUSE="cpu_flags_x86_sse2 debug doc +icu inspector +npm pax_kernel +snapshot +ssl system-icu +system-ssl systemtap test" -REQUIRED_USE="inspector? ( icu ssl ) - npm? ( ssl ) - system-icu? ( icu ) - system-ssl? ( ssl )" - -# FIXME: test-fs-mkdir fails with "no such file or directory". Investigate. -RESTRICT="test" - -RDEPEND=">=app-arch/brotli-1.0.9 - >=dev-libs/libuv-1.40.0:= - >=net-dns/c-ares-1.17.0 - >=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 - systemtap? ( dev-util/systemtap ) - test? ( net-misc/curl ) - pax_kernel? ( sys-apps/elfix )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-15.2.0-global-npm-config.patch -) - -S="${WORKDIR}/node-v${PV}" - -pkg_pretend() { - (use x86 && ! use cpu_flags_x86_sse2) && \ - die "Your CPU doesn't support the required SSE2 instruction." -} - -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 - - # Avoid a test that I've only been able to reproduce from emerge. It doesnt - # seem sandbox related either (invoking it from a sandbox works fine). - # The issue is that no stdin handle is openened when asked for one. - # It doesn't really belong upstream , so it'll just be removed until someone - # with more gentoo-knowledge than me (jbergstroem) figures it out. - rm test/parallel/test-stdout-close-unref.js || 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 ) - - default -} - -src_configure() { - xdg_environment_reset - - local myconf=( - --shared-brotli - --shared-cares - --shared-libuv - --shared-nghttp2 - --shared-zlib - ) - use debug && myconf+=( --debug ) - 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 - 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 "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} || die - rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man} || die - - 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() { - out/${BUILDTYPE}/cctest || die - "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} -J message parallel sequential || die -} diff --git a/net-libs/nodejs/nodejs-15.2.1.ebuild b/net-libs/nodejs/nodejs-15.5.1.ebuild index 2a7ac3e7a7b0..2a7ac3e7a7b0 100644 --- a/net-libs/nodejs/nodejs-15.2.1.ebuild +++ b/net-libs/nodejs/nodejs-15.5.1.ebuild diff --git a/net-libs/ntirpc/Manifest b/net-libs/ntirpc/Manifest index 3e4a27e107ed..d5ab7fb1e907 100644 --- a/net-libs/ntirpc/Manifest +++ b/net-libs/ntirpc/Manifest @@ -1,4 +1,2 @@ -DIST ntirpc-1.7.4.tar.gz 373897 BLAKE2B 7354c5d6114947c8d66dcbc4fb933ab38237dd70eeb318278a658946fa4ec354bcaf7e90ac210f39f76b6d8e60f865c0c63ecbf7cbd8ee1e8defa0d7622cfb51 SHA512 076d789edc3fdf0ddb75437196b72b1aef78780d579ae4db0bcc116a1a92ac861fc77e1611070f2d3df003bfec7883ab20653a3c2f2255c685aaed8e7c22ce0f -DIST ntirpc-1.8.1.tar.gz 375019 BLAKE2B 3c774dbb762759f920e4159aaf5e4942c13837413bf72ab17298298a15278bc92332f8835701e0895f252596c21ba0d750c5f7f8afcf9104b8118745208fb1ec SHA512 a20749afb6d1f6216d6f5b6c9c29f6d988064d9cda8d3bfd855e62ba0ef88c7b47026d79c77be815c21eb91af0fcc6566af85df2401b5cef20c7ddfa5c5525b1 -DIST ntirpc-3.2.tar.gz 386961 BLAKE2B 920917b7ec08e2d4147785e1753596f035de684ffd92fb55fdf553bb4e19160e40fb829bd867d5a3a43f36568f731f71c31f135b6fe07fea2a6088f27ee3c6ff SHA512 8e9b5b3e607e28c4033c5986dbbc248d0edfeda6138b3ff51cc0760dccfb1cf4a14ff6bbec4330421b1175c3b1b04a34a43f314c97be2758fe0331b775f86021 DIST ntirpc-3.3.tar.gz 387212 BLAKE2B ee656510cadaa041b4ea389710f667021e07697744dd60ce71f4e856ed91339cc5373bba771ba6bcc09d86e32502339bce7fb1c7e8ae411ec38ebade87cdb735 SHA512 c5586be51960c682f719dc0aae21846cb1af6bab10c1d3b946570508947d281f776595e2f0d12edddd9d0289e737fc2fb823ed5060dba6b6e5c6b01f28c84cde +DIST ntirpc-3.4.tar.gz 387376 BLAKE2B db4d0fd22f1ea46da6e40a613848f9fd396bd85cf01968f5ab976627ab787e8d1bc2a57a8bb87f2ffcaf63b8e59c6ea41145ed9ccafc66d4ba420a15c9a78901 SHA512 913bc9f3208ddb667a7fab6e06585ba15ac3dd1979a15846f49114f54a270c2174a00afc3009d6158851aed779046743dd1ea704227122079164c07b394c01ad diff --git a/net-libs/ntirpc/ntirpc-1.7.4.ebuild b/net-libs/ntirpc/ntirpc-1.7.4.ebuild deleted file mode 100644 index bded25ea259b..000000000000 --- a/net-libs/ntirpc/ntirpc-1.7.4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 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="app-crypt/mit-krb5 - net-libs/libnsl - rdma? ( sys-fabric/librdmacm )" -DEPEND="${RDEPEND}" - -src_configure() { - local mycmakeargs=( - -DUSE_GSS="$(usex gssapi)" - -DUSE_RPC_RDMA="$(usex rdma)" - ) - cmake_src_configure -} diff --git a/net-libs/ntirpc/ntirpc-1.8.1.ebuild b/net-libs/ntirpc/ntirpc-1.8.1.ebuild deleted file mode 100644 index 7ec7709e46d4..000000000000 --- a/net-libs/ntirpc/ntirpc-1.8.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 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-fabric/librdmacm )" -DEPEND="${RDEPEND}" - -src_configure() { - local mycmakeargs=( - -DUSE_GSS="$(usex gssapi)" - -DUSE_RPC_RDMA="$(usex rdma)" - ) - cmake_src_configure -} diff --git a/net-libs/ntirpc/ntirpc-3.2.ebuild b/net-libs/ntirpc/ntirpc-3.4.ebuild index 7027d1cf5ede..6e63e824706b 100644 --- a/net-libs/ntirpc/ntirpc-3.2.ebuild +++ b/net-libs/ntirpc/ntirpc-3.4.ebuild @@ -17,9 +17,7 @@ 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=" - app-crypt/mit-krb5 dev-libs/userspace-rcu - net-libs/libnsl rdma? ( sys-fabric/librdmacm ) " DEPEND=" diff --git a/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild b/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild index 8fdd8ee4a310..0036565e6274 100644 --- a/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild +++ b/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild @@ -13,7 +13,7 @@ MY_BUILDV="b7" LICENSE="|| ( CDDL GPL-2-with-linking-exception )" SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-aix" +KEYWORDS="~amd64 ~x86" IUSE="" if [[ $(x=( $(get_all_version_components) ); echo ${x[3]}) == '.' ]]; then diff --git a/net-libs/ortp/ortp-0.23.0-r1.ebuild b/net-libs/ortp/ortp-0.23.0-r1.ebuild index 0dbafdfb4981..e80235e126b9 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-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ SRC_URI="mirror://nongnu/linphone/${PN}/sources/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0/9" -KEYWORDS="~alpha amd64 arm64 ~ia64 ppc ppc64 sparc x86 ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm64 ~ia64 ppc ppc64 sparc x86 ~ppc-macos ~x64-macos" IUSE="debug doc examples ipv6 libressl minimal ntp-timestamp ssl srtp" RDEPEND=" diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild b/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild index 87168444b22d..ff1a742535fa 100644 --- a/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild +++ b/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/alanxz/${PN}.git" else SRC_URI="https://github.com/alanxz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" fi LICENSE="MIT" diff --git a/net-libs/rtrlib/rtrlib-0.7.0.ebuild b/net-libs/rtrlib/rtrlib-0.7.0.ebuild index 58f1a21763ec..69bccb03cd4b 100644 --- a/net-libs/rtrlib/rtrlib-0.7.0.ebuild +++ b/net-libs/rtrlib/rtrlib-0.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/net-libs/serf/files/serf-1.3.9-python3-check.patch b/net-libs/serf/files/serf-1.3.9-python3-check.patch new file mode 100644 index 000000000000..fbbfe36fefe0 --- /dev/null +++ b/net-libs/serf/files/serf-1.3.9-python3-check.patch @@ -0,0 +1,74 @@ +From 05eae144c6b3ed85f0829de6278a8f89505506f0 Mon Sep 17 00:00:00 2001 +From: Bert Huijben <rhuijben@apache.org> +Date: Mon, 2 Nov 2015 17:50:29 +0000 +Subject: [PATCH] * build/check.py Print a bit more information about the + failed test. The returncode might be interesting to track down signal + problems. + +git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1712098 13f79535-47bb-0310-9956-ffa450edef68 +--- + build/check.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/build/check.py b/build/check.py +index fc49d336..75287016 100755 +--- a/build/check.py ++++ b/build/check.py +@@ -55,13 +55,13 @@ + print "== Testing %s ==" % (case) + try: + subprocess.check_call([SERF_RESPONSE_EXE, case]) +- except subprocess.CalledProcessError: +- print "ERROR: test case %s failed" % (case) ++ except subprocess.CalledProcessError, x: ++ print "ERROR: test failed in '%s', exit code=%d" % (x.cmd, x.returncode) + sys.exit(1) + + print "== Running the unit tests ==" + try: + subprocess.check_call(TEST_ALL_EXE) +- except subprocess.CalledProcessError: +- print "ERROR: test(s) failed in test_all" ++ except subprocess.CalledProcessError, x: ++ print "ERROR: test(s) failed in '%s', exit code=%d" % (x.cmd, x.returncode) + sys.exit(1) +From 773a2ee2ca7a48dd8356707fa6774afcf5b85470 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Branko=20=C4=8Cibej?= <brane@apache.org> +Date: Sat, 9 Jun 2018 08:10:10 +0000 +Subject: [PATCH] Make the tests run with Python 3.x. + +* build/check.py: Add parentheses around 'print' statement arguments + so that they work when 'print' is a function. + +git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1833223 13f79535-47bb-0310-9956-ffa450edef68 +--- + build/check.py | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/build/check.py b/build/check.py +index 75287016..e05760f9 100755 +--- a/build/check.py ++++ b/build/check.py +@@ -52,16 +52,16 @@ + + # Find test responses and run them one by one + for case in glob.glob(testdir + "/testcases/*.response"): +- print "== Testing %s ==" % (case) ++ print("== Testing %s ==" % (case)) + try: + subprocess.check_call([SERF_RESPONSE_EXE, case]) +- except subprocess.CalledProcessError, x: +- print "ERROR: test failed in '%s', exit code=%d" % (x.cmd, x.returncode) ++ except subprocess.CalledProcessError as x: ++ print("ERROR: test failed in '%s', exit code=%d" % (x.cmd, x.returncode)) + sys.exit(1) + +- print "== Running the unit tests ==" ++ print("== Running the unit tests ==") + try: + subprocess.check_call(TEST_ALL_EXE) +- except subprocess.CalledProcessError, x: +- print "ERROR: test(s) failed in '%s', exit code=%d" % (x.cmd, x.returncode) ++ except subprocess.CalledProcessError as x: ++ print("ERROR: test(s) failed in '%s', exit code=%d" % (x.cmd, x.returncode)) + sys.exit(1) diff --git a/net-libs/serf/serf-1.3.9-r1.ebuild b/net-libs/serf/serf-1.3.9-r1.ebuild deleted file mode 100644 index 98103ddc340b..000000000000 --- a/net-libs/serf/serf-1.3.9-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic - -DESCRIPTION="HTTP client library" -HOMEPAGE="https://serf.apache.org/" -SRC_URI="mirror://apache/${PN}/${P}.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="kerberos static-libs libressl" -RESTRICT="test" - -RDEPEND="dev-libs/apr:1= - dev-libs/apr-util:1= - !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) - sys-libs/zlib:0= - kerberos? ( virtual/krb5 )" -DEPEND="${RDEPEND} - >=dev-util/scons-2.3.0" - -PATCHES=( "${FILESDIR}"/${PN}-1.3.8-static-lib.patch - "${FILESDIR}"/${PN}-1.3.8-openssl.patch - "${FILESDIR}"/${PN}-1.3.9-python3.patch - "${FILESDIR}"/${PN}-1.3.9-python3_byte.patch ) - -src_prepare() { - default - - # https://code.google.com/p/serf/issues/detail?id=133 - sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct - - # need limits.h for PATH_MAX (only when EXTENSIONS is enabled) - [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__EXTENSIONS__ -} - -src_compile() { - myesconsargs=( - PREFIX="${EPREFIX}/usr" - LIBDIR="${EPREFIX}/usr/$(get_libdir)" - # These config scripts are sent through a shell with an empty env - # which breaks the SYSROOT usage in them. Set the vars inline to - # avoid that. - APR="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apr-1-config" - APU="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apu-1-config" - BUILD_STATIC=$(usex static-libs) - AR="$(tc-getAR)" - RANLIB="$(tc-getRANLIB)" - CC="$(tc-getCC)" - CPPFLAGS="${CPPFLAGS}" - CFLAGS="${CFLAGS}" - LINKFLAGS="${LDFLAGS}" - ) - - if use kerberos; then - myesconsargs+=( GSSAPI="${SYSROOT}${EPREFIX}/usr/bin/krb5-config" ) - fi - - escons "${myesconsargs[@]}" -} - -src_test() { - escons check -} - -src_install() { - escons install --install-sandbox="${D}" -} diff --git a/net-libs/serf/serf-1.3.9-r2.ebuild b/net-libs/serf/serf-1.3.9-r2.ebuild index 5377d466a275..00e63db2a64b 100644 --- a/net-libs/serf/serf-1.3.9-r2.ebuild +++ b/net-libs/serf/serf-1.3.9-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -13,7 +13,7 @@ SRC_URI="mirror://apache/${PN}/${P}.tar.bz2" LICENSE="Apache-2.0" SLOT="1" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="kerberos static-libs libressl" RESTRICT="test" @@ -29,6 +29,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.3.8-static-lib.patch "${FILESDIR}"/${PN}-1.3.8-openssl.patch "${FILESDIR}"/${PN}-1.3.9-python3.patch "${FILESDIR}"/${PN}-1.3.9-python3_byte.patch + "${FILESDIR}"/${PN}-1.3.9-python3-check.patch "${FILESDIR}"/${PN}-1.3.9-libressl.patch ) src_prepare() { diff --git a/net-libs/signon-oauth2/Manifest b/net-libs/signon-oauth2/Manifest index 2950b1955cc5..effff8a83604 100644 --- a/net-libs/signon-oauth2/Manifest +++ b/net-libs/signon-oauth2/Manifest @@ -1,2 +1 @@ -DIST signon-oauth2-0.24.tar.gz 39011 BLAKE2B 41b672d1f489321b2f93f245530da1e51867eb4f0d1675ba72240f59f5ab7d6d2a079899e1a6dbc63c82bc53e1fab467c6696f5171c98ab00243d5ec9ddd92f4 SHA512 8a1e5be7f34419ded7841cb4de62e03ab56556f39ae40e3e11b549d45c6c51edc6888d1aab254c0ba6746d6306bb8b92dd24e473387542d6a987208c20acf6d9 DIST signon-oauth2-0.25.tar.gz 41090 BLAKE2B d14cde073cf834427e337f94345b719ad1af38a285587f987f6ed42f96e8aecfcf63720e42b7f86f2018565c198e1f31b7b75da74c86db3e8a15680da70d3f9e SHA512 721cd514ee0a1175e3b1bbaa78dc1a87fd382327bcbee8356de040f04455f7cc80ed173e3f33a6acf4c0d679847063a25282e9d5c9a9be99f730bec41be96451 diff --git a/net-libs/signon-oauth2/files/signon-oauth2-0.24-disable-examples.patch b/net-libs/signon-oauth2/files/signon-oauth2-0.24-disable-examples.patch deleted file mode 100644 index dd730e449773..000000000000 --- a/net-libs/signon-oauth2/files/signon-oauth2-0.24-disable-examples.patch +++ /dev/null @@ -1,14 +0,0 @@ -Author: Diane Trout <diane@ghic.org> -Description: Don't install the examples as they end up conflicting with - other packages. ---- a/signon-oauth2.pro -+++ b/signon-oauth2.pro -@@ -3,7 +3,7 @@ - - TEMPLATE = subdirs - CONFIG += ordered --SUBDIRS = src tests example -+SUBDIRS = src tests - - include( common-installs-config.pri ) - diff --git a/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild deleted file mode 100644 index 5317e17cef7b..000000000000 --- a/net-libs/signon-oauth2/signon-oauth2-0.24.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=signon-plugin-oauth2 -MY_PV=VERSION_${PV} -inherit qmake-utils - -DESCRIPTION="OAuth2 plugin for Signon daemon" -HOMEPAGE="https://gitlab.com/accounts-sso/signon-plugin-oauth2" -SRC_URI="https://gitlab.com/accounts-sso/${MY_PN}/-/archive/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - net-libs/signond -" -DEPEND="${RDEPEND} - test? ( dev-qt/qttest:5 ) -" - -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}/${P}-disable-examples.patch" - "${FILESDIR}/${P}-dont-install-tests.patch" -) - -src_prepare() { - default - sed -i -e '/QMAKE_CXXFLAGS.*Werror/s/^/#DONT /' common-project-config.pri || - die "failed to disable -Werror" - if ! use test; then - sed -i -e '/^SUBDIRS/s/tests//' signon-oauth2.pro || - die "Failed to disable tests" - fi -} - -src_configure() { - eqmake5 \ - LIBDIR=/usr/$(get_libdir) -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} diff --git a/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild b/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild index 90aad7e670c0..cdd4b582c806 100644 --- a/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild +++ b/net-libs/signon-oauth2/signon-oauth2-0.25.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://gitlab.com/accounts-sso/${MY_PN}/-/archive/${MY_PV}/${MY_P}.tar LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild b/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild index 1c99cfc52cc3..29a7bc245040 100644 --- a/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild +++ b/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://cwrap.org/socket_wrapper.html" SRC_URI="https://ftp.samba.org/pub/cwrap/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-libs/srt/srt-1.4.1-r1.ebuild b/net-libs/srt/srt-1.4.1-r1.ebuild index e426154810a7..edd31e600422 100644 --- a/net-libs/srt/srt-1.4.1-r1.ebuild +++ b/net-libs/srt/srt-1.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2020 Gentoo Authors +# Copyright 2018-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/Haivision/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos ~x86-macos" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos" fi LICENSE="MPL-2.0" diff --git a/net-libs/srt/srt-1.4.2.ebuild b/net-libs/srt/srt-1.4.2.ebuild index 6ae97e60aff7..cad2371d541f 100644 --- a/net-libs/srt/srt-1.4.2.ebuild +++ b/net-libs/srt/srt-1.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2020 Gentoo Authors +# Copyright 2018-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/Haivision/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos" fi LICENSE="MPL-2.0" diff --git a/net-libs/srt/srt-9999.ebuild b/net-libs/srt/srt-9999.ebuild index ff120fc842f0..a75247ff1f8d 100644 --- a/net-libs/srt/srt-9999.ebuild +++ b/net-libs/srt/srt-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2020 Gentoo Authors +# Copyright 2018-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/Haivision/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos" fi LICENSE="MPL-2.0" diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest index d79d7941a961..01551d0a123d 100644 --- a/net-libs/stem/Manifest +++ b/net-libs/stem/Manifest @@ -1,5 +1,3 @@ -DIST stem-1.5.4.tar.gz 1915722 BLAKE2B 37c278eab0d7c7c305d7fcb498ff39460921ff59ea16cbe97d985c742290b8ca938218cbc7d5e4d1106ffc9f6a20461a4692afd14565698abbdfbd8015cb6f18 SHA512 1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7 -DIST stem-1.6.0.tar.gz 2049999 BLAKE2B 10846dbd20f22b489fa885e8f100eb2ba4053aca46db140463882cbc1f5701893e6a4a28820100e05e3ed4fa5ff76135a3b20ec1af917a63f63b3abdf5361df6 SHA512 499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484 SHA512 10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a08666689695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5 DIST stem-1.7.1.tar.gz 2196854 BLAKE2B 318b762390ad5f1b8a7ad49bd442841d4552cf3d6782c7c912ca8251a076baa6d01bd6f60ea2d79f96994f7c29775c09b815ee41177c638c7e4089e5f4b1b1e4 SHA512 a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c DIST stem-1.8.0.tar.gz 2853802 BLAKE2B a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09 SHA512 aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d diff --git a/net-libs/stem/stem-1.5.4.ebuild b/net-libs/stem/stem-1.5.4.ebuild deleted file mode 100644 index 1c1e762f7a37..000000000000 --- a/net-libs/stem/stem-1.5.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit vcs-snapshot distutils-r1 - -DESCRIPTION="Stem is a Python controller library for Tor" -HOMEPAGE="https://stem.torproject.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] - net-vpn/tor ) - dev-python/setuptools[${PYTHON_USEDEP}]" - -RDEPEND="net-vpn/tor" - -DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} ) - -python_prepare_all() { - # Disable failing test - sed -i -e "/test_expand_path/a \ - \ \ \ \ return" test/integ/util/system.py || die - sed -i -e "/test_parsing_with_example/a \ - \ \ \ \ return" test/unit/manual.py || die - sed -i -e "/test_parsing_with_unknown_options/a \ - \ \ \ \ return" test/unit/manual.py || die - sed -i -e "/test_saving_manual/a \ - \ \ \ \ return" test/unit/manual.py || die - sed -i -e "/test_sdist_matches_git/a \ - \ \ \ \ return" test/integ/installation.py || die - distutils-r1_python_prepare_all -} - -python_test() { - ${PYTHON} run_tests.py --all --target RUN_ALL || die -} diff --git a/net-libs/stem/stem-1.6.0.ebuild b/net-libs/stem/stem-1.6.0.ebuild deleted file mode 100644 index 1c1e762f7a37..000000000000 --- a/net-libs/stem/stem-1.6.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit vcs-snapshot distutils-r1 - -DESCRIPTION="Stem is a Python controller library for Tor" -HOMEPAGE="https://stem.torproject.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] - net-vpn/tor ) - dev-python/setuptools[${PYTHON_USEDEP}]" - -RDEPEND="net-vpn/tor" - -DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} ) - -python_prepare_all() { - # Disable failing test - sed -i -e "/test_expand_path/a \ - \ \ \ \ return" test/integ/util/system.py || die - sed -i -e "/test_parsing_with_example/a \ - \ \ \ \ return" test/unit/manual.py || die - sed -i -e "/test_parsing_with_unknown_options/a \ - \ \ \ \ return" test/unit/manual.py || die - sed -i -e "/test_saving_manual/a \ - \ \ \ \ return" test/unit/manual.py || die - sed -i -e "/test_sdist_matches_git/a \ - \ \ \ \ return" test/integ/installation.py || die - distutils-r1_python_prepare_all -} - -python_test() { - ${PYTHON} run_tests.py --all --target RUN_ALL || die -} diff --git a/net-libs/tox/tox-0.2.11.ebuild b/net-libs/tox/tox-0.2.11-r1.ebuild index d293d7067869..e508bc927f6d 100644 --- a/net-libs/tox/tox-0.2.11.ebuild +++ b/net-libs/tox/tox-0.2.11-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,10 +23,10 @@ BDEPEND="virtual/pkgconfig" DEPEND=" >dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal] av? ( - media-libs/libvpx + media-libs/libvpx:= media-libs/opus ) - daemon? ( dev-libs/libconfig )" + daemon? ( dev-libs/libconfig:= )" RDEPEND=" ${DEPEND} daemon? ( diff --git a/net-libs/tox/tox-0.2.12.ebuild b/net-libs/tox/tox-0.2.12-r1.ebuild index 76511a2fe702..3e3ebd067401 100644 --- a/net-libs/tox/tox-0.2.12.ebuild +++ b/net-libs/tox/tox-0.2.12-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,7 +26,7 @@ DEPEND=" media-libs/libvpx:= media-libs/opus ) - daemon? ( dev-libs/libconfig )" + daemon? ( dev-libs/libconfig:= )" RDEPEND=" ${DEPEND} daemon? ( diff --git a/net-libs/tox/tox-9999.ebuild b/net-libs/tox/tox-9999.ebuild index 6e0181ca0d85..e80ab4531665 100644 --- a/net-libs/tox/tox-9999.ebuild +++ b/net-libs/tox/tox-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,7 @@ DEPEND=">dev-libs/libsodium-0.6.1:=[asm,urandom,-minimal] media-libs/libvpx:= media-libs/opus ) - daemon? ( dev-libs/libconfig )" + daemon? ( dev-libs/libconfig:= )" RDEPEND=" ${DEPEND} daemon? ( diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index 5e05ea7fde1a..9957c880314d 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -1 +1,2 @@ DIST webkitgtk-2.30.3.tar.xz 22311704 BLAKE2B d5a8ba1fe7fbbcd3d8504ad98650ec685a41ddaa43e1392172cf7840100157a283e4ccf4cf62f2f581deffd8d860cf61b43fe59178b02306efb88c8e1a803520 SHA512 cbb8298bdb791eb60a214c36ec9ced398fc5c07f580d60d001483ca3f616a309394013239affd16f6eefd8c2fb178bbf5b566ab4480fe3349e1856c80ec78ddf +DIST webkitgtk-2.30.4.tar.xz 22310784 BLAKE2B 648f03c929212b57f3197b0540e002dca5b277c44e9e73612b20ac1861747585aeb835ce25e98d5073d67a5ab5fc7c13985d280e6e658ac22619233db911ae97 SHA512 dff9e3bd17de8481d940a48b0697458a0c1c71a987f4d50ee7bc46b0203ed6802a9ec82c3a21ea9b7211ab900fa75b89b2a05b0ca6aed319ad66ec317d02c571 diff --git a/net-libs/webkit-gtk/metadata.xml b/net-libs/webkit-gtk/metadata.xml index 8556bb864a38..62856825e790 100644 --- a/net-libs/webkit-gtk/metadata.xml +++ b/net-libs/webkit-gtk/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="egl">Enable EGL support</flag> + <flag name="examples">Install the MiniBrowser example application</flag> <flag name="gamepad">Enable gamepad input support via <pkg>dev-libs/libmanette</pkg></flag> <flag name="geolocation">Enable geolocation support through <pkg>app-misc/geoclue</pkg></flag> <flag name="jumbo-build">Combine source files to speed up build process</flag> diff --git a/net-libs/webkit-gtk/webkit-gtk-2.30.4-r1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.30.4-r1.ebuild new file mode 100644 index 000000000000..aef68d5e80fe --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.30.4-r1.ebuild @@ -0,0 +1,300 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit check-reqs cmake flag-o-matic gnome2 pax-utils python-any-r1 ruby-single toolchain-funcs virtualx + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="4/37" # soname version of libwebkit2gtk-4.0 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" + +IUSE="aqua +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify +opengl seccomp spell systemd wayland +X" + +# gstreamer with opengl/gles2 needs egl +REQUIRED_USE=" + gles2-only? ( egl !opengl ) + gstreamer? ( opengl? ( egl ) ) + wayland? ( egl ) + || ( aqua wayland X ) +" + +# Tests fail to link for inexplicable reasons +# https://bugs.webkit.org/show_bug.cgi?id=148210 +RESTRICT="test" + +# Aqua support in gtk3 is untested +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Various compile-time optionals for gtk+-3.22.0 - ensure it +# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30 +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +wpe_depend=" + >=gui-libs/libwpe-1.5.0:1.0 + >=gui-libs/wpebackend-fdo-1.7.0:1.0 +" +# TODO: gst-plugins-base[X] is only needed when build configuration ends up with GLX set, but that's a bit automagic too to fix +RDEPEND=" + >=x11-libs/cairo-1.16.0:=[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-60.2:= + virtual/jpeg:0= + >=net-libs/libsoup-2.54:2.4[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3= + sys-libs/zlib:0 + >=dev-libs/atk-2.16.0 + media-libs/libwebp:= + + >=dev-libs/glib-2.44.0:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + gnome-keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.32.0:= ) + dev-libs/libtasn1:= + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.14:1.0 + >=media-libs/gst-plugins-base-1.14:1.0[egl?,opengl?,X?] + gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) + >=media-plugins/gst-plugins-opus-1.14.4-r1:1.0 + >=media-libs/gst-plugins-bad-1.14:1.0 ) + + X? ( + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrender + x11-libs/libXt ) + + libnotify? ( x11-libs/libnotify ) + dev-libs/hyphen + jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) + + egl? ( media-libs/mesa[egl] ) + gles2-only? ( media-libs/mesa[gles2] ) + opengl? ( virtual/opengl ) + wayland? ( + dev-libs/wayland + >=dev-libs/wayland-protocols-1.12 + opengl? ( ${wpe_depend} ) + gles2-only? ( ${wpe_depend} ) + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) +" +unset wpe_depend +DEPEND="${RDEPEND}" +# paxctl needed for bug #407085 +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP + + gtk-doc? ( >=dev-util/gtk-doc-1.32 ) + geolocation? ( dev-util/gdbus-codegen ) + >=dev-util/cmake-3.10 +" +# test? ( +# dev-python/pygobject:3[python_targets_python2_7] +# x11-themes/hicolor-icon-theme +# jit? ( sys-apps/paxctl ) ) +RDEPEND="${RDEPEND} + geolocation? ( >=app-misc/geoclue-2.1.5:2.0 ) +" + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + + if ! test-flag-CXX -std=c++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi + + if ! use opengl && ! use gles2-only; then + ewarn + ewarn "You are disabling OpenGL usage (USE=opengl or USE=gles2-only) completely." + ewarn "This is an unsupported configuration meant for very specific embedded" + ewarn "use cases, where there truly is no GL possible (and even that use case" + ewarn "is very unlikely to come by). If you have GL (even software-only), you" + ewarn "really really should be enabling OpenGL!" + ewarn + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + eapply "${FILESDIR}"/${PN}-2.24.4-eglmesaext-include.patch # bug 699054 # https://bugs.webkit.org/show_bug.cgi?id=204108 + eapply "${FILESDIR}"/2.28.2-opengl-without-X-fixes.patch + eapply "${FILESDIR}"/2.28.2-non-jumbo-fix.patch + eapply "${FILESDIR}"/2.28.4-non-jumbo-fix2.patch + eapply "${FILESDIR}"/2.30.3-fix-noGL-build.patch + cmake_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # Sigbuses on SPARC with mcpu and co., bug #??? + use sparc && filter-flags "-mvis" + + # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 + use ppc64 && append-flags "-mminimal-toc" + + # Try to use less memory, bug #469942 (see Fedora .spec for reference) + # --no-keep-memory doesn't work on ia64, bug #502492 + if ! use ia64; then + append-ldflags "-Wl,--no-keep-memory" + fi + + # We try to use gold when possible for this package +# if ! tc-ld-is-gold ; then +# append-ldflags "-Wl,--reduce-memory-overheads" +# fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}]"; then + ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" + + # TODO: Check Web Audio support + # should somehow let user select between them? + # + # opengl needs to be explicetly handled, bug #576634 + + local use_wpe_renderer=OFF + local opengl_enabled + if use opengl || use gles2-only; then + opengl_enabled=ON + use wayland && use_wpe_renderer=ON + else + opengl_enabled=OFF + fi + + local mycmakeargs=( + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_API_TESTS=$(usex test) + -DENABLE_GTKDOC=$(usex gtk-doc) + -DENABLE_GEOLOCATION=$(usex geolocation) # Runtime optional (talks over dbus service) + $(cmake_use_find_package gles2-only OpenGLES2) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_VIDEO=$(usex gstreamer) + -DENABLE_WEB_AUDIO=$(usex gstreamer) + -DENABLE_INTROSPECTION=$(usex introspection) + -DUSE_LIBNOTIFY=$(usex libnotify) + -DUSE_LIBSECRET=$(usex gnome-keyring) + -DUSE_OPENJPEG=$(usex jpeg2k) + -DUSE_WOFF2=ON + -DENABLE_SPELLCHECK=$(usex spell) + -DUSE_SYSTEMD=$(usex systemd) # Whether to enable journald logging + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DUSE_WPE_RENDERER=${use_wpe_renderer} # WPE renderer is used to implement accelerated compositing under wayland + $(cmake_use_find_package egl EGL) + $(cmake_use_find_package opengl OpenGL) + -DENABLE_X11_TARGET=$(usex X) + -DENABLE_GRAPHICS_CONTEXT_GL=${opengl_enabled} + -DENABLE_WEBGL=${opengl_enabled} + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy + -DPORT=GTK + ${ruby_interpreter} + ) + + # Allow it to use GOLD when possible as it has all the magic to + # detect when to use it and using gold for this concrete package has + # multiple advantages and is also the upstream default, bug #585788 +# if tc-ld-is-gold ; then +# mycmakeargs+=( -DUSE_LD_GOLD=ON ) +# else +# mycmakeargs+=( -DUSE_LD_GOLD=OFF ) +# fi + + # https://bugs.gentoo.org/761238 + append-cppflags -DNDEBUG + + WK_USE_CCACHE=NO cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_test() { + # Prevents test failures on PaX systems + pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* + + cmake_src_test +} + +src_install() { + cmake_src_install + + # Prevents crashes on PaX systems, bug #522808 + pax-mark m "${ED}/usr/libexec/webkit2gtk-4.0/jsc" "${ED}/usr/libexec/webkit2gtk-4.0/WebKitWebProcess" + pax-mark m "${ED}/usr/libexec/webkit2gtk-4.0/WebKitPluginProcess" +} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.30.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.30.4.ebuild new file mode 100644 index 000000000000..418ef52a1bcf --- /dev/null +++ b/net-libs/webkit-gtk/webkit-gtk-2.30.4.ebuild @@ -0,0 +1,296 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit check-reqs cmake flag-o-matic gnome2 pax-utils python-any-r1 ruby-single toolchain-funcs virtualx + +MY_P="webkitgtk-${PV}" +DESCRIPTION="Open source web browser engine" +HOMEPAGE="https://www.webkitgtk.org" +SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" + +LICENSE="LGPL-2+ BSD" +SLOT="4/37" # soname version of libwebkit2gtk-4.0 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" + +IUSE="aqua +egl gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify +opengl seccomp spell systemd wayland +X" + +# gstreamer with opengl/gles2 needs egl +REQUIRED_USE=" + gles2-only? ( egl !opengl ) + gstreamer? ( opengl? ( egl ) ) + wayland? ( egl ) + || ( aqua wayland X ) +" + +# Tests fail to link for inexplicable reasons +# https://bugs.webkit.org/show_bug.cgi?id=148210 +RESTRICT="test" + +# Aqua support in gtk3 is untested +# Dependencies found at Source/cmake/OptionsGTK.cmake +# Various compile-time optionals for gtk+-3.22.0 - ensure it +# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30 +# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) +wpe_depend=" + >=gui-libs/libwpe-1.5.0:1.0 + >=gui-libs/wpebackend-fdo-1.7.0:1.0 +" +# TODO: gst-plugins-base[X] is only needed when build configuration ends up with GLX set, but that's a bit automagic too to fix +RDEPEND=" + >=x11-libs/cairo-1.16.0:=[X?] + >=media-libs/fontconfig-2.13.0:1.0 + >=media-libs/freetype-2.9.0:2 + >=dev-libs/libgcrypt-1.7.0:0= + >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-60.2:= + virtual/jpeg:0= + >=net-libs/libsoup-2.54:2.4[introspection?] + >=dev-libs/libxml2-2.8.0:2 + >=media-libs/libpng-1.4:0= + dev-db/sqlite:3= + sys-libs/zlib:0 + >=dev-libs/atk-2.16.0 + media-libs/libwebp:= + + >=dev-libs/glib-2.44.0:2 + >=dev-libs/libxslt-1.1.7 + media-libs/woff2 + gnome-keyring? ( app-crypt/libsecret ) + introspection? ( >=dev-libs/gobject-introspection-1.32.0:= ) + dev-libs/libtasn1:= + spell? ( >=app-text/enchant-0.22:2 ) + gstreamer? ( + >=media-libs/gstreamer-1.14:1.0 + >=media-libs/gst-plugins-base-1.14:1.0[egl?,opengl?,X?] + gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) + >=media-plugins/gst-plugins-opus-1.14.4-r1:1.0 + >=media-libs/gst-plugins-bad-1.14:1.0 ) + + X? ( + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrender + x11-libs/libXt ) + + libnotify? ( x11-libs/libnotify ) + dev-libs/hyphen + jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) + + egl? ( media-libs/mesa[egl] ) + gles2-only? ( media-libs/mesa[gles2] ) + opengl? ( virtual/opengl ) + wayland? ( + dev-libs/wayland + >=dev-libs/wayland-protocols-1.12 + opengl? ( ${wpe_depend} ) + gles2-only? ( ${wpe_depend} ) + ) + + seccomp? ( + >=sys-apps/bubblewrap-0.3.1 + sys-libs/libseccomp + sys-apps/xdg-dbus-proxy + ) + + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) +" +unset wpe_depend +DEPEND="${RDEPEND}" +# paxctl needed for bug #407085 +# Need real bison, not yacc +BDEPEND=" + ${PYTHON_DEPS} + ${RUBY_DEPS} + >=app-accessibility/at-spi2-core-2.5.3 + dev-util/glib-utils + >=dev-util/gperf-3.0.1 + >=sys-devel/bison-2.4.3 + || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) + sys-devel/gettext + virtual/pkgconfig + + >=dev-lang/perl-5.10 + virtual/perl-Data-Dumper + virtual/perl-Carp + virtual/perl-JSON-PP + + gtk-doc? ( >=dev-util/gtk-doc-1.32 ) + geolocation? ( dev-util/gdbus-codegen ) + >=dev-util/cmake-3.10 +" +# test? ( +# dev-python/pygobject:3[python_targets_python2_7] +# x11-themes/hicolor-icon-theme +# jit? ( sys-apps/paxctl ) ) +RDEPEND="${RDEPEND} + geolocation? ( >=app-misc/geoclue-2.1.5:2.0 ) +" + +S="${WORKDIR}/${MY_P}" + +CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] ; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + + if ! test-flag-CXX -std=c++17 ; then + die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" + fi + fi + + if ! use opengl && ! use gles2-only; then + ewarn + ewarn "You are disabling OpenGL usage (USE=opengl or USE=gles2-only) completely." + ewarn "This is an unsupported configuration meant for very specific embedded" + ewarn "use cases, where there truly is no GL possible (and even that use case" + ewarn "is very unlikely to come by). If you have GL (even software-only), you" + ewarn "really really should be enabling OpenGL!" + ewarn + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then + check-reqs_pkg_setup + fi + + python-any-r1_pkg_setup +} + +src_prepare() { + eapply "${FILESDIR}"/${PN}-2.24.4-eglmesaext-include.patch # bug 699054 # https://bugs.webkit.org/show_bug.cgi?id=204108 + eapply "${FILESDIR}"/2.28.2-opengl-without-X-fixes.patch + eapply "${FILESDIR}"/2.28.2-non-jumbo-fix.patch + eapply "${FILESDIR}"/2.28.4-non-jumbo-fix2.patch + eapply "${FILESDIR}"/2.30.3-fix-noGL-build.patch + cmake_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # It does not compile on alpha without this in LDFLAGS + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 + use alpha && append-ldflags "-Wl,--no-relax" + + # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 + use ia64 && append-ldflags "-Wl,--no-as-needed" + + # Sigbuses on SPARC with mcpu and co., bug #??? + use sparc && filter-flags "-mvis" + + # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 + use ppc64 && append-flags "-mminimal-toc" + + # Try to use less memory, bug #469942 (see Fedora .spec for reference) + # --no-keep-memory doesn't work on ia64, bug #502492 + if ! use ia64; then + append-ldflags "-Wl,--no-keep-memory" + fi + + # We try to use gold when possible for this package +# if ! tc-ld-is-gold ; then +# append-ldflags "-Wl,--reduce-memory-overheads" +# fi + + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + for rubyimpl in ${USE_RUBY}; do + if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}]"; then + ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" + + # TODO: Check Web Audio support + # should somehow let user select between them? + # + # opengl needs to be explicetly handled, bug #576634 + + local use_wpe_renderer=OFF + local opengl_enabled + if use opengl || use gles2-only; then + opengl_enabled=ON + use wayland && use_wpe_renderer=ON + else + opengl_enabled=OFF + fi + + local mycmakeargs=( + -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) + -DENABLE_QUARTZ_TARGET=$(usex aqua) + -DENABLE_API_TESTS=$(usex test) + -DENABLE_GTKDOC=$(usex gtk-doc) + -DENABLE_GEOLOCATION=$(usex geolocation) # Runtime optional (talks over dbus service) + $(cmake_use_find_package gles2-only OpenGLES2) + -DENABLE_GLES2=$(usex gles2-only) + -DENABLE_VIDEO=$(usex gstreamer) + -DENABLE_WEB_AUDIO=$(usex gstreamer) + -DENABLE_INTROSPECTION=$(usex introspection) + -DUSE_LIBNOTIFY=$(usex libnotify) + -DUSE_LIBSECRET=$(usex gnome-keyring) + -DUSE_OPENJPEG=$(usex jpeg2k) + -DUSE_WOFF2=ON + -DENABLE_SPELLCHECK=$(usex spell) + -DUSE_SYSTEMD=$(usex systemd) # Whether to enable journald logging + -DENABLE_GAMEPAD=$(usex gamepad) + -DENABLE_WAYLAND_TARGET=$(usex wayland) + -DUSE_WPE_RENDERER=${use_wpe_renderer} # WPE renderer is used to implement accelerated compositing under wayland + $(cmake_use_find_package egl EGL) + $(cmake_use_find_package opengl OpenGL) + -DENABLE_X11_TARGET=$(usex X) + -DENABLE_GRAPHICS_CONTEXT_GL=${opengl_enabled} + -DENABLE_WEBGL=${opengl_enabled} + -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) + -DBWRAP_EXECUTABLE="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that + -DCMAKE_BUILD_TYPE=Release + -DPORT=GTK + ${ruby_interpreter} + ) + + # Allow it to use GOLD when possible as it has all the magic to + # detect when to use it and using gold for this concrete package has + # multiple advantages and is also the upstream default, bug #585788 +# if tc-ld-is-gold ; then +# mycmakeargs+=( -DUSE_LD_GOLD=ON ) +# else +# mycmakeargs+=( -DUSE_LD_GOLD=OFF ) +# fi + + WK_USE_CCACHE=NO cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_test() { + # Prevents test failures on PaX systems + pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* + + cmake_src_test +} + +src_install() { + cmake_src_install + + # Prevents crashes on PaX systems, bug #522808 + pax-mark m "${ED}/usr/libexec/webkit2gtk-4.0/jsc" "${ED}/usr/libexec/webkit2gtk-4.0/WebKitWebProcess" + pax-mark m "${ED}/usr/libexec/webkit2gtk-4.0/WebKitPluginProcess" +} diff --git a/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild b/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild index 06f36322819b..0769d3c5d002 100644 --- a/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild +++ b/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 hppa ppc sparc x86" +KEYWORDS="~alpha amd64 ~hppa ppc sparc x86" IUSE="boost +dbus debug doc libressl pam" #Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL! diff --git a/net-libs/zeromq/zeromq-4.3.3.ebuild b/net-libs/zeromq/zeromq-4.3.3.ebuild index 9865f11a8220..9d912f36c50a 100644 --- a/net-libs/zeromq/zeromq-4.3.3.ebuild +++ b/net-libs/zeromq/zeromq-4.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 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/libzmq/releases/download/v${PV}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0/5" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" RESTRICT="!test? ( test )" |
