summaryrefslogtreecommitdiffstats
path: root/fcron
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /fcron
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'fcron')
-rw-r--r--fcron/.footprint.i68657
-rw-r--r--fcron/.footprint.x86_6457
-rw-r--r--fcron/.md5sum.i6862
-rw-r--r--fcron/.md5sum.x86_642
-rw-r--r--fcron/Pkgfile36
-rw-r--r--fcron/fcron45
6 files changed, 199 insertions, 0 deletions
diff --git a/fcron/.footprint.i686 b/fcron/.footprint.i686
new file mode 100644
index 000000000..e280bb7fe
--- /dev/null
+++ b/fcron/.footprint.i686
@@ -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.gz
+-rw-r--r-- root/root usr/share/man/fr/man1/fcrontab.1.gz
+drwxr-xr-x root/root usr/share/man/fr/man3/
+-rw-r--r-- root/root usr/share/man/fr/man3/bitstring.3.gz
+drwxr-xr-x root/root usr/share/man/fr/man5/
+-rw-r--r-- root/root usr/share/man/fr/man5/fcron.conf.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/fcrontab.5.gz
+drwxr-xr-x root/root usr/share/man/fr/man8/
+-rw-r--r-- root/root usr/share/man/fr/man8/fcron.8.gz
+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/fcron/.footprint.x86_64 b/fcron/.footprint.x86_64
new file mode 100644
index 000000000..e280bb7fe
--- /dev/null
+++ b/fcron/.footprint.x86_64
@@ -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.gz
+-rw-r--r-- root/root usr/share/man/fr/man1/fcrontab.1.gz
+drwxr-xr-x root/root usr/share/man/fr/man3/
+-rw-r--r-- root/root usr/share/man/fr/man3/bitstring.3.gz
+drwxr-xr-x root/root usr/share/man/fr/man5/
+-rw-r--r-- root/root usr/share/man/fr/man5/fcron.conf.5.gz
+-rw-r--r-- root/root usr/share/man/fr/man5/fcrontab.5.gz
+drwxr-xr-x root/root usr/share/man/fr/man8/
+-rw-r--r-- root/root usr/share/man/fr/man8/fcron.8.gz
+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/fcron/.md5sum.i686 b/fcron/.md5sum.i686
new file mode 100644
index 000000000..607f2b26b
--- /dev/null
+++ b/fcron/.md5sum.i686
@@ -0,0 +1,2 @@
+ace3e6df967268df0ee70764ecef139f fcron
+5a26a1dfd91fdc7e87401e98aef870e6 fcron-3.0.4.src.tar.gz
diff --git a/fcron/.md5sum.x86_64 b/fcron/.md5sum.x86_64
new file mode 100644
index 000000000..607f2b26b
--- /dev/null
+++ b/fcron/.md5sum.x86_64
@@ -0,0 +1,2 @@
+ace3e6df967268df0ee70764ecef139f fcron
+5a26a1dfd91fdc7e87401e98aef870e6 fcron-3.0.4.src.tar.gz
diff --git a/fcron/Pkgfile b/fcron/Pkgfile
new file mode 100644
index 000000000..563407a7e
--- /dev/null
+++ b/fcron/Pkgfile
@@ -0,0 +1,36 @@
+# 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=2
+source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
+ fcron)
+
+build() {
+ unset MAKEFLAGS
+ source /etc/blfs-bootscripts
+wget \
+http://nutyx.meticul.eu/files/patchs/aaabasicfs/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+ cd $name-$version
+ ./configure --prefix=/usr\
+ --sysconfdir=/etc \
+ --with-pam=no \
+ --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/fcron/fcron b/fcron/fcron
new file mode 100644
index 000000000..823b4cd0a
--- /dev/null
+++ b/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