cronie: update to 1.6.1.

This commit is contained in:
skmpz 2022-06-04 00:24:43 +04:00 committed by Érico Nogueira Rolim
parent 06c6b0cdd9
commit 83e1048f38
2 changed files with 3 additions and 24 deletions

View File

@ -1,21 +0,0 @@
From 62e53f1cdb9c1e12a01ee7814c92cd937d50328d Mon Sep 17 00:00:00 2001
From: w30023233 <wangyuhang27@huawei.com>
Date: Wed, 23 Mar 2022 15:40:01 +0800
Subject: [PATCH] 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;

View File

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.6.0
revision=2
version=1.6.1
revision=1
build_style=gnu-configure
configure_args="--with-inotify --without-selinux --with-pam
--enable-anacron --enable-pie --enable-relro"
@ -13,7 +13,7 @@ license="BSD-2-Clause"
homepage="https://github.com/cronie-crond/cronie"
changelog="https://raw.githubusercontent.com/cronie-crond/cronie/master/NEWS"
distfiles="${homepage}/releases/download/cronie-${version}/cronie-${version}.tar.gz"
checksum=3f7cc263d21838b53a9943eb2a26b862059e2ae36c3f11789ac33cd6818e3628
checksum=2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62
make_dirs="
/etc/cron.d 0755 root root
/etc/cron.hourly 0755 root root