Skip to contentSkip to conversation

package/httpdate: bump to version 1.0.2

PATCH In review Angelo Compagnucci 2 participants 2 messages Nov 20 – Nov 21

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/httpdate: bump to version 1.0.2

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

---
 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(-)
package/httpdate/S43httpdate +1 -1
index aff7a00eb9..dc87bd0a24 100644
@@ -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
package/httpdate/httpdate.hash +1 -1
index 31c6d80868..10d524cba5 100644
@@ -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
package/httpdate/httpdate.mk +2 -2
index 6a21f0fccc..5c5af7d100 100644
@@ -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
package/httpdate/httpdate.service +1 -1
index adce46d929..efacbadf22 100644
@@ -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
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · 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

Applied to next, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot