From owner-freebsd-questions Tue Jan 12 12:24:52 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06092 for freebsd-questions-outgoing; Tue, 12 Jan 1999 12:24:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06087 for ; Tue, 12 Jan 1999 12:24:50 -0800 (PST) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 4245"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-29 #30976) with ESMTP id <0F5G004PNRCBRF@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Tue, 12 Jan 1999 15:24:11 -0500 (EST) Date: Tue, 12 Jan 1999 15:24:11 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: fetch in passive mode fails (repost) In-reply-to: <19990112202141.JEYV678125.mta2-rme@wocker> To: Dan Langille Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You also need to add another entry to your make.conf file in order to get fetch to use passive transfers by default. Stick this line in /etc/make.conf: FETCH_BEFORE_ARGS= -p Joe Clarke On Wed, 13 Jan 1999, Dan Langille wrote: > I cannot get make to do its fetches in passive mode. As a result, when > doing a make I get errors like this: > > >> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//. > fetch: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//donkey-0.5.tar.gz: FTP > error: fetch: Can't open data connection >> Couldn't fetch it - please try > to retrieve this >> port manually into /usr/ports/distfiles/ and try > again. *** Error code 1 > > OK. That tells me fetch is not using passive mode. Running a fetch with > "-p" succeeds. I could just drop the firewall rules and do it again, but > that's not good enough. A read of man fetch tells about an environment > variable: "FTP_PASSIVE_MODE forces the use of passive mode FTP". I > thought it was an environment variable, so I set that. No effect. > > A response to my previous post suggested that I try FTP_PASSIVE_MODE=YES > in /etc/make.conf. That seems to have nil effect. > > Any suggestions on how to get make to force fetch to do ftp in passive > mode that I can get my stuff through the firewall? > > thanks :) > > -- > Dan Langille > The FreeBSD Diary > http://www.FreeBSDDiary.com/freebsd > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message