diff options
author | cobex4 <cobex4 at gmail dot com> | 2010-11-05 23:20:45 +0100 |
---|---|---|
committer | cobex4 <cobex4 at gmail dot com> | 2010-11-05 23:20:45 +0100 |
commit | 508a05440688f490e278e765e9badcfc2873237e (patch) | |
tree | d040a620d678034f42e712ba92ed610035ab9454 /extra/proftpd | |
parent | 5ff8f16e2fe9251f708096c3fa915f50cd32e5b3 (diff) | |
download | nutyx-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')
-rw-r--r-- | extra/proftpd/.footprint | 16 | ||||
-rw-r--r-- | extra/proftpd/Pkgfile | 17 |
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 } |