All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/httpdate: bump to version 1.0.2
@ 2026-11-20 20:50 Angelo Compagnucci
  2026-11-21 16:16 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Angelo Compagnucci @ 2026-11-20 20:50 UTC (permalink / raw)
  To: buildroot; +Cc: Fiona Klute, Angelo Compagnucci

Upstream now installs the binary to /usr/sbin instead of /usr/bin:
update the paths in the SysV init script and in the systemd unit.

httpdate does not use libm anymore, so stop linking with -lm.

Release notes:
https://github.com/twekkel/httpdate/releases/tag/v1.0.2

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
 package/httpdate/S43httpdate      | 2 +-
 package/httpdate/httpdate.hash    | 2 +-
 package/httpdate/httpdate.mk      | 4 ++--
 package/httpdate/httpdate.service | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/httpdate/S43httpdate b/package/httpdate/S43httpdate
index aff7a00eb9..dc87bd0a24 100644
--- a/package/httpdate/S43httpdate
+++ b/package/httpdate/S43httpdate
@@ -13,7 +13,7 @@ start() {
 	# httpdate does not write a pidfile, so run it in the foreground
 	# and let start-stop-daemon background it and write it.
 	# shellcheck disable=SC2086 # we need the word splitting
-	start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/bin/$DAEMON" \
+	start-stop-daemon -S -q -b -m -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \
 		-- -F $HTTPDATE_ARGS
 	status=$?
 	if [ "$status" -eq 0 ]; then
diff --git a/package/httpdate/httpdate.hash b/package/httpdate/httpdate.hash
index 31c6d80868..10d524cba5 100644
--- a/package/httpdate/httpdate.hash
+++ b/package/httpdate/httpdate.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  c7a13e693de32e48fc374f36598390eece04e4c26f21b1e7d67cdc680d60236b  httpdate-1.0.1.tar.gz
+sha256  bd1f07616c3c41a1c9b014a23b9cf0c8e2c38902a8a75fd7576e556b9edbb6b1  httpdate-1.0.2.tar.gz
 sha256  cb7177d68741cb08ed1fade01b9f9cc7d1c56c0e96f3f6ab86f5b455cf99e44f  LICENSE
diff --git a/package/httpdate/httpdate.mk b/package/httpdate/httpdate.mk
index 6a21f0fccc..5c5af7d100 100644
--- a/package/httpdate/httpdate.mk
+++ b/package/httpdate/httpdate.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-HTTPDATE_VERSION = 1.0.1
+HTTPDATE_VERSION = 1.0.2
 HTTPDATE_SITE = $(call github,twekkel,httpdate,v$(HTTPDATE_VERSION))
 HTTPDATE_LICENSE = GPL-2.0+
 HTTPDATE_LICENSE_FILES = LICENSE
@@ -12,7 +12,7 @@ HTTPDATE_DEPENDENCIES = host-pkgconf libcurl
 
 define HTTPDATE_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
-		LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libcurl` -lm"
+		LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libcurl`"
 endef
 
 define HTTPDATE_INSTALL_TARGET_CMDS
diff --git a/package/httpdate/httpdate.service b/package/httpdate/httpdate.service
index adce46d929..efacbadf22 100644
--- a/package/httpdate/httpdate.service
+++ b/package/httpdate/httpdate.service
@@ -6,7 +6,7 @@ After=network.target
 Type=simple
 Environment=HTTPDATE_ARGS="-s https://www.google.com"
 EnvironmentFile=-/etc/default/httpdate
-ExecStart=/usr/bin/httpdate -F $HTTPDATE_ARGS
+ExecStart=/usr/sbin/httpdate -F $HTTPDATE_ARGS
 
 [Install]
 WantedBy=multi-user.target
-- 
2.53.0

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

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

end of thread, other threads:[~2026-11-21 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 20:50 [Buildroot] [PATCH] package/httpdate: bump to version 1.0.2 Angelo Compagnucci
2026-11-21 16:16 ` Julien Olivain via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.