svn commit: r225815 - head/usr.bin/fetch
Dag-Erling Smorgrav
des at FreeBSD.org
Tue Sep 27 19:02:45 UTC 2011
Author: des
Date: Tue Sep 27 19:02:44 2011
New Revision: 225815
URL: http://svn.freebsd.org/changeset/base/225815
Log:
Document the fact that passive mode is now the default.
Update copyright dates and strip my middle name.
Modified:
head/usr.bin/fetch/fetch.1
head/usr.bin/fetch/fetch.c
Modified: head/usr.bin/fetch/fetch.1
==============================================================================
--- head/usr.bin/fetch/fetch.1 Tue Sep 27 18:57:26 2011 (r225814)
+++ head/usr.bin/fetch/fetch.1 Tue Sep 27 19:02:44 2011 (r225815)
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
+.\" Copyright (c) 2000-2011 Dag-Erling Smørgrav
.\" All rights reserved.
.\" Portions Copyright (c) 1999 Massachusetts Institute of Technology; used
.\" by permission.
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 14, 2008
+.Dd September 27, 2011
.Dt FETCH 1
.Os
.Sh NAME
@@ -165,11 +165,13 @@ directory, with name(s) selected as in t
.It Fl P
.It Fl p
Use passive FTP.
-This is useful if you are behind a firewall which blocks incoming
-connections.
-Try this flag if
-.Nm
-seems to hang when retrieving FTP URLs.
+These flags have no effect, since passive FTP is the default, but are
+provided for compatibility with earlier versions where active FTP was
+the default.
+To force active mode, set the
+.Ev FTP_PASSIVE_MODE
+environment variable to
+.Ql NO .
.It Fl q
Quiet mode.
.It Fl R
Modified: head/usr.bin/fetch/fetch.c
==============================================================================
--- head/usr.bin/fetch/fetch.c Tue Sep 27 18:57:26 2011 (r225814)
+++ head/usr.bin/fetch/fetch.c Tue Sep 27 19:02:44 2011 (r225815)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
+ * Copyright (c) 2000-2011 Dag-Erling Smørgrav
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
More information about the svn-src-all
mailing list