From 8f9985dfad0f8fedd42ccd269b5a6af3223f8500 Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Sun, 17 Nov 2024 20:50:13 +0200 Subject: [PATCH] ntpd: Supports apk version semantics See: https://github.com/openwrt/packages/issues/23706 Signed-off-by: Hirokazu MORIKAWA (cherry picked from commit de9f4eb3245892469de9563eb077a9250cbb3ddd) --- net/ntpd/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index 343bb740dd..d9d02d213f 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntp -PKG_VERSION:=4.2.8p17 -PKG_RELEASE:=2 +PKG_REALVERSION:=4.2.8p17 +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_HASH:=103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REALVERSION) PKG_LICENSE:=NTP PKG_LICENSE_FILES:=COPYRIGHT html/copyright.html -- 2.30.2