From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- net-misc/wget2/Manifest | 4 + .../files/wget2-1.99.2-remove_ldconfig_call.patch | 25 ++++++ net-misc/wget2/metadata.xml | 16 ++++ net-misc/wget2/wget2-1.99.2.ebuild | 92 ++++++++++++++++++++++ 4 files changed, 137 insertions(+) create mode 100644 net-misc/wget2/Manifest create mode 100644 net-misc/wget2/files/wget2-1.99.2-remove_ldconfig_call.patch create mode 100644 net-misc/wget2/metadata.xml create mode 100644 net-misc/wget2/wget2-1.99.2.ebuild (limited to 'net-misc/wget2') diff --git a/net-misc/wget2/Manifest b/net-misc/wget2/Manifest new file mode 100644 index 000000000000..e8121cac1bc9 --- /dev/null +++ b/net-misc/wget2/Manifest @@ -0,0 +1,4 @@ +AUX wget2-1.99.2-remove_ldconfig_call.patch 768 BLAKE2B 203ad8814f1eba1f671ee4e612851c73bb764c125a4db392c3baf0a1eef05652f883f21d9bf0dc4528fa40cda79edc29f836a27782003bb78f336136fcee1e3a SHA512 75e90ad557cb231aafb5d28f8403c9bdeb2d61f64d10084df20ab077b3fc16cf7bd47d880d04ea6f1db0a09870e7161f5ac644d340ba4526354e62d238b477d3 +DIST wget2-1.99.2.tar.gz 3173906 BLAKE2B 1fc63de32725d0d980469cc730d17035a01ccb432a91fe24c37e06017c2604a4ef6d8474e76eb757c3a22cc61ea6c70e26af40dffc474a87f8bbdb2a8deced7c SHA512 c2c687124a2463d6a0397cd7dbbc5e475ba815e8d7e13a4b71b529e6be03c9f7dbe5f358702e929ed36034f6fffc698f3b1c5ac486a35e2b00ee6f135060ad7f +EBUILD wget2-1.99.2.ebuild 2021 BLAKE2B b4e1a611f429780746353792c876a1fefc082ad3684e111b2832ec9098fcd7985669eaf5200dc12939a947e636bea52b7c7a142b5036932250989fe177d0dd79 SHA512 98a75a65fff0dc92540b0143fe2765f02f1260d8f47634a62b1ad4cae9791529c36354630b5eedb07f4686c5023e06c0ea1ebcbb3b861e913a2d26d2e953258b +MISC metadata.xml 652 BLAKE2B 3404cf0ecbba0e6fbb3a1e1d232eb379fbcaf0e5f8d295c439a3d5613496c957daf40816f4bc5047df48e35fa4343f6fd874763e6681532412e9446e5860ee27 SHA512 8d98d6217536cd6a0ea07fdd588fd4f44f82e66c4dd6a8ecccbc58ddd5c4e4a0bef8e282fccc0064a442f5d6131b1475c7b1ef956f4841a990ddbcbf619c55b4 diff --git a/net-misc/wget2/files/wget2-1.99.2-remove_ldconfig_call.patch b/net-misc/wget2/files/wget2-1.99.2-remove_ldconfig_call.patch new file mode 100644 index 000000000000..6953b7314b63 --- /dev/null +++ b/net-misc/wget2/files/wget2-1.99.2-remove_ldconfig_call.patch @@ -0,0 +1,25 @@ +From eb2aefb01868e91f2e1252ddd1bcdb9c075e5b49 Mon Sep 17 00:00:00 2001 +From: Lars Wendler +Date: Sun, 8 Mar 2020 21:46:15 +0100 +Subject: [PATCH] Don't run ldconfig by default + +Signed-off-by: Lars Wendler +--- + Makefile.am | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 979ad1b1..5bc6f6ce 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -75,7 +75,3 @@ fuzz-coverage: clean clean-lcov + check-local: + $(AM_V_at)$(MAKE) -s syntax-check >/dev/null + $(AM_V_at)$(srcdir)/contrib/check_options $(srcdir)/docs/wget2.md $(builddir)/src/wget2$(EXEEXT) +- +-# ppl often forget to run ldconfig after an install, so let's do it here +-install-exec-hook: +- $(AM_V_at)$(LDCONFIG) || : +-- +2.25.1 + diff --git a/net-misc/wget2/metadata.xml b/net-misc/wget2/metadata.xml new file mode 100644 index 000000000000..c84bc2d35c97 --- /dev/null +++ b/net-misc/wget2/metadata.xml @@ -0,0 +1,16 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + Enable support for brotli compression + Build gpgme backend + Enable HTTP/2.0 support + Enable crypto support via dev-libs/openssl + Use public suffix list via media-libs/libnspsl + Depend on dev-util/vagrind for test suite + + diff --git a/net-misc/wget2/wget2-1.99.2.ebuild b/net-misc/wget2/wget2-1.99.2.ebuild new file mode 100644 index 000000000000..6e48cfdc1eea --- /dev/null +++ b/net-misc/wget2/wget2-1.99.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2020 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 libressl 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? ( + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) + ) + ) + gpgme? ( + app-crypt/gpgme + dev-libs/libassuan + dev-libs/libgpg-error + ) + http2? ( net-libs/nghttp2 ) + idn? ( net-dns/libidn2:= ) + 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 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 +} -- cgit v1.2.3