From owner-freebsd-ports Sat Mar 23 11:40:14 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 74E3937B404 for ; Sat, 23 Mar 2002 11:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2NJe1972723; Sat, 23 Mar 2002 11:40:01 -0800 (PST) (envelope-from gnats) Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by hub.freebsd.org (Postfix) with ESMTP id 526D337B417 for ; Sat, 23 Mar 2002 11:36:02 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.191.9]) by tomts6-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020323193601.KCIJ3513.tomts6-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Sat, 23 Mar 2002 14:36:01 -0500 Received: from lenny.anarcat.dyndns.org (lenny.anarcat.dyndns.org [192.168.0.4]) by khan.anarcat.dyndns.org (Postfix) with SMTP id EC6251891; Sat, 23 Mar 2002 14:35:58 -0500 (EST) Received: by lenny.anarcat.dyndns.org (sSMTP sendmail emulation); Sat, 23 Mar 2002 14:35:00 -0500 Message-Id: <20020323193559.EC6251891@khan.anarcat.dyndns.org> Date: Sat, 23 Mar 2002 14:35:00 -0500 From: The Anarcat Reply-To: The Anarcat To: FreeBSD-gnats-submit@FreeBSD.org Cc: anarcat@anarcat.dyndns.org X-Send-Pr-Version: 3.113 Subject: ports/36238: [patch] ftp/wget doesn't respect FTP_PASSIVE_MODE Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36238 >Category: ports >Synopsis: [patch] ftp/wget doesn't respect FTP_PASSIVE_MODE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 23 11:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: The Anarcat >Release: FreeBSD 4.5-STABLE i386 >Organization: Nada, Inc. >Environment: System: FreeBSD lenny.anarcat.dyndns.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 7 20:12:50 EST 2002 anarcat@lenny.anarcat.dyndns.org:/usr/obj/usr/src/sys/LENNY i386 wget-1.8.1 >Description: wget doesn't establish ftp sessions in passive mode even when the FTP_PASSIVE_MODE environment variable is set. >How-To-Repeat: Behind a firewall: unsetenv FTP_PASSIVE_MODE wget -r ftp://ftp.geocities.com/ >Fix: Might not be done in the proper place... Port might also need a portrevision bump, but since this pr is cc'd to the wget patch team, I hope it will be included in a future release. :) --- src/main.c.orig Sat Mar 23 14:23:36 2002 +++ src/main.c Sat Mar 23 14:26:12 2002 @@ -679,6 +679,9 @@ } } + if (getenv("FTP_PASSIVE_MODE")) + setval ("passiveftp", "on"); + /* All user options have now been processed, so it's now safe to do interoption dependency checks. */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message