From owner-freebsd-questions Wed Sep 4 10:11:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA21397 for questions-outgoing; Wed, 4 Sep 1996 10:11:54 -0700 (PDT) Received: from relay1.smtp.psi.net (relay1.smtp.psi.net [38.8.14.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA21392 for ; Wed, 4 Sep 1996 10:11:52 -0700 (PDT) Received: from uu6.psi.com by relay1.smtp.psi.net (8.6.12/SMI-5.4-PSI) id NAA06108; Wed, 4 Sep 1996 13:11:42 -0400 Received: by uu6.psi.com (5.65b/4.0.071791-PSI/PSINet) via UUCP; id AA15095 for ejs@bfd.com; Wed, 4 Sep 96 13:11:39 -0400 Received: from eeyore.ibcinc.com with ESMTP by junior.ibcinc.com (8.6.13/IBC-1.30) id NAA01597; Wed, 4 Sep 1996 13:10:45 -0400 Received: from localhost with SMTP by eeyore.ibcinc.com (8.6.13/IBC-s-1.4) id RAA11991; Wed, 4 Sep 1996 17:10:42 GMT To: "Eric J. Schwertfeger" From: Roderick Schertler Cc: Anthony Hill , freebsd-questions@freebsd.org Subject: Re: need passive ftp to fetch ports In-Reply-To: Your message of "Wed, 04 Sep 1996 09:54:34 EDT." References: Date: Wed, 04 Sep 1996 13:10:42 -0400 Message-Id: <11986.841857042@eeyore.ibcinc.com> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 4 Sep 1996 09:54:34 -0700 (PDT), "Eric J. Schwertfeger" said: > On 4 Sep 1996, Roderick Schertler wrote: >> On Wed, 4 Sep 1996 15:49:49 +1000 (EST), Anthony Hill said: >>> >>> How can I get the ports mechanisim to use passive ftp by default ? >> >> Add >> >> NCFTPFLAGS ?= -N -P >> >> to /etc/make.conf. > > didn't ncftp go away in 2.1.5 in favor of fetch? Did it? Sorry about that. I've pulled down the new bsd.port.mk and the fetch source and it looks like putting FETCH_BEFORE_ARGS ?= -p in /etc/make.conf will work with that setup. Beware: fetch(1) says that setting FTP_PASSIVE_MODE in the environment will force passive mode, but I don't see fetch.c actually carrying through with that promise. (I'll make a note to send-pr this, but my system is in a bit of a state at the moment.) -- Roderick Schertler roderick@gate.net