Accepting request 68790 from Base:System
- update to 1.4.7 many bugs fixed (including bnc#690166) OBS-URL: https://build.opensuse.org/request/show/68790 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cronie?expand=0&rev=21
This commit is contained in:
commit
82f3f84de2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e8c67cb6267eb9fd303107425533105a88b90b844a77588941bdd6582f6516a5
|
|
||||||
size 157052
|
|
3
cronie-1.4.7.tar.gz
Normal file
3
cronie-1.4.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:83bae15ae5504454ba74f4142f5db3aa22be594327fea19d2534f65803137fbd
|
||||||
|
size 209297
|
@ -1,3 +1,5 @@
|
|||||||
|
Index: src/crontab.c
|
||||||
|
===================================================================
|
||||||
--- src/crontab.c.orig
|
--- src/crontab.c.orig
|
||||||
+++ src/crontab.c
|
+++ src/crontab.c
|
||||||
@@ -38,7 +38,7 @@
|
@@ -38,7 +38,7 @@
|
||||||
@ -9,7 +11,7 @@
|
|||||||
|
|
||||||
enum opt_t {opt_unknown, opt_list, opt_delete, opt_edit, opt_replace, opt_hostset, opt_hostget};
|
enum opt_t {opt_unknown, opt_list, opt_delete, opt_edit, opt_replace, opt_hostset, opt_hostget};
|
||||||
|
|
||||||
@@ -433,7 +433,7 @@ static char *host_specific_filename(char
|
@@ -429,7 +429,7 @@ static char *host_specific_filename(char
|
||||||
static void edit_cmd(void) {
|
static void edit_cmd(void) {
|
||||||
char n[MAX_FNAME], q[MAX_TEMPSTR], *editor;
|
char n[MAX_FNAME], q[MAX_TEMPSTR], *editor;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
@ -18,7 +20,7 @@
|
|||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
struct utimbuf utimebuf;
|
struct utimbuf utimebuf;
|
||||||
WAIT_T waiter;
|
WAIT_T waiter;
|
||||||
@@ -485,13 +485,25 @@ static void edit_cmd(void) {
|
@@ -481,13 +481,25 @@ static void edit_cmd(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Set_LineNum(1)
|
Set_LineNum(1)
|
||||||
@ -51,15 +53,15 @@
|
|||||||
while (EOF != (ch = get_char(f)))
|
while (EOF != (ch = get_char(f)))
|
||||||
putc(ch, NewCrontab);
|
putc(ch, NewCrontab);
|
||||||
|
|
||||||
@@ -699,6 +711,7 @@ static int replace_cmd(void) {
|
@@ -695,6 +707,7 @@ static int replace_cmd(void) {
|
||||||
int error = 0;
|
int error = 0;
|
||||||
entry *e;
|
entry *e;
|
||||||
uid_t file_owner;
|
uid_t file_owner;
|
||||||
+ time_t now = time(NULL);
|
+ time_t now = time(NULL);
|
||||||
char **envp = env_init();
|
char **envp;
|
||||||
char *safename;
|
char *safename;
|
||||||
|
|
||||||
@@ -732,10 +745,10 @@ static int replace_cmd(void) {
|
@@ -724,10 +737,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.
|
||||||
*/
|
*/
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 27 16:56:21 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
- update to 1.4.7
|
||||||
|
many bugs fixed (including bnc#690166)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 24 12:33:31 UTC 2011 - vcizek@novell.com
|
Thu Feb 24 12:33:31 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%define cron_configs \{/etc/init.d/cron,/etc/pam.d/crond,/etc/crontab,/etc/cron.deny,/etc/omc/srvinfo.d/cron.xml\}
|
%define cron_configs \{/etc/init.d/cron,/etc/pam.d/crond,/etc/crontab,/etc/cron.deny,/etc/omc/srvinfo.d/cron.xml\}
|
||||||
|
|
||||||
Name: cronie
|
Name: cronie
|
||||||
BuildRequires: audit-devel libselinux-devel pam-devel xz
|
BuildRequires: audit-devel libselinux-devel pam-devel
|
||||||
Url: https://fedorahosted.org/cronie/
|
Url: https://fedorahosted.org/cronie/
|
||||||
License: MIT and BSD and GPLv2
|
License: MIT and BSD and GPLv2
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
@ -29,11 +29,11 @@ Recommends: smtp_daemon
|
|||||||
Recommends: postfix
|
Recommends: postfix
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
PreReq: permissions %fillup_prereq %insserv_prereq cron sysvinit(syslog)
|
PreReq: permissions %fillup_prereq %insserv_prereq cron sysvinit(syslog)
|
||||||
Version: 1.4.6
|
Version: 1.4.7
|
||||||
Release: 7
|
Release: 7
|
||||||
%{expand: %%define cronie_version %version}
|
%{expand: %%define cronie_version %version}
|
||||||
Summary: Cron Daemon
|
Summary: Cron Daemon
|
||||||
Source0: %name-%version.tar.xz
|
Source0: %name-%version.tar.gz
|
||||||
Source1: cron.init
|
Source1: cron.init
|
||||||
Source2: run-crons
|
Source2: run-crons
|
||||||
Source3: sample.root
|
Source3: sample.root
|
||||||
|
Loading…
Reference in New Issue
Block a user