Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wget: ChangeLog wget-1.15.ebuild
Date: Thu, 23 Jan 2014 07:42:34
Message-Id: 20140123074132.7EE2D2004E@flycatcher.gentoo.org
1 polynomial-c 14/01/23 07:41:32
2
3 Modified: ChangeLog
4 Added: wget-1.15.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.182 net-misc/wget/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/ChangeLog?rev=1.182&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/ChangeLog?rev=1.182&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/ChangeLog?r1=1.181&r2=1.182
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v
20 retrieving revision 1.181
21 retrieving revision 1.182
22 diff -u -r1.181 -r1.182
23 --- ChangeLog 18 Jan 2014 05:35:17 -0000 1.181
24 +++ ChangeLog 23 Jan 2014 07:41:32 -0000 1.182
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/wget
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.181 2014/01/18 05:35:17 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.182 2014/01/23 07:41:32 polynomial-c Exp $
30 +
31 +*wget-1.15 (23 Jan 2014)
32 +
33 + 23 Jan 2014; Lars Wendler <polynomial-c@g.o> +wget-1.15.ebuild,
34 + +files/wget-1.15-pkg-config.patch, +files/wget-1.15-test_fix.patch:
35 + Version bump.
36
37 18 Jan 2014; Mike Frysinger <vapier@g.o> wget-1.14-r1.ebuild,
38 wget-1.14.ebuild:
39
40
41
42 1.1 net-misc/wget/wget-1.15.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/wget-1.15.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wget/wget-1.15.ebuild?rev=1.1&content-type=text/plain
46
47 Index: wget-1.15.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.15.ebuild,v 1.1 2014/01/23 07:41:32 polynomial-c Exp $
52
53 EAPI="4"
54
55 inherit flag-o-matic toolchain-funcs autotools
56
57 DESCRIPTION="Network utility to retrieve files from the WWW"
58 HOMEPAGE="http://www.gnu.org/software/wget/"
59 SRC_URI="mirror://gnu/wget/${P}.tar.xz"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
64 IUSE="debug gnutls idn ipv6 nls ntlm pcre +ssl static uuid zlib"
65
66 LIB_DEPEND="idn? ( net-dns/libidn[static-libs(+)] )
67 pcre? ( dev-libs/libpcre[static-libs(+)] )
68 ssl? (
69 gnutls? ( net-libs/gnutls[static-libs(+)] )
70 !gnutls? ( dev-libs/openssl:0[static-libs(+)] )
71 )
72 uuid? ( sys-apps/util-linux[static-libs(+)] )
73 zlib? ( sys-libs/zlib[static-libs(+)] )"
74 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
75 DEPEND="${RDEPEND}
76 app-arch/xz-utils
77 virtual/pkgconfig
78 static? ( ${LIB_DEPEND} )
79 nls? ( sys-devel/gettext )"
80
81 REQUIRED_USE="ntlm? ( !gnutls ssl ) gnutls? ( ssl )"
82
83 DOCS=( AUTHORS MAILING-LIST NEWS README doc/sample.wgetrc )
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${PN}-1.15-pkg-config.patch \
87 "${FILESDIR}"/${PN}-1.15-test_fix.patch
88 eautoreconf
89 }
90
91 src_configure() {
92 # openssl-0.9.8 now builds with -pthread on the BSD's
93 use elibc_FreeBSD && use ssl && append-ldflags -pthread
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-flags -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 econf \
104 --disable-rpath \
105 $(use_with ssl ssl $(usex gnutls gnutls openssl)) \
106 $(use_enable ssl opie) \
107 $(use_enable ssl digest) \
108 $(use_enable idn iri) \
109 $(use_enable ipv6) \
110 $(use_enable nls) \
111 $(use_enable ntlm) \
112 $(use_enable pcre) \
113 $(use_enable debug) \
114 $(use_with uuid libuuid) \
115 $(use_with zlib)
116 }
117
118 src_install() {
119 default
120
121 sed -i \
122 -e "s:/usr/local/etc:${EPREFIX}/etc:g" \
123 "${ED}"/etc/wgetrc \
124 "${ED}"/usr/share/man/man1/wget.1 \
125 "${ED}"/usr/share/info/wget.info
126 }