mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
ntpd: update to 4.2.8p18
Add small patch fixing compilation with GCC14. Remove inactive maintainer. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
4471b94ae7
commit
ffe0cea2ff
@@ -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 <tripolar@gmx.at>
|
||||
URL:=http://www.ntp.org/
|
||||
DEPENDS:=+libopenssl +libpthread +libcap
|
||||
endef
|
||||
|
||||
11
net/ntpd/patches/010-gcc14.patch
Normal file
11
net/ntpd/patches/010-gcc14.patch
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user