summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/proftpd/.footprint16
-rw-r--r--extra/proftpd/Pkgfile17
2 files changed, 18 insertions, 15 deletions
diff --git a/extra/proftpd/.footprint b/extra/proftpd/.footprint
index faecd8ce0..9184bb42c 100644
--- a/extra/proftpd/.footprint
+++ b/extra/proftpd/.footprint
@@ -1,17 +1,21 @@
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-- root/root etc/rc.d/init.d/proftpd
drwxr-xr-x root/root etc/rc.d/rc0.d/
-lrwxrwxrwx root/root etc/rc.d/rc0.d/K10proftpd -> ../init.d/proftpd
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K28proftpd -> ../init.d/proftpd
drwxr-xr-x root/root etc/rc.d/rc1.d/
-lrwxrwxrwx root/root etc/rc.d/rc1.d/K10proftpd -> ../init.d/proftpd
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K28proftpd -> ../init.d/proftpd
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K28proftpd -> ../init.d/proftpd
drwxr-xr-x root/root etc/rc.d/rc3.d/
-lrwxrwxrwx root/root etc/rc.d/rc3.d/S90proftpd -> ../init.d/proftpd
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S32proftpd -> ../init.d/proftpd
drwxr-xr-x root/root etc/rc.d/rc4.d/
-lrwxrwxrwx root/root etc/rc.d/rc4.d/S90proftpd -> ../init.d/proftpd
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S32proftpd -> ../init.d/proftpd
drwxr-xr-x root/root etc/rc.d/rc5.d/
-lrwxrwxrwx root/root etc/rc.d/rc5.d/S90proftpd -> ../init.d/proftpd
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S32proftpd -> ../init.d/proftpd
drwxr-xr-x root/root etc/rc.d/rc6.d/
-lrwxrwxrwx root/root etc/rc.d/rc6.d/K10proftpd -> ../init.d/proftpd
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K28proftpd -> ../init.d/proftpd
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/proftpd/
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
}