summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 21:23:49 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 21:23:49 +0200
commit5f2f4ab41f7aab0d57de3b0e79545be4bc56ac65 (patch)
treeca329aa3db0e77025d7962e4d1390227f7eb1b6e
parent5c3261d6e3781d0a3946a5ccdb752122167c09d2 (diff)
downloadnutyx-pakxe-5f2f4ab41f7aab0d57de3b0e79545be4bc56ac65.tar.gz
nutyx-pakxe-5f2f4ab41f7aab0d57de3b0e79545be4bc56ac65.tar.bz2
nutyx-pakxe-5f2f4ab41f7aab0d57de3b0e79545be4bc56ac65.tar.xz
nutyx-pakxe-5f2f4ab41f7aab0d57de3b0e79545be4bc56ac65.zip
Ajout de fcron#3.0.4-1
-rw-r--r--extra/fcron/.footprint57
-rw-r--r--extra/fcron/.md5sum2
-rw-r--r--extra/fcron/Pkgfile34
-rw-r--r--extra/fcron/fcron45
4 files changed, 138 insertions, 0 deletions
diff --git a/extra/fcron/.footprint b/extra/fcron/.footprint
new file mode 100644
index 000000000..8f5548fc6
--- /dev/null
+++ b/extra/fcron/.footprint
@@ -0,0 +1,57 @@
+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
new file mode 100644
index 000000000..607f2b26b
--- /dev/null
+++ b/extra/fcron/.md5sum
@@ -0,0 +1,2 @@
+ace3e6df967268df0ee70764ecef139f fcron
+5a26a1dfd91fdc7e87401e98aef870e6 fcron-3.0.4.src.tar.gz
diff --git a/extra/fcron/Pkgfile b/extra/fcron/Pkgfile
new file mode 100644
index 000000000..8ee2f5f18
--- /dev/null
+++ b/extra/fcron/Pkgfile
@@ -0,0 +1,34 @@
+# 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
new file mode 100644
index 000000000..823b4cd0a
--- /dev/null
+++ b/extra/fcron/fcron
@@ -0,0 +1,45 @@
+#!/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