Skip to contentSkip to conversation

package/dcron: switch site and bump version to 1f53001

PATCH New Peter Seiderer via buildroot 1 participant 1 message Jun 24, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dcron: switch site and bump version to 1f53001

- switch site to https://github.com/ptchinster/dcron (as advised by latest commit [1] on legacy site) and update home page URL accordingly

- bump version to 1f53001 (one commit behind latest v4.6 tag to gain latest fix [2])

- remove 0001-main.c-add-newline-to-logfile-openning-error-message.patch (upstream applied [3])

- remove 0002-system-crontab.patch
(upstream applied [4])

[1] https://github.com/ptchinster/dcron
[2] https://github.com/ptchinster/dcron/commit/1f53001f2e8d1064287c97ec41498b614acab67b
[3] https://github.com/ptchinster/dcron/commit/0579cd042dbe710f5faaf61b33710bd84b0b85c7
[4] https://github.com/ptchinster/dcron/commit/a13330c139942ec93444e0229b540b8447bfba70

---
 ...ne-to-logfile-openning-error-message.patch | 27 ------------------
 package/dcron/0002-system-crontab.patch       | 28 -------------------
 package/dcron/Config.in                       |  2 +-
 package/dcron/dcron.hash                      |  2 +-
 package/dcron/dcron.mk                        |  4 +--
 5 files changed, 4 insertions(+), 59 deletions(-)
 delete mode 100644 package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch
 delete mode 100644 package/dcron/0002-system-crontab.patch
package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch deleted +0 -27
deleted file mode 100644
index 6abc3105e4..0000000000
@@ -1,27 +0,0 @@
-From 2710bc67cd920323da9b23a3d60193577bd43d71 Mon Sep 17 00:00:00 2001
-From: Carlos Santos <[email protected]>
-Date: Sat, 20 Jul 2019 00:27:31 -0300
-Subject: [PATCH] main.c: add newline to logfile openning error message
-
-Signed-off-by: Carlos Santos <[email protected]>
-[Upstream status: https://github.com/dubiousjim/dcron/pull/22]
----
- main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/main.c b/main.c
-index 0eba280..2606db8 100644
---- a/main.c
-+++ b/main.c
-@@ -261,7 +261,7 @@ main(int ac, char **av)
- 				dup2(fd, 2);
- 			} else {
- 				int n = errno;
--				fdprintf(2, "failed to open logfile '%s', reason: %s", LogFile, strerror(n));
-+				fdprintf(2, "failed to open logfile '%s', reason: %s\n", LogFile, strerror(n));
- 				exit(n);
- 			}
- 		}
--- 
-2.18.1
-
package/dcron/0002-system-crontab.patch deleted +0 -28
deleted file mode 100644
index ac29368727..0000000000
@@ -1,28 +0,0 @@
-From 1fd99b71b063b1573beaf9f6b801ec5be2fbe24f Mon Sep 17 00:00:00 2001
-From: Mario Haustein <[email protected]>
-Date: Fri, 2 Sep 2022 23:20:14 +0200
-Subject: [PATCH] Make @hourly, @daily, ... work again
-
-closes #15
-
-Signed-off-by: Mario Haustein <[email protected]>
-Upstream: https://github.com/dubiousjim/dcron/pull/35
----
- database.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/database.c b/database.c
-index 37cf17a..6ec720e 100644
---- a/database.c
-+++ b/database.c
-@@ -455,6 +455,8 @@ SynchronizeFile(const char *dpath, const char *fileName, const char *userName)
- 							line.cl_Days[j] = 1;
- 						for (j=0; j<12; ++j)
- 							line.cl_Mons[j] = 1;
-+						for (j=0; j<7; ++j)
-+							line.cl_Dow[j] = ALL_DOW;
- 					}
- 
- 					while (*ptr == ' ' || *ptr == '\t')
--- 
-2.35.1
package/dcron/Config.in +1 -1
index d7f66bdb7d..b17d8e5d5c 100644
@@ -20,4 +20,4 @@ config BR2_PACKAGE_DCRON
 	  group, while crontab executable is owned by root:crontab
 	  with sgid bit enabled.
 
-	  http://www.jimpryor.net/linux/dcron.html
+	  https://github.com/ptchinster/dcron
package/dcron/dcron.hash +1 -1
index 35b02eb78b..5309cbd6b0 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  5a53930ba27b57c06c3b03635788cf569990283bde8ea9c1ee820e13f988288d  dcron-1ba33c3325df48de46263276a43ed76cf9d81518.tar.gz
+sha256  89b5842cf7fbfcafc12a8ce46ec7455d116c97626dc816e7e51bb98646473d18  dcron-1f53001f2e8d1064287c97ec41498b614acab67b.tar.gz
 sha256  640d90f6ee401241ff62834d0d1b33f83049e99b8bfdfa04ed1b0a1635dde3e7  COPYING
package/dcron/dcron.mk +2 -2
index f0c3efbf8f..9afcb9bbb0 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-DCRON_VERSION = 1ba33c3325df48de46263276a43ed76cf9d81518
-DCRON_SITE = $(call github,dubiousjim,dcron,$(DCRON_VERSION))
+DCRON_VERSION = 1f53001f2e8d1064287c97ec41498b614acab67b
+DCRON_SITE = $(call github,ptchinster,dcron,$(DCRON_VERSION))
 DCRON_LICENSE = GPL-2.0+
 DCRON_LICENSE_FILES = COPYING
 
Signature · 6 lines
2.45.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot