summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg')
-rw-r--r--obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/conffiles1
-rw-r--r--obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/control8
-rw-r--r--obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd19
-rw-r--r--obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf17
4 files changed, 45 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/conffiles b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/conffiles
new file mode 100644
index 000000000..45632cf31
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/conffiles
@@ -0,0 +1 @@
+/etc/vsftpd.conf
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/control
new file mode 100644
index 000000000..28b8ced61
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/CONTROL/control
@@ -0,0 +1,8 @@
+Package: vsftpd
+Priority: optional
+Section: net
+Version: TBDL
+Architecture: TBDL
+Maintainer: Nico <nthill@free.fr>
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/buildroot/
+Description: a fast and secure FTP server
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd
new file mode 100644
index 000000000..0152e4ec8
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/init.d/vsftpd
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+case $1 in
+ start)
+ [ -d /var/run/vsftpd ] || mkdir -p /var/run/vsftpd
+ /usr/sbin/vsftpd
+ ;;
+ stop)
+ pid=$(pidof vsftpd)
+ x=$$ # exclude our pid since we have the same name
+ pid=$(echo $pid | sed -e "s/$x//")
+ [ -n "$pid" ] && kill -TERM $pid
+ ;;
+ *)
+ echo "usage: $0 (start|stop)"
+ exit 1
+esac
+
+exit $?
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf
new file mode 100644
index 000000000..f3ba34f50
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/ipkg/vsftpd/root/etc/vsftpd.conf
@@ -0,0 +1,17 @@
+background=YES
+listen=YES
+anonymous_enable=NO
+local_enable=YES
+write_enable=YES
+local_umask=022
+check_shell=NO
+#dirmessage_enable=YES
+#ftpd_banner=Welcome to blah FTP service.
+session_support=NO
+#syslog_enable=YES
+#userlist_enable=YES
+#userlist_deny=NO
+#userlist_file=/etc/vsftpd.users
+#xferlog_enable=YES
+#xferlog_file=/var/log/vsftpd.log
+#xferlog_std_format=YES