How do I force portupgrade to fetch distfiles using active ftp?
RW
fbsd06 at mlists.homeunix.com
Tue Dec 26 06:58:36 PST 2006
On Tue, 26 Dec 2006 06:30:16 +0100 (SNT)
Peter Olsson <pol at leissner.se> wrote:
> Recently portupgrade in our servers has started failing some
> upgrades because it can't fetch the distfiles. This is due to
> policy not allowing passive ftp. But when I try manual ftp or
> manual fetch to get these distfiles, active ftp is used by default
> and the fetches work fine. I have these in shell environment:
> FTPMODE=active
> FTP_PASSIVE_MODE=NO
>
> We see this problem in FreeBSD versions 4, 5 and 6.
> Latest version of portupgrade at all times.
>
> How do I make portupgrade always use active ftp?
>
> Thanks!
The default command to fetch a dist file is:
FETCH_CMD?= /usr/bin/fetch -ApRr
you need to override this in make.conf without the -p option
More information about the freebsd-ports
mailing list