Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0
@ 2024-07-16  8:57 Joachim Wiberg
  2024-07-16  8:57 ` [Buildroot] [PATCH 1/2] package/sysklogd: " Joachim Wiberg
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joachim Wiberg @ 2024-07-16  8:57 UTC (permalink / raw)
  To: buildroot; +Cc: Joachim Wiberg

These patches upgrade sysklogd to the latest feature release and exposes
a new configure setting to tune the internal DNS retry delay.

Release Notes: https://github.com/troglobit/sysklogd/releases/tag/v2.6.0

Best regards
 /Joachim

Joachim Wiberg (2):
  package/sysklogd: bump to v2.6.0
  package/sysklogd: new setting

 package/sysklogd/Config.in     | 12 +++++++++++-
 package/sysklogd/sysklogd.hash |  2 +-
 package/sysklogd/sysklogd.mk   |  3 ++-
 3 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] package/sysklogd: bump to v2.6.0
  2024-07-16  8:57 [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Joachim Wiberg
@ 2024-07-16  8:57 ` Joachim Wiberg
  2024-07-16  8:57 ` [Buildroot] [PATCH 2/2] package/sysklogd: new setting Joachim Wiberg
  2024-07-16 12:43 ` [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Joachim Wiberg @ 2024-07-16  8:57 UTC (permalink / raw)
  To: buildroot; +Cc: Joachim Wiberg

 - New command line flag -l to control klogctl(2) on/off and allow raw
   kernel logs to console, use with 'quiet' kernel cmdline option
 - Add reload command for systemd service
 - Add *.conf support for rotate_size and rotate_count
 - Add *.conf support for listen addr:port
 - Fix blocking delay for unresolvable DNS names when logging to remote
 - Fix failure to bind to not-yet-set IP address by retrying every 5 sec

Full ChangeLog at https://github.com/troglobit/sysklogd/releases/tag/v2.6.0

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
 package/sysklogd/sysklogd.hash | 2 +-
 package/sysklogd/sysklogd.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/sysklogd/sysklogd.hash b/package/sysklogd/sysklogd.hash
index 7e00990174..361d68a157 100644
--- a/package/sysklogd/sysklogd.hash
+++ b/package/sysklogd/sysklogd.hash
@@ -1,5 +1,5 @@
 # Upstream .sha256 from GitHub
-sha256  9da4444285772ce2bfc9c687be8f978b7a9fe7d3937347cd4938eda0c4545e05  sysklogd-2.5.2.tar.gz
+sha256  c5ae067b479b54ef90fa9352c277d44ff7b4314023fc6ee0a37e81b99a78a917  sysklogd-2.6.0.tar.gz
 
 # Locally calculated
 sha256  7a71d7603a7c4456df441463e54da35acf151c1be0879246de63544f1f34f477  LICENSE
diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk
index 083f505a2b..7abb830119 100644
--- a/package/sysklogd/sysklogd.mk
+++ b/package/sysklogd/sysklogd.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SYSKLOGD_VERSION = 2.5.2
+SYSKLOGD_VERSION = 2.6.0
 SYSKLOGD_SITE = https://github.com/troglobit/sysklogd/releases/download/v$(SYSKLOGD_VERSION)
 SYSKLOGD_LICENSE = BSD-3-Clause
 SYSKLOGD_LICENSE_FILES = LICENSE
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/sysklogd: new setting
  2024-07-16  8:57 [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Joachim Wiberg
  2024-07-16  8:57 ` [Buildroot] [PATCH 1/2] package/sysklogd: " Joachim Wiberg
@ 2024-07-16  8:57 ` Joachim Wiberg
  2024-07-16 12:43 ` [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Joachim Wiberg @ 2024-07-16  8:57 UTC (permalink / raw)
  To: buildroot; +Cc: Joachim Wiberg

Expose --with-dns-delay=SEC configure option to fine tune retry interval
to match that of the system resolver.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
 package/sysklogd/Config.in   | 12 +++++++++++-
 package/sysklogd/sysklogd.mk |  1 +
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/package/sysklogd/Config.in b/package/sysklogd/Config.in
index 3315a6ddc9..c9b9fe8c35 100644
--- a/package/sysklogd/Config.in
+++ b/package/sysklogd/Config.in
@@ -15,8 +15,18 @@ config BR2_PACKAGE_SYSKLOGD
 
 if BR2_PACKAGE_SYSKLOGD
 
+config BR2_PACKAGE_SYSKLOGD_DNS_DELAY
+	int "Retry DNS delay (sec)"
+	default "60"
+	help
+	  Retry delay (seconds) for attempting to resolve DNS names of
+	  remote syslog servers.  This is the internal retry delay, not
+	  that of the resolver in your C library or DNS cache.
+
+	  Default: 60 seconds
+
 config BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY
-	int "Retry delay (sec)"
+	int "Retry remote delay (sec)"
 	default "180"
 	help
 	  Retry delay (seconds) for sending to remote syslog servers.
diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk
index 7abb830119..59081f2734 100644
--- a/package/sysklogd/sysklogd.mk
+++ b/package/sysklogd/sysklogd.mk
@@ -16,6 +16,7 @@ SYSKLOGD_CPE_ID_VALID = YES
 SYSKLOGD_CONF_OPTS = \
 	--bindir=/usr/bin \
 	--sbindir=/sbin \
+	--with-dns-delay=$(BR2_PACKAGE_SYSKLOGD_DNS_DELAY) \
 	--with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY)
 
 # Disable/Enable utilities
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0
  2024-07-16  8:57 [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Joachim Wiberg
  2024-07-16  8:57 ` [Buildroot] [PATCH 1/2] package/sysklogd: " Joachim Wiberg
  2024-07-16  8:57 ` [Buildroot] [PATCH 2/2] package/sysklogd: new setting Joachim Wiberg
@ 2024-07-16 12:43 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-16 12:43 UTC (permalink / raw)
  To: Joachim Wiberg; +Cc: buildroot

On Tue, 16 Jul 2024 10:57:45 +0200
Joachim Wiberg <troglobit@gmail.com> wrote:

> Joachim Wiberg (2):
>   package/sysklogd: bump to v2.6.0
>   package/sysklogd: new setting

Both applied. Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-16 12:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16  8:57 [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Joachim Wiberg
2024-07-16  8:57 ` [Buildroot] [PATCH 1/2] package/sysklogd: " Joachim Wiberg
2024-07-16  8:57 ` [Buildroot] [PATCH 2/2] package/sysklogd: new setting Joachim Wiberg
2024-07-16 12:43 ` [Buildroot] [PATCH 0/2] package/syslogd: bump to v2.6.0 Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox