diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-12 20:34:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-12 20:34:01 +0100 |
commit | d2bda1cfddccdd4c553a15e775a037de3bbb0570 (patch) | |
tree | 965914462125326d3166287f4567ceae50bf7914 /package/proftpd/files | |
parent | 22db207e5c13ad254ff488b8be2601792aae8586 (diff) | |
parent | d07bf77e221876d0c9d6f9813ef165265b67c15e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/proftpd/files')
-rw-r--r-- | package/proftpd/files/ftpusers | 37 | ||||
-rw-r--r-- | package/proftpd/files/proftpd.conf | 60 | ||||
-rw-r--r-- | package/proftpd/files/proftpd.conffiles | 2 | ||||
-rw-r--r-- | package/proftpd/files/proftpd.init | 29 | ||||
-rw-r--r-- | package/proftpd/files/proftpd.postinst | 3 |
5 files changed, 0 insertions, 131 deletions
diff --git a/package/proftpd/files/ftpusers b/package/proftpd/files/ftpusers deleted file mode 100644 index 4bc8872dc..000000000 --- a/package/proftpd/files/ftpusers +++ /dev/null @@ -1,37 +0,0 @@ -# Provided by ftpbase (dont remove this line!) -# /etc/ftpusers: list of users disallowed FTP access -# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/files/ftpusers,v 1.1 2005/06/28 14:52:26 uberlord Exp $ - -halt -operator -root -shutdown -sync -bin -daemon -adm -lp -mail -postmaster -news -uucp -man -games -at -cron -www -named -squid -gdm -mysql -postgres -guest -nobody -alias -qmaild -qmaill -qmailp -qmailq -qmailr -qmails -postfix diff --git a/package/proftpd/files/proftpd.conf b/package/proftpd/files/proftpd.conf deleted file mode 100644 index 8d4f7f2fa..000000000 --- a/package/proftpd/files/proftpd.conf +++ /dev/null @@ -1,60 +0,0 @@ -ServerName "ProFTPD Default Installation" -ServerType standalone -DefaultServer on - -# Port 21 is the standard FTP port. -Port 21 - -# Don't use IPv6 support by default. -UseIPv6 off - -# Umask 022 is a good standard umask to prevent new dirs and files -# from being group and world writable. -Umask 022 - -# To prevent DoS attacks, set the maximum number of child processes -# to 30. If you need to allow more than 30 concurrent connections -# at once, simply increase this value. Note that this ONLY works -# in standalone mode, in inetd mode you should use an inetd server -# that allows you to limit maximum number of processes per service -# (such as xinetd). -MaxInstances 30 - -# Set the user and group under which the server will run. -User nobody -Group nogroup - -# To cause every FTP user to be "jailed" (chrooted) into their home -# directory, uncomment this line. -#DefaultRoot ~ - -# Normally, we want files to be overwriteable. -AllowOverwrite on - -# Bar use of SITE CHMOD by default -<Limit SITE_CHMOD> - DenyAll -</Limit> - -# A basic anonymous configuration, no upload directories. If you do not -# want anonymous users, simply delete this entire <Anonymous> section. -<Anonymous ~ftp> - User ftp - Group ftp - - # 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 - DisplayChdir .message - - # Limit WRITE everywhere in the anonymous chroot - <Limit WRITE> - DenyAll - </Limit> -</Anonymous> diff --git a/package/proftpd/files/proftpd.conffiles b/package/proftpd/files/proftpd.conffiles deleted file mode 100644 index 3ff0fb2e3..000000000 --- a/package/proftpd/files/proftpd.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/proftpd.conf -/etc/ftpusers diff --git a/package/proftpd/files/proftpd.init b/package/proftpd/files/proftpd.init deleted file mode 100644 index 8e605652d..000000000 --- a/package/proftpd/files/proftpd.init +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -#PKG proftpd -#INIT 60 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${proftpd:-NO}" = x"NO" && exit 0 - exec sh $0 start - ;; -start) - [ -f /etc/proftpd.conf ] || exit - /usr/sbin/proftpd - ;; -stop) - kill $(pgrep -f /usr/sbin/proftpd) - ;; -restart) - sh $0 stop - sleep 1 - sh $0 start - ;; -*) - echo "Usage: $0 {start | stop | restart}" - exit 1 - ;; -esac -exit $? diff --git a/package/proftpd/files/proftpd.postinst b/package/proftpd/files/proftpd.postinst deleted file mode 100644 index 0b3fa08aa..000000000 --- a/package/proftpd/files/proftpd.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf proftpd proftpd NO |