Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/
Date: Sun, 16 Jan 2022 17:37:10
Message-Id: 1642354625.ff759fb1a6d3797f6bc1cdc1aeb284aa59e9990d.floppym@gentoo
1 commit: ff759fb1a6d3797f6bc1cdc1aeb284aa59e9990d
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 16 17:36:43 2022 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 16 17:37:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff759fb1
7
8 net-misc/wget: drop 1.21.1
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 net-misc/wget/Manifest | 1 -
13 net-misc/wget/wget-1.21.1.ebuild | 127 ---------------------------------------
14 2 files changed, 128 deletions(-)
15
16 diff --git a/net-misc/wget/Manifest b/net-misc/wget/Manifest
17 index 4f427713655a..f50cdd974355 100644
18 --- a/net-misc/wget/Manifest
19 +++ b/net-misc/wget/Manifest
20 @@ -1,2 +1 @@
21 -DIST wget-1.21.1.tar.gz 4884887 BLAKE2B 28a3044f33df1d24e13900e8018a38cabae21fb41dd2e089bdbfd759b4adee3771ab558b84f5a8b6f546bc84a3387c973903f9fe06562093d3566e22d1528587 SHA512 784efbf9fe43a1671109e32a9c36237eb2d5c19cf756bf6f6e65517fb21464d3d94b1d6f491852d23b3ddff63e38fe6b60df9125c91b139993af59875e3a0712
22 DIST wget-1.21.2.tar.gz 5004576 BLAKE2B e11c3a2b89ab26834dc4cbb445bcc6122d3a6b2a5b9c6de1ce9e8f062281f9e5aa1f80ca37a44791ba5aaf6a447015a26afef2199cdb75f1931d5e1ffb1f406b SHA512 3e35f92604486ca459f26df97d392579f1d83a9254519e8ce249b410bacf70dddf716d6caa3b29fd4865163f60410b2b8ad1ca1f7bb3dbb2456386b7647b988d
23
24 diff --git a/net-misc/wget/wget-1.21.1.ebuild b/net-misc/wget/wget-1.21.1.ebuild
25 deleted file mode 100644
26 index dddab922bcfd..000000000000
27 --- a/net-misc/wget/wget-1.21.1.ebuild
28 +++ /dev/null
29 @@ -1,127 +0,0 @@
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. #612498
51 -LIB_DEPEND="
52 - cookie-check? ( net-libs/libpsl )
53 - idn? ( >=net-dns/libidn2-0.14:=[static-libs(+)] )
54 - metalink? ( media-libs/libmetalink )
55 - pcre? ( dev-libs/libpcre2[static-libs(+)] )
56 - ssl? (
57 - gnutls? ( net-libs/gnutls:0=[static-libs(+)] )
58 - !gnutls? ( dev-libs/openssl:0=[static-libs(+)] )
59 - )
60 - uuid? ( sys-apps/util-linux[static-libs(+)] )
61 - zlib? ( sys-libs/zlib[static-libs(+)] )
62 -"
63 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
64 -DEPEND="
65 - ${RDEPEND}
66 - static? ( ${LIB_DEPEND} )
67 - test? (
68 - ${PYTHON_DEPS}
69 - dev-lang/perl
70 - dev-perl/HTTP-Daemon
71 - dev-perl/HTTP-Message
72 - dev-perl/IO-Socket-SSL
73 - )
74 -"
75 -BDEPEND="
76 - app-arch/xz-utils
77 - virtual/pkgconfig
78 - nls? ( sys-devel/gettext )
79 -"
80 -
81 -DOCS=( AUTHORS MAILING-LIST NEWS README doc/sample.wgetrc )
82 -
83 -pkg_setup() {
84 - use test && python-any-r1_pkg_setup
85 -}
86 -
87 -src_prepare() {
88 - default
89 -
90 - # revert some hack that breaks linking, bug #585924
91 - if [[ ${CHOST} == *-darwin* ]] \
92 - || [[ ${CHOST} == *-solaris* ]] \
93 - || [[ ${CHOST} == *-cygwin* ]] \
94 - ; then
95 - sed -i \
96 - -e 's/^ LIBICONV=$/:/' \
97 - configure || die
98 - fi
99 -}
100 -
101 -src_configure() {
102 - # fix compilation on Solaris, we need filio.h for FIONBIO as used in
103 - # the included gnutls -- force ioctl.h to include this header
104 - [[ ${CHOST} == *-solaris* ]] && append-cppflags -DBSD_COMP=1
105 -
106 - if [[ ${CHOST} == *-darwin* ]] ; then
107 - # https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00050.html
108 - # https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00051.html
109 - append-cppflags '-D__nonnull\(X\)='
110 - fi
111 -
112 - if use static ; then
113 - append-ldflags -static
114 - tc-export PKG_CONFIG
115 - PKG_CONFIG+=" --static"
116 - fi
117 -
118 - # There is no flag that controls this. libunistring-prefix only
119 - # controls the search path (which is why we turn it off below).
120 - # Further, libunistring is only needed w/older libidn2 installs,
121 - # and since we force the latest, we can force off libunistring. #612498
122 - local myeconfargs=(
123 - --disable-assert
124 - --disable-pcre
125 - --disable-rpath
126 - --without-included-libunistring
127 - --without-libunistring-prefix
128 - $(use_enable debug)
129 - $(use_enable idn iri)
130 - $(use_enable ipv6)
131 - $(use_enable nls)
132 - $(use_enable ntlm)
133 - $(use_enable pcre pcre2)
134 - $(use_enable ssl digest)
135 - $(use_enable ssl opie)
136 - $(use_with cookie-check libpsl)
137 - $(use_with idn libidn)
138 - $(use_with metalink)
139 - $(use_with ssl ssl $(usex gnutls gnutls openssl))
140 - $(use_with uuid libuuid)
141 - $(use_with zlib)
142 - )
143 - ac_cv_libunistring=no \
144 - econf "${myeconfargs[@]}"
145 -}
146 -
147 -src_install() {
148 - default
149 -
150 - sed -i \
151 - -e "s:/usr/local/etc:${EPREFIX}/etc:g" \
152 - "${ED}"/etc/wgetrc \
153 - "${ED}"/usr/share/man/man1/wget.1 \
154 - "${ED}"/usr/share/info/wget.info \
155 - || die
156 -}