[gentoo-user] installation: dual-family support for wget 1.9

2003-10-27 Thread ari
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.0 +
+++ wget/files/digest-wget-1.9  2003-10-27 11:42:52.0 +
@@ -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.0 +
+++ wget/wget-1.9.ebuild2003-10-27 11:42:17.0 +
@@ -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



Re: [gentoo-user] installation: dual-family support for wget 1.9

2003-10-27 Thread ari
It's already taken care of.  I submitted the patch to the wget-patches
list before sending my e-mail to the gentoo-user list.

ari


[EMAIL PROTECTED] said this stuff:

 
 On Oct 27, 2003, at 12:19 pm, ari wrote:
 
 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:
 
 Have you considered pushing this upstream, to the maintainers of 
 wget..? It seems potentially quite useful.
 
 Stroller.
 
 

--
[EMAIL PROTECTED] mailing list