diff --git a/cronie-1.4.7-syslog_output.patch b/cronie-1.4.7-syslog_output.patch deleted file mode 100644 index 050e9b5..0000000 --- a/cronie-1.4.7-syslog_output.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: cronie-1.4.7/src/do_command.c -=================================================================== ---- cronie-1.4.7.orig/src/do_command.c -+++ cronie-1.4.7/src/do_command.c -@@ -480,7 +480,6 @@ static int child_process(entry * e, user - bytes++; - if (mail) - putc(ch, mail); -- } - #if defined(SYSLOG) - if (SyslogOutput) { - logbuf[bufidx++] = ch; -@@ -494,6 +493,7 @@ static int child_process(entry * e, user - } - } - #endif -+ } - - /* only close pipe if we opened it -- i.e., we're - * mailing... diff --git a/cronie-1.4.7.tar.gz b/cronie-1.4.7.tar.gz deleted file mode 100644 index 29dc35a..0000000 --- a/cronie-1.4.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83bae15ae5504454ba74f4142f5db3aa22be594327fea19d2534f65803137fbd -size 209297 diff --git a/cronie-1.4.8.tar.gz b/cronie-1.4.8.tar.gz new file mode 100644 index 0000000..6a7ad84 --- /dev/null +++ b/cronie-1.4.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3b910876f255712f1a5c364b74f34b0ceac9f6f3bbc45e854c5722785f513b3 +size 209994 diff --git a/cronie.changes b/cronie.changes index b34639e..e4f5dbb 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Jan 18 15:15:14 UTC 2012 - tabraham@novell.com + +- removed cronie-1.4.7-syslog_output.patch deprecated by this update + +- Update to 1.4.8 + + Cron writes job output to syslog incorrectly. When cron is + invoked in a way to print job output to syslog, it does print + only the first character of the output + + Check orphanded crontabs for adoption + + Unify logging in case SyslogOutput with the rest of crond + + The charset of anacron's mail is always ANSI_X3.4-1968. There + are no setlocale in anacron's source + + Cronie disables inotify when the /etc/crontab file does not + exist at startup. Existance of crontab and directories wasn't + controlled before creating inotify watches. + ------------------------------------------------------------------- Wed Nov 30 14:54:08 UTC 2011 - aj@suse.de diff --git a/cronie.spec b/cronie.spec index 95843a9..ce72ec6 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,7 +1,7 @@ # # spec file for package cronie # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,6 +14,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + # 3 : we don't need to do something with /etc/sysconfig/cron for now %define cron_configs \{/etc/init.d/cron,/etc/pam.d/crond,/etc/crontab,/etc/cron.deny,/etc/omc/srvinfo.d/cron.xml\} @@ -30,7 +32,7 @@ Recommends: smtp_daemon Recommends: postfix PreReq: permissions %fillup_prereq %insserv_prereq cron sysvinit(syslog) %{?systemd_requires} -Version: 1.4.7 +Version: 1.4.8 Release: 0 %{expand: %%define cronie_version %version} Summary: Cron Daemon @@ -51,8 +53,6 @@ Patch3: %name-pam_config.diff Patch4: %name-nheader_lines.diff # we use cron.pid instead of crond.pid Patch5: %name-crond_pid.diff -# PATCH-FIX-UPSTREAM cronie-1.4.7-syslog_output.patch bnc#692871 -Patch6: cronie-1.4.7-syslog_output.patch # PATCH-FIX-UPSTREAM mention logging disabling for a command in man Patch7: cronie-1.4.7-disable_logging.patch # PATCH-FIX-UPSTREAM use run-crons instead of run-parts for anacron (bnc#689494) @@ -96,7 +96,6 @@ overloaded in settings. %patch3 -p1 %patch4 %patch5 -p1 -%patch6 -p1 %patch7 -p1 %patch8 -p1 cp %{S:7} ./cron_to_cronie.README