1 |
commit: 95c14aa4d6a5fdd922cb91c40f57d5a1c122e984 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 20:10:16 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 20:10:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c14aa4 |
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.20.3-r1.ebuild | 120 ------------------------------------ |
14 |
1 file changed, 120 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/wget/wget-1.20.3-r1.ebuild b/net-misc/wget/wget-1.20.3-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index d195a6a5b08..00000000000 |
19 |
--- a/net-misc/wget/wget-1.20.3-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,120 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_{6,7} ) |
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" |
38 |
-IUSE="debug gnutls idn ipv6 libressl 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 |
- idn? ( >=net-dns/libidn2-0.14:=[static-libs(+)] ) |
45 |
- pcre? ( dev-libs/libpcre2[static-libs(+)] ) |
46 |
- ssl? ( |
47 |
- gnutls? ( net-libs/gnutls:0=[static-libs(+)] ) |
48 |
- !gnutls? ( |
49 |
- !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) |
50 |
- libressl? ( dev-libs/libressl:0=[static-libs(+)] ) |
51 |
- ) |
52 |
- ) |
53 |
- uuid? ( sys-apps/util-linux[static-libs(+)] ) |
54 |
- zlib? ( sys-libs/zlib[static-libs(+)] ) |
55 |
-" |
56 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" |
57 |
-DEPEND=" |
58 |
- ${RDEPEND} |
59 |
- app-arch/xz-utils |
60 |
- virtual/pkgconfig |
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 |
- nls? ( sys-devel/gettext ) |
70 |
-" |
71 |
- |
72 |
-DOCS=( AUTHORS MAILING-LIST NEWS README doc/sample.wgetrc ) |
73 |
- |
74 |
-pkg_setup() { |
75 |
- use test && python-any-r1_pkg_setup |
76 |
-} |
77 |
- |
78 |
-src_prepare() { |
79 |
- default |
80 |
- |
81 |
- # revert some hack that breaks linking, bug #585924 |
82 |
- if [[ ${CHOST} == *-darwin* ]] \ |
83 |
- || [[ ${CHOST} == *-solaris* ]] \ |
84 |
- || [[ ${CHOST} == *-uclibc* ]] \ |
85 |
- || [[ ${CHOST} == *-cygwin* ]] \ |
86 |
- ; then |
87 |
- sed -i \ |
88 |
- -e 's/^ LIBICONV=$/:/' \ |
89 |
- configure || die |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-src_configure() { |
94 |
- # fix compilation on Solaris, we need filio.h for FIONBIO as used in |
95 |
- # the included gnutls -- force ioctl.h to include this header |
96 |
- [[ ${CHOST} == *-solaris* ]] && append-cppflags -DBSD_COMP=1 |
97 |
- |
98 |
- if use static ; then |
99 |
- append-ldflags -static |
100 |
- tc-export PKG_CONFIG |
101 |
- PKG_CONFIG+=" --static" |
102 |
- fi |
103 |
- |
104 |
- # There is no flag that controls this. libunistring-prefix only |
105 |
- # controls the search path (which is why we turn it off below). |
106 |
- # Further, libunistring is only needed w/older libidn2 installs, |
107 |
- # and since we force the latest, we can force off libunistring. #612498 |
108 |
- local myeconfargs=( |
109 |
- --disable-assert |
110 |
- --disable-pcre |
111 |
- --disable-rpath |
112 |
- --without-included-libunistring |
113 |
- --without-libpsl |
114 |
- --without-libunistring-prefix |
115 |
- $(use_enable debug) |
116 |
- $(use_enable idn iri) |
117 |
- $(use_enable ipv6) |
118 |
- $(use_enable nls) |
119 |
- $(use_enable ntlm) |
120 |
- $(use_enable pcre pcre2) |
121 |
- $(use_enable ssl digest) |
122 |
- $(use_enable ssl opie) |
123 |
- $(use_with idn libidn) |
124 |
- $(use_with ssl ssl $(usex gnutls gnutls openssl)) |
125 |
- $(use_with uuid libuuid) |
126 |
- $(use_with zlib) |
127 |
- ) |
128 |
- ac_cv_libunistring=no \ |
129 |
- econf "${myeconfargs[@]}" |
130 |
-} |
131 |
- |
132 |
-src_install() { |
133 |
- default |
134 |
- |
135 |
- sed -i \ |
136 |
- -e "s:/usr/local/etc:${EPREFIX}/etc:g" \ |
137 |
- "${ED%/}"/etc/wgetrc \ |
138 |
- "${ED%/}"/usr/share/man/man1/wget.1 \ |
139 |
- "${ED%/}"/usr/share/info/wget.info \ |
140 |
- || die |
141 |
-} |