Since wget 1.9 supports either ipv6 or ipv4, but not both
simultaneously, new versions of gentoo cannot be seamlessly installed
with 'ipv6' in the USE variable.  That is, unless your gentoo mirror
supports ipv6 connections.

I wrote a patch for wget 1.9 to support both ipv6 and ipv4
simultaneously, depending on the resolved addresses.  This should solve
any wget-related problems with the install process.  The patch is
located at:

  http://www.episec.com/people/edelkind/patches/
  http://www.episec.com/people/edelkind/patches/wget/wget-1.9+ipvmisc.patch
  http://www.episec.com/people/edelkind/patches/wget/wget-1.9+ipvmisc.patch.bz2

Let me know if you experience any compilation or runtime problems
associated with this patch.

Additionally, you may modify your ebuild script to support all of this
this with the patch below.

ari


-----------------------------------------------------------------
to patch wget ebuild scripts:
    - save this patch
    - # cd /usr/portage/net-misc
    - # patch -p0 <thispatch
    - ... continue using emerge as desired.


diff -ru wget.orig/files/digest-wget-1.9 wget/files/digest-wget-1.9
--- wget.orig/files/digest-wget-1.9     2003-10-22 22:53:23.000000000 +0000
+++ wget/files/digest-wget-1.9  2003-10-27 11:42:52.000000000 +0000
@@ -1,2 +1,3 @@
 MD5 18ac093db70801b210152dd69b4ef08a wget-1.9.tar.gz 1315995
 MD5 4388f95a31a00f8eee1bb9d1481bb0f5 wget-new-percentage-cvs-20031022.tar.gz 12665
+MD5 007921ef377c89dbd28f36e3b32bf9f6 wget-1.9+ipvmisc.patch.bz2 7081
diff -ru wget.orig/wget-1.9.ebuild wget/wget-1.9.ebuild
--- wget.orig/wget-1.9.ebuild   2003-10-22 22:57:22.000000000 +0000
+++ wget/wget-1.9.ebuild        2003-10-27 11:42:17.000000000 +0000
@@ -9,7 +9,8 @@
 NPVER=20031022
 DESCRIPTION="Network utility to retrieve files from the WWW"
 HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html";
-SRC_URI="mirror://gnu/wget/${P}.tar.gz"
+SRC_URI="mirror://gnu/wget/${P}.tar.gz
+       ipv6?  
http://www.episec.com/people/edelkind/patches/wget/${P}+ipvmisc.patch.bz2";
 # doesn't look like the new percentage patch actually does anything in 1.9
 #      mirror://gentoo/wget-new-percentage-cvs-${NPVER}.tar.gz"
 
@@ -20,6 +21,17 @@
 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )"
 DEPEND="nls? ( sys-devel/gettext )"
 
+src_unpack() {
+       unpack ${A}
+
+       if use ipv6
+       then
+               cd ${S}
+               epatch ${WORKDIR}/${P}+ipvmisc.patch
+               autoconf
+       fi
+}
+
 src_compile() {
        # Make wget use up-to-date configure scripts
        gnuconfig_update

--
[EMAIL PROTECTED] mailing list

Reply via email to