Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wget: ChangeLog wget-1.11.3.ebuild
Date: Wed, 18 Jun 2008 16:38:25
Message-Id: E1K90fr-0008Ja-K6@stork.gentoo.org
1 vapier 08/06/18 16:38:19
2
3 Modified: ChangeLog
4 Added: wget-1.11.3.ebuild
5 Log:
6 Version bump #228045 by Conrad Kostecki.
7 (Portage version: 2.2_pre8/cvs/Linux 2.6.25 x86_64)
8
9 Revision Changes Path
10 1.99 net-misc/wget/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wget/ChangeLog?rev=1.99&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wget/ChangeLog?rev=1.99&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wget/ChangeLog?r1=1.98&r2=1.99
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v
19 retrieving revision 1.98
20 retrieving revision 1.99
21 diff -u -r1.98 -r1.99
22 --- ChangeLog 7 May 2008 20:54:13 -0000 1.98
23 +++ ChangeLog 18 Jun 2008 16:38:19 -0000 1.99
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/wget
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.98 2008/05/07 20:54:13 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.99 2008/06/18 16:38:19 vapier Exp $
29 +
30 +*wget-1.11.3 (18 Jun 2008)
31 +
32 + 18 Jun 2008; Mike Frysinger <vapier@g.o> +wget-1.11.3.ebuild:
33 + Version bump #228045 by Conrad Kostecki.
34
35 07 May 2008; Markus Meier <maekke@g.o> wget-1.11.1.ebuild:
36 amd64 stable, bug #220569
37
38
39
40 1.1 net-misc/wget/wget-1.11.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wget/wget-1.11.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wget/wget-1.11.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: wget-1.11.3.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.11.3.ebuild,v 1.1 2008/06/18 16:38:19 vapier Exp $
50
51 inherit eutils flag-o-matic
52
53 DESCRIPTION="Network utility to retrieve files from the WWW"
54 HOMEPAGE="http://www.gnu.org/software/wget/"
55 SRC_URI="mirror://gnu/wget/${P}.tar.bz2"
56
57 LICENSE="GPL-3"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="debug ipv6 nls socks5 ssl static"
61
62 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
63 socks5? ( net-proxy/dante )"
64 DEPEND="${RDEPEND}
65 nls? ( sys-devel/gettext )"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 epatch "${FILESDIR}"/${PN}-1.11-linking.patch
71 }
72
73 src_compile() {
74 # openssl-0.9.8 now builds with -pthread on the BSD's
75 use elibc_FreeBSD && use ssl && append-ldflags -pthread
76
77 use static && append-ldflags -static
78 econf \
79 $(use_with ssl) $(use_enable ssl opie) $(use_enable ssl digest) \
80 $(use_enable ipv6) \
81 $(use_enable nls) \
82 $(use_enable debug) \
83 $(use_with socks5 socks) \
84 || die
85 emake || die
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install || die
90 dodoc AUTHORS ChangeLog* MAILING-LIST NEWS README
91 dodoc doc/sample.wgetrc
92
93 use ipv6 && cat "${FILESDIR}"/wgetrc-ipv6 >> "${D}"/etc/wgetrc
94
95 sed -i \
96 -e 's:/usr/local/etc:/etc:g' \
97 "${D}"/etc/wgetrc \
98 "${D}"/usr/share/man/man1/wget.1 \
99 "${D}"/usr/share/info/wget.info
100 }
101
102 pkg_preinst() {
103 ewarn "The /etc/wget/wgetrc file has been relocated to /etc/wgetrc"
104 if [[ -e ${ROOT}/etc/wget/wgetrc ]] ; then
105 if [[ -e ${ROOT}/etc/wgetrc ]] ; then
106 ewarn "You have both /etc/wget/wgetrc and /etc/wgetrc ... you should delete the former"
107 else
108 einfo "Moving /etc/wget/wgetrc to /etc/wgetrc for you"
109 mv "${ROOT}"/etc/wget/wgetrc "${ROOT}"/etc/wgetrc
110 rmdir "${ROOT}"/etc/wget 2>/dev/null
111 fi
112 fi
113 }
114
115
116
117 --
118 gentoo-commits@l.g.o mailing list