From: Tomas Mraz Date: Thu, 28 May 2015 14:19:41 +0000 (+0200) Subject: Release new version 1.5.0 X-Git-Tag: cronie1.5.0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a6a63832de987f93b8b3898cbd55b71b433cbf6;p=cronie Release new version 1.5.0 - properly create dist tarball even with anacron and PAM disabled --- diff --git a/ChangeLog b/ChangeLog index 2986f9a..aa4e783 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,43 @@ +2015-05-28 Tomas Mraz + + * Pass the job environment also when executing the sendmail. + +2015-01-31 Felix Janda + + * database.c: Use POSIX NAME_MAX instead of BSD MAXNAMLEN + +2015-04-21 Tomas Mraz + + * Prevent adding duplicate orphans on reload. + +2015-02-05 Tomas Mraz + + * Do not overwrite the last zero-byte. + +2015-02-03 Tomas Mraz + + * Log the crond shutdown. + +2015-01-28 Tomas Mraz + + * No need to call strcmp on already matched variables. + +2015-01-28 Tomas Mraz + + * Use unbiased random number for RANDOM_DELAY. + +2015-01-28 Tomas Mraz + + * Call PAM only when it makes sense. + +2015-01-28 Tomas Mraz + + * Fix broken test for match_rx() failure. + +2014-11-04 Tomas Mraz + + * Properly check the existence of the user at the time the job is run. + 2014-09-17 Marcela Mašláňová * contrib/cronie.systemd: Services must be running before starting diff --git a/Makefile.am b/Makefile.am index 58ecaac..b0e04f2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,4 @@ -SUBDIRS = src man -if ANACRON -SUBDIRS += anacron -endif - -if PAM -pamdir = $(sysconfdir)/pam.d -dist_pam_DATA = pam/crond -endif +SUBDIRS = src man anacron dist_noinst_HEADERS = \ cronie_common.h @@ -18,4 +10,12 @@ EXTRA_DIST = \ contrib/0anacron \ contrib/0hourly \ contrib/dailyjobs \ - contrib/cronie.systemd + contrib/cronie.systemd \ + anacron/ChangeLog.anacron + +if PAM +pamdir = $(sysconfdir)/pam.d +dist_pam_DATA = pam/crond +else +EXTRA_DIST += pam/crond +endif diff --git a/NEWS b/NEWS index e69de29..bb7f361 100644 --- a/NEWS +++ b/NEWS @@ -0,0 +1,13 @@ +cronie NEWS -- history of user-visible changes. + +Release 1.5.0 + +* First release with NEWS. :) +* 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. diff --git a/ChangeLog.anacron b/anacron/ChangeLog.anacron similarity index 100% rename from ChangeLog.anacron rename to anacron/ChangeLog.anacron diff --git a/anacron/Makefile.am b/anacron/Makefile.am index a2c1802..d8642d9 100644 --- a/anacron/Makefile.am +++ b/anacron/Makefile.am @@ -1,5 +1,7 @@ # Makefile.am - two binaries crond and crontab +if ANACRON sbin_PROGRAMS = anacron +endif anacron_SOURCES = \ gregor.c lock.c log.c main.c matchrx.c readtab.c runjob.c \ diff --git a/configure.ac b/configure.ac index 49304b3..d802f4d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([cronie],[1.4.12],[mmaslano@redhat.com,tmraz@redhat.com]) +AC_INIT([cronie],[1.5.0],[mmaslano@redhat.com,tmraz@fedoraproject.org]) AC_CONFIG_HEADER([config.h]) AC_PREREQ(2.60) diff --git a/man/Makefile.am b/man/Makefile.am index f52345b..2edfd97 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,6 +1,6 @@ dist_man_MANS = crontab.1 crontab.5 cron.8 crond.8 +EXTRA_DIST = anacrontab.5 anacron.8 + if ANACRON -dist_man_MANS += anacrontab.5 anacron.8 +dist_man_MANS += $(EXTRA_DIST) endif -noinst_MANS = bitstring.3 -