diff --git a/cronie-1.6.1.tar.gz b/cronie-1.6.1.tar.gz deleted file mode 100644 index ba45bb4..0000000 --- a/cronie-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ddbc8f8d07dfe1d45998b0a0cbd9a216cd4d7bc64d1626b2bc8b3a69e4641d1 -size 149913 diff --git a/cronie-1.7.0.tar.gz b/cronie-1.7.0.tar.gz new file mode 100644 index 0000000..340094a --- /dev/null +++ b/cronie-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:956c6a722ad7fc332b96ecc2f8374236825a7c6f4a48dcaf7d23b0f17670cdcc +size 153390 diff --git a/cronie-crond_pid.diff b/cronie-crond_pid.diff index f2458ed..9a29f28 100644 --- a/cronie-crond_pid.diff +++ b/cronie-crond_pid.diff @@ -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 diff --git a/cronie-nheader_lines.diff b/cronie-nheader_lines.diff index e101005..822c930 100644 --- a/cronie-nheader_lines.diff +++ b/cronie-nheader_lines.diff @@ -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. */ diff --git a/cronie-pam_config-nonlogin.diff b/cronie-pam_config-nonlogin.diff index a35a439..81b1085 100644 --- a/cronie-pam_config-nonlogin.diff +++ b/cronie-pam_config-nonlogin.diff @@ -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 diff --git a/cronie-pam_config.diff b/cronie-pam_config.diff index 12b00d7..243a8d4 100644 --- a/cronie-pam_config.diff +++ b/cronie-pam_config.diff @@ -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 diff --git a/cronie.changes b/cronie.changes index 97f08de..3baf2d8 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Sat Nov 11 15:17:43 UTC 2023 - Andrea Manzini + +- 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ý - PAM: Use common-session-nonlogin for >15 codestreams diff --git a/cronie.spec b/cronie.spec index 6fe7fd3..026d3de 100644 --- a/cronie.spec +++ b/cronie.spec @@ -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 diff --git a/fix-manpage-replace-anacrontab-with-crontab.patch b/fix-manpage-replace-anacrontab-with-crontab.patch index 8755116..d01643f 100644 --- a/fix-manpage-replace-anacrontab-with-crontab.patch +++ b/fix-manpage-replace-anacrontab-with-crontab.patch @@ -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 -