Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/
Date: Sat, 02 Jan 2021 19:47:03
Message-Id: 1609616812.2b79dff0720d21e8597c113aa79c6f0d43cbb3c9.polynomial-c@gentoo
1 commit: 2b79dff0720d21e8597c113aa79c6f0d43cbb3c9
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 19:46:52 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 19:46:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b79dff0
7
8 net-misc/wget: Removed old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-misc/wget/wget-1.21.ebuild | 125 -----------------------------------------
14 1 file changed, 125 deletions(-)
15
16 diff --git a/net-misc/wget/wget-1.21.ebuild b/net-misc/wget/wget-1.21.ebuild
17 deleted file mode 100644
18 index 6034e4a301c..00000000000
19 --- a/net-misc/wget/wget-1.21.ebuild
20 +++ /dev/null
21 @@ -1,125 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -PYTHON_COMPAT=( python3_{6,7,8} )
28 -
29 -inherit flag-o-matic python-any-r1 toolchain-funcs
30 -
31 -DESCRIPTION="Network utility to retrieve files from the WWW"
32 -HOMEPAGE="https://www.gnu.org/software/wget/"
33 -SRC_URI="mirror://gnu/wget/${P}.tar.gz"
34 -
35 -LICENSE="GPL-3"
36 -SLOT="0"
37 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
38 -IUSE="cookie_check debug gnutls idn ipv6 libressl metalink nls ntlm pcre +ssl static test uuid zlib"
39 -REQUIRED_USE=" ntlm? ( !gnutls ssl ) gnutls? ( ssl )"
40 -RESTRICT="!test? ( test )"
41 -
42 -# Force a newer libidn2 to avoid libunistring deps. #612498
43 -LIB_DEPEND="
44 - cookie_check? ( net-libs/libpsl )
45 - idn? ( >=net-dns/libidn2-0.14:=[static-libs(+)] )
46 - metalink? ( media-libs/libmetalink )
47 - pcre? ( dev-libs/libpcre2[static-libs(+)] )
48 - ssl? (
49 - gnutls? ( net-libs/gnutls:0=[static-libs(+)] )
50 - !gnutls? (
51 - !libressl? ( dev-libs/openssl:0=[static-libs(+)] )
52 - libressl? ( dev-libs/libressl:0=[static-libs(+)] )
53 - )
54 - )
55 - uuid? ( sys-apps/util-linux[static-libs(+)] )
56 - zlib? ( sys-libs/zlib[static-libs(+)] )
57 -"
58 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
59 -DEPEND="
60 - ${RDEPEND}
61 - static? ( ${LIB_DEPEND} )
62 - test? (
63 - ${PYTHON_DEPS}
64 - dev-lang/perl
65 - dev-perl/HTTP-Daemon
66 - dev-perl/HTTP-Message
67 - dev-perl/IO-Socket-SSL
68 - )
69 -"
70 -BDEPEND="
71 - app-arch/xz-utils
72 - virtual/pkgconfig
73 - nls? ( sys-devel/gettext )
74 -"
75 -
76 -DOCS=( AUTHORS MAILING-LIST NEWS README doc/sample.wgetrc )
77 -
78 -pkg_setup() {
79 - use test && python-any-r1_pkg_setup
80 -}
81 -
82 -src_prepare() {
83 - default
84 -
85 - # revert some hack that breaks linking, bug #585924
86 - if [[ ${CHOST} == *-darwin* ]] \
87 - || [[ ${CHOST} == *-solaris* ]] \
88 - || [[ ${CHOST} == *-uclibc* ]] \
89 - || [[ ${CHOST} == *-cygwin* ]] \
90 - ; then
91 - sed -i \
92 - -e 's/^ LIBICONV=$/:/' \
93 - configure || die
94 - fi
95 -}
96 -
97 -src_configure() {
98 - # fix compilation on Solaris, we need filio.h for FIONBIO as used in
99 - # the included gnutls -- force ioctl.h to include this header
100 - [[ ${CHOST} == *-solaris* ]] && append-cppflags -DBSD_COMP=1
101 -
102 - if use static ; then
103 - append-ldflags -static
104 - tc-export PKG_CONFIG
105 - PKG_CONFIG+=" --static"
106 - fi
107 -
108 - # There is no flag that controls this. libunistring-prefix only
109 - # controls the search path (which is why we turn it off below).
110 - # Further, libunistring is only needed w/older libidn2 installs,
111 - # and since we force the latest, we can force off libunistring. #612498
112 - local myeconfargs=(
113 - --disable-assert
114 - --disable-pcre
115 - --disable-rpath
116 - --without-included-libunistring
117 - --without-libunistring-prefix
118 - $(use_enable debug)
119 - $(use_enable idn iri)
120 - $(use_enable ipv6)
121 - $(use_enable nls)
122 - $(use_enable ntlm)
123 - $(use_enable pcre pcre2)
124 - $(use_enable ssl digest)
125 - $(use_enable ssl opie)
126 - $(use_with cookie_check libpsl)
127 - $(use_with idn libidn)
128 - $(use_with metalink)
129 - $(use_with ssl ssl $(usex gnutls gnutls openssl))
130 - $(use_with uuid libuuid)
131 - $(use_with zlib)
132 - )
133 - ac_cv_libunistring=no \
134 - econf "${myeconfargs[@]}"
135 -}
136 -
137 -src_install() {
138 - default
139 -
140 - sed -i \
141 - -e "s:/usr/local/etc:${EPREFIX}/etc:g" \
142 - "${ED}"/etc/wgetrc \
143 - "${ED}"/usr/share/man/man1/wget.1 \
144 - "${ED}"/usr/share/info/wget.info \
145 - || die
146 -}