]> git.pld-linux.org Git - packages/proftpd.git/commitdiff
Sources
authorwojtek <wojtek@pld.org.pl>
Wed, 10 Feb 1999 16:12:44 +0000 (16:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    proftpd-glibc.patch -> 1.1
    proftpd.conf -> 1.1
    proftpd.logrotate -> 1.1

proftpd-glibc.patch [new file with mode: 0644]
proftpd.conf [new file with mode: 0644]
proftpd.logrotate [new file with mode: 0644]

diff --git a/proftpd-glibc.patch b/proftpd-glibc.patch
new file mode 100644 (file)
index 0000000..3302b7c
--- /dev/null
@@ -0,0 +1,14 @@
+diff -Nur proftpd-1.2.0pre1/modules/mod_ls.c proftpd-1.2.0pre1.pld/modules/mod_ls.c
+--- proftpd-1.2.0pre1/modules/mod_ls.c Sun Oct 18 04:24:41 1998
++++ proftpd-1.2.0pre1.pld/modules/mod_ls.c     Wed Feb 10 17:02:17 1999
+@@ -23,7 +23,9 @@
+  */
+ #include "conf.h"
+-
++#if ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1))
++#include <asm/types.h>
++#endif /* GNU libc-2.1 */
+ #ifndef GLOB_ABORTED
+ #define GLOB_ABORTED GLOB_ABEND
+ #endif
diff --git a/proftpd.conf b/proftpd.conf
new file mode 100644 (file)
index 0000000..258ab12
--- /dev/null
@@ -0,0 +1,63 @@
+# This is a basic ProFTPD configuration file (rename it to 
+# 'proftpd.conf' for actual use.  It establishes a single server
+# and a single anonymous login.  It assumes that you have a user/group
+# "nobody" and "ftp" for normal operation and anon.
+
+ServerName                     "ProFTPD"
+ServerType                     inetd
+DeferWelcome                   off
+DefaultServer                  on
+
+# Port 21 is the standard FTP port.
+Port                           21
+# Umask 022 is a good standard umask to prevent new dirs and files
+# from being group and world writable.
+Umask                          022
+
+# Set the user and group that the server normally runs at.
+User                           ftp
+Group                          ftp
+
+# Normally, we want files to be overwriteable.
+<Directory />
+       AllowOverwrite          on
+</Directory>
+
+#A basic anonymous configuration
+# uncoment this section below if you want gain annonymous ftp acces
+#<Anonymous ~ftp>
+#      User                    ftp
+#      Group                   ftp
+#      AnonRequirePassword     off
+#      RequireValidShell       off
+
+       # We want clients to be able to login with "anonymous" as well as "ftp"
+#      UserAlias               anonymous ftp
+
+       # Limit the maximum number of anonymous logins
+#      MaxClients              10
+
+       # We want 'welcome.msg' displayed at login, and '.message' displayed
+       # in each newly chdired directory.
+#      DisplayLogin            welcome.msg
+#      DisplayFirstChdir       .message
+
+#      AllowStoreRestart on
+
+       # Limit WRITE everywhere in the anonymous chroot
+#      <Limit WRITE>
+#              DenyAll
+#      </Limit>
+
+#      <Directory /home/ftp/pub/Incoming>
+#              <Limit READ>
+#                      DenyAll
+#              </Limit>
+#              <Limit WRITE>
+#                      AllowAll
+#              </Limit>
+#              <Limit STOR>
+#                      AllowAll
+#              </Limit>
+#      </Directory>
+#</Anonymous>
diff --git a/proftpd.logrotate b/proftpd.logrotate
new file mode 100644 (file)
index 0000000..7728381
--- /dev/null
@@ -0,0 +1,4 @@
+/var/log/xferlog {
+    # ftpd doesn't handle SIGHUP properly
+    nocompress
+}
This page took 0.861585 seconds and 4 git commands to generate.