public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] fcron: Update to 3.2.1
Date: Wed, 03 Feb 2021 16:01:07 +0100	[thread overview]
Message-ID: <20210203150107.3184714-1-adolf.belka@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 7702 bytes --]

- Update fcron from 3.2.0 (Jul 2014) to 3.2.1 (Jun 2016 - latest version)
- Updated rootfile
- Changelog
	From version 3.2.0 to 3.2.1
	     * @-line can now be run every second (minimum every 10s previously)
	     * Fixed occasional 1s slippage. This was due to a race condition
	       between when time_to_sleep is run and when we compute how long to
	       sleep for, which could happen in the following second: if that
	       happened we end up sleeping for 1s instead of not sleeping at all.
	       The fix was to replace time_to_sleep() by next_wake_time().
	     * add From: header to emails. Similarly to other crons, use: "From:
	       %s (fcron)" with %s being either the user the job is run as or the
	       value of MAILFROM.
	     * The installation script now supports systemd fully.

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 config/rootfiles/common/fcron | 123 +++++++++++++++++-----------------
 lfs/fcron                     |   4 +-
 2 files changed, 63 insertions(+), 64 deletions(-)

diff --git a/config/rootfiles/common/fcron b/config/rootfiles/common/fcron
index fb4410f4d..55b2d45f5 100644
--- a/config/rootfiles/common/fcron
+++ b/config/rootfiles/common/fcron
@@ -2,7 +2,6 @@ etc/fcron.allow
 etc/fcron.conf
 #etc/fcron.cyclic
 etc/fcron.cyclic/info.txt
-#etc/fcron.daily
 etc/fcron.daily/info.txt
 etc/fcron.deny
 #etc/fcron.hourly
@@ -15,67 +14,67 @@ etc/fcron.weekly/info.txt
 usr/bin/fcronsighup
 usr/bin/fcrontab
 usr/sbin/fcron
-#usr/share/doc/fcron-3.2.0
-#usr/share/doc/fcron-3.2.0/en
-#usr/share/doc/fcron-3.2.0/en/HTML
-#usr/share/doc/fcron-3.2.0/en/HTML/LEGALNOTICE.html
-#usr/share/doc/fcron-3.2.0/en/HTML/changes.html
-#usr/share/doc/fcron-3.2.0/en/HTML/faq.html
-#usr/share/doc/fcron-3.2.0/en/HTML/fcron.8.html
-#usr/share/doc/fcron-3.2.0/en/HTML/fcron.conf.5.html
-#usr/share/doc/fcron-3.2.0/en/HTML/fcrondyn.1.html
-#usr/share/doc/fcron-3.2.0/en/HTML/fcrontab.1.html
-#usr/share/doc/fcron-3.2.0/en/HTML/fcrontab.5.html
-#usr/share/doc/fcron-3.2.0/en/HTML/fdl.html
-#usr/share/doc/fcron-3.2.0/en/HTML/gpl.html
-#usr/share/doc/fcron-3.2.0/en/HTML/how-and-why.html
-#usr/share/doc/fcron-3.2.0/en/HTML/index.html
-#usr/share/doc/fcron-3.2.0/en/HTML/install.html
-#usr/share/doc/fcron-3.2.0/en/HTML/manpages.html
-#usr/share/doc/fcron-3.2.0/en/HTML/readme.html
-#usr/share/doc/fcron-3.2.0/en/HTML/relnotes.html
-#usr/share/doc/fcron-3.2.0/en/HTML/thanks.html
-#usr/share/doc/fcron-3.2.0/en/HTML/todo.html
-#usr/share/doc/fcron-3.2.0/en/HTML/using-fcron.html
-#usr/share/doc/fcron-3.2.0/en/txt
-#usr/share/doc/fcron-3.2.0/en/txt/changes.txt
-#usr/share/doc/fcron-3.2.0/en/txt/faq.txt
-#usr/share/doc/fcron-3.2.0/en/txt/gpl.txt
-#usr/share/doc/fcron-3.2.0/en/txt/install.txt
-#usr/share/doc/fcron-3.2.0/en/txt/readme.txt
-#usr/share/doc/fcron-3.2.0/en/txt/relnotes.txt
-#usr/share/doc/fcron-3.2.0/en/txt/thanks.txt
-#usr/share/doc/fcron-3.2.0/en/txt/todo.txt
-#usr/share/doc/fcron-3.2.0/fr
-#usr/share/doc/fcron-3.2.0/fr/HTML
-#usr/share/doc/fcron-3.2.0/fr/HTML/LEGALNOTICE.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/changes.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/faq.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/fcron.8.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/fcron.conf.5.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/fcrondyn.1.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/fcrontab.1.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/fcrontab.5.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/fdl.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/gpl.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/how-and-why.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/index.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/install.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/manpages.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/readme.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/relnotes.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/thanks.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/todo.html
-#usr/share/doc/fcron-3.2.0/fr/HTML/using-fcron.html
-#usr/share/doc/fcron-3.2.0/fr/txt
-#usr/share/doc/fcron-3.2.0/fr/txt/changes.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/faq.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/gpl.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/install.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/readme.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/relnotes.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/thanks.txt
-#usr/share/doc/fcron-3.2.0/fr/txt/todo.txt
+#usr/share/doc/fcron-3.2.1
+#usr/share/doc/fcron-3.2.1/en
+#usr/share/doc/fcron-3.2.1/en/HTML
+#usr/share/doc/fcron-3.2.1/en/HTML/LEGALNOTICE.html
+#usr/share/doc/fcron-3.2.1/en/HTML/changes.html
+#usr/share/doc/fcron-3.2.1/en/HTML/faq.html
+#usr/share/doc/fcron-3.2.1/en/HTML/fcron.8.html
+#usr/share/doc/fcron-3.2.1/en/HTML/fcron.conf.5.html
+#usr/share/doc/fcron-3.2.1/en/HTML/fcrondyn.1.html
+#usr/share/doc/fcron-3.2.1/en/HTML/fcrontab.1.html
+#usr/share/doc/fcron-3.2.1/en/HTML/fcrontab.5.html
+#usr/share/doc/fcron-3.2.1/en/HTML/fdl.html
+#usr/share/doc/fcron-3.2.1/en/HTML/gpl.html
+#usr/share/doc/fcron-3.2.1/en/HTML/how-and-why.html
+#usr/share/doc/fcron-3.2.1/en/HTML/index.html
+#usr/share/doc/fcron-3.2.1/en/HTML/install.html
+#usr/share/doc/fcron-3.2.1/en/HTML/manpages.html
+#usr/share/doc/fcron-3.2.1/en/HTML/readme.html
+#usr/share/doc/fcron-3.2.1/en/HTML/relnotes.html
+#usr/share/doc/fcron-3.2.1/en/HTML/thanks.html
+#usr/share/doc/fcron-3.2.1/en/HTML/todo.html
+#usr/share/doc/fcron-3.2.1/en/HTML/using-fcron.html
+#usr/share/doc/fcron-3.2.1/en/txt
+#usr/share/doc/fcron-3.2.1/en/txt/changes.txt
+#usr/share/doc/fcron-3.2.1/en/txt/faq.txt
+#usr/share/doc/fcron-3.2.1/en/txt/gpl.txt
+#usr/share/doc/fcron-3.2.1/en/txt/install.txt
+#usr/share/doc/fcron-3.2.1/en/txt/readme.txt
+#usr/share/doc/fcron-3.2.1/en/txt/relnotes.txt
+#usr/share/doc/fcron-3.2.1/en/txt/thanks.txt
+#usr/share/doc/fcron-3.2.1/en/txt/todo.txt
+#usr/share/doc/fcron-3.2.1/fr
+#usr/share/doc/fcron-3.2.1/fr/HTML
+#usr/share/doc/fcron-3.2.1/fr/HTML/LEGALNOTICE.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/changes.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/faq.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/fcron.8.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/fcron.conf.5.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/fcrondyn.1.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/fcrontab.1.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/fcrontab.5.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/fdl.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/gpl.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/how-and-why.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/index.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/install.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/manpages.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/readme.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/relnotes.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/thanks.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/todo.html
+#usr/share/doc/fcron-3.2.1/fr/HTML/using-fcron.html
+#usr/share/doc/fcron-3.2.1/fr/txt
+#usr/share/doc/fcron-3.2.1/fr/txt/changes.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/faq.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/gpl.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/install.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/readme.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/relnotes.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/thanks.txt
+#usr/share/doc/fcron-3.2.1/fr/txt/todo.txt
 #usr/share/man/fr
 #usr/share/man/fr/man1
 #usr/share/man/fr/man1/fcrondyn.1
diff --git a/lfs/fcron b/lfs/fcron
index 8e39dc6be..97f67e5cc 100644
--- a/lfs/fcron
+++ b/lfs/fcron
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.2.0
+VER        = 3.2.1
 
 THISAPP    = fcron-$(VER)
 DL_FILE    = $(THISAPP).src.tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 4b031c2fba32a98fa814d1557158b0e9
+$(DL_FILE)_MD5 = bd4996e941a40327d11efc5e3fd1f839
 
 install : $(TARGET)
 
-- 
2.30.0


             reply	other threads:[~2021-02-03 15:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 15:01 Adolf Belka [this message]
2021-02-04 17:20 ` Peter Müller
  -- strict thread matches above, loose matches on Subject: below --
2016-08-28 10:26 Matthias Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210203150107.3184714-1-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox