summaryrefslogtreecommitdiffstats
path: root/extra/proftpd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/proftpd/Pkgfile')
-rw-r--r--extra/proftpd/Pkgfile17
1 files changed, 8 insertions, 9 deletions
diff --git a/extra/proftpd/Pkgfile b/extra/proftpd/Pkgfile
index 2ab70bb7d..62e05b62b 100644
--- a/extra/proftpd/Pkgfile
+++ b/extra/proftpd/Pkgfile
@@ -10,6 +10,9 @@ release=1
source=ftp://ftp.proftpd.org/distrib/source/$name-$version.tar.gz
build() {
+ source /etc/blfs-bootscripts
+ wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xf $scripts-$scriptsversion.tar.bz2
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 \
@@ -20,13 +23,9 @@ build() {
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
-
+# Install du service
+ cd $SRC/$scripts-$scriptsversion
+ make DESTDIR=$PKG install-proftpd
+ rm -r $PKG/etc/sysconfig
+ rm -r $PKG/etc/rc.d/rcsysinit.d
}