summaryrefslogtreecommitdiff
path: root/testing/cronie
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
committerroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
commit19f42937be8f6619a85663cb71e24c05b7e8b6d2 (patch)
treee7d059bcc0b5c309ff565da9be68ade7f29ef5fc /testing/cronie
parent8784d3134c1d4b4c02d705259ae2ebd768c778fd (diff)
Thu Apr 28 22:32:07 UTC 2011
Diffstat (limited to 'testing/cronie')
-rw-r--r--testing/cronie/PKGBUILD12
-rw-r--r--testing/cronie/cron.deny1
-rw-r--r--testing/cronie/crontab1
3 files changed, 11 insertions, 3 deletions
diff --git a/testing/cronie/PKGBUILD b/testing/cronie/PKGBUILD
index 6ae8c0714..13b1ef8fa 100644
--- a/testing/cronie/PKGBUILD
+++ b/testing/cronie/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='cronie'
pkgver=1.4.7
-pkgrel=5
+pkgrel=6
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
@@ -11,13 +11,18 @@ arch=('i686' 'x86_64')
depends=('pam' 'bash' 'run-parts')
source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'cron.deny'
+ 'crontab'
'pam.d'
'rc.d')
sha1sums=('c6644ba0e58bcb14e0bb3f925e3e8cc3f0d47a7f'
+ '0f279b8fb820340267d578dc85511c980715f91e'
+ '4059bc4ccb75f08b0d4970940799e5d9722b339f'
'6d8aef6880935b3dcc3e28481111d036544eeae5'
'c08c040ed5cb12bc4fd15639a5242d31ec247ef5')
-backup=('etc/anacrontab'
+backup=('etc/crontab'
+ 'etc/anacrontab'
'etc/conf.d/crond'
'etc/pam.d/crond'
'etc/cron.deny')
@@ -52,11 +57,12 @@ package() {
install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/crond
install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/crond
+ install -Dm644 ../crontab "${pkgdir}"/etc/crontab
+ install -Dm644 ../cron.deny "${pkgdir}"/etc/cron.deny
install -Dm644 crond.sysconfig "${pkgdir}"/etc/conf.d/crond
install -Dm644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
install -Dm644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
- touch "${pkgdir}"/etc/cron.deny
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
}
diff --git a/testing/cronie/cron.deny b/testing/cronie/cron.deny
new file mode 100644
index 000000000..06e685cc8
--- /dev/null
+++ b/testing/cronie/cron.deny
@@ -0,0 +1 @@
+# without this file, only users listed in /etc/cron.allow can use crontab
diff --git a/testing/cronie/crontab b/testing/cronie/crontab
new file mode 100644
index 000000000..f2ce71030
--- /dev/null
+++ b/testing/cronie/crontab
@@ -0,0 +1 @@
+# without this file, crond disables inotify support at startup