diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-13 09:11:48 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-13 09:11:48 +0100 |
commit | 607c3fcd1d10a37c077c870df450b5389fb519bf (patch) | |
tree | 9c7c0e209d6373efe2296e379c63c29d27a8847b /package/proftpd/files | |
parent | c16eb800d935d903d2ab38b3da8270324284e973 (diff) | |
parent | f42fb988bae9d402b0b204614b54ba9b4261d877 (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 |