summaryrefslogtreecommitdiffstats
path: root/extra/proftpd/Pkgfile
diff options
context:
space:
mode:
authorcobex4 <cobex4 at gmail dot com>2010-11-05 23:20:45 +0100
committercobex4 <cobex4 at gmail dot com>2010-11-05 23:20:45 +0100
commit508a05440688f490e278e765e9badcfc2873237e (patch)
treed040a620d678034f42e712ba92ed610035ab9454 /extra/proftpd/Pkgfile
parent5ff8f16e2fe9251f708096c3fa915f50cd32e5b3 (diff)
downloadnutyx-extra-508a05440688f490e278e765e9badcfc2873237e.tar.gz
nutyx-extra-508a05440688f490e278e765e9badcfc2873237e.tar.bz2
nutyx-extra-508a05440688f490e278e765e9badcfc2873237e.tar.xz
nutyx-extra-508a05440688f490e278e765e9badcfc2873237e.zip
proftpd, ajout du service
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
}