ntpd: Supports apk version semantics

See: https://github.com/openwrt/packages/issues/23706

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit de9f4eb324)
This commit is contained in:
Hirokazu MORIKAWA
2024-11-17 20:50:13 +02:00
committed by Hannu Nyman
parent 4eebca8ed1
commit 8f9985dfad

View File

@@ -8,12 +8,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ntp PKG_NAME:=ntp
PKG_VERSION:=4.2.8p17 PKG_REALVERSION:=4.2.8p17
PKG_RELEASE:=2 PKG_VERSION:=$(subst p,_p,$(PKG_REALVERSION))
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_REALVERSION).tar.gz
PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
PKG_HASH:=103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866 PKG_HASH:=103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REALVERSION)
PKG_LICENSE:=NTP PKG_LICENSE:=NTP
PKG_LICENSE_FILES:=COPYRIGHT html/copyright.html PKG_LICENSE_FILES:=COPYRIGHT html/copyright.html