From f7fbb13262d13159147edb9b93d2bfe373cd4091 Mon Sep 17 00:00:00 2001 From: wojtek Date: Wed, 10 Feb 1999 16:12:44 +0000 Subject: [PATCH] Sources Changed files: proftpd-glibc.patch -> 1.1 proftpd.conf -> 1.1 proftpd.logrotate -> 1.1 --- proftpd-glibc.patch | 14 ++++++++++ proftpd.conf | 63 +++++++++++++++++++++++++++++++++++++++++++++ proftpd.logrotate | 4 +++ 3 files changed, 81 insertions(+) create mode 100644 proftpd-glibc.patch create mode 100644 proftpd.conf create mode 100644 proftpd.logrotate diff --git a/proftpd-glibc.patch b/proftpd-glibc.patch new file mode 100644 index 0000000..3302b7c --- /dev/null +++ b/proftpd-glibc.patch @@ -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 ++#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 index 0000000..258ab12 --- /dev/null +++ b/proftpd.conf @@ -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. + + AllowOverwrite on + + +#A basic anonymous configuration +# uncoment this section below if you want gain annonymous ftp acces +# +# 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 +# +# DenyAll +# + +# +# +# DenyAll +# +# +# AllowAll +# +# +# AllowAll +# +# +# diff --git a/proftpd.logrotate b/proftpd.logrotate new file mode 100644 index 0000000..7728381 --- /dev/null +++ b/proftpd.logrotate @@ -0,0 +1,4 @@ +/var/log/xferlog { + # ftpd doesn't handle SIGHUP properly + nocompress +} -- 2.44.0