[arch-commits] Commit in cronie/repos (10 files)
Gaetan Bisson
bisson at nymeria.archlinux.org
Fri Nov 29 04:54:02 UTC 2013
Date: Friday, November 29, 2013 @ 05:54:02
Author: bisson
Revision: 200577
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
cronie/repos/testing-i686/
cronie/repos/testing-i686/PKGBUILD
(from rev 200576, cronie/trunk/PKGBUILD)
cronie/repos/testing-i686/deny
(from rev 200576, cronie/trunk/deny)
cronie/repos/testing-i686/pam.d
(from rev 200576, cronie/trunk/pam.d)
cronie/repos/testing-i686/service
(from rev 200576, cronie/trunk/service)
cronie/repos/testing-x86_64/
cronie/repos/testing-x86_64/PKGBUILD
(from rev 200576, cronie/trunk/PKGBUILD)
cronie/repos/testing-x86_64/deny
(from rev 200576, cronie/trunk/deny)
cronie/repos/testing-x86_64/pam.d
(from rev 200576, cronie/trunk/pam.d)
cronie/repos/testing-x86_64/service
(from rev 200576, cronie/trunk/service)
-------------------------+
testing-i686/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/deny | 1
testing-i686/pam.d | 10 ++++++
testing-i686/service | 11 +++++++
testing-x86_64/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/deny | 1
testing-x86_64/pam.d | 10 ++++++
testing-x86_64/service | 11 +++++++
8 files changed, 178 insertions(+)
Copied: cronie/repos/testing-i686/PKGBUILD (from rev 200576, cronie/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1,67 @@
+# $Id$
+# Contributor: Kaiting Chen <kaiting.chen at kiwilight.com>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname='cronie'
+pkgver=1.4.11
+pkgrel=1
+pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
+url='https://fedorahosted.org/cronie/'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+depends=('pam' 'bash' 'run-parts')
+optdepends=('pm-utils: defer anacron on battery power'
+ 'smtp-server: send job output via email'
+ 'smtp-forwarder: forward job output to email server')
+
+source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'service'
+ 'pam.d'
+ 'deny')
+sha1sums=('1a8d3648f5b7082c50128a06377a1194da668899'
+ 'eb8ed1e22dbe9c02075fe4bbe925b6eeb9954649'
+ '5eff7fb31f6bc0a924243ff046704726cf20c221'
+ '0f279b8fb820340267d578dc85511c980715f91e')
+
+backup=('etc/cron.deny'
+ 'etc/pam.d/crond'
+ 'etc/cron.d/0hourly'
+ 'etc/anacrontab')
+
+conflicts=('cron')
+provides=('cron')
+groups=('base')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --enable-anacron \
+ --with-inotify \
+ --with-pam \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ chmod u+s "${pkgdir}"/usr/bin/crontab
+ 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 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service
+
+ 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
+
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
+}
Copied: cronie/repos/testing-i686/deny (from rev 200576, cronie/trunk/deny)
===================================================================
--- testing-i686/deny (rev 0)
+++ testing-i686/deny 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1 @@
+# without this file, only users listed in /etc/cron.allow can use crontab
Copied: cronie/repos/testing-i686/pam.d (from rev 200576, cronie/trunk/pam.d)
===================================================================
--- testing-i686/pam.d (rev 0)
+++ testing-i686/pam.d 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1,10 @@
+auth required pam_unix.so
+auth required pam_env.so
+
+account required pam_access.so
+account required pam_unix.so
+account required pam_time.so
+
+session required pam_loginuid.so
+session required pam_limits.so
+session required pam_unix.so
Copied: cronie/repos/testing-i686/service (from rev 200576, cronie/trunk/service)
===================================================================
--- testing-i686/service (rev 0)
+++ testing-i686/service 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Periodic Command Scheduler
+
+[Service]
+ExecStart=/usr/bin/crond -n
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
Copied: cronie/repos/testing-x86_64/PKGBUILD (from rev 200576, cronie/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1,67 @@
+# $Id$
+# Contributor: Kaiting Chen <kaiting.chen at kiwilight.com>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname='cronie'
+pkgver=1.4.11
+pkgrel=1
+pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
+url='https://fedorahosted.org/cronie/'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+depends=('pam' 'bash' 'run-parts')
+optdepends=('pm-utils: defer anacron on battery power'
+ 'smtp-server: send job output via email'
+ 'smtp-forwarder: forward job output to email server')
+
+source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'service'
+ 'pam.d'
+ 'deny')
+sha1sums=('1a8d3648f5b7082c50128a06377a1194da668899'
+ 'eb8ed1e22dbe9c02075fe4bbe925b6eeb9954649'
+ '5eff7fb31f6bc0a924243ff046704726cf20c221'
+ '0f279b8fb820340267d578dc85511c980715f91e')
+
+backup=('etc/cron.deny'
+ 'etc/pam.d/crond'
+ 'etc/cron.d/0hourly'
+ 'etc/anacrontab')
+
+conflicts=('cron')
+provides=('cron')
+groups=('base')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --enable-anacron \
+ --with-inotify \
+ --with-pam \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ chmod u+s "${pkgdir}"/usr/bin/crontab
+ 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 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service
+
+ 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
+
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
+}
Copied: cronie/repos/testing-x86_64/deny (from rev 200576, cronie/trunk/deny)
===================================================================
--- testing-x86_64/deny (rev 0)
+++ testing-x86_64/deny 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1 @@
+# without this file, only users listed in /etc/cron.allow can use crontab
Copied: cronie/repos/testing-x86_64/pam.d (from rev 200576, cronie/trunk/pam.d)
===================================================================
--- testing-x86_64/pam.d (rev 0)
+++ testing-x86_64/pam.d 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1,10 @@
+auth required pam_unix.so
+auth required pam_env.so
+
+account required pam_access.so
+account required pam_unix.so
+account required pam_time.so
+
+session required pam_loginuid.so
+session required pam_limits.so
+session required pam_unix.so
Copied: cronie/repos/testing-x86_64/service (from rev 200576, cronie/trunk/service)
===================================================================
--- testing-x86_64/service (rev 0)
+++ testing-x86_64/service 2013-11-29 04:54:02 UTC (rev 200577)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Periodic Command Scheduler
+
+[Service]
+ExecStart=/usr/bin/crond -n
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list