From 862a468489b5081755f9086204a012c7cd3beb3e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Apr 2011 05:15:36 +0000 Subject: Wed Apr 20 05:15:36 UTC 2011 --- community-testing/cronie/PKGBUILD | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 community-testing/cronie/PKGBUILD (limited to 'community-testing/cronie/PKGBUILD') diff --git a/community-testing/cronie/PKGBUILD b/community-testing/cronie/PKGBUILD new file mode 100644 index 000000000..15b7e1dd0 --- /dev/null +++ b/community-testing/cronie/PKGBUILD @@ -0,0 +1,56 @@ +# $Id: PKGBUILD 45295 2011-04-19 04:31:20Z kchen $ +# Maintainer: Kaiting Chen + +pkgname=cronie +pkgver=1.4.7 +pkgrel=1 +pkgdesc='Fedora fork of vixie-cron with PAM support' +arch=('i686' 'x86_64') +url='https://fedorahosted.org/cronie/' +license=('custom:ISC') +backup=( + 'etc/crontab' 'etc/anacrontab' 'etc/pam.d/crond') +provides=('cron' 'dcron') +depends=('pam') +source=("https://fedorahosted.org/releases/c/r/$pkgname/$pkgname-$pkgver.tar.gz" + 'crontab' 'anacrontab' 'crond.pam.d' 'crond.rc.d' 'run-cron') +md5sums=('dfc26c47756d0c40ee27ae3c7ee98e0d' + '213994f8404ad2d2da18a9e0ce878a16' + 'b87041532eb123a3194b95dbe7fb284c' + 'd688904def891b8037dc3a06ab047f03' + '9b415c8a1faa44aa0538dcea88b432ec' + '00ede56aadf073c839e600033fbd6cb4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-anacron \ + --without-audit \ + --without-selinux \ + --with-pam --with-inotify + make; make DESTDIR=$pkgdir install + + # Must set suid bit on file manually + chmod u+s $pkgdir/usr/bin/crontab + + # Install `run-cron` script + install -Dm755 $srcdir/run-cron $pkgdir/usr/bin/run-cron + + # Install system crontab and anacrontab and directories + install -Dm644 $srcdir/crontab $pkgdir/etc/crontab + install -Dm644 $srcdir/anacrontab $pkgdir/etc/anacrontab + install -d $pkgdir/etc/cron.d + install -d $pkgdir/etc/cron.{hour,dai,week,month}ly + + # Replaced Fedora PAM configuration + install -Dm644 $srcdir/crond.pam.d $pkgdir/etc/pam.d/crond + + # Install crond initscript + install -Dm755 $srcdir/crond.rc.d $pkgdir/etc/rc.d/crond + + # Install custom:ISC license + install -Dm644 COPYING $pkgdir/usr/share/licenses/cronie/COPYING +} -- cgit v1.2.3-54-g00ecf