Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 50256 - IPv6 enabling
IPv6 enabling
Product: Red Hat Raw Hide
Classification: Retired
Component: wget (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2001-07-29 05:45 EDT by Pekka Savola
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-11 07:21:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
additional patch required (778 bytes, patch)
2001-07-29 05:46 EDT, Pekka Savola
no flags Details | Diff
ipv4-only compilation fix (1.12 KB, patch)
2001-08-11 07:19 EDT, Pekka Savola
no flags Details | Diff

  None (edit)
Description Pekka Savola 2001-07-29 05:45:51 EDT
I don't see this as critical as there are other tools (e.g. lynx/ncftp) to accomplish the same, but
in any case...

wget-1.7 has been patched (based on ftp://ftp.kame.net/pub/kame/misc/wget-17*) to enable

The updated package is at http://www.netcore.fi/pekkas/linux/ipv6/ 

 - KAME patch
 - additional patch to configure.in, config.h.in to make the autoconf work
 - add autoconf, %configure --enable-ipv6 (else it will go on only if ipv6 is enabled on _building_ host)

IPv6-binary tested to work on IPv4-only systems, connecting to both EPRT/PORT ftp sites with ipv4, etc.
Comment 1 Pekka Savola 2001-07-29 05:46:38 EDT
Created attachment 25292 [details]
additional patch required
Comment 2 Trond Eivind Glomsrxd 2001-07-29 23:31:25 EDT
Requiring IPv6 on the build machine is not acceptable.
Comment 3 Pekka Savola 2001-07-30 02:10:29 EDT
Let me clarify.

With the patch if you do: 

%configure, IPv6 will get enabled only if the building host has ipv6 enabled

%configure --enable-ipv6 (as suggested), IPv6 will always get enabled, and the
building host doesn't have to be IPv6-enabled.

Sorry for too few words :-)
Comment 4 Trond Eivind Glomsrxd 2001-07-30 15:07:58 EDT
Is that really the only patch? It looks short...
Comment 5 Pekka Savola 2001-07-30 15:20:27 EDT
No; this is just an additonal patch, required to make autoconf'ized IPv6-enabling to work
(there were bugs in KAME patch).

The main patch is at ftp://ftp.kame.net/pub/kame/misc/wget-17*, or a tailed-down version 
(patches to configure, libtool etc. removed) in my .src.rpm.
Comment 6 Trond Eivind Glomsrxd 2001-08-09 15:14:06 EDT
-2 from your site doesn't build properly:

gcc -I. -I.    -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/share/locale\" -O2 -march=i386 -mcpu=i686 -c host.c
host.c: In function `store_hostaddress':
host.c:209: structure has no member named `sa_len'
Comment 7 Trond Eivind Glomsrxd 2001-08-09 15:15:33 EDT
It does build with --enable-ipv6, but needs to build without it as well.
Comment 8 Pekka Savola 2001-08-11 07:19:39 EDT
Created attachment 27393 [details]
ipv4-only compilation fix
Comment 9 Pekka Savola 2001-08-11 07:21:14 EDT
Sigh..  there's a dummy sa_len that isn't used anywhere at least yet.  sa_len was removed in glibc 2.2.

Attached patch will fix it.  Also updated in my src.rpm.
Comment 10 Pekka Savola 2001-11-06 15:51:44 EST
Mmm.  I really don't get why WONTFIX?
Comment 11 Trond Eivind Glomsrxd 2001-11-06 16:02:59 EST
Mainly because I'd like someone to push it into the upstream version :)
Comment 12 Pekka Savola 2001-11-06 16:12:49 EST

Note You need to log in before you can comment on or make changes to this bug.