diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/cronie/PKGBUILD | 27 | ||||
-rw-r--r-- | core/cronie/deny (renamed from core/cronie/cron.deny) | 0 | ||||
-rw-r--r-- | core/cronie/service | 2 | ||||
-rw-r--r-- | core/procps-ng/PKGBUILD | 6 | ||||
-rw-r--r-- | core/procps-ng/sysctl.conf | 3 |
5 files changed, 14 insertions, 24 deletions
diff --git a/core/cronie/PKGBUILD b/core/cronie/PKGBUILD index e45d47fa8..128087d4e 100644 --- a/core/cronie/PKGBUILD +++ b/core/cronie/PKGBUILD @@ -3,7 +3,7 @@ pkgname='cronie' pkgver=1.4.9 -pkgrel=4 +pkgrel=5 pkgdesc='Daemon that runs specified programs at scheduled times and related tools' url='https://fedorahosted.org/cronie/' license=('custom:BSD') @@ -14,31 +14,25 @@ optdepends=('pm-utils: defer anacron on battery power' 'smtp-forwarder: forward job output to email server') source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz" - 'cron.deny' 'service' - 'pam.d') + 'pam.d' + 'deny') sha1sums=('40405cb30b62bd60323e4daf5198f26f0e65c4c4' - '0f279b8fb820340267d578dc85511c980715f91e' - 'de455f11a310e64d6930390e57726ed70f3295d0' - '5eff7fb31f6bc0a924243ff046704726cf20c221') + 'eb8ed1e22dbe9c02075fe4bbe925b6eeb9954649' + '5eff7fb31f6bc0a924243ff046704726cf20c221' + '0f279b8fb820340267d578dc85511c980715f91e') -backup=('etc/anacrontab' - 'etc/conf.d/crond' +backup=('etc/cron.deny' 'etc/pam.d/crond' - 'etc/cron.deny') + 'etc/cron.d/0hourly' + 'etc/anacrontab') conflicts=('cron') provides=('cron') groups=('base') -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed 's:usr/sbin:usr/bin:g' -i contrib/0anacron -} - build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -60,11 +54,10 @@ package() { install -d "${pkgdir}"/var/spool/{ana,}cron install -d "${pkgdir}"/etc/cron.{d,hourly,daily,weekly,monthly} + install -Dm644 ../deny "${pkgdir}"/etc/cron.deny install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/crond - install -Dm644 ../cron.deny "${pkgdir}"/etc/cron.deny install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service - install -Dm644 crond.sysconfig "${pkgdir}"/etc/conf.d/crond install -Dm644 contrib/anacrontab "${pkgdir}"/etc/anacrontab install -Dm644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron diff --git a/core/cronie/cron.deny b/core/cronie/deny index 06e685cc8..06e685cc8 100644 --- a/core/cronie/cron.deny +++ b/core/cronie/deny diff --git a/core/cronie/service b/core/cronie/service index cc671f7b6..84145251c 100644 --- a/core/cronie/service +++ b/core/cronie/service @@ -3,7 +3,7 @@ Description=Periodic Command Scheduler [Service] ExecStart=/usr/bin/crond -n -ExecReload=/bin/kill -HUP $MAINPID +ExecReload=/usr/bin/kill -HUP $MAINPID KillMode=process Restart=always diff --git a/core/procps-ng/PKGBUILD b/core/procps-ng/PKGBUILD index e2f1a9751..c08ca8b5b 100644 --- a/core/procps-ng/PKGBUILD +++ b/core/procps-ng/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 186686 2013-05-30 13:43:55Z bisson $ +# $Id: PKGBUILD 188912 2013-06-25 10:40:52Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Eric BĂ©langer <eric@archlinux.org> pkgname=procps-ng pkgver=3.3.8 -pkgrel=1 +pkgrel=2 pkgdesc='Utilities for monitoring your system and its processes' url='http://gitorious.org/procps' license=('GPL' 'LGPL') @@ -15,7 +15,7 @@ backup=('etc/sysctl.conf') source=("${pkgname}-${pkgver}.tar.gz::http://gitorious.org/procps/procps/archive-tarball/v${pkgver}" 'sysctl.conf') sha1sums=('63aed46ba4b5b05698beb25d2aa3eee6779d7f45' - '97ff07bab9aa5daa8d54a1346f73ba74f8e12a53') + 'bc4e929a0ddcdcd627e8d15d30abcf185aa33fab') conflicts=('procps') provides=('procps') diff --git a/core/procps-ng/sysctl.conf b/core/procps-ng/sysctl.conf index 4695cdd92..fae2c6082 100644 --- a/core/procps-ng/sysctl.conf +++ b/core/procps-ng/sysctl.conf @@ -36,6 +36,3 @@ net.ipv6.conf.all.forwarding = 0 # Reboot 600 seconds after kernel panic or oops. #kernel.panic_on_oops = 1 #kernel.panic = 600 - -# Disable SysRq key to avoid console security issues. -kernel.sysrq = 0 |