# ChangeLog for net-misc/wget
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.5 2002/10/23 19:29:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.6 2002/10/31 17:27:53 seemant Exp $
+
+*wget-1.8.2-r1 (31 Oct 2002)
+
+ 31 Oct 2002; Seemant Kulleen <seemant@gentoo.org> wget-1.8.2-r1.ebuild
+ files/digest-wget-1.8.2-r1 :
+
+ Added debian's patch for ipv6 if "ipv6" is in USE. Thanks to:
+ andre@tomt.net (Andre Tomt) in bug #8286 for the patch.
*wget-1.8.2 (29 May 2002)
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.8.1-r1.ebuild,v 1.7 2002/10/23 19:29:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.8.2-r1.ebuild,v 1.1 2002/10/31 17:27:53 seemant Exp $
-IUSE="ssl nls static"
+IUSE="ssl nls static ipv6"
NPVER=20011209
S=${WORKDIR}/${P}
DESCRIPTION="Network utility to retrieve files from the WWW"
-SRC_URI="ftp://prep.ai.mit.edu/gnu/wget/${P}.tar.gz
- ftp://gatekeeper.dec.com/pub/GNU/wget/${P}.tar.gz
- http://www.biscom.net/~cade/away/wget-new-percentage/wget-new-percentage-cvs-${NPVER}.tar.gz"
HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html"
-RDEPEND="virtual/glibc ssl? ( >=dev-libs/openssl-0.9.6b )"
-DEPEND="$RDEPEND nls? ( sys-devel/gettext )"
-KEYWORDS="x86 ppc sparc sparc64"
-LICENSE="GPL-2"
+SRC_URI="ftp://prep.ai.mit.edu/gnu/wget/${P}.tar.gz
+ ftp://gatekeeper.dec.com/pub/GNU/wget/${P}.tar.gz
+ http://www.biscom.net/~cade/away/wget-new-percentage/wget-new-percentage-cvs-${NPVER}.tar.gz
+ ipv6? mirror://gentoo/${P}-ipv6-debian.patch.bz2"
+
+RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )"
+DEPEND="nls? ( sys-devel/gettext )"
+
SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
src_unpack() {
- unpack ${P}.tar.gz
- unpack wget-new-percentage-cvs-${NPVER}.tar.gz
+ unpack ${A}
+
cd ${S}/src
patch -p0 < ${WORKDIR}/wget-new-percentage/wnp-20011208-2.diff || die
+
+ if use ipv6
+ then
+ cd ${S}
+ patch -p1 < ${WORKDIR}/${P}-ipv6-debian.patch || die
+ fi
}
src_compile() {