Date: Sun, 28 Sep 2003 09:47:07 +0300 (EEST) From: "Jukka A. Ukkonen" <jau@mawit.com> To: freebsd-questions@FreeBSD.org Subject: [Fwd: Support for default passive ftp mode in fetch] Message-ID: <3326.62.78.135.6.1064731627.squirrel@office.mawit.com>
next in thread | raw e-mail | index | archive | help
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" <jau@mawit.com> Date: Sun, September 28, 2003 0:57 To: <FreeBSD-gnats-submit@freebsd.org>, <core-team@freebsd.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3326.62.78.135.6.1064731627.squirrel>