From owner-freebsd-current@FreeBSD.ORG Tue Sep 27 20:13:18 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9476A106566C for ; Tue, 27 Sep 2011 20:13:18 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id DCCE98FC0A for ; Tue, 27 Sep 2011 20:13:17 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id C18751FFC58 for ; Tue, 27 Sep 2011 19:53:43 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id A09EF844DF; Tue, 27 Sep 2011 21:53:43 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: current@freebsd.org Date: Tue, 27 Sep 2011 21:53:43 +0200 Message-ID: <86aa9pbw3c.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Passive FTP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2011 20:13:18 -0000 I keep forgetting that fetch(1) defaults to active FTP, because login.conf(5) sets the FTP_PASSIVE_MODE environment variable, but every once in a while I try to "pkg_add -r" in single-user mode or using sudo(1) and it breaks. I have therefore flipped the switch and made passive FTP the default. Those who still want active FTP (what on earth for?) can set FTP_PASSIVE_MODE=3DNO in their environment. This overrides both the default setting and fetch(1)'s -p command-line option. I'd like to merge this to stable/9 before 9.0 ships, so I'd appreciate prompt feedback if anyone runs into any trouble. I currently do *not* plan to merge this to stable/8 or any older branches. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no