Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 08:39:48 -0700 (MST)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        Anthony Kim <anthony@enteract.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Passive FTP
Message-ID:  <Pine.BSF.4.05.9901280836500.22819-100000@peloton.physics.montana.edu>
In-Reply-To: <36B02878.F90BFB6F@enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> I have FTP_PASSIVE_MODE= YES in /etc/make.conf on my workstation
> (4.0-CURRENT) and am successfully using passive mode ftp with ncftp
> and cvsup. However, when I do a make install in
> /usr/ports/dir/port-name I do not get a successful transfer and get a
> logged src TCP port 20 attempt in syslog.

In /usr/share/mk/bsd.port.mk edit the following line as:

FETCH_BEFORE_ARGS+=	$${CKSIZE:+-S $$CKSIZE} -p

You could also just change the 2 fetch commands (fetch, ftp) to fetch -p
and ftp -p (these lines are right above and below the above line).

Brett
******************************************************************
Brett Taylor            brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/

"love isn't someplace that we fall, it's something that we do"


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?Pine.BSF.4.05.9901280836500.22819-100000>