From 508a05440688f490e278e765e9badcfc2873237e Mon Sep 17 00:00:00 2001 From: cobex4 Date: Fri, 5 Nov 2010 23:20:45 +0100 Subject: proftpd, ajout du service --- extra/proftpd/Pkgfile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'extra/proftpd/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2