[arch-commits] Commit in cronie/repos/testing-x86_64 (11 files)
Christian Hesse
eworm at gemini.archlinux.org
Thu Mar 24 13:29:20 UTC 2022
Date: Thursday, March 24, 2022 @ 13:29:20
Author: eworm
Revision: 440648
archrelease: copy trunk to testing-x86_64
Added:
cronie/repos/testing-x86_64/0001-fix-range-entries.patch
(from rev 440647, cronie/trunk/0001-fix-range-entries.patch)
cronie/repos/testing-x86_64/80-cronie.hook
(from rev 440647, cronie/trunk/80-cronie.hook)
cronie/repos/testing-x86_64/PKGBUILD
(from rev 440647, cronie/trunk/PKGBUILD)
cronie/repos/testing-x86_64/deny
(from rev 440647, cronie/trunk/deny)
cronie/repos/testing-x86_64/pam.d
(from rev 440647, cronie/trunk/pam.d)
cronie/repos/testing-x86_64/service
(from rev 440647, cronie/trunk/service)
Deleted:
cronie/repos/testing-x86_64/80-cronie.hook
cronie/repos/testing-x86_64/PKGBUILD
cronie/repos/testing-x86_64/deny
cronie/repos/testing-x86_64/pam.d
cronie/repos/testing-x86_64/service
------------------------------+
0001-fix-range-entries.patch | 21 ++++++
80-cronie.hook | 18 ++---
PKGBUILD | 137 +++++++++++++++++++++--------------------
deny | 2
pam.d | 20 ++---
service | 22 +++---
6 files changed, 125 insertions(+), 95 deletions(-)
Copied: cronie/repos/testing-x86_64/0001-fix-range-entries.patch (from rev 440647, cronie/trunk/0001-fix-range-entries.patch)
===================================================================
--- 0001-fix-range-entries.patch (rev 0)
+++ 0001-fix-range-entries.patch 2022-03-24 13:29:20 UTC (rev 440648)
@@ -0,0 +1,21 @@
+From 62e53f1cdb9c1e12a01ee7814c92cd937d50328d Mon Sep 17 00:00:00 2001
+From: w30023233 <wangyuhang27 at huawei.com>
+Date: Wed, 23 Mar 2022 15:40:01 +0800
+Subject: Fix regression in handling 1-5 crontab entries
+
+---
+ src/entry.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/entry.c b/src/entry.c
+index e9e258b..bb7cb62 100644
+--- a/src/entry.c
++++ b/src/entry.c
+@@ -595,6 +595,7 @@ get_range(bitstr_t * bits, int low, int high, const char *names[],
+ return (EOF);
+
+ case R_RANGE:
++ unget_char(ch, file);
+ if (get_number(&num2, low, names, file) != EOF) {
+ state = R_RANGE_NUM2;
+ break;
Deleted: 80-cronie.hook
===================================================================
--- 80-cronie.hook 2022-03-24 13:29:15 UTC (rev 440647)
+++ 80-cronie.hook 2022-03-24 13:29:20 UTC (rev 440648)
@@ -1,9 +0,0 @@
-[Trigger]
-Operation = Upgrade
-Type = Package
-Target = glibc
-
-[Action]
-Description = Restarting cronie for libc upgrade...
-When = PostTransaction
-Exec = /usr/bin/systemctl try-restart cronie.service
Copied: cronie/repos/testing-x86_64/80-cronie.hook (from rev 440647, cronie/trunk/80-cronie.hook)
===================================================================
--- 80-cronie.hook (rev 0)
+++ 80-cronie.hook 2022-03-24 13:29:20 UTC (rev 440648)
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = glibc
+
+[Action]
+Description = Restarting cronie for libc upgrade...
+When = PostTransaction
+Exec = /usr/bin/systemctl try-restart cronie.service
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-24 13:29:15 UTC (rev 440647)
+++ PKGBUILD 2022-03-24 13:29:20 UTC (rev 440648)
@@ -1,64 +0,0 @@
-# Contributor: Kaiting Chen <kaiting.chen at kiwilight.com>
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname='cronie'
-pkgver=1.6.0
-pkgrel=1
-pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
-url='https://github.com/cronie-crond/cronie/'
-license=('custom:BSD')
-arch=('x86_64')
-depends=('pam' 'bash' 'run-parts')
-optdepends=('smtp-server: send job output via email'
- 'smtp-forwarder: forward job output to email server')
-conflicts=('cron')
-provides=('cron')
-source=("https://github.com/cronie-crond/cronie/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
- '80-cronie.hook'
- 'service'
- 'pam.d'
- 'deny')
-sha256sums=('3f7cc263d21838b53a9943eb2a26b862059e2ae36c3f11789ac33cd6818e3628'
- 'f85e9a68bf3bf446f8a6167f068371c06afffe11ca71935d8ee5487b38b2c9db'
- 'ac3ff3c8a5ce1b6367b06877b4b12ff74e7f18a3c510fb9f80d6ea6b6321e3b1'
- '00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c'
- 'ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc')
-backup=('etc/cron.deny'
- 'etc/pam.d/crond'
- 'etc/cron.d/0hourly'
- 'etc/anacrontab')
-
-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 -Dm0644 ../deny "${pkgdir}"/etc/cron.deny
- install -Dm0644 ../pam.d "${pkgdir}"/etc/pam.d/crond
- install -Dm0644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service
- install -Dm0644 ../80-cronie.hook "${pkgdir}"/usr/share/libalpm/hooks/80-cronie.hook
-
- install -Dm0644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
- install -Dm0644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
- install -Dm0755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
-
- install -Dm0644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
-}
Copied: cronie/repos/testing-x86_64/PKGBUILD (from rev 440647, cronie/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-24 13:29:20 UTC (rev 440648)
@@ -0,0 +1,73 @@
+# Contributor: Kaiting Chen <kaiting.chen at kiwilight.com>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname='cronie'
+pkgver=1.6.0
+pkgrel=2
+pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
+url='https://github.com/cronie-crond/cronie/'
+license=('custom:BSD')
+arch=('x86_64')
+depends=('pam' 'bash' 'run-parts')
+optdepends=('smtp-server: send job output via email'
+ 'smtp-forwarder: forward job output to email server')
+conflicts=('cron')
+provides=('cron')
+options=('debug')
+source=("https://github.com/cronie-crond/cronie/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ '0001-fix-range-entries.patch'
+ '80-cronie.hook'
+ 'service'
+ 'pam.d'
+ 'deny')
+sha256sums=('3f7cc263d21838b53a9943eb2a26b862059e2ae36c3f11789ac33cd6818e3628'
+ '29830d76a12992e1c74249d2aa577b8f6c52fc041beef5b4a066bed1004ddf84'
+ 'f85e9a68bf3bf446f8a6167f068371c06afffe11ca71935d8ee5487b38b2c9db'
+ 'ac3ff3c8a5ce1b6367b06877b4b12ff74e7f18a3c510fb9f80d6ea6b6321e3b1'
+ '00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c'
+ 'ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc')
+backup=('etc/cron.deny'
+ 'etc/pam.d/crond'
+ 'etc/cron.d/0hourly'
+ 'etc/anacrontab')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 < ../0001-fix-range-entries.patch
+}
+
+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 -Dm0644 ../deny "${pkgdir}"/etc/cron.deny
+ install -Dm0644 ../pam.d "${pkgdir}"/etc/pam.d/crond
+ install -Dm0644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service
+ install -Dm0644 ../80-cronie.hook "${pkgdir}"/usr/share/libalpm/hooks/80-cronie.hook
+
+ install -Dm0644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
+ install -Dm0644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
+ install -Dm0755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
+
+ install -Dm0644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
+}
Deleted: deny
===================================================================
--- deny 2022-03-24 13:29:15 UTC (rev 440647)
+++ deny 2022-03-24 13:29:20 UTC (rev 440648)
@@ -1 +0,0 @@
-# without this file, only users listed in /etc/cron.allow can use crontab
Copied: cronie/repos/testing-x86_64/deny (from rev 440647, cronie/trunk/deny)
===================================================================
--- deny (rev 0)
+++ deny 2022-03-24 13:29:20 UTC (rev 440648)
@@ -0,0 +1 @@
+# without this file, only users listed in /etc/cron.allow can use crontab
Deleted: pam.d
===================================================================
--- pam.d 2022-03-24 13:29:15 UTC (rev 440647)
+++ pam.d 2022-03-24 13:29:20 UTC (rev 440648)
@@ -1,10 +0,0 @@
-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/pam.d (from rev 440647, cronie/trunk/pam.d)
===================================================================
--- pam.d (rev 0)
+++ pam.d 2022-03-24 13:29:20 UTC (rev 440648)
@@ -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
Deleted: service
===================================================================
--- service 2022-03-24 13:29:15 UTC (rev 440647)
+++ service 2022-03-24 13:29:20 UTC (rev 440648)
@@ -1,11 +0,0 @@
-[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/service (from rev 440647, cronie/trunk/service)
===================================================================
--- service (rev 0)
+++ service 2022-03-24 13:29:20 UTC (rev 440648)
@@ -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