summaryrefslogtreecommitdiff
path: root/fcron/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2019-03-14 13:17:19 +0100
committerJuergen Daubert <jue@jue.li>2019-03-14 13:17:19 +0100
commit08ac2e413271a7508bcac7218663fae0333fcaa4 (patch)
tree771964ce571af4cdb6420a09f64b195b5dc17f16 /fcron/Pkgfile
parent5213750acbf414aa52d20dac340ec64d4b3f773d (diff)
downloadopt-08ac2e413271a7508bcac7218663fae0333fcaa4.tar.gz
opt-08ac2e413271a7508bcac7218663fae0333fcaa4.tar.xz
fcron: enable PAM
Diffstat (limited to 'fcron/Pkgfile')
-rw-r--r--fcron/Pkgfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/fcron/Pkgfile b/fcron/Pkgfile
index 1e2fdeb50..1dd059ade 100644
--- a/fcron/Pkgfile
+++ b/fcron/Pkgfile
@@ -5,7 +5,7 @@
name=fcron
version=3.3.0
-release=1
+release=2
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz
fcron systab.orig)
@@ -23,7 +23,7 @@ build () {
--with-groupname=fcron \
--with-db2man=no \
--with-dsssl-dir=no \
- --with-pam=no \
+ --with-pam=yes \
--with-sendmail=/usr/sbin/sendmail
make
@@ -31,6 +31,8 @@ build () {
rm -r $PKG/{usr/share/{doc,man/{fr,man3}},var/run}
+ install -D -m 644 files/fcron.pam $PKG/etc/pam.d/fcron
+ install -D -m 644 files/fcrontab.pam $PKG/etc/pam.d/fcrontab
install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
install -m 600 -o root -g fcron $SRC/systab.orig $PKG/var/spool/fcron
}

Generated by cgit