summaryrefslogtreecommitdiffstats
path: root/base/vsftpd/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-02-22 22:35:43 +0100
committersibel <lesibel@free.fr>2011-02-22 22:35:43 +0100
commit082fe703213e31ae0f848c260d0d6b5d6db7cdfc (patch)
treea9121d8d4494e5980ff0e8222d0b831e9366ebfc /base/vsftpd/Pkgfile
parente73507946febe17e7f4a3eb10c5796bcafae0dff (diff)
downloadnutyx-extra-082fe703213e31ae0f848c260d0d6b5d6db7cdfc.tar.gz
nutyx-extra-082fe703213e31ae0f848c260d0d6b5d6db7cdfc.tar.bz2
nutyx-extra-082fe703213e31ae0f848c260d0d6b5d6db7cdfc.tar.xz
nutyx-extra-082fe703213e31ae0f848c260d0d6b5d6db7cdfc.zip
vsftpd, suppression du port
Diffstat (limited to 'base/vsftpd/Pkgfile')
-rw-r--r--base/vsftpd/Pkgfile44
1 files changed, 0 insertions, 44 deletions
diff --git a/base/vsftpd/Pkgfile b/base/vsftpd/Pkgfile
deleted file mode 100644
index 95fd6f2c3..000000000
--- a/base/vsftpd/Pkgfile
+++ /dev/null
@@ -1,44 +0,0 @@
-# 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
-}
-