Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wget: ChangeLog wget-1.13.3.ebuild
Date: Thu, 01 Sep 2011 09:24:40
Message-Id: 20110901092429.331ED2004C@flycatcher.gentoo.org
1 chainsaw 11/09/01 09:24:29
2
3 Modified: ChangeLog
4 Added: wget-1.13.3.ebuild
5 Log:
6 Version bump. EAPI 4 port by Tomáš "scarabeus" Chvátal in bug #381405.
7
8 (Portage version: 2.1.10.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.140 net-misc/wget/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/ChangeLog?rev=1.140&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/ChangeLog?rev=1.140&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/ChangeLog?r1=1.139&r2=1.140
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v
20 retrieving revision 1.139
21 retrieving revision 1.140
22 diff -u -r1.139 -r1.140
23 --- ChangeLog 28 Feb 2011 23:40:41 -0000 1.139
24 +++ ChangeLog 1 Sep 2011 09:24:29 -0000 1.140
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/wget
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.139 2011/02/28 23:40:41 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.140 2011/09/01 09:24:29 chainsaw Exp $
30 +
31 +*wget-1.13.3 (01 Sep 2011)
32 +
33 + 01 Sep 2011; Tony Vroon <chainsaw@g.o> +wget-1.13.3.ebuild:
34 + Version bump. EAPI 4 port by Tomáš "scarabeus" Chvátal in bug #381405.
35
36 28 Feb 2011; Brent Baude <ranger@g.o> wget-1.12-r3.ebuild:
37 stable ppc64, bug 349114
38
39
40
41 1.1 net-misc/wget/wget-1.13.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/wget-1.13.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/wget-1.13.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wget-1.13.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.13.3.ebuild,v 1.1 2011/09/01 09:24:29 chainsaw Exp $
51
52 EAPI=4
53
54 inherit eutils flag-o-matic
55
56 DESCRIPTION="Network utility to retrieve files from the WWW"
57 HOMEPAGE="http://www.gnu.org/software/wget/"
58 SRC_URI="mirror://gnu/wget/${P}.tar.xz"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
63 IUSE="debug idn ipv6 nls ntlm +ssl static"
64
65 RDEPEND="idn? ( net-dns/libidn )
66 ssl? ( >=dev-libs/openssl-0.9.6b )"
67 DEPEND="${RDEPEND}
68 nls? ( sys-devel/gettext )"
69
70 REQUIRED_USE="ntlm? ( ssl )"
71
72 DOCS=( AUTHORS MAILING-LIST NEWS README doc/sample.wgetrc )
73
74 src_configure() {
75 # openssl-0.9.8 now builds with -pthread on the BSD's
76 use elibc_FreeBSD && use ssl && append-ldflags -pthread
77
78 use static && append-ldflags -static
79 econf \
80 --disable-rpath \
81 $(use_with ssl) $(use_enable ssl opie) $(use_enable ssl digest) \
82 $(use_enable idn iri) \
83 $(use_enable ipv6) \
84 $(use_enable nls) \
85 $(use_enable ntlm) \
86 $(use_enable debug)
87 }
88
89 src_install() {
90 default
91
92 use ipv6 && cat "${FILESDIR}"/wgetrc-ipv6 >> "${ED}"/etc/wgetrc
93
94 sed -i \
95 -e "s:/usr/local/etc:${EROOT}/etc:g" \
96 "${ED}"/etc/wgetrc \
97 "${ED}"/usr/share/man/man1/wget.1 \
98 "${ED}"/usr/share/info/wget.info
99 }
100
101 pkg_preinst() {
102 ewarn "The /etc/wget/wgetrc file has been relocated to /etc/wgetrc"
103 if [[ -e ${EROOT}/etc/wget/wgetrc ]] ; then
104 if [[ -e ${EROOT}/etc/wgetrc ]] ; then
105 ewarn "You have both /etc/wget/wgetrc and /etc/wgetrc ... you should delete the former"
106 else
107 einfo "Moving /etc/wget/wgetrc to /etc/wgetrc for you"
108 mv "${EROOT}"/etc/wget/wgetrc "${EROOT}"/etc/wgetrc
109 rmdir "${EROOT}"/etc/wget 2>/dev/null
110 fi
111 fi
112 }