diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-23 16:34:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-23 16:34:29 +0000 |
commit | 663146b0dc886142ee5053762bbde99a9e75943f (patch) | |
tree | c06f2d6b1057fdbb3d6cd32331fd095d65e688c4 /net-misc/wget | |
parent | Remove virtual/libc (diff) | |
download | gentoo-2-663146b0dc886142ee5053762bbde99a9e75943f.tar.gz gentoo-2-663146b0dc886142ee5053762bbde99a9e75943f.tar.bz2 gentoo-2-663146b0dc886142ee5053762bbde99a9e75943f.zip |
Version bump #286058 by Alex Legler.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/wget')
-rw-r--r-- | net-misc/wget/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/wget/wget-1.12.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/net-misc/wget/ChangeLog b/net-misc/wget/ChangeLog index 56701c18286e..5a55a73681c4 100644 --- a/net-misc/wget/ChangeLog +++ b/net-misc/wget/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/wget # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.110 2009/09/07 19:52:49 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.111 2009/09/23 16:34:29 vapier Exp $ + +*wget-1.12 (23 Sep 2009) + + 23 Sep 2009; Mike Frysinger <vapier@gentoo.org> +wget-1.12.ebuild: + Version bump #286058 by Alex Legler. 07 Sep 2009; Jeroen Roovers <jer@gentoo.org> wget-1.11.4.ebuild: Stable for HPPA (bug #281876). diff --git a/net-misc/wget/wget-1.12.ebuild b/net-misc/wget/wget-1.12.ebuild new file mode 100644 index 000000000000..7de79847979d --- /dev/null +++ b/net-misc/wget/wget-1.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.12.ebuild,v 1.1 2009/09/23 16:34:29 vapier Exp $ + +inherit flag-o-matic + +DESCRIPTION="Network utility to retrieve files from the WWW" +HOMEPAGE="http://www.gnu.org/software/wget/" +SRC_URI="mirror://gnu/wget/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="debug ipv6 nls ssl static" + +RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_compile() { + # openssl-0.9.8 now builds with -pthread on the BSD's + use elibc_FreeBSD && use ssl && append-ldflags -pthread + + use static && append-ldflags -static + econf \ + $(use_with ssl) $(use_enable ssl opie) $(use_enable ssl digest) \ + $(use_enable ipv6) \ + $(use_enable nls) \ + $(use_enable debug) \ + || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog* MAILING-LIST NEWS README + dodoc doc/sample.wgetrc + + use ipv6 && cat "${FILESDIR}"/wgetrc-ipv6 >> "${D}"/etc/wgetrc + + sed -i \ + -e 's:/usr/local/etc:/etc:g' \ + "${D}"/etc/wgetrc \ + "${D}"/usr/share/man/man1/wget.1 \ + "${D}"/usr/share/info/wget.info +} + +pkg_preinst() { + ewarn "The /etc/wget/wgetrc file has been relocated to /etc/wgetrc" + if [[ -e ${ROOT}/etc/wget/wgetrc ]] ; then + if [[ -e ${ROOT}/etc/wgetrc ]] ; then + ewarn "You have both /etc/wget/wgetrc and /etc/wgetrc ... you should delete the former" + else + einfo "Moving /etc/wget/wgetrc to /etc/wgetrc for you" + mv "${ROOT}"/etc/wget/wgetrc "${ROOT}"/etc/wgetrc + rmdir "${ROOT}"/etc/wget 2>/dev/null + fi + fi +} |