Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 1999 10:24:45 +1200
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        mlb27@cornell.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: passive fetch under make?
Message-ID:  <19990515222658.FRYB7623210.mta2-rme@wocker>
In-Reply-To: <Pine.SOL.3.91.990515181153.9519B@travelers.mail.cornell.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 May 99, at 18:17, mlb27@cornell.edu wrote:

> I'm trying to make some ports from a 3.1 box that's behind a firewall and
> it fails any kind of ftp fetch since it tries to use active mode.  I've
> tried aliasing fetch to fetch -p to get it to use passive mode, but this
> doesn't seem to have any effect when it's called from make.  Is there some
> other way to build ports in a situation where active ftp isn't available? 

Do I have the URL for you!

make - and how to use it behind a firewall
	http://www.freebsddiary.org/freebsd/make.htm

Basically, you modify /etc/make.conf to include the following:

FTP_PASSIVE_MODE=YES
FETCH_BEFORE_ARGS=-p

If I recall correctly, there was a bug which required both of the above to 
be specified.  If it's been fixed, only the first line above should be 
needed.
--
Dan Langille - DVL Software Limited
The FreeBSD Diary     - http://www.FreeBSDDiary.org/freebsd/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System     - http://www.racingsystem.com/racingsystem.htm


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990515222658.FRYB7623210.mta2-rme>