]> git.pld-linux.org Git - packages/ftpd-BSD.git/blobdiff - ftpd-BSD-anonuser.patch
- typo: %s/sever"/server"/
[packages/ftpd-BSD.git] / ftpd-BSD-anonuser.patch
index a9849d37bde145f96e0d5c455547f637a2d6f91a..8df5d077ef042bbc33b89a713aaaa1a8f3c3de78 100644 (file)
@@ -1,35 +1,43 @@
-diff -bruN ftpd-BSD-0.3.2/ftpd/ftpd.8 ftpd-BSD-0.3.2.new/ftpd/ftpd.8
---- ftpd-BSD-0.3.2/ftpd/ftpd.8 Wed Aug 16 13:02:00 2000
-+++ ftpd-BSD-0.3.2.new/ftpd/ftpd.8     Thu Jul  6 18:24:17 2000
-@@ -114,10 +114,6 @@
+--- ftpd-BSD-0.3.2/ftpd.8      Thu Jul  6 18:24:17 2000
++++ ftpd-BSD-0.3.2.new/ftpd.8  Wed Aug 16 13:17:26 2000
+@@ -114,6 +114,10 @@
  and requires it use the same source address as the connection came from.
  This prevents the "FTP bounce attack" against services on both the local
  machine and other local machines.
  and requires it use the same source address as the connection came from.
  This prevents the "FTP bounce attack" against services on both the local
  machine and other local machines.
--.It Fl q
--Prevent
--.Nm ftpd
--from displaying program name and version at the connection startup.
++.It Fl q
++Prevent
++.Nm ftpd
++from displaying program name and version at the connection startup.
  .It Fl S
  With this option set,
  .Nm ftpd
  .It Fl S
  With this option set,
  .Nm ftpd
-@@ -131,14 +127,6 @@
+@@ -127,6 +131,14 @@
  .Pa /var/run/utmp ,
  making them visible to commands such as
  .Xr who 1 .
  .Pa /var/run/utmp ,
  making them visible to commands such as
  .Xr who 1 .
--.It Fl z Ar username
--Use specified
--.Ar username
--as anonymous
--.Xr ftp 1
--user, instead of default
--.Pa ftp
--.
++.It Fl z Ar username
++Use specified
++.Ar username
++as anonymous
++.Xr ftp 1
++user, instead of default
++.Pa ftp
++.
  .It Fl T Ar maxtimeout
  A client may also request a different timeout period;
  the maximum period allowed may be set to
  .It Fl T Ar maxtimeout
  A client may also request a different timeout period;
  the maximum period allowed may be set to
-diff -bruN ftpd-BSD-0.3.2/ftpd/ftpd.c ftpd-BSD-0.3.2.new/ftpd/ftpd.c
---- ftpd-BSD-0.3.2/ftpd/ftpd.c Fri Jul  7 05:06:04 2000
-+++ ftpd-BSD-0.3.2.new/ftpd/ftpd.c     Wed Aug 16 12:54:54 2000
+diff -bruN ftpd-BSD-0.3.2/ftpd.c ftpd-BSD-0.3.2.new/ftpd.c
+--- ftpd-BSD-0.3.2/ftpd.c      Fri Jul  7 05:06:04 2000
++++ ftpd-BSD-0.3.2.new/ftpd.c  Wed Aug 16 13:46:09 2000
+@@ -212,7 +212,7 @@
+ off_t byte_count;
+ #if !defined(CMASK) || CMASK == 0
+ #undef CMASK
+-#define CMASK 027
++#define CMASK 022
+ #endif
+ int   defumask = CMASK;               /* default umask value */
+ int   umaskchange = 1;                /* allow user to change umask value. */
 @@ -248,6 +248,9 @@
  #endif /* USE_PAM */
  #endif /* not ORIGINAL_SOURCE */
 @@ -248,6 +248,9 @@
  #endif /* USE_PAM */
  #endif /* not ORIGINAL_SOURCE */
This page took 0.036652 seconds and 4 git commands to generate.