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