From c46214dbe5d06fd1b92a08d9c37ae37d5203bf28 Mon Sep 17 00:00:00 2001 From: cobex4 Date: Fri, 5 Nov 2010 22:42:11 +0100 Subject: proftpd, nouveau port 1.3.3c-1 --- extra/proftpd/Pkgfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 extra/proftpd/Pkgfile (limited to 'extra/proftpd/Pkgfile') 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 + +} -- cgit v1.2.3-70-g09d2