package/htpdate: bump to version 1.3.3

Bump and update project to its new location.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Angelo Compagnucci 2022-01-24 22:59:04 +01:00 committed by Thomas Petazzoni
parent b2c5bf66ac
commit 163509a8e0
5 changed files with 8 additions and 8 deletions

View File

@ -5,4 +5,4 @@ config BR2_PACKAGE_HTPDATE
The HTTP Time Protocol (HTP) is used to synchronize a The HTTP Time Protocol (HTP) is used to synchronize a
computer's time with web servers as reference time source. computer's time with web servers as reference time source.
https://github.com/angeloc/htpdate https://github.com/twekkel/htpdate

View File

@ -9,7 +9,7 @@ test -r "/etc/default/$DAEMON" && . "/etc/default/$DAEMON"
start() { start() {
printf 'Starting %s: ' "$DAEMON" printf 'Starting %s: ' "$DAEMON"
# shellcheck disable=SC2086 # we need the word splitting # 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 -- -D -i "$PIDFILE" $HTPDATE_ARGS
status=$? status=$?
if [ "$status" -eq 0 ]; then if [ "$status" -eq 0 ]; then

View File

@ -1,3 +1,3 @@
# Locally calculated: # Locally calculated:
sha256 d2cff522b8f53b00769dcca77d8025b19238ed35d702a4739dc05e387f718909 htpdate-1.2.6.tar.gz sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7 htpdate-1.3.3.tar.gz
sha256 b1c8d41afde943cacedab52cbb44ef7ffb7026e738b9c891009e89559fe31c20 LICENSE sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc LICENSE

View File

@ -4,13 +4,13 @@
# #
################################################################################ ################################################################################
HTPDATE_VERSION = 1.2.6 HTPDATE_VERSION = 1.3.3
HTPDATE_SITE = $(call github,angeloc,htpdate,v$(HTPDATE_VERSION)) HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION))
HTPDATE_LICENSE = GPL-2.0+ HTPDATE_LICENSE = GPL-2.0+
HTPDATE_LICENSE_FILES = LICENSE HTPDATE_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_OPENSSL),y) ifeq ($(BR2_PACKAGE_OPENSSL),y)
HTPDATE_BUILD_OPTS = ENABLE_HTTPS=1 HTPDATE_BUILD_OPTS = https
HTPDATE_DEPENDENCIES += openssl host-pkgconf HTPDATE_DEPENDENCIES += openssl host-pkgconf
endif endif

View File

@ -7,7 +7,7 @@ Type=forking
PIDFile=/run/htpdate.pid PIDFile=/run/htpdate.pid
Environment=HTPDATE_ARGS="-a -s -t https://www.google.com" Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
EnvironmentFile=-/etc/default/htpdate 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target