diff mbox series

[v3] package/htpdate: bump to version 1.3.3

Message ID 20220124215904.1200436-1-angelo@amarulasolutions.com
State Accepted
Headers show
Series [v3] package/htpdate: bump to version 1.3.3 | expand

Commit Message

Angelo Compagnucci Jan. 24, 2022, 9:59 p.m. UTC
Bump and update project to its new location.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
v1->v2:
* Rebased on master
* Keeping buildroot package init scripts

v2->v3:
* Updating LICENSE hash

 package/htpdate/S43htpdate      | 2 +-
 package/htpdate/htpdate.hash    | 4 ++--
 package/htpdate/htpdate.mk      | 6 +++---
 package/htpdate/htpdate.service | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

Comments

Thomas Petazzoni Jan. 26, 2022, 9:56 p.m. UTC | #1
On Mon, 24 Jan 2022 22:59:04 +0100
Angelo Compagnucci <angelo@amarulasolutions.com> wrote:

> Bump and update project to its new location.
> 
> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
> ---
> v1->v2:
> * Rebased on master
> * Keeping buildroot package init scripts

Applied to master, thanks. You had forgotten to update the Config.in
file with the new link to the upstream site (as suggested by Baruch on
your v2) and the hash file had incorrect spacing causing "make
check-package" warnings. I fixed both when applying. Thanks!

Thomas
diff mbox series

Patch

diff --git a/package/htpdate/S43htpdate b/package/htpdate/S43htpdate
index 75f9a995ff..5971d70639 100644
--- a/package/htpdate/S43htpdate
+++ b/package/htpdate/S43htpdate
@@ -9,7 +9,7 @@  test -r "/etc/default/$DAEMON" && . "/etc/default/$DAEMON"
 start() {
 	printf 'Starting %s: ' "$DAEMON"
 	# shellcheck disable=SC2086 # we need the word splitting
-	start-stop-daemon -S -q -x "/usr/bin/$DAEMON" \
+	start-stop-daemon -S -q -x "/usr/sbin/$DAEMON" \
 		-- -D -i "$PIDFILE" $HTPDATE_ARGS
 	status=$?
 	if [ "$status" -eq 0 ]; then
diff --git a/package/htpdate/htpdate.hash b/package/htpdate/htpdate.hash
index 824266c1bc..6876f2da51 100644
--- a/package/htpdate/htpdate.hash
+++ b/package/htpdate/htpdate.hash
@@ -1,3 +1,3 @@ 
 # Locally calculated:
-sha256 d2cff522b8f53b00769dcca77d8025b19238ed35d702a4739dc05e387f718909  htpdate-1.2.6.tar.gz
-sha256 b1c8d41afde943cacedab52cbb44ef7ffb7026e738b9c891009e89559fe31c20  LICENSE
+sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7  htpdate-1.3.3.tar.gz
+sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc  LICENSE
diff --git a/package/htpdate/htpdate.mk b/package/htpdate/htpdate.mk
index 52022346a9..200c3207a2 100644
--- a/package/htpdate/htpdate.mk
+++ b/package/htpdate/htpdate.mk
@@ -4,13 +4,13 @@ 
 #
 ################################################################################
 
-HTPDATE_VERSION = 1.2.6
-HTPDATE_SITE = $(call github,angeloc,htpdate,v$(HTPDATE_VERSION))
+HTPDATE_VERSION = 1.3.3
+HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION))
 HTPDATE_LICENSE = GPL-2.0+
 HTPDATE_LICENSE_FILES = LICENSE
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
-HTPDATE_BUILD_OPTS = ENABLE_HTTPS=1
+HTPDATE_BUILD_OPTS = https
 HTPDATE_DEPENDENCIES += openssl host-pkgconf
 endif
 
diff --git a/package/htpdate/htpdate.service b/package/htpdate/htpdate.service
index b7f1371b08..95220581d4 100644
--- a/package/htpdate/htpdate.service
+++ b/package/htpdate/htpdate.service
@@ -7,7 +7,7 @@  Type=forking
 PIDFile=/run/htpdate.pid
 Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
 EnvironmentFile=-/etc/default/htpdate
-ExecStart=/usr/bin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
+ExecStart=/usr/sbin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
 
 [Install]
 WantedBy=multi-user.target