summaryrefslogtreecommitdiffstats
path: root/fcron
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-06 00:24:12 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-06 00:24:18 +0200
commit577f43d5ad4fc0322be61ace6770a61fffba5645 (patch)
treefabdcdc9d195c022b66ab1fea394e80ed81ae498 /fcron
parent6e8c7e5e6b41aad6c43c4a9c971557997d96b791 (diff)
downloadnutyx-extra-577f43d5ad4fc0322be61ace6770a61fffba5645.tar.gz
nutyx-extra-577f43d5ad4fc0322be61ace6770a61fffba5645.tar.bz2
nutyx-extra-577f43d5ad4fc0322be61ace6770a61fffba5645.tar.xz
nutyx-extra-577f43d5ad4fc0322be61ace6770a61fffba5645.zip
fcron 3.0.6 màj port
Diffstat (limited to 'fcron')
-rw-r--r--fcron/.footprint.i6865
-rw-r--r--fcron/.footprint.x86_643
-rw-r--r--fcron/.md5sum.i6863
-rw-r--r--fcron/.md5sum.x86_643
-rw-r--r--fcron/Pkgfile30
-rw-r--r--fcron/fcron45
6 files changed, 22 insertions, 67 deletions
diff --git a/fcron/.footprint.i686 b/fcron/.footprint.i686
index e280bb7fe..58fd8f6a0 100644
--- a/fcron/.footprint.i686
+++ b/fcron/.footprint.i686
@@ -2,6 +2,9 @@ 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/pam.d/
+-rw-r--r-- root/root etc/pam.d/fcron
+-rw-r--r-- root/root etc/pam.d/fcrontab
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
@@ -19,7 +22,7 @@ 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/rc.d/rcS.d/
drwxr-xr-x root/root etc/sysconfig/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
diff --git a/fcron/.footprint.x86_64 b/fcron/.footprint.x86_64
index e280bb7fe..a222d311e 100644
--- a/fcron/.footprint.x86_64
+++ b/fcron/.footprint.x86_64
@@ -2,6 +2,7 @@ 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
+-rw-r--r-- root/root etc/pam.conf
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
@@ -19,7 +20,7 @@ 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/rc.d/rcS.d/
drwxr-xr-x root/root etc/sysconfig/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
diff --git a/fcron/.md5sum.i686 b/fcron/.md5sum.i686
index 607f2b26b..a9c493159 100644
--- a/fcron/.md5sum.i686
+++ b/fcron/.md5sum.i686
@@ -1,2 +1 @@
-ace3e6df967268df0ee70764ecef139f fcron
-5a26a1dfd91fdc7e87401e98aef870e6 fcron-3.0.4.src.tar.gz
+69ebcb41921e2a282f41ebecb3a27053 fcron-3.0.6.src.tar.gz
diff --git a/fcron/.md5sum.x86_64 b/fcron/.md5sum.x86_64
index 607f2b26b..a9c493159 100644
--- a/fcron/.md5sum.x86_64
+++ b/fcron/.md5sum.x86_64
@@ -1,2 +1 @@
-ace3e6df967268df0ee70764ecef139f fcron
-5a26a1dfd91fdc7e87401e98aef870e6 fcron-3.0.4.src.tar.gz
+69ebcb41921e2a282f41ebecb3a27053 fcron-3.0.6.src.tar.gz
diff --git a/fcron/Pkgfile b/fcron/Pkgfile
index 563407a7e..dec4161e2 100644
--- a/fcron/Pkgfile
+++ b/fcron/Pkgfile
@@ -2,35 +2,33 @@
# URL: http://fcron.free.fr
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
+# Depends on: linux-pam, pambase
+# Run on: linux-pam,pambase
name=fcron
-version=3.0.4
+version=3.0.6
release=2
-source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
- fcron)
+source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz)
build() {
unset MAKEFLAGS
source /etc/blfs-bootscripts
-wget \
-http://nutyx.meticul.eu/files/patchs/aaabasicfs/$scripts-$scriptsversion.tar.bz2
+ 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 \
- --with-pam=no \
+ --with-pam=yes \
--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
+ --with-boot-install=no \
+ --mandir=/usr/share/man
+ make
+ mkdir $PKG/etc/pam.d -p
+ make DESTDIR=$PKG install
+
+ 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
deleted file mode 100644
index 823b4cd0a..000000000
--- a/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