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:
parent
3fe5037e57
commit
90832a935f
BIN
cronie-1.6.1.tar.gz
(Stored with Git LFS)
BIN
cronie-1.6.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
cronie-1.7.0.tar.gz
Normal file
3
cronie-1.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:956c6a722ad7fc332b96ecc2f8374236825a7c6f4a48dcaf7d23b0f17670cdcc
|
||||||
|
size 153390
|
@ -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-cronie-1.7.0.orig/src/pathnames.h
|
||||||
+++ cronie-1.4.4/src/pathnames.h
|
+++ cronie-cronie-1.7.0/src/pathnames.h
|
||||||
@@ -41,7 +41,7 @@
|
@@ -45,7 +45,7 @@
|
||||||
# define PIDDIR SYSCONFDIR "/"
|
# define PIDDIR SYSCONFDIR "/"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -43,7 +43,7 @@ Index: src/crontab.c
|
|||||||
while (EOF != (ch = get_char(f))) {
|
while (EOF != (ch = get_char(f))) {
|
||||||
if (colorize) {
|
if (colorize) {
|
||||||
if (!in_comment && new_line && ch == '#') {
|
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];
|
char n[MAX_FNAME], q[MAX_TEMPSTR];
|
||||||
const char *editor;
|
const char *editor;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
@ -52,7 +52,7 @@ Index: src/crontab.c
|
|||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
struct utimbuf utimebuf;
|
struct utimbuf utimebuf;
|
||||||
WAIT_T waiter;
|
WAIT_T waiter;
|
||||||
@@ -585,10 +601,20 @@ static void edit_cmd(void) {
|
@@ -698,10 +714,20 @@ static void edit_cmd(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Set_LineNum(1);
|
Set_LineNum(1);
|
||||||
@ -76,7 +76,7 @@ Index: src/crontab.c
|
|||||||
/* copy the rest of the crontab (if any) to the temp file.
|
/* copy the rest of the crontab (if any) to the temp file.
|
||||||
*/
|
*/
|
||||||
if (EOF != ch)
|
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 ch, fd;
|
||||||
int error = 0;
|
int error = 0;
|
||||||
uid_t file_owner;
|
uid_t file_owner;
|
||||||
@ -84,7 +84,7 @@ Index: src/crontab.c
|
|||||||
char *safename;
|
char *safename;
|
||||||
|
|
||||||
safename = host_specific_filename("#tmp", "XXXXXXXXXX");
|
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.
|
* VERY IMPORTANT: make sure NHEADER_LINES agrees with this code.
|
||||||
*/
|
*/
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
pam/crond | 2 +-
|
pam/crond | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
--- a/pam/crond
|
Index: cronie-cronie-1.7.0/pam/crond
|
||||||
+++ b/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
|
@@ -10,4 +10,4 @@ auth include common-auth
|
||||||
account include common-account
|
account include common-account
|
||||||
password include common-password
|
password include common-password
|
||||||
|
@ -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.7.0.orig/pam/crond
|
||||||
+++ cronie-cronie-1.5.4/pam/crond
|
+++ cronie-cronie-1.7.0/pam/crond
|
||||||
@@ -4,8 +4,10 @@
|
@@ -4,8 +4,10 @@
|
||||||
#
|
#
|
||||||
# Although no PAM authentication is called, auth modules
|
# Although no PAM authentication is called, auth modules
|
||||||
|
@ -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>
|
Fri Mar 31 13:54:41 UTC 2023 - Michal Koutný <mkoutny@suse.com>
|
||||||
|
|
||||||
- PAM: Use common-session-nonlogin for >15 codestreams
|
- PAM: Use common-session-nonlogin for >15 codestreams
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: cronie
|
Name: cronie
|
||||||
Version: 1.6.1
|
Version: 1.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cron Daemon
|
Summary: Cron Daemon
|
||||||
License: BSD-3-Clause AND GPL-2.0-only AND MIT
|
License: BSD-3-Clause AND GPL-2.0-only AND MIT
|
||||||
|
@ -9,11 +9,11 @@ Fixes bnc#833240
|
|||||||
man/cron.8 | 2 +-
|
man/cron.8 | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/man/cron.8 b/man/cron.8
|
Index: cronie-cronie-1.7.0/man/cron.8
|
||||||
index 633dbc0..9716f8f 100644
|
===================================================================
|
||||||
--- a/man/cron.8
|
--- cronie-cronie-1.7.0.orig/man/cron.8
|
||||||
+++ b/man/cron.8
|
+++ cronie-cronie-1.7.0/man/cron.8
|
||||||
@@ -53,7 +53,7 @@ for crontab files which are named after accounts in
|
@@ -56,7 +56,7 @@ for crontab files which are named after
|
||||||
The found crontabs are loaded into the memory.
|
The found crontabs are loaded into the memory.
|
||||||
.I Cron
|
.I Cron
|
||||||
also searches for
|
also searches for
|
||||||
@ -22,6 +22,3 @@ index 633dbc0..9716f8f 100644
|
|||||||
and any files in the
|
and any files in the
|
||||||
.I /etc/cron.d
|
.I /etc/cron.d
|
||||||
directory, which have a different format (see
|
directory, which have a different format (see
|
||||||
--
|
|
||||||
1.8.4.5
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user