1 |
commit: 6ba3beb39b55aa3b143db084cfe7ef13a7528cc4 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 14 08:55:45 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 14 08:55:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba3beb3 |
7 |
|
8 |
net-misc/wget2: Bump to version 2.0.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
net-misc/wget2/Manifest | 1 + |
13 |
net-misc/wget2/metadata.xml | 1 + |
14 |
net-misc/wget2/wget2-2.0.0.ebuild | 93 +++++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 95 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/wget2/Manifest b/net-misc/wget2/Manifest |
18 |
index 75fd6320318..6477a0cf479 100644 |
19 |
--- a/net-misc/wget2/Manifest |
20 |
+++ b/net-misc/wget2/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST wget2-1.99.2.tar.gz 3173906 BLAKE2B 1fc63de32725d0d980469cc730d17035a01ccb432a91fe24c37e06017c2604a4ef6d8474e76eb757c3a22cc61ea6c70e26af40dffc474a87f8bbdb2a8deced7c SHA512 c2c687124a2463d6a0397cd7dbbc5e475ba815e8d7e13a4b71b529e6be03c9f7dbe5f358702e929ed36034f6fffc698f3b1c5ac486a35e2b00ee6f135060ad7f |
23 |
+DIST wget2-2.0.0.tar.gz 3565643 BLAKE2B 8792950942c88aceed41aa1d00b2c39d55e057795d0f68e8bfe9a1da548161aa49eaa82d13e8ea3e14cccee4423d41f9643baff1007361c26464b10683a8ef88 SHA512 59be98a43057220f4eb4314d0876990c21bbc2606a82444e03282ca55d6de18a382fb75b3fcbb1e7f5a5930cd9a81c6c73cdac2ffba3932b55816fb8140c00eb |
24 |
|
25 |
diff --git a/net-misc/wget2/metadata.xml b/net-misc/wget2/metadata.xml |
26 |
index 04930967f84..5c9152ae45c 100644 |
27 |
--- a/net-misc/wget2/metadata.xml |
28 |
+++ b/net-misc/wget2/metadata.xml |
29 |
@@ -9,6 +9,7 @@ |
30 |
<flag name="brotli">Enable support for brotli compression</flag> |
31 |
<flag name="gpgme">Build <pkg>app-crypt/gpgme</pkg> backend</flag> |
32 |
<flag name="http2">Enable HTTP/2.0 support via <pkg>net-libs/nghttp2</pkg></flag> |
33 |
+ <flag name="lzip">Enable <pkg>app-arch/lzip</pkg> support</flag> |
34 |
<flag name="openssl">Enable crypto support via <pkg>dev-libs/openssl</pkg></flag> |
35 |
<flag name="psl">Use public suffix list via <pkg>net-libs/libpsl</pkg></flag> |
36 |
<flag name="valgrind">Depend on <pkg>dev-util/valgrind</pkg> for test suite</flag> |
37 |
|
38 |
diff --git a/net-misc/wget2/wget2-2.0.0.ebuild b/net-misc/wget2/wget2-2.0.0.ebuild |
39 |
new file mode 100644 |
40 |
index 00000000000..2926f483723 |
41 |
--- /dev/null |
42 |
+++ b/net-misc/wget2/wget2-2.0.0.ebuild |
43 |
@@ -0,0 +1,93 @@ |
44 |
+# Copyright 1999-2021 Gentoo Authors |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=7 |
48 |
+ |
49 |
+inherit autotools |
50 |
+ |
51 |
+DESCRIPTION="GNU Wget2 is a file and recursive website downloader" |
52 |
+HOMEPAGE="https://gitlab.com/gnuwget/wget2" |
53 |
+SRC_URI="mirror://gnu/wget/${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="GPL-3" |
56 |
+SLOT="0/0" # subslot = libwget.so version |
57 |
+KEYWORDS="~amd64 ~x86" |
58 |
+IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl +ssl test valgrind xattr zlib" |
59 |
+REQUIRED_USE="valgrind? ( test )" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ brotli? ( app-arch/brotli ) |
63 |
+ bzip2? ( app-arch/bzip2 ) |
64 |
+ !gnutls? ( dev-libs/libgcrypt:= ) |
65 |
+ ssl? ( |
66 |
+ gnutls? ( net-libs/gnutls:= ) |
67 |
+ !gnutls? ( |
68 |
+ dev-libs/openssl:0= |
69 |
+ ) |
70 |
+ ) |
71 |
+ gpgme? ( |
72 |
+ app-crypt/gpgme |
73 |
+ dev-libs/libassuan |
74 |
+ dev-libs/libgpg-error |
75 |
+ ) |
76 |
+ http2? ( net-libs/nghttp2 ) |
77 |
+ idn? ( net-dns/libidn2:= ) |
78 |
+ lzip? ( app-arch/lzlib ) |
79 |
+ lzma? ( app-arch/xz-utils ) |
80 |
+ pcre? ( dev-libs/libpcre2 ) |
81 |
+ psl? ( net-libs/libpsl ) |
82 |
+ xattr? ( sys-apps/attr ) |
83 |
+ zlib? ( sys-libs/zlib ) |
84 |
+" |
85 |
+DEPEND="${RDEPEND}" |
86 |
+BDEPEND=" |
87 |
+ virtual/pkgconfig |
88 |
+ doc? ( app-doc/doxygen ) |
89 |
+ valgrind? ( dev-util/valgrind ) |
90 |
+" |
91 |
+ |
92 |
+RESTRICT="!test? ( test )" |
93 |
+ |
94 |
+PATCHES=( |
95 |
+ # Upstream attempts to be "smart" by calling ldconfig in |
96 |
+ # install-exec-hook |
97 |
+ "${FILESDIR}"/${PN}-1.99.2-remove_ldconfig_call.patch |
98 |
+) |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ default |
102 |
+ eautoreconf |
103 |
+} |
104 |
+ |
105 |
+src_configure() { |
106 |
+ local myeconfargs=( |
107 |
+ --disable-static |
108 |
+ --with-plugin-support |
109 |
+ --with-ssl="$(usex ssl $(usex gnutls gnutls openssl) none)" |
110 |
+ --without-libidn |
111 |
+ --without-libmicrohttpd |
112 |
+ $(use_enable doc) |
113 |
+ $(use_enable valgrind valgrind-tests) |
114 |
+ $(use_enable xattr) |
115 |
+ $(use_with brotli brotlidec) |
116 |
+ $(use_with bzip2) |
117 |
+ $(use_with gpgme) |
118 |
+ $(use_with http2 libnghttp2) |
119 |
+ $(use_with idn libidn2) |
120 |
+ $(use_with lzip lz) |
121 |
+ $(use_with lzma) |
122 |
+ $(use_with pcre libpcre2) |
123 |
+ $(use_with psl libpsl) |
124 |
+ $(use_with zlib) |
125 |
+ ) |
126 |
+ econf "${myeconfargs[@]}" |
127 |
+} |
128 |
+ |
129 |
+src_install() { |
130 |
+ default |
131 |
+ |
132 |
+ doman docs/man/man{1/*.1,3/*.3} |
133 |
+ |
134 |
+ find "${D}" -type f -name '*.la' -delete || die |
135 |
+ rm "${ED}"/usr/bin/${PN}_noinstall || die |
136 |
+} |