SHA256
1
0
forked from pool/cronie

Accepting request 1125172 from home:amanzini:branches:Base:System

- Update to 1.7.0:
  * anacron: Add support for NO_MAIL_OUTPUT environment variable
  * anacron: Support enabling anacron jobs on battery power
  * crond: Support -n crontab entry option to disable mailing the output
  * crontab: Make a backup of the crontab file on edition and deletion

OBS-URL: https://build.opensuse.org/request/show/1125172
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=212
This commit is contained in:
Danilo Spinella 2023-11-17 10:51:38 +00:00 committed by Git OBS Bridge
parent 3fe5037e57
commit 90832a935f
9 changed files with 32 additions and 25 deletions

BIN
cronie-1.6.1.tar.gz (Stored with Git LFS)

Binary file not shown.

3
cronie-1.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:956c6a722ad7fc332b96ecc2f8374236825a7c6f4a48dcaf7d23b0f17670cdcc
size 153390

View File

@ -1,8 +1,8 @@
Index: cronie-1.4.4/src/pathnames.h
Index: cronie-cronie-1.7.0/src/pathnames.h
===================================================================
--- cronie-1.4.4.orig/src/pathnames.h
+++ cronie-1.4.4/src/pathnames.h
@@ -41,7 +41,7 @@
--- cronie-cronie-1.7.0.orig/src/pathnames.h
+++ cronie-cronie-1.7.0/src/pathnames.h
@@ -45,7 +45,7 @@
# define PIDDIR SYSCONFDIR "/"
# endif
#endif

View File

@ -43,7 +43,7 @@ Index: src/crontab.c
while (EOF != (ch = get_char(f))) {
if (colorize) {
if (!in_comment && new_line && ch == '#') {
@@ -533,7 +549,7 @@ static void edit_cmd(void) {
@@ -646,7 +662,7 @@ static void edit_cmd(void) {
char n[MAX_FNAME], q[MAX_TEMPSTR];
const char *editor;
FILE *f;
@ -52,7 +52,7 @@ Index: src/crontab.c
struct stat statbuf;
struct utimbuf utimebuf;
WAIT_T waiter;
@@ -585,10 +601,20 @@ static void edit_cmd(void) {
@@ -698,10 +714,20 @@ static void edit_cmd(void) {
}
Set_LineNum(1);
@ -76,7 +76,7 @@ Index: src/crontab.c
/* copy the rest of the crontab (if any) to the temp file.
*/
if (EOF != ch)
@@ -812,6 +838,7 @@ static int replace_cmd(void) {
@@ -925,6 +951,7 @@ static int replace_cmd(void) {
int ch, fd;
int error = 0;
uid_t file_owner;
@ -84,7 +84,7 @@ Index: src/crontab.c
char *safename;
safename = host_specific_filename("#tmp", "XXXXXXXXXX");
@@ -839,10 +866,10 @@ static int replace_cmd(void) {
@@ -952,10 +979,10 @@ static int replace_cmd(void) {
*
* VERY IMPORTANT: make sure NHEADER_LINES agrees with this code.
*/

View File

@ -2,8 +2,10 @@
pam/crond | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/pam/crond
+++ b/pam/crond
Index: cronie-cronie-1.7.0/pam/crond
===================================================================
--- cronie-cronie-1.7.0.orig/pam/crond
+++ cronie-cronie-1.7.0/pam/crond
@@ -10,4 +10,4 @@ auth include common-auth
account include common-account
password include common-password

View File

@ -1,7 +1,7 @@
Index: cronie-cronie-1.5.4/pam/crond
Index: cronie-cronie-1.7.0/pam/crond
===================================================================
--- cronie-cronie-1.5.4.orig/pam/crond
+++ cronie-cronie-1.5.4/pam/crond
--- cronie-cronie-1.7.0.orig/pam/crond
+++ cronie-cronie-1.7.0/pam/crond
@@ -4,8 +4,10 @@
#
# Although no PAM authentication is called, auth modules

View File

@ -1,4 +1,12 @@
-------------------------------------------------------------------
Sat Nov 11 15:17:43 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
- Update to 1.7.0:
* anacron: Add support for NO_MAIL_OUTPUT environment variable
* anacron: Support enabling anacron jobs on battery power
* crond: Support -n crontab entry option to disable mailing the output
* crontab: Make a backup of the crontab file on edition and deletion
-------------------------------------------------------------------
Fri Mar 31 13:54:41 UTC 2023 - Michal Koutný <mkoutny@suse.com>
- PAM: Use common-session-nonlogin for >15 codestreams

View File

@ -22,7 +22,7 @@
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: cronie
Version: 1.6.1
Version: 1.7.0
Release: 0
Summary: Cron Daemon
License: BSD-3-Clause AND GPL-2.0-only AND MIT

View File

@ -9,11 +9,11 @@ Fixes bnc#833240
man/cron.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/cron.8 b/man/cron.8
index 633dbc0..9716f8f 100644
--- a/man/cron.8
+++ b/man/cron.8
@@ -53,7 +53,7 @@ for crontab files which are named after accounts in
Index: cronie-cronie-1.7.0/man/cron.8
===================================================================
--- cronie-cronie-1.7.0.orig/man/cron.8
+++ cronie-cronie-1.7.0/man/cron.8
@@ -56,7 +56,7 @@ for crontab files which are named after
The found crontabs are loaded into the memory.
.I Cron
also searches for
@ -22,6 +22,3 @@ index 633dbc0..9716f8f 100644
and any files in the
.I /etc/cron.d
directory, which have a different format (see
--
1.8.4.5