From ilya@b-pager.ru  Mon May  7 04:54:24 2001
Return-Path: <ilya@b-pager.ru>
Received: from mail.b-pager.ru (www.b-pager.ru [217.76.32.32])
	by hub.freebsd.org (Postfix) with ESMTP id 7277437B424
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 May 2001 04:54:23 -0700 (PDT)
	(envelope-from ilya@b-pager.ru)
Received: by mail.b-pager.ru (Postfix, from userid 1001)
	id BA7C42D4; Mon,  7 May 2001 15:52:49 +0400 (MSD)
Message-Id: <20010507115249.BA7C42D4@mail.b-pager.ru>
Date: Mon,  7 May 2001 15:52:49 +0400 (MSD)
From: ilya@martynov.org
Reply-To: ilya@martynov.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: wget --passive-ftp is broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         27180
>Category:       ports
>Synopsis:       wget --passive-ftp is broken
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    sf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 05:00:01 PDT 2001
>Closed-Date:    Tue May 8 12:55:03 PDT 2001
>Last-Modified:  Tue May 08 12:55:54 PDT 2001
>Originator:     Ilya Martynov
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
AGAVA Software
>Environment:
System: FreeBSD master.b-pager.ru 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed Apr 25 16:43:29 MSD 2001 root@master.b-pager.ru:/usr/obj/usr/src/sys/BPAGER i386

version of wget port: 1.6_3
>Description:
wget --passive-ftp causes coredump
>How-To-Repeat:
wget --passive-ftp ftp://ftp.yggdrasil.com/mirrors/site/ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.3.8.tar.gz
--15:34:50--
ftp://ftp.yggdrasil.com/mirrors/site/ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.3.8.tar.gz
           => libxml2-2.3.8.tar.gz'
   ftp.yggdrasil.com:21... !
   anonymous ...   !
==> TYPE I ... .  ==> CWD mirrors/site/ftp.gnome.org/pub/GNOME/stable/sources/libxml ... .
==> EPSV ... Abort trap (core dumped)
>Fix:

Not a fix but workaround. Apply this patch to ports/ftp/Makefile:

--- Makefile~	Sun May  6 18:03:38 2001
+++ Makefile	Mon May  7 15:41:03 2001
@@ -16,9 +16,9 @@
 		ftp://ftp.max.irk.ru/unix/net/www/wget/
 MASTER_SITE_SUBDIR=	wget
 
-PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
-PATCHFILES=	wget-16-v6-20010418a.diff.gz
-PATCH_DIST_STRIP=	-p1
+#PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
+#PATCHFILES=	wget-16-v6-20010418a.diff.gz
+#PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	sf@FreeBSD.org
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->sf 
Responsible-Changed-By: roam 
Responsible-Changed-When: Mon May 7 05:05:13 PDT 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27180 

From: Munechika SUMIKAWA <sumikawa@FreeBSD.org>
To: ilya@martynov.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/27180: wget --passive-ftp is broken
Date: Tue, 08 May 2001 11:53:47 +0900 (JST)

 please try the following patch.
 
 ---
 Munechika SUMIKAWA @ KAME Project / FreeBSD.org
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/ftp/wget/Makefile,v
 retrieving revision 1.35
 diff -u -r1.35 Makefile
 --- Makefile	2001/05/05 11:09:33	1.35
 +++ Makefile	2001/05/08 02:34:19
 @@ -7,7 +7,7 @@
  
  PORTNAME=	wget
  PORTVERSION=	1.6
 -PORTREVISION=	3
 +PORTREVISION=	4
  CATEGORIES=	ftp www ipv6
  MASTER_SITES=	${MASTER_SITE_GNU} \
  		ftp://ftp.dl.ac.uk/ccp14/ftp-mirror/wget/pub/unix/util/wget/ \
 @@ -17,7 +17,7 @@
  MASTER_SITE_SUBDIR=	wget
  
  PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
 -PATCHFILES=	wget-16-v6-20010418a.diff.gz
 +PATCHFILES=	wget-16-v6-20010508b.diff.gz
  PATCH_DIST_STRIP=	-p1
  
  MAINTAINER=	sf@FreeBSD.org

From: ilya@martynov.org
To: Munechika SUMIKAWA <sumikawa@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/27180: wget --passive-ftp is broken
Date: 08 May 2001 13:35:04 +0400

 MS> please try the following patch.
 
 Thanks. It seems it fixes this problem.
 
 -- 
  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 | Ilya Martynov (http://martynov.org/)                                    |
 | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
 | AGAVA Software Company (http://www.agava.com/)                          |
  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
State-Changed-From-To: open->closed 
State-Changed-By: sf 
State-Changed-When: Tue May 8 12:55:03 PDT 2001 
State-Changed-Why:  
updated KAME patch fixes this problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27180 
>Unformatted:
