From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26FD3158092 for ; Tue, 14 Sep 2021 08:56:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65E47E0921; Tue, 14 Sep 2021 08:56:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F2E0E0921 for ; Tue, 14 Sep 2021 08:56:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2462C340B63 for ; Tue, 14 Sep 2021 08:56:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88D2379 for ; Tue, 14 Sep 2021 08:56:11 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1631609758.6ba3beb39b55aa3b143db084cfe7ef13a7528cc4.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/wget2/Manifest net-misc/wget2/metadata.xml net-misc/wget2/wget2-2.0.0.ebuild X-VCS-Directories: net-misc/wget2/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 6ba3beb39b55aa3b143db084cfe7ef13a7528cc4 X-VCS-Branch: master Date: Tue, 14 Sep 2021 08:56:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1171dc77-545d-43b5-b01e-25c3b7d7a1ba X-Archives-Hash: c44b15f7a8ed6ed5ef9da6715f840b27 commit: 6ba3beb39b55aa3b143db084cfe7ef13a7528cc4 Author: Lars Wendler gentoo org> AuthorDate: Tue Sep 14 08:55:45 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Sep 14 08:55:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba3beb3 net-misc/wget2: Bump to version 2.0.0 Signed-off-by: Lars Wendler gentoo.org> net-misc/wget2/Manifest | 1 + net-misc/wget2/metadata.xml | 1 + net-misc/wget2/wget2-2.0.0.ebuild | 93 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) diff --git a/net-misc/wget2/Manifest b/net-misc/wget2/Manifest index 75fd6320318..6477a0cf479 100644 --- a/net-misc/wget2/Manifest +++ b/net-misc/wget2/Manifest @@ -1 +1,2 @@ DIST wget2-1.99.2.tar.gz 3173906 BLAKE2B 1fc63de32725d0d980469cc730d17035a01ccb432a91fe24c37e06017c2604a4ef6d8474e76eb757c3a22cc61ea6c70e26af40dffc474a87f8bbdb2a8deced7c SHA512 c2c687124a2463d6a0397cd7dbbc5e475ba815e8d7e13a4b71b529e6be03c9f7dbe5f358702e929ed36034f6fffc698f3b1c5ac486a35e2b00ee6f135060ad7f +DIST wget2-2.0.0.tar.gz 3565643 BLAKE2B 8792950942c88aceed41aa1d00b2c39d55e057795d0f68e8bfe9a1da548161aa49eaa82d13e8ea3e14cccee4423d41f9643baff1007361c26464b10683a8ef88 SHA512 59be98a43057220f4eb4314d0876990c21bbc2606a82444e03282ca55d6de18a382fb75b3fcbb1e7f5a5930cd9a81c6c73cdac2ffba3932b55816fb8140c00eb diff --git a/net-misc/wget2/metadata.xml b/net-misc/wget2/metadata.xml index 04930967f84..5c9152ae45c 100644 --- a/net-misc/wget2/metadata.xml +++ b/net-misc/wget2/metadata.xml @@ -9,6 +9,7 @@ Enable support for brotli compression Build app-crypt/gpgme backend Enable HTTP/2.0 support via net-libs/nghttp2 + Enable app-arch/lzip support Enable crypto support via dev-libs/openssl Use public suffix list via net-libs/libpsl Depend on dev-util/valgrind for test suite diff --git a/net-misc/wget2/wget2-2.0.0.ebuild b/net-misc/wget2/wget2-2.0.0.ebuild new file mode 100644 index 00000000000..2926f483723 --- /dev/null +++ b/net-misc/wget2/wget2-2.0.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="GNU Wget2 is a file and recursive website downloader" +HOMEPAGE="https://gitlab.com/gnuwget/wget2" +SRC_URI="mirror://gnu/wget/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/0" # subslot = libwget.so version +KEYWORDS="~amd64 ~x86" +IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl +ssl test valgrind xattr zlib" +REQUIRED_USE="valgrind? ( test )" + +RDEPEND=" + brotli? ( app-arch/brotli ) + bzip2? ( app-arch/bzip2 ) + !gnutls? ( dev-libs/libgcrypt:= ) + ssl? ( + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + dev-libs/openssl:0= + ) + ) + gpgme? ( + app-crypt/gpgme + dev-libs/libassuan + dev-libs/libgpg-error + ) + http2? ( net-libs/nghttp2 ) + idn? ( net-dns/libidn2:= ) + lzip? ( app-arch/lzlib ) + lzma? ( app-arch/xz-utils ) + pcre? ( dev-libs/libpcre2 ) + psl? ( net-libs/libpsl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + valgrind? ( dev-util/valgrind ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + # Upstream attempts to be "smart" by calling ldconfig in + # install-exec-hook + "${FILESDIR}"/${PN}-1.99.2-remove_ldconfig_call.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + --with-plugin-support + --with-ssl="$(usex ssl $(usex gnutls gnutls openssl) none)" + --without-libidn + --without-libmicrohttpd + $(use_enable doc) + $(use_enable valgrind valgrind-tests) + $(use_enable xattr) + $(use_with brotli brotlidec) + $(use_with bzip2) + $(use_with gpgme) + $(use_with http2 libnghttp2) + $(use_with idn libidn2) + $(use_with lzip lz) + $(use_with lzma) + $(use_with pcre libpcre2) + $(use_with psl libpsl) + $(use_with zlib) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + doman docs/man/man{1/*.1,3/*.3} + + find "${D}" -type f -name '*.la' -delete || die + rm "${ED}"/usr/bin/${PN}_noinstall || die +}