From: Rosen Penev Date: Wed, 30 Apr 2025 23:38:11 +0000 (-0700) Subject: ntpd: update to 4.2.8p18 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ffe0cea2ffc9ee4375f80cf675a40cbc64f56bd1;p=feed%2Fpackages.git ntpd: update to 4.2.8p18 Add small patch fixing compilation with GCC14. Remove inactive maintainer. Signed-off-by: Rosen Penev --- diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index d9d02d213f..ca7c7a346e 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -8,15 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntp -PKG_REALVERSION:=4.2.8p17 +PKG_REALVERSION:=4.2.8p18 PKG_VERSION:=$(subst p,_p,$(PKG_REALVERSION)) PKG_RELEASE:=3 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_HASH:=cf84c5f3fb1a295284942624d823fffa634144e096cfc4f9969ac98ef5f468e5 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REALVERSION) +PKG_MAINTAINER:= PKG_LICENSE:=NTP PKG_LICENSE_FILES:=COPYRIGHT html/copyright.html PKG_CPE_ID:=cpe:/a:ntp:ntp @@ -32,7 +33,6 @@ define Package/ntpd/Default SECTION:=net CATEGORY:=Network TITLE:=ISC ntp - MAINTAINER:=Peter Wagner URL:=http://www.ntp.org/ DEPENDS:=+libopenssl +libpthread +libcap endef diff --git a/net/ntpd/patches/010-gcc14.patch b/net/ntpd/patches/010-gcc14.patch new file mode 100644 index 0000000000..ff8ce0bae5 --- /dev/null +++ b/net/ntpd/patches/010-gcc14.patch @@ -0,0 +1,11 @@ +--- a/libntp/machines.c ++++ b/libntp/machines.c +@@ -477,7 +477,7 @@ ntp_set_tod( + #endif /* HAVE_SETTIMEOFDAY */ + #ifdef HAVE_STIME + if (rc && (SET_TOD_STIME == tod || !tod)) { +- long tp = tvp->tv_sec; ++ time_t tp = tvp->tv_sec; + + errno = 0; + rc = stime(&tp); /* lie as bad as SysVR4 */