summaryrefslogtreecommitdiffstats
path: root/fcron/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'fcron/Pkgfile')
-rw-r--r--fcron/Pkgfile30
1 files changed, 14 insertions, 16 deletions
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/
}