summaryrefslogtreecommitdiffstats
path: root/base/vsftpd
diff options
context:
space:
mode:
authorcobex4 <cobex4 at gmail dot com>2010-11-05 22:34:47 +0100
committercobex4 <cobex4 at gmail dot com>2010-11-05 22:34:47 +0100
commit1b32582ff11ab909799363ca98e3255bc3a2b737 (patch)
tree18a36504521922d3ba84ed96a236c050d49ffb02 /base/vsftpd
parent75e867cdfeaf45978e93469a40300cf9ef60a9b3 (diff)
downloadnutyx-extra-1b32582ff11ab909799363ca98e3255bc3a2b737.tar.gz
nutyx-extra-1b32582ff11ab909799363ca98e3255bc3a2b737.tar.bz2
nutyx-extra-1b32582ff11ab909799363ca98e3255bc3a2b737.tar.xz
nutyx-extra-1b32582ff11ab909799363ca98e3255bc3a2b737.zip
vsftpd, nouveau port, 2.3.2-1
Diffstat (limited to 'base/vsftpd')
-rw-r--r--base/vsftpd/.footprint27
-rw-r--r--base/vsftpd/.md5sum1
-rw-r--r--base/vsftpd/Pkgfile44
3 files changed, 72 insertions, 0 deletions
diff --git a/base/vsftpd/.footprint b/base/vsftpd/.footprint
new file mode 100644
index 000000000..1b88e7c3f
--- /dev/null
+++ b/base/vsftpd/.footprint
@@ -0,0 +1,27 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/vsftpd
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K10vsftpd -> ../init.d/vsftpd
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K10vsftpd -> ../init.d/vsftpd
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S90vsftpd -> ../init.d/vsftpd
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S90vsftpd -> ../init.d/vsftpd
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S90vsftpd -> ../init.d/vsftpd
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K10vsftpd -> ../init.d/vsftpd
+-rw-r--r-- root/root etc/vsftpd.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/vsftpd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/empty/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/vsftpd.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/vsftpd.8.gz
diff --git a/base/vsftpd/.md5sum b/base/vsftpd/.md5sum
new file mode 100644
index 000000000..c2d3f665b
--- /dev/null
+++ b/base/vsftpd/.md5sum
@@ -0,0 +1 @@
+bad7b117d737a738738836041edc00db vsftpd-2.3.2.tar.gz
diff --git a/base/vsftpd/Pkgfile b/base/vsftpd/Pkgfile
new file mode 100644
index 000000000..95fd6f2c3
--- /dev/null
+++ b/base/vsftpd/Pkgfile
@@ -0,0 +1,44 @@
+# Description: Agent de service de messagerie electronique
+# URL: http://vsftpd.beasts.org/
+# Maintainer: Cobex4
+# Packager: cobex4 at gmail dot com
+
+name=vsftpd
+version=2.3.2
+release=1
+source=ftp://vsftpd.beasts.org/users/cevans/$name-$version.tar.gz
+
+build() {
+ cd $name-$version
+ # build-time config
+ sed \
+ -e 's|^#undef VSF_BUILD_TCPWRAPPERS$|#define VSF_BUILD_TCPWRAPPERS|' \
+ -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' \
+ -i builddefs.h
+ make CFLAGS="${CFLAGS}"
+ install -D -m755 vsftpd $PKG/usr/sbin/vsftpd
+ install -D -m644 vsftpd.conf $PKG/etc/vsftpd.conf
+ install -D -m644 vsftpd.8 $PKG/usr/share/man/man8/vsftpd.8
+ install -D -m644 vsftpd.conf.5 $PKG/usr/share/man/man5/vsftpd.conf.5
+ install -D -m755 vsftpd $PKG/etc/rc.d/init.d/vsftpd
+ mkdir -p $PKG/usr/share/empty
+ ex $PKG/etc/vsftpd.conf <<_EOF
+2
+i
+#
+# Use this to use vsftpd in standalone mode, otherwise it runs through (x)inetd
+#listen=YES
+.
+w
+q
+_EOF
+# Controle du service
+ mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
+ ln -svf ../init.d/vsftpd $PKG/etc/rc.d/rc3.d/S90vsftpd
+ ln -svf ../init.d/vsftpd $PKG/etc/rc.d/rc5.d/S90vsftpd
+ ln -svf ../init.d/vsftpd $PKG/etc/rc.d/rc4.d/S90vsftpd
+ ln -svf ../init.d/vsftpd $PKG/etc/rc.d/rc0.d/K10vsftpd
+ ln -svf ../init.d/vsftpd $PKG/etc/rc.d/rc1.d/K10vsftpd
+ ln -svf ../init.d/vsftpd $PKG/etc/rc.d/rc6.d/K10vsftpd
+}
+