From owner-freebsd-questions@FreeBSD.ORG Sat Sep 27 23:47:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35B7316A4B3 for ; Sat, 27 Sep 2003 23:47:11 -0700 (PDT) Received: from mail.mawit.com (ip212-226-165-194.adsl.kpnqwest.fi [212.226.165.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8632743F75 for ; Sat, 27 Sep 2003 23:47:08 -0700 (PDT) (envelope-from jau@mawit.com) Received: from mawit.com ([::ffff:127.0.0.1]) by mail.mawit.com with esmtp; Sun, 28 Sep 2003 09:47:07 +0300 Received: from 62.78.135.6 (SquirrelMail authenticated user jau) by office.mawit.com with HTTP; Sun, 28 Sep 2003 09:47:07 +0300 (EEST) Message-ID: <3326.62.78.135.6.1064731627.squirrel@office.mawit.com> Date: Sun, 28 Sep 2003 09:47:07 +0300 (EEST) From: "Jukka A. Ukkonen" To: freebsd-questions@FreeBSD.org X-Priority: 1 Importance: High X-MSMail-Priority: High X-Mailer: SquirrelMail (version 1.2.7) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_singer-20610-1064731627-0001-2" Subject: [Fwd: Support for default passive ftp mode in fetch] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 06:47:11 -0000 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_singer-20610-1064731627-0001-2 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mime-Autoconverted: from 8bit to 7bit by courier 0.37 To be really efficient I tried to send the following message to "core-team" which obviously failed. So, here is the same minor change proposal sent to freebsd-questions. I hope some of the people who can take appropriate action are on this list. -- Cheers, // jau .--- ..- -.- -.- .- .- .-.-.- ..- -.- -.- --- -. . -. / Jukka A. Ukkonen, Mawit Ltd, Finland /__ M.Sc. (sw-eng & cs) (Phone) +358-500-606-671 / Internet: Jukka.Ukkonen(a)Mawit.Com (Home) +358-9-6215-280 / Internet: ukkonen(a)nic.funet.fi v Internet: jau(a)iki.fi + + + + My opinions are mine and mine alone, not my employers. + + + + -------- Original Message -------- Subject: Support for default passive ftp mode in fetch From: "Jukka A. Ukkonen" Date: Sun, September 28, 2003 0:57 To: , Hi! The fact that fetch which is used by ports make when a distfile is not already around has had no means to make it use passive ftp mode by default has often caused me problems. So, I finally decided to add this feature analogous to the plain ftp client which uses the environment variable FTP_PASSIVE_MODE. Now my modified fetch also obeys this environment variable. Find the diffs attached. I hope everybody agrees this change would be a useful addition to the base distribution. -- Cheers, // jau ..--- ..- -.- -.- .- .- .-.-.- ..- -.- -.- --- -. . -. / Jukka A. Ukkonen, Mawit Ltd, Finland /__ M.Sc. (sw-eng & cs) (Phone) +358-500-606-671 / Internet: Jukka.Ukkonen(a)Mawit.Com (Home) +358-9-6215-280 / Internet: ukkonen(a)nic.funet.fi v Internet: jau(a)iki.fi + + + + My opinions are mine and mine alone, not my employers. + + + + --=_singer-20610-1064731627-0001-2 Content-Type: application/octet-stream; name="fetch-passive.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="fetch-passive.patch" LS0tIGZldGNoLmMub3JpZwlGcmkgU2VwIDI2IDIzOjA3OjAyIDIwMDMKKysrIGZldGNoLmMJU3Vu IFNlcCAyOCAwMDozMjoyMiAyMDAzCkBAIC03MDMsNiArNzAzLDE1IEBACiAJY2hhciAqZW5kLCAq cTsKIAlpbnQgYywgZSwgcjsKIAorCXAgPSBnZXRlbnYgKCJGVFBfUEFTU0lWRV9NT0RFIik7CisK KwlpZiAoISBwIHx8ICEgc3RyY2FzZWNtcCAocCwgIk5PIikpIHsKKwkJcF9mbGFnID0gMDsKKwl9 CisJZWxzZSB7CisJCXBfZmxhZyA9IDE7CisJfQorCiAJd2hpbGUgKChjID0gZ2V0b3B0KGFyZ2Ms IGFyZ3YsCiAJICAgICIxNDZBYUI6YmM6ZEZmOkhoOmxNbU46blBwbzpxUnJTOnNUOnRVdnc6Iikp ICE9IC0xKQogCQlzd2l0Y2ggKGMpIHsK --=_singer-20610-1064731627-0001-2--