From a292fb79b4d2632084a116fe87af12e179ccb77b Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 13 Oct 2023 10:59:54 +0200 Subject: [PATCH] Release version 1.7.0 --- ChangeLog | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 7 ++++ configure.ac | 2 +- cronie.spec | 19 ++++++--- readme.md | 9 ++++- 5 files changed, 141 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 979eb63..334b9a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,115 @@ +2023-10-13 Tomas Mraz + + * anacron: Use xclose() instead of fclose() + When replacing standard descriptors we use + xclose() elsewhere and it is less error-prone. + +2023-09-28 Alexander Schwinn + + * Show error when step size is out of bound + +2023-09-28 Alexander Schwinn + + * Rename variables in 'get_range' to make code more readable + +2023-09-17 Jonathan Kamens + + * Explain how to do skip values for non-multiples of the time unit + +2023-09-07 bwelterl + + * Optimization to close fds from /proc/self/fd in case of high + nofile limit after fork + +2023-07-25 Tomas Mraz + + * cronnext: Round up the start time to whole minute + +2023-04-28 lilinjie + + * fix typo + +2023-04-27 Johnny <39348311+JohnnyJayJay@users.noreply.github.com> + + * anacron: Add support for NO_MAIL_OUTPUT environment variable + +2023-03-29 YoruStar <524413304@qq.com> + + * Support reloading with SIGURG in addition to SIGHUP + +2023-03-13 Tomas Mraz + + * crontab.5: Clarify the evaluation of the step values + +2023-02-14 Li kunyu + + * cronie_common.c: Check memory allocation result in expand_envvar() function. + +2023-01-12 lilinjie <102012657+uniontech-lilinjie@users.noreply.github.com> + + * ChangeLog: fix typos + +2023-01-11 lilinjie <102012657+uniontech-lilinjie@users.noreply.github.com> + + * CHANGELOG: fix typo + +2022-06-17 fgozzini <49639209+fgozzini@users.noreply.github.com> + + * Added double quotes + +2022-06-15 fgozzini <49639209+fgozzini@users.noreply.github.com> + + * Source directly from `/etc/default/anacron` + +2022-06-14 fgozzini <49639209+fgozzini@users.noreply.github.com> + + * Allow user to run anacron jobs on battery + The user can allow running anacron jobs on battery by adding + the string `ANACRON_RUN_ON_BATTERY_POWER=yes` to the + file `/etc/default/anacron`. + +2022-08-16 Antti Antinoja + + * Use _PATH_STDPATH instead of _PATH_DEFPATH + +2022-08-24 Christopher Odenbach + + * do not put <> in quotation marks + +2022-08-23 Christopher Odenbach + + * set the return-path hard to "<>" + +2022-09-26 Ondřej Pohořelský + + * Add -n option for crontab entries + The -n option causes no mail to be sent + when the command finishes successfully. + +2022-12-16 iTrooz + + * Make a backup of the crontab file on edition and deletion + +2022-12-23 iTrooz + + * use packit srpm_build_deps key + +2022-12-16 Masanari Iida + + * man: Fix some spelling typos in anacron.8 and cronnext.1 + +2022-12-12 lilinjie + + * fix spelling error + +2022-08-31 Daniel M. Capella + + * Remove excess comma + +2022-04-25 Tomas Mraz + + * Release version 1.6.1 + 2022-03-23 w30023233 * Fix regression in handling 1-5 crontab entries diff --git a/NEWS b/NEWS index e9b84d3..4e0a010 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ cronie NEWS -- history of user-visible changes. +Release 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 + Release 1.6.1 * crond: Fix regression of handling ranges (x-y) in crontab diff --git a/configure.ac b/configure.ac index a6764d7..8858a6d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([cronie],[1.6.1]) +AC_INIT([cronie],[1.7.0]) AC_CONFIG_HEADERS([config.h]) AC_PREREQ([2.64]) diff --git a/cronie.spec b/cronie.spec index b13f1c2..aa9f32b 100644 --- a/cronie.spec +++ b/cronie.spec @@ -5,7 +5,7 @@ Summary: Cron daemon for executing programs at set times Name: cronie -Version: 1.6.1 +Version: 1.7.0 Release: 0packit%{?dist} License: MIT and BSD and ISC and GPLv2+ URL: https://github.com/cronie-crond/cronie @@ -30,6 +30,7 @@ BuildRequires: autoconf, automake, libtool BuildRequires: gcc BuildRequires: systemd +BuildRequires: make Obsoletes: %{name}-sysvinit Requires(post): coreutils sed @@ -78,7 +79,7 @@ Old style of running {hourly,daily,weekly,monthly}.jobs without anacron. No extra features. %prep -%setup -q +%autosetup -p1 %build ./autogen.sh @@ -100,10 +101,10 @@ extra features. --enable-pie \ --enable-relro -make %{?_smp_mflags} V=2 +%make_build V=2 %install -make install DESTDIR=$RPM_BUILD_ROOT DESTMAN=$RPM_BUILD_ROOT%{_mandir} +%make_install DESTMAN=$RPM_BUILD_ROOT%{_mandir} mkdir -pm700 $RPM_BUILD_ROOT%{_localstatedir}/spool/cron mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ mkdir -pm755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/ @@ -209,10 +210,16 @@ exit 0 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cron.d/dailyjobs %changelog -* Mon Apr 25 2022 Packit - 1.6.1-0packit +* Mon Apr 25 2022 Packit - 1.7.0-0packit - Packit build -* Thu Oct 31 2019 Tomáš Mráz - 1.5.5-1 +* Mon Mar 29 2021 Tomáš Mráz - 1.5.7-1 +- new upstream release 1.5.7 with bug fixes and enhancements + +* Wed Mar 17 2021 Tomáš Mráz - 1.5.6-1 +- new upstream release 1.5.6 with bug fixes and enhancements + +** Thu Oct 31 2019 Tomáš Mráz - 1.5.5-1 - new upstream release 1.5.5 with multiple bug fixes and improvements * Wed Jul 24 2019 Fedora Release Engineering - 1.5.4-2 diff --git a/readme.md b/readme.md index c223e35..d8d7739 100644 --- a/readme.md +++ b/readme.md @@ -7,10 +7,17 @@ SELinux. And why cronie? [http://www.urbandictionary.com/define.php?term=cronie] # Download -Latest released version is 1.6.1. +Latest released version is 1.7.0. User visible changes: +Release 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 + Release 1.6.1 - crond: Fix regression of handling ranges (x-y) in crontab