fritzkink
2023-06-07 93dae99eba15682ef1ae787cc218e4e1c7259535
ntp - update to version 4.2.8p17

3 files deleted
1 files added
5 files modified
255 ■■■■ changed files
components/network/ntp/Makefile 16 ●●●●● patch | view | raw | blame | history
components/network/ntp/manifests/sample-manifest.p5m 2 ●●● patch | view | raw | blame | history
components/network/ntp/ntp.p5m 1 ●●●● patch | view | raw | blame | history
components/network/ntp/patches/20-syscall.patch 22 ●●●●● patch | view | raw | blame | history
components/network/ntp/patches/30-zsavewarn.patch 44 ●●●●● patch | view | raw | blame | history
components/network/ntp/patches/60-exit-message.patch 36 ●●●●● patch | view | raw | blame | history
components/network/ntp/patches/85-banner.patch 24 ●●●●● patch | view | raw | blame | history
components/network/ntp/pkg5 2 ●●● patch | view | raw | blame | history
components/network/ntp/test/results-all.master 108 ●●●● patch | view | raw | blame | history
components/network/ntp/Makefile
@@ -25,18 +25,19 @@
# Copyright (c) 2021, Andreas Wacknitz
#
USE_OPENSSL11=        yes
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        ntp
COMPONENT_VERSION=    4.2.8p15
COMPONENT_REVISION =    1
COMPONENT_VERSION=    4.2.8p17
IPS_COMPONENT_VERSION=    $(subst p,.,$(COMPONENT_VERSION))
COMPONENT_SUMMARY=    Network Time Protocol Daemon v4
COMPONENT_DESCRIPTION=    Network Time Protocol v4, NTP Daemon and Utilities
COMPONENT_PROJECT_URL=    https://www.ntp.org/
COMPONENT_SRC=        $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:f65840deab68614d5d7ceb2d0bb9304ff70dcdedd09abb79754a87536b849c19
COMPONENT_ARCHIVE_HASH= sha256:103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866
COMPONENT_ARCHIVE_URL=    https://archive.ntp.org/ntp4/ntp-4.2/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=    service/network/ntp
COMPONENT_CLASSIFICATION=    System/Services
@@ -62,6 +63,7 @@
CONFIGURE_OPTIONS +=    --sysconfdir=$(ETCDIR)/inet
CONFIGURE_OPTIONS +=    --enable-getifaddrs
CONFIGURE_OPTIONS +=    --enable-all-clocks
CONFIGURE_OPTIONS +=    --enable-solarisprivs
# debugging is enabled by default, causes 9705
#CONFIGURE_OPTIONS +=   --disable-debugging
CONFIGURE_OPTIONS +=    --enable-debugging
@@ -73,8 +75,8 @@
#CONFIGURE_OPTIONS +=   --without-sntp
CONFIGURE_OPTIONS +=    --without-ntpsnmpd
CONFIGURE_OPTIONS +=    --with-crypto=openssl
CONFIGURE_OPTIONS +=    --with-openssl-incdir=$(USRINCDIR)
CONFIGURE_OPTIONS +=    --with-openssl-libdir=$(LIBDIR)/$(MACH64)
CONFIGURE_OPTIONS +=    --with-openssl-incdir=$(OPENSSL_INCDIR)
CONFIGURE_OPTIONS +=    --with-openssl-libdir=$(OPENSSL_LIBDIR.64)
CONFIGURE_OPTIONS +=    --disable-problem-tests
BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
@@ -131,12 +133,12 @@
    fi
# Auto-generated dependencies
REQUIRED_PACKAGES += SUNWcs
REQUIRED_PACKAGES += library/libedit
REQUIRED_PACKAGES += library/libevent2
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/security/openssl-11
REQUIRED_PACKAGES += runtime/perl
REQUIRED_PACKAGES += service/network/dns/mdns
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += SUNWcs
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
components/network/ntp/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2022 <contributor>
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
components/network/ntp/ntp.p5m
@@ -19,6 +19,7 @@
# CDDL HEADER END
#
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, Friedrich Kink. All rights reserved.
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
components/network/ntp/patches/20-syscall.patch
New file
@@ -0,0 +1,22 @@
--- include/l_stdlib.h    2020-06-23 11:17:30.000000000 +0200
+++ include/l_stdlib.h.new    2023-06-06 21:20:51.288963655 +0200
@@ -173,7 +173,7 @@
 #endif
 #ifdef DECL_SYSCALL
-extern    int    syscall        (int, ...);
+extern    long    syscall        (int, ...);
 #endif
 #ifdef DECL_SYSLOG_0
--- ntpd/ntpd.c    2023-06-06 21:21:33.456305631 +0200
+++ ntpd/ntpd.c.new    2023-06-06 21:26:34.080482123 +0200
@@ -247,7 +247,7 @@
 /*
  * We put this here, since the argument profile is syscall-specific
  */
-extern int syscall    (int, ...);
+extern long syscall    (int, ...);
 #endif /* DECL_SYSCALL */
components/network/ntp/patches/30-zsavewarn.patch
File was deleted
components/network/ntp/patches/60-exit-message.patch
File was deleted
components/network/ntp/patches/85-banner.patch
File was deleted
components/network/ntp/pkg5
@@ -3,7 +3,7 @@
        "SUNWcs",
        "library/libedit",
        "library/libevent2",
        "library/security/openssl",
        "library/security/openssl-11",
        "runtime/perl",
        "service/network/dns/mdns",
        "shell/ksh93",
components/network/ntp/test/results-all.master
@@ -150,7 +150,7 @@
packetProcessing.c:38:test_CorrectUnauthenticatedPacket:PASS
packetProcessing.c:39:test_CorrectAuthenticatedPacketMD5:PASS
packetProcessing.c:40:test_CorrectAuthenticatedPacketSHA1:PASS
packetProcessing.c:488:test_CorrectAuthenticatedPacketCMAC:IGNORE: OpenSSL CMAC not used, skipping...
packetProcessing.c:486:test_CorrectAuthenticatedPacketCMAC:IGNORE: OpenSSL CMAC not used, skipping...
-----------------------
19 Tests: 
@@ -208,11 +208,11 @@
.. contents:: :depth: 2
a_md5encrypt.c:40:test_Encrypt:PASS
a_md5encrypt.c:41:test_DecryptValid:PASS
a_md5encrypt.c:42:test_DecryptInvalid:PASS
a_md5encrypt.c:43:test_IPv4AddressToRefId:PASS
a_md5encrypt.c:109:test_IPv6AddressToRefId:IGNORE: Skipping because of big endian problem?
a_md5encrypt.c:41:test_Encrypt:PASS
a_md5encrypt.c:42:test_DecryptValid:PASS
a_md5encrypt.c:43:test_DecryptInvalid:PASS
a_md5encrypt.c:44:test_IPv4AddressToRefId:PASS
a_md5encrypt.c:110:test_IPv6AddressToRefId:IGNORE: Skipping because of big endian problem?
-----------------------
5 Tests: 
@@ -347,10 +347,10 @@
OK
PASS test-calendar (exit status: 0)
caljulian.c:16:test_RegularTime:PASS
caljulian.c:17:test_LeapYear:PASS
caljulian.c:18:test_uLongBoundary:PASS
caljulian.c:19:test_uLongWrapped:PASS
caljulian.c:15:test_RegularTime:PASS
caljulian.c:16:test_LeapYear:PASS
caljulian.c:17:test_uLongBoundary:PASS
caljulian.c:18:test_uLongWrapped:PASS
-----------------------
4 Tests: 
@@ -430,6 +430,50 @@
OK
PASS test-decodenetnum (exit status: 0)
authreadkeys: no algorithm for key 4
authreadkeys: no algorithm for key 54
digest with key 1 { 0x00, 0x00, 0x00, 0x01, 0x34, 0x5b, 0xcf, 0xa8, 0x85, 0x6e,
0x9d, 0x01, 0xeb, 0x81, 0x25, 0xc2, 0xa4, 0xb8, 0x1b, 0xe0, }
digest with key 51 { 0x00, 0x00, 0x00, 0x33, 0xd1, 0x04, 0x4e, 0xbf, 0x79, 0x2d,
0x3a, 0x40, 0xcd, 0xdc, 0x5a, 0x44, 0xde, 0xe0, 0x0c, 0x84, }
digests.c:131:test_Digest_AES128CMAC:PASS
digest with key 2 { 0x00, 0x00, 0x00, 0x02, 0xf3, 0x39, 0x34, 0xca, 0xe0, 0x48,
0x26, 0x0f, 0x13, 0xca, 0x56, 0x9e, 0xbc, 0x53, 0x9c, 0x66, }
digest with key 52 { 0x00, 0x00, 0x00, 0x34, 0x5e, 0xe6, 0x81, 0xf2, 0x57, 0x57,
0x8a, 0x2b, 0xa8, 0x76, 0x8e, 0x7a, 0xc4, 0xf4, 0x34, 0x7e, }
digests.c:168:test_Digest_MD4:PASS
digest with key 3 { 0x00, 0x00, 0x00, 0x03, 0xa6, 0x8d, 0x3a, 0xfe, 0x52, 0xe5,
0xf7, 0xe9, 0x4c, 0x97, 0x72, 0x16, 0x7c, 0x28, 0x18, 0xaf, }
digest with key 53 { 0x00, 0x00, 0x00, 0x35, 0xd4, 0x11, 0x2c, 0xc6, 0x66, 0x74,
0x46, 0x8b, 0x12, 0xb1, 0x8c, 0x49, 0xb0, 0x06, 0xda, 0x34, }
digests.c:205:test_Digest_MD5:PASS
digests.c:260:test_Digest_MDC2:IGNORE: MAC unsupported on this system
digest with key 5 { 0x00, 0x00, 0x00, 0x05, 0x8c, 0x3e, 0x55, 0xbb, 0xec, 0x7c,
0xf6, 0x30, 0xef, 0xd1, 0x45, 0x8c, 0xdd, 0x29, 0x32, 0x7e, 0x04, 0x87, 0x6c, 0xd7, }
digest with key 55 { 0x00, 0x00, 0x00, 0x37, 0x2d, 0x4a, 0x48, 0xdd, 0x28, 0x02,
0xb4, 0x9d, 0xe3, 0x6d, 0x1b, 0x90, 0x2b, 0xc4, 0x3f, 0xe5, 0x19, 0x60, 0x12, 0xbc, }
digests.c:275:test_Digest_RIPEMD160:PASS
digest with key 6 { 0x00, 0x00, 0x00, 0x06, 0xe2, 0xc6, 0x17, 0x71, 0x03, 0xc1,
0x85, 0x56, 0x35, 0xc7, 0x4e, 0x75, 0x79, 0x82, 0x9d, 0xcb, 0x2d, 0x06, 0x0e, 0xfa, }
digest with key 56 { 0x00, 0x00, 0x00, 0x38, 0x01, 0x16, 0x37, 0xb4, 0xf5, 0x2d,
0xe0, 0x97, 0xaf, 0xd8, 0x58, 0xf7, 0xad, 0xb3, 0x7e, 0x38, 0x86, 0x85, 0x78, 0x44, }
digests.c:314:test_Digest_SHA1:PASS
digest with key 7 { 0x00, 0x00, 0x00, 0x07, 0x5c, 0x0c, 0x1a, 0x85, 0xad, 0x03,
0xb2, 0x9a, 0xe4, 0x75, 0x37, 0x93, 0xaa, 0xa6, 0xcd, 0x76, }
digest with key 57 { 0x00, 0x00, 0x00, 0x39, 0x07, 0x04, 0x63, 0xcc, 0x46, 0xaf,
0xca, 0x00, 0x7d, 0xd1, 0x5a, 0x39, 0xfd, 0x34, 0xca, 0x10, }
digests.c:353:test_Digest_SHAKE128:PASS
-----------------------
7 Tests:
6 PASS
0 XFAIL
0 Failures
0 XPASS
1 Ignored
OK
PASS test-digests (exit status: 0)
hextoint.c:9:test_SingleDigit:PASS
hextoint.c:10:test_MultipleDigits:PASS
hextoint.c:11:test_MaxUnsigned:PASS
@@ -620,6 +664,19 @@
OK
PASS test-prettydate (exit status: 0)
realpath.c:48:test_CurrentWorkingDir:PASS
realpath.c:59:test_DevLinks:PASS
-----------------------
2 Tests:
2 PASS
0 XFAIL
0 Failures
0 XPASS
0 Ignored
OK
PASS test-realpath (exit status: 0)
recvbuff.c:8:test_Initialization:PASS
recvbuff.c:9:test_GetAndFree:PASS
recvbuff.c:10:test_GetAndFill:PASS
@@ -769,8 +826,8 @@
   ntp : tests/libntp/test-suite.log
===============================================
# TOTAL: 40
# PASS:  40
# TOTAL: 42
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  0
@@ -1830,7 +1887,7 @@
/* #undef DECL_STRTOL_0 */
/* Declare syscall()? */
/* #undef DECL_SYSCALL */
#define DECL_SYSCALL 1
/* Declaration style */
/* #undef DECL_SYSLOG_0 */
@@ -1865,6 +1922,9 @@
/* use old autokey session key behavior? */
/* #undef DISABLE_BUG3527_FIX */
/* Disable debug assertion on OOB KoD RATE value? */
/* #undef DISABLE_BUG3767_FIX */
/* synch TODR hourly? */
/* #undef DOSYNCTODR */
@@ -1882,6 +1942,9 @@
/* Enable CMAC support? */
#define ENABLE_CMAC 1
/* auto-instantiate missing PPS devices on Linux */
#define ENABLE_MAGICPPS 1
/* nls support in libopts */
/* #undef ENABLE_NLS */
@@ -1937,6 +2000,9 @@
/* Define to 1 if you have the `clock_settime' function. */
#define HAVE_CLOCK_SETTIME 1
/* Define to 1 if you have the `closefrom' function. */
#define HAVE_CLOSEFROM 1
/* Define to 1 if you have the <cthreads.h> header file. */
/* #undef HAVE_CTHREADS_H */
@@ -1983,6 +2049,9 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fdopendir' function. */
#define HAVE_FDOPENDIR 1
/* Define to 1 if you have the `finite' function. */
#define HAVE_FINITE 1
@@ -1997,6 +2066,12 @@
/* Define to 1 if you have the `fstat' function. */
#define HAVE_FSTAT 1
/* Define to 1 if you have the `fstatat' function. */
#define HAVE_FSTATAT 1
/* Define to 1 if we have realpath() that supports NULL as the 2nd argument */
#define HAVE_FUNC_POSIX_REALPATH 1
/* Define to 1 if you have the `getbootfile' function. */
/* #undef HAVE_GETBOOTFILE */
@@ -2237,6 +2312,9 @@
/* if you have NT Threads */
/* #undef HAVE_NT_THREADS */
/* Define to 1 if you have the `openat' function. */
#define HAVE_OPENAT 1
/* Define to 1 if you have the <openssl/cmac.h> header file. */
#define HAVE_OPENSSL_CMAC_H 1
@@ -3043,7 +3121,7 @@
#define PACKAGE "ntp"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "http://bugs.ntp.org./"
#define PACKAGE_BUGREPORT "https://bugs.ntp.org/"
/* Define to the full name of this package. */
#define PACKAGE_NAME "ntp"
@@ -3054,7 +3132,7 @@
#define PACKAGE_TARNAME "ntp"
/* Define to the home page for this package. */
#define PACKAGE_URL "http://www.ntp.org./"
#define PACKAGE_URL "https://www.ntp.org/"
/* Define to the version of this package. */