From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 01:50:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C819106568F for ; Sat, 11 Oct 2008 01:50:39 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 33BE48FC0A for ; Sat, 11 Oct 2008 01:50:38 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 76129 invoked by uid 89); 11 Oct 2008 01:50:38 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 11 Oct 2008 01:50:38 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <20081011013647.424ee485@gumby.homeunix.com.> References: <20081011013647.424ee485@gumby.homeunix.com.> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Fri, 10 Oct 2008 21:50:36 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: Firewall and FreeBSD ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 01:50:39 -0000 >>>>> >>>>> sh/bash: export FTP_PASSIVE_MODE=true >>>>> csh: setenv FTP_PASSIVE_MODE true >> >> First off, this did solve the problem. Thank you, Jeremy. >> >> Now, as to the why... > > That's odd, because if you are running 7.x with a default settings, > FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if > it's set to "no". > > Do you have any FETCH_* variables defined? No > What happens if you cd to a > port directory and type: make -V FETCH_CMD ? [admin@dbs:~]> cd /usr/ports/shells/zsh '[admin@dbs:zsh]> make -V FETCH_CMD /usr/bin/fetch -ApRr [admin@dbs:zsh]> >> I then wanted to install NTP: >> >> cd /usr/ports/net/ntp >> make config; make install clean >> >> This failed because the mirrors were not accessible. > > I just tried this port myself and it failed on all four servers > configured in the Makefile, only succeeding on the fallback Freebsd > server, (Freebsd's own cache for package building). > > Unless you turn-up something odd for FETCH_CMD, I think there's > a good chance that you never had an FTP firewall problem in the first > place, and that the file has simply been added to ftp.freebsd.org > since > you got the original failure. I just removed the FTP_PASSIVE_MODE variable from .bash_profile, logged out, and logged back in. I then tried to install another port and it installed without problem. -- John