1 |
commit: 093abc43e9f15f8fa3b0d1b5b929eba4dd1148bb |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 27 02:07:16 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 02:07:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093abc43 |
7 |
|
8 |
net-misc/wget: add 1.21.3 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-misc/wget/Manifest | 1 + |
13 |
net-misc/wget/wget-1.21.3.ebuild | 108 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 109 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/wget/Manifest b/net-misc/wget/Manifest |
17 |
index f50cdd974355..b3fba668b4f9 100644 |
18 |
--- a/net-misc/wget/Manifest |
19 |
+++ b/net-misc/wget/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST wget-1.21.2.tar.gz 5004576 BLAKE2B e11c3a2b89ab26834dc4cbb445bcc6122d3a6b2a5b9c6de1ce9e8f062281f9e5aa1f80ca37a44791ba5aaf6a447015a26afef2199cdb75f1931d5e1ffb1f406b SHA512 3e35f92604486ca459f26df97d392579f1d83a9254519e8ce249b410bacf70dddf716d6caa3b29fd4865163f60410b2b8ad1ca1f7bb3dbb2456386b7647b988d |
22 |
+DIST wget-1.21.3.tar.gz 5079864 BLAKE2B 4ff40a30cb3be82ea492d0eae324a9d43de30a0169d3b219ce25f3d667915f90c7eb1559760d1605340f112e96e028613265e0be73aaba7935c69cc06a4ae4f6 SHA512 29889ecbf590dff0f39183d9e0621741d731a554d990e5c995a4644725dca62e8e19601d40db0ef7d62ebf54e5457c7409965e4832b6e60e4ccbc9c8caa30718 |
23 |
|
24 |
diff --git a/net-misc/wget/wget-1.21.3.ebuild b/net-misc/wget/wget-1.21.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..9dd6a70e4a1b |
27 |
--- /dev/null |
28 |
+++ b/net-misc/wget/wget-1.21.3.ebuild |
29 |
@@ -0,0 +1,108 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+ |
37 |
+inherit flag-o-matic python-any-r1 toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Network utility to retrieve files from the WWW" |
40 |
+HOMEPAGE="https://www.gnu.org/software/wget/" |
41 |
+SRC_URI="mirror://gnu/wget/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+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" |
46 |
+IUSE="cookie-check debug gnutls idn ipv6 metalink nls ntlm pcre +ssl static test uuid zlib" |
47 |
+REQUIRED_USE="ntlm? ( !gnutls ssl ) gnutls? ( ssl )" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+# * Force a newer libidn2 to avoid libunistring deps. #bug #612498 |
51 |
+# * Metalink can use gpgme automagically (so let's always depend on it) |
52 |
+# for signed metalink resources. |
53 |
+LIB_DEPEND=" |
54 |
+ cookie-check? ( net-libs/libpsl ) |
55 |
+ idn? ( >=net-dns/libidn2-0.14:=[static-libs(+)] ) |
56 |
+ metalink? ( |
57 |
+ app-crypt/gpgme |
58 |
+ media-libs/libmetalink |
59 |
+ ) |
60 |
+ pcre? ( dev-libs/libpcre2[static-libs(+)] ) |
61 |
+ ssl? ( |
62 |
+ gnutls? ( net-libs/gnutls:=[static-libs(+)] ) |
63 |
+ !gnutls? ( dev-libs/openssl:=[static-libs(+)] ) |
64 |
+ ) |
65 |
+ uuid? ( sys-apps/util-linux[static-libs(+)] ) |
66 |
+ zlib? ( sys-libs/zlib[static-libs(+)] ) |
67 |
+" |
68 |
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" |
69 |
+DEPEND=" |
70 |
+ ${RDEPEND} |
71 |
+ static? ( ${LIB_DEPEND} ) |
72 |
+" |
73 |
+BDEPEND=" |
74 |
+ app-arch/xz-utils |
75 |
+ dev-lang/perl |
76 |
+ sys-apps/texinfo |
77 |
+ virtual/pkgconfig |
78 |
+ nls? ( sys-devel/gettext ) |
79 |
+ test? ( |
80 |
+ ${PYTHON_DEPS} |
81 |
+ dev-perl/HTTP-Daemon |
82 |
+ dev-perl/HTTP-Message |
83 |
+ dev-perl/IO-Socket-SSL |
84 |
+ ) |
85 |
+" |
86 |
+ |
87 |
+DOCS=( AUTHORS MAILING-LIST NEWS README ) |
88 |
+ |
89 |
+pkg_setup() { |
90 |
+ use test && python-any-r1_pkg_setup |
91 |
+} |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ default |
95 |
+ sed -i -e "s:/usr/local/etc:${EPREFIX}/etc:g" doc/{sample.wgetrc,wget.texi} || die |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ # fix compilation on Solaris, we need filio.h for FIONBIO as used in |
100 |
+ # the included gnutls -- force ioctl.h to include this header |
101 |
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DBSD_COMP=1 |
102 |
+ |
103 |
+ if use static ; then |
104 |
+ append-ldflags -static |
105 |
+ tc-export PKG_CONFIG |
106 |
+ PKG_CONFIG+=" --static" |
107 |
+ fi |
108 |
+ |
109 |
+ # There is no flag that controls this. libunistring-prefix only |
110 |
+ # controls the search path (which is why we turn it off below). |
111 |
+ # Further, libunistring is only needed w/older libidn2 installs, |
112 |
+ # and since we force the latest, we can force off libunistring. # bug #612498 |
113 |
+ local myeconfargs=( |
114 |
+ ac_cv_libunistring=no |
115 |
+ --disable-assert |
116 |
+ --disable-pcre |
117 |
+ --disable-rpath |
118 |
+ --without-included-libunistring |
119 |
+ --without-libunistring-prefix |
120 |
+ $(use_enable debug) |
121 |
+ $(use_enable idn iri) |
122 |
+ $(use_enable ipv6) |
123 |
+ $(use_enable nls) |
124 |
+ $(use_enable ntlm) |
125 |
+ $(use_enable pcre pcre2) |
126 |
+ $(use_enable ssl digest) |
127 |
+ $(use_enable ssl opie) |
128 |
+ $(use_with cookie-check libpsl) |
129 |
+ $(use_enable idn iri) |
130 |
+ $(use_with metalink) |
131 |
+ $(use_with ssl ssl $(usex gnutls gnutls openssl)) |
132 |
+ $(use_with uuid libuuid) |
133 |
+ $(use_with zlib) |
134 |
+ ) |
135 |
+ |
136 |
+ econf "${myeconfargs[@]}" |
137 |
+} |