SHA256
1
0
forked from pool/cronie
Commit Graph

97 Commits

Author SHA256 Message Date
Danilo Spinella
1266baa0cd Accepting request 1170688 from home:smolsheep:upgrades
- Remove safe-backup-permissions.patch -- Merged upstream
- Update to 1.7.2:
  * crond: Revert setting the return path to <>. It is not RFC
    compliant.
  * crond: Inherit MAILFROM from the crond process environment.

OBS-URL: https://build.opensuse.org/request/show/1170688
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=222
2024-04-30 11:50:54 +00:00
Danilo Spinella
a4bc57d2e4 Accepting request 1151131 from home:dimstar:rpm4.20:c
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151131
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=220
2024-02-26 11:01:58 +00:00
Danilo Spinella
66fd5c96b4 Accepting request 1140678 from home:dspinella:branches:Base:System
- Update to 1.7.1:
  * crond: Wait on finishing the job with -n option to check
    the exit status
  * crond: Do not set the return path to <> if non-default MAILFROM is set
  * /etc/sysconfig/crond and /etc/default/anacron files are optional
- Remove test-for-etc-default-anacron.patch

OBS-URL: https://build.opensuse.org/request/show/1140678
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=218
2024-01-22 15:46:40 +00:00
Danilo Spinella
e9067d45a1 Accepting request 1139665 from home:jsegitz:branches:Base:System
- Set safe permissions for crontab backups. Add
  * safe-backup-permissions.patch

OBS-URL: https://build.opensuse.org/request/show/1139665
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=217
2024-01-22 15:44:30 +00:00
Danilo Spinella
08b459752f Accepting request 1138166 from home:dspinella:branches:Base:System
- Fix anacron not working when /etc/default/anacron does not exist,
  fixes bsc#1218377
  * test-for-etc-default-anacron.patch

OBS-URL: https://build.opensuse.org/request/show/1138166
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=215
2024-01-11 17:56:06 +00:00
Danilo Spinella
90832a935f 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
2023-11-17 10:51:38 +00:00
Danilo Spinella
3fe5037e57 Accepting request 1077513 from home:mkoutny:pam-nl
- PAM: Use common-session-nonlogin for >15 codestreams
  More info in https://github.com/SUSE/pam-config/pull/16

OBS-URL: https://build.opensuse.org/request/show/1077513
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=211
2023-04-05 12:48:36 +00:00
Danilo Spinella
a1384f17ea Accepting request 1043946 from home:schubi2:pam_usr_etc
- Use %_pam_vendordir

OBS-URL: https://build.opensuse.org/request/show/1043946
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=209
2022-12-23 10:21:57 +00:00
Danilo Spinella
cc22649b87 Accepting request 1041108 from home:schubi2:pam_usr_etc
- Migration PAM settings to /usr/etc: Saving user changed
  configuration files in /etc and restoring them while an RPM
  update.
- Removed update support from 4.1 vixie-cron which is really old.

OBS-URL: https://build.opensuse.org/request/show/1041108
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=207
2022-12-13 09:23:40 +00:00
466ad1fa5a Accepting request 976257 from home:dspinella:branches:Base:System
- Update to 1.6.1:
  * Fix a regression in handling ranges (x-y) in crontab
- Remove upstreamed patch:
  * bsc1198265.patch

OBS-URL: https://build.opensuse.org/request/show/976257
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=205
2022-05-12 18:16:11 +00:00
Danilo Spinella
53758061b7 Accepting request 970162 from home:dspinella:branches:Base:System
- Fix bsc#1198265 Regression in handling 1-5 crontab entries
  * bsc1198265.patch

OBS-URL: https://build.opensuse.org/request/show/970162
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=203
2022-04-14 13:20:56 +00:00
0b12c5eced Accepting request 965661 from home:dspinella:branches:Base:System
- Update to 1.6.0:
  * Add switch -f for foreground mode
  * Fix regression in handling */x crontab entries
  * Add random within range '~' operator
  * Fix RandomScale calculation
  * crond: Fix description of '-P' option
  * Increase the maximum number of crontab entries
  * crontab: use bold colors
- Remove upstreamed patches:
  * cronie-1.5.7-increase_crontab_limit.patch
  * cronie-piddir.patch
- Refresh patches:
  * cronie-nheader_lines.diff
  * cronie-cron_pid.diff

OBS-URL: https://build.opensuse.org/request/show/965661
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=201
2022-03-29 17:45:35 +00:00
Danilo Spinella
0b49c56f4c Accepting request 919154 from home:dspinella:branches:Base:System
- 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

OBS-URL: https://build.opensuse.org/request/show/919154
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=199
2021-09-15 12:19:01 +00:00
Danilo Spinella
b86b100ae3 Accepting request 914973 from home:dspinella:branches:Base:System
- Remove cronie-anacron-1.4.7-run-crons.patch to make anacron use
  run-parts

OBS-URL: https://build.opensuse.org/request/show/914973
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=197
2021-08-30 08:52:30 +00:00
Danilo Spinella
c11bb00761 Accepting request 914954 from home:dspinella:branches:Base:System
- Change default configuration to use run-parts from debianutils
  instead of run-crons

OBS-URL: https://build.opensuse.org/request/show/914954
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=196
2021-08-30 07:31:06 +00:00
17d117bb6f Accepting request 891605 from home:dirkmueller:Factory
- update to 1.5.7:
  * anacron: Fix problem of anacron not being started on some desktops
  * crontab: switch off colors if NO_COLOR is set
  * crontab: crontab without arguments now works if stdin is not a TTY
  * crond: Fix various issues on loading the crontab databases on startup
  * anacron: Expand MAILTO and MAILFROM environment variables
  * crontab: New option to test crontab file syntax without installing it
- cronie-nheader_lines.diff: refresh against 1.5.7

OBS-URL: https://build.opensuse.org/request/show/891605
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=195
2021-05-10 14:53:29 +00:00
3f0833fcd1 - refresh spec files (move license to licensedir)
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=193
2021-03-12 22:08:57 +00:00
00d529affa Accepting request 816556 from home:namtrac:branches:Base:System
- Add an example job definition to sample.root

OBS-URL: https://build.opensuse.org/request/show/816556
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=189
2020-06-23 16:53:55 +00:00
a6e9252250 Accepting request 753319 from home:mkraus:branches:Base:System
- change permissions calls in spec file to use slashes for
  directories [boo#1158130]

OBS-URL: https://build.opensuse.org/request/show/753319
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=187
2019-12-05 11:20:19 +00:00
Andreas Jaeger
4ec70429f5 Accepting request 744805 from home:kstreitova:branches:Base:System
- update to 1.5.5
  * Avoid warning for strncat.
  * crontab: fsync to check for full disk
  * crontab: Add Y/N to retry prompt
  * entries: Explicitly validate upper ranges and steps
  * crond: report missing newline before EOF
  * do not log carriage return
  * skip directories when given as crontabs
  * crontab -l colors comment lines in a different color
  * getdtablesize() can return very high values in containers
  * Power supply name not detected correctly.
  * Revert "Avoid creating pid files when crond doesn't fork"
  * anacron: fix types in comparisons
  * mics: stop using plain integer as NULL pointer
  * cron: fix type in comparison and  variable shadowing
  * cron: mark signal number arguments in signal handlers unused
  * Move allowed() and related function to security.c
  * cronnext: optionally select jobs by substring
  * crond: Do not abort loading crontab prematurely in case of error
- refresh cronie-nheader_lines.diff
- remove cronie-1.5.4-dont_abort_loading_crontab.patch and
  cronie-1.5.4-always_create_pid_file.patch (applied upstream)

OBS-URL: https://build.opensuse.org/request/show/744805
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=181
2019-11-05 14:16:20 +00:00
fd27bc0cfd Accepting request 724634 from home:kukuk:cron
Move /etc/cron.* directories to cron package

OBS-URL: https://build.opensuse.org/request/show/724634
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=177
2019-08-20 08:34:31 +00:00
09cb78ff18 Accepting request 703429 from home:kstreitova:branches:Base:System
- add cronie-1.5.4-always_create_pid_file.patch to always create
  a pid file even when the cron daemon does not fork. The PID file
  is useful to avoid running multiple "cron -n" instances at once
  [bsc#1133100]

OBS-URL: https://build.opensuse.org/request/show/703429
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=175
2019-05-20 08:55:16 +00:00
8e8fb60fcc Accepting request 689903 from home:kstreitova:branches:Base:System
- update to 1.5.4
  * crond: Fix regression from previous release. Only first job
    from a crontab was being run [bsc#1130746]
- add cronie-1.5.4-dont_abort_loading_crontab.patch to not abort
  loading crontab prematurely in case of error

OBS-URL: https://build.opensuse.org/request/show/689903
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=173
2019-04-01 08:55:57 +00:00
715db45cc6 Accepting request 685771 from home:kstreitova:branches:Base:System
- update to 1.5.3
  * Fix CVE-2019-9704 [bnc#1128937] and CVE-2019-9705 [bnc#1128935]
    to avoid local DoS of the crond
  * crontab: Make crontab without arguments fail
  * crond: In PAM configuration include system-auth instead of
    password-auth
  * crond: In the systemd service file restart crond if it fails
  * crond: Use the role from the crond context for system job
    contexts
  * Multiple small cleanups and fixes.
- refresh cronie-nheader_lines.diff and  cronie-pam_config.diff

OBS-URL: https://build.opensuse.org/request/show/685771
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=171
2019-03-19 16:04:35 +00:00
8f36ae216e Accepting request 672197 from home:elvigia:branches:Base:System
- cron.service: No limit on the number of processes spawned by cron 
  shall be imposed.

OBS-URL: https://build.opensuse.org/request/show/672197
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=169
2019-02-08 13:10:14 +00:00
b3b659138c Accepting request 645534 from home:elvigia:branches:Base:System
- cronie-pam_config.diff: When crond is started with the -n
  switch like it does with systemd, the manual explicitly
  instructs to disable the pam_loginuid module.

OBS-URL: https://build.opensuse.org/request/show/645534
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=167
2018-11-09 17:46:24 +00:00
fcff461b82 Accepting request 636403 from home:kstreitova:branches:Base:System
- update to 1.5.2
  * cronnext: New useful utility to find out time of the next job
    run.
  * crond: Avoid creating PID files when crond doesn't fork.
  * crontab: Do not try to replace the crontab with a directory.
  * crond: Log startup even when started in non-forking mode.
  * Multiple small cleanups and fixes.
- update Source address
- remove cronie-1.4.7-disable_logging.patch and restore the
  original cronie behaviour (a line starting with a dash in
  normal user's crontab is handled as incorrect), there was enough
  time for crontab migration. Manpage part of the patch was applied
  upstream
- remove cronie-nofork-nopid.patch (applied upstream)
- pack cronnext utility
- call autoreconf

OBS-URL: https://build.opensuse.org/request/show/636403
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=165
2018-09-21 09:56:34 +00:00
Dominique Leuenberger
e6486a0662 Accepting request 546703 from home:RBrownSUSE:branches:Base:System
Correct mail dependencies to prevent Kubic being broken and Tumbleweed being blocked

OBS-URL: https://build.opensuse.org/request/show/546703
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=163
2017-11-30 12:50:00 +00:00
8799c06388 Accepting request 545298 from home:kstreitova:branches:Base:System
- Requires smtp_daemon (not just Recommends) as it's needed by
  run-crons script [bsc#1064834]

OBS-URL: https://build.opensuse.org/request/show/545298
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=160
2017-11-24 17:30:45 +00:00
db5a82b948 Accepting request 544678 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544678
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=159
2017-11-24 10:21:12 +00:00
e15bad67a8 Accepting request 517856 from home:kukuk:branches:Base:System
- Require group trusted if we use them

OBS-URL: https://build.opensuse.org/request/show/517856
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=157
2017-08-21 14:50:50 +00:00
2356db3cc0 Accepting request 483285 from home:kstreitova:branches:Base:System
- fedorahosted.org was retired on March 1st, 2017
  * update Url and Source address

OBS-URL: https://build.opensuse.org/request/show/483285
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=155
2017-03-29 11:08:40 +00:00
a04815083f Accepting request 483103 from home:kstreitova:branches:Base:System
- update to 1.5.1
  * crontab: Use temporary file name that is ignored by crond.
  * crond: Inherit PATH from the crond environment if -P option
    is used.
  * crond: Remove hardcoded "system_u" SELinux user, use the
    SELinux user
    of the running crond.
  * anacron: Small cleanups and fixes.
  * crond: Fix longstanding race condition on repeated crontab
    modification.
- refresh cronie-pam_config.diff 
- get rid of %{name} macros in the patch names
- use %{ext_man} macro for anacron man pages

OBS-URL: https://build.opensuse.org/request/show/483103
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=154
2017-03-28 12:48:09 +00:00
723a0cdea5 Accepting request 482468 from home:kstreitova:branches:Base:System
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/482468
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=153
2017-03-27 14:10:22 +00:00
0452267cef Accepting request 431771 from home:kstreitova:branches:Base:System
- remove the omc xml config that is useless nowdays

OBS-URL: https://build.opensuse.org/request/show/431771
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=151
2016-10-07 13:08:45 +00:00
0eecea29d2 Accepting request 425674 from home:scarabeus_iv:branches:Base:System
- Add fix for bnc#983925 to run crons even when not on AC_POWER
  * Nowdays it does not make much sense to not run crons when on
    battery and actually it can even confuse people

OBS-URL: https://build.opensuse.org/request/show/425674
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=149
2016-09-09 10:55:54 +00:00
c3a8cc4a0b Accepting request 313218 from home:scarabeus_iv:branches:Base:System
- Start cron after sssd.service bnc#926961

OBS-URL: https://build.opensuse.org/request/show/313218
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=143
2015-06-23 12:23:26 +00:00
93a4cef2d6 Accepting request 313104 from home:scarabeus_iv:branches:Base:System
- Redo the post/pre update approach to fix migration from SLE11.
  Should fix bnc#919028

OBS-URL: https://build.opensuse.org/request/show/313104
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=142
2015-06-22 14:48:19 +00:00
abff32990a Accepting request 312749 from home:kstreitova:branches:Base:System
- update to 1.5.0
  * crond: Job environment variables are set also when executing
    sendmail.
  * crond: Adding duplicate orphans on reload is now prevented.
  * crond: The regular crond shutdown is now logged.
  * crontab: PAM is not called in crontab command if the caller's 
    uid is 0.
  * crond: PAM is not called from crond for system cron jobs
    (/etc/crontab, /etc/cron.d) which are run for uid 0.
  * crond: The existence of an user is checked at time when job is
    run and not when the crontab is parsed on database reload. 
- use spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/312749
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=141
2015-06-20 12:01:49 +00:00
92f78a97b5 Accepting request 310188 from home:elvigia:branches:Base:System
- cron.service: Start After=nss-user-lookup.target not
  after ypbind.service nscd.service
-cron.service: Crons run at wall-time, order after time-sync.target

OBS-URL: https://build.opensuse.org/request/show/310188
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=139
2015-06-09 09:46:47 +00:00
34c3e20f82 Accepting request 260505 from home:Ledest:misc
fix bashisms in pre scripts

OBS-URL: https://build.opensuse.org/request/show/260505
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=137
2014-11-10 10:17:13 +00:00
0df5e36fe3 Accepting request 250665 from home:kstreitova:branches:Base:System
- fixes bnc#833240: the first occurance of "/etc/anacrontab"
replaced with "/etc/crontab" in the manpage file
 - version updated to 1.4.12
   * various small bugfixes

OBS-URL: https://build.opensuse.org/request/show/250665
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=135
2014-09-22 13:11:11 +00:00
68fceb33aa Accepting request 248611 from home:kstreitova:branches:Base:System
- clean up with spec-cleaner 

- fix dangling symlink on sbin/service 

- add sysconfig.cron that used to be provided by aaa_base (bnc#860058)

OBS-URL: https://build.opensuse.org/request/show/248611
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=133
2014-09-11 14:22:49 +00:00
Stephan Kulow
c1b667a7f2 Accepting request 214974 from home:aeneas_jaissle:branches:Base:System
Leave /usr/sbin/rccron in as link to /sbin/service

OBS-URL: https://build.opensuse.org/request/show/214974
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=127
2014-01-25 06:47:45 +00:00
Cristian Rodríguez
abd9145a8d Accepting request 204034 from home:posophe:branches:Base:System
some improvements

OBS-URL: https://build.opensuse.org/request/show/204034
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=126
2013-10-22 00:01:13 +00:00
Wojtek Dziewięcki
170f7cdb82 - Update to 1.4.11
- I removed these patches: cronie-1.4.8-bug_756197.diff
bug-786096_cronie-fdleak.diff, since those issuas appear to have
been addressed upstream.

OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=121
2013-09-25 16:49:18 +00:00
Dr. Werner Fink
8f2c4b688f Accepting request 198383 from home:elvigia:branches:Base:System
- define PIDIDIR to "/run" instead of the (outdated) definition 
  coming from glibc "paths.h"
- systemd: there is no mail-transfer-agent target anymore, services
  must be ordered After= a list of possible MTA.

OBS-URL: https://build.opensuse.org/request/show/198383
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=119
2013-09-12 17:29:26 +00:00
Stephan Kulow
9db8592a15 Accepting request 160545 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/160545
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=115
2013-03-22 16:19:02 +00:00
05bd668973 Accepting request 151116 from home:fcrozat:branches:Base:System
- Regenerate cronie-pam_config.diff, last line of the patch was not
  properly added, causing bnc#801553.

OBS-URL: https://build.opensuse.org/request/show/151116
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=111
2013-02-04 15:40:18 +00:00
Wojtek Dziewięcki
68a356b6e1 -Fix Bug 786096 - VUL-1: cron: does not close file descriptors before invocation of commands
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=110
2012-11-12 13:52:11 +00:00