diff options
author | cobex4 <cobex4 at gmail dot com> | 2010-11-05 22:42:11 +0100 |
---|---|---|
committer | cobex4 <cobex4 at gmail dot com> | 2010-11-05 22:42:11 +0100 |
commit | c46214dbe5d06fd1b92a08d9c37ae37d5203bf28 (patch) | |
tree | 9716cdeee9a4414448ad91f989c0fa92a191558f /extra/proftpd/Pkgfile | |
parent | 1b32582ff11ab909799363ca98e3255bc3a2b737 (diff) | |
download | nutyx-pakxe-c46214dbe5d06fd1b92a08d9c37ae37d5203bf28.tar.gz nutyx-pakxe-c46214dbe5d06fd1b92a08d9c37ae37d5203bf28.tar.bz2 nutyx-pakxe-c46214dbe5d06fd1b92a08d9c37ae37d5203bf28.tar.xz nutyx-pakxe-c46214dbe5d06fd1b92a08d9c37ae37d5203bf28.zip |
proftpd, nouveau port 1.3.3c-1
Diffstat (limited to 'extra/proftpd/Pkgfile')
-rw-r--r-- | extra/proftpd/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/proftpd/Pkgfile b/extra/proftpd/Pkgfile new file mode 100644 index 000000000..2ab70bb7d --- /dev/null +++ b/extra/proftpd/Pkgfile @@ -0,0 +1,32 @@ +# Description: Serveur FTP de très grande performance +# URL: http://www.proftpd.org/ +# Maintainer: Cobex4 +# Packager: cobex4 at gmail dot com +# Depends on: libldap, libmysql, libpostgresql + +name=proftpd +version=1.3.3c +release=1 +source=ftp://ftp.proftpd.org/distrib/source/$name-$version.tar.gz + +build() { + cd $name-$version + ./configure --prefix=/usr --mandir=/usr/share/man --disable-pam \ + --with-modules=mod_quotatab:mod_quotatab_file:mod_tls:mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres \ + --sysconfdir=/etc --localstatedir=/var/run --enable-ctrls --enable-ipv6 \ + --with-includes=/usr/include/mysql:/usr/include/postgresql \ + --with-libraries=/usr/lib/mysql:/usr/lib/postgresql --enable-nls + + make + make prefix=$PKG/usr install + +# Controle du service + mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d + ln -svf ../init.d/proftpd $PKG/etc/rc.d/rc3.d/S90proftpd + ln -svf ../init.d/proftpd $PKG/etc/rc.d/rc5.d/S90proftpd + ln -svf ../init.d/proftpd $PKG/etc/rc.d/rc4.d/S90proftpd + ln -svf ../init.d/proftpd $PKG/etc/rc.d/rc0.d/K10proftpd + ln -svf ../init.d/proftpd $PKG/etc/rc.d/rc1.d/K10proftpd + ln -svf ../init.d/proftpd $PKG/etc/rc.d/rc6.d/K10proftpd + +} |