summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-17 23:24:21 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-17 23:24:21 +0100
commitbd57ce9ca0c9c45686a68c536106498548ca333d (patch)
tree32a89d9bb5f30fa9fb029544ef8bcfa470c5cb65
parent31c8a2b143383f4d92b74aa548eeb10a2c28a4c1 (diff)
downloadnutyx-pakxe-bd57ce9ca0c9c45686a68c536106498548ca333d.tar.gz
nutyx-pakxe-bd57ce9ca0c9c45686a68c536106498548ca333d.tar.bz2
nutyx-pakxe-bd57ce9ca0c9c45686a68c536106498548ca333d.tar.xz
nutyx-pakxe-bd57ce9ca0c9c45686a68c536106498548ca333d.zip
fcron, déplacé dans base
-rw-r--r--base/fcron/Pkgfile30
-rw-r--r--extra/fcron/.footprint57
-rw-r--r--extra/fcron/.md5sum2
-rw-r--r--extra/fcron/Pkgfile34
-rw-r--r--extra/fcron/fcron45
5 files changed, 16 insertions, 152 deletions
diff --git a/base/fcron/Pkgfile b/base/fcron/Pkgfile
index eb93f51bd..8ee2f5f18 100644
--- a/base/fcron/Pkgfile
+++ b/base/fcron/Pkgfile
@@ -14,19 +14,21 @@ build() {
source /etc/blfs-bootscripts
wget \
http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
-tar xvf $scripts-$scriptsversion.tar.bz2
-cd $name-$version
-./configure --prefix=/usr\
- --sysconfdir=/etc \
- --without-sendmail\
- --localstatedir=/var \
- --with-boot-install=no\
- --mandir=/usr/share/man\
- --infodir=/usr/share/info
-make
-make DESTDIR=$PKG install
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+ cd $name-$version
+ ./configure --prefix=/usr\
+ --sysconfdir=/etc \
+ --without-sendmail\
+ --localstatedir=/var \
+ --with-boot-install=no\
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
# Install the script
-cd ../$scripts-$scriptsversion
-make DESTDIR=$PKG install-fcron
-rm -rf $PKG/usr/share/doc
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-fcron
+ rm -rf $PKG/usr/share/doc
+# install -m755 ../fcron $PKG/etc/rc.d/init.d/
}
diff --git a/extra/fcron/.footprint b/extra/fcron/.footprint
deleted file mode 100644
index 8f5548fc6..000000000
--- a/extra/fcron/.footprint
+++ /dev/null
@@ -1,57 +0,0 @@
-drwxr-xr-x root/root etc/
--rw-r----- root/fcron etc/fcron.allow
--rw-r----- root/fcron etc/fcron.conf
--rw-r----- root/fcron etc/fcron.deny
-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/fcron
-drwxr-xr-x root/root etc/rc.d/rc0.d/
-lrwxrwxrwx root/root etc/rc.d/rc0.d/K08fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rc1.d/
-lrwxrwxrwx root/root etc/rc.d/rc1.d/K08fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rc2.d/
-lrwxrwxrwx root/root etc/rc.d/rc2.d/S40fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rc3.d/
-lrwxrwxrwx root/root etc/rc.d/rc3.d/S40fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rc4.d/
-lrwxrwxrwx root/root etc/rc.d/rc4.d/S40fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rc5.d/
-lrwxrwxrwx root/root etc/rc.d/rc5.d/S40fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rc6.d/
-lrwxrwxrwx root/root etc/rc.d/rc6.d/K08fcron -> ../init.d/fcron
-drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
-drwxr-xr-x root/root etc/sysconfig/
-drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
----s--s--x fcron/fcron usr/bin/fcrondyn
----s--x--- root/fcron usr/bin/fcronsighup
----s--s--x fcron/fcron usr/bin/fcrontab
-drwxr-xr-x root/root usr/sbin/
----x--x--- root/root usr/sbin/fcron
-drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/man/
-drwxr-xr-x root/root usr/share/man/fr/
-drwxr-xr-x root/root usr/share/man/fr/man1/
--rw-r--r-- root/root usr/share/man/fr/man1/fcrondyn.1
--rw-r--r-- root/root usr/share/man/fr/man1/fcrontab.1
-drwxr-xr-x root/root usr/share/man/fr/man3/
--rw-r--r-- root/root usr/share/man/fr/man3/bitstring.3
-drwxr-xr-x root/root usr/share/man/fr/man5/
--rw-r--r-- root/root usr/share/man/fr/man5/fcron.conf.5
--rw-r--r-- root/root usr/share/man/fr/man5/fcrontab.5
-drwxr-xr-x root/root usr/share/man/fr/man8/
--rw-r--r-- root/root usr/share/man/fr/man8/fcron.8
-drwxr-xr-x root/root usr/share/man/man1/
--rw-r--r-- root/root usr/share/man/man1/fcrondyn.1.gz
--rw-r--r-- root/root usr/share/man/man1/fcrontab.1.gz
-drwxr-xr-x root/root usr/share/man/man3/
--rw-r--r-- root/root usr/share/man/man3/bitstring.3.gz
-drwxr-xr-x root/root usr/share/man/man5/
--rw-r--r-- root/root usr/share/man/man5/fcron.conf.5.gz
--rw-r--r-- root/root usr/share/man/man5/fcrontab.5.gz
-drwxr-xr-x root/root usr/share/man/man8/
--rw-r--r-- root/root usr/share/man/man8/fcron.8.gz
-drwxr-xr-x root/root var/
-drwxr-xr-x root/root var/run/
-drwxr-xr-x root/root var/spool/
-drwxrwx--- fcron/fcron var/spool/fcron/
diff --git a/extra/fcron/.md5sum b/extra/fcron/.md5sum
deleted file mode 100644
index 607f2b26b..000000000
--- a/extra/fcron/.md5sum
+++ /dev/null
@@ -1,2 +0,0 @@
-ace3e6df967268df0ee70764ecef139f fcron
-5a26a1dfd91fdc7e87401e98aef870e6 fcron-3.0.4.src.tar.gz
diff --git a/extra/fcron/Pkgfile b/extra/fcron/Pkgfile
deleted file mode 100644
index 8ee2f5f18..000000000
--- a/extra/fcron/Pkgfile
+++ /dev/null
@@ -1,34 +0,0 @@
-# Description: Gestionnaire de tâches planifiées
-# URL: http://fcron.free.fr
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on:
-
-name=fcron
-version=3.0.4
-release=1
-source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
- fcron)
-
-build() {
- source /etc/blfs-bootscripts
-wget \
-http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
- tar xvf $scripts-$scriptsversion.tar.bz2
- # build package
- cd $name-$version
- ./configure --prefix=/usr\
- --sysconfdir=/etc \
- --without-sendmail\
- --localstatedir=/var \
- --with-boot-install=no\
- --mandir=/usr/share/man\
- --infodir=/usr/share/info
- make
- make DESTDIR=$PKG install
- # Install the script
- cd ../$scripts-$scriptsversion
- make DESTDIR=$PKG install-fcron
- rm -rf $PKG/usr/share/doc
-# install -m755 ../fcron $PKG/etc/rc.d/init.d/
-}
diff --git a/extra/fcron/fcron b/extra/fcron/fcron
deleted file mode 100644
index 823b4cd0a..000000000
--- a/extra/fcron/fcron
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# Begin $rc_base/init.d/fcron
-
-# Based on sysklogd script from LFS-3.1 and earlier.
-# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
-
-#$LastChangedBy: bdubbs $
-#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
-
-. /etc/sysconfig/rc
-. $rc_functions
-newgroup=fcron
-newuser=fcron
-newid=22
-getent group $newgroup > /dev/null || /usr/sbin/groupadd -g $newid $newgroup
-getent passwd $newuser > /dev/null || /usr/sbin/useradd -g $newgroup \
--u $newid -d /dev/null -s /bin/false -c "Fcron User" $newuser
-case "$1" in
- start)
- boot_mesg "Starting fcron..."
- loadproc /usr/sbin/fcron
- ;;
-
- stop)
- boot_mesg "Stopping fcron..."
- killproc /usr/sbin/fcron
- ;;
-
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
-
- status)
- statusproc /usr/sbin/fcron
- ;;
-
- *)
- echo "Usage: $0 {start|stop|restart|status}"
- exit 1
- ;;
-esac
-
-# End $rc_base/init.d/fcron