Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cronie for openSUSE:Factory checked 
in at 2021-09-20 23:32:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cronie (Old)
 and      /work/SRC/openSUSE:Factory/.cronie.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cronie"

Mon Sep 20 23:32:03 2021 rev:83 rq:919156 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/cronie/cronie.changes    2021-09-03 
21:26:45.554213511 +0200
+++ /work/SRC/openSUSE:Factory/.cronie.new.1899/cronie.changes  2021-09-20 
23:32:26.303120593 +0200
@@ -1,0 +2,8 @@
+Wed Sep 15 12:00:14 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com>
+
+- Increase limit of allowed entries in crontab files to fix bsc#1187508
+  * cronie-1.5.7-increase_crontab_limit.patch
+- Run spec-cleaner
+- Remove cronie-rpmlintrc as the filter was unused
+
+-------------------------------------------------------------------

Old:
----
  cronie-rpmlintrc

New:
----
  cronie-1.5.7-increase_crontab_limit.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cronie.spec ++++++
--- /var/tmp/diff_new_pack.4w1yJ3/_old  2021-09-20 23:32:26.855121275 +0200
+++ /var/tmp/diff_new_pack.4w1yJ3/_new  2021-09-20 23:32:26.859121280 +0200
@@ -32,7 +32,6 @@
 Source2:        run-crons
 Source3:        sample.root
 Source4:        deny.sample
-Source6:        cronie-rpmlintrc
 Source7:        cron_to_cronie.README
 Source8:        cron.service
 Source9:        sysconfig.cron
@@ -48,6 +47,8 @@
 # PATCH-FIX-SUSE the first occurance of "/etc/anacrontab" was replaced by 
"/etc/crontab"
 # in manpage file because the /etc/crontab is still used in SUSE.
 Patch13:        fix-manpage-replace-anacrontab-with-crontab.patch
+# PATCH-FIX-UPSTREAM Increase the maximum number of crontab entries bsc#1187508
+Patch14:        cronie-1.5.7-increase_crontab_limit.patch
 BuildRequires:  audit-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -57,8 +58,8 @@
 BuildRequires:  pkgconfig(systemd)
 Requires:       mail
 Requires(post): %fillup_prereq
-Requires(post): permissions
 Requires(post): debianutils
+Requires(post): permissions
 Requires(pre):  cron
 Suggests:       mailx
 Conflicts:      cron <= 4.1
@@ -107,6 +108,7 @@
 cp %{SOURCE7} ./cron_to_cronie.README
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %build
 # fill macro CRON_VERSION it is used in top three lines of crontab file,should 
be reworked

++++++ cronie-1.5.7-increase_crontab_limit.patch ++++++
>From ec8b5e5569b7f95a71ceca224fb4662f5799833e Mon Sep 17 00:00:00 2001
From: Danilo Spinella <danilo.spine...@suse.com>
Date: Tue, 13 Jul 2021 17:08:36 +0200
Subject: [PATCH] Increase the maximum number of crontab entries

Old limit is considered too low for users with edge cases.

Fixes #91.
---
 src/macros.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/macros.h b/src/macros.h
index cba5fb2..d50e981 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -59,7 +59,7 @@
 #define        ROOT_UID        0       /* don't change this, it really must be 
root */
 #define        ROOT_USER       "root"  /* ditto */
 #define MAX_USER_ENVS  1000    /* maximum environment variables in user's 
crontab */
-#define MAX_USER_ENTRIES 1000  /* maximum crontab entries in user's crontab */
+#define MAX_USER_ENTRIES 10000 /* maximum crontab entries in user's crontab */
 #define MAX_GARBAGE    32768   /* max num of chars of comments and whitespaces 
between entries */
 #define MAX_CLOSE_FD   10000   /* max fd num to close when spawning a child 
process */
 

Reply via email to