Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 21:38:22 -0700 (PDT)
From:      Cy.Schubert@uumail.gov.bc.ca
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26503: New Ntp Port from Maintainer
Message-ID:  <200104120438.f3C4cMr41713@cwsys.cwsent.com>

next in thread | raw e-mail | index | archive | help

>Number:         26503
>Category:       ports
>Synopsis:       New ntp port by maintainer
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 11 21:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cy.Schubert@uumail.gov.bc.ca
>Release:        FreeBSD 4.3-RC i386
>Organization:
ITSD Province of BC
>Environment:
System: FreeBSD cwsys 4.3-RC FreeBSD 4.3-RC #0: Mon Apr 9 00:09:29 PDT 2001 root@cwsys:/export2/obj/opt/cvs-430b/src/sys/CWSYS i386


>Description:
New ntp port that incorporates latest security fix.
>How-To-Repeat:
N/A
>Fix:

diff -urPN --exclude=CVS --exclude=00_TRANS.TBL ntp/Makefile ntp-010411/Makefile
--- ntp/Makefile	Sun Apr  8 14:11:20 2001
+++ ntp-010411/Makefile	Wed Apr 11 20:35:46 2001
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	ntp
-PORTVERSION=	4.0.99k
-PORTREVISION=	2
+PORTVERSION=	4.0.99k23
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.udel.edu/pub/ntp/ntp4/
+MASTER_SITES=	ftp://ftp.udel.edu/pub/ntp/ntp4/ \
+		http://www.eeics.udel.edu/~ntp/ntp_spool/ntp4/
 
 MAINTAINER=	Cy.Schubert@uumail.gov.bc.ca
 
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL ntp/distinfo ntp-010411/distinfo
--- ntp/distinfo	Sat Mar 10 09:48:41 2001
+++ ntp-010411/distinfo	Wed Apr 11 20:45:38 2001
@@ -1 +1 @@
-MD5 (ntp-4.0.99k.tar.gz) = 6335d5b9b04a2d4670c4eed7300cdb82
+MD5 (ntp-4.0.99k23.tar.gz) = 7b3b73e42f5a10324d06ada4996dccbb
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL ntp/files/patch-aa ntp-010411/files/patch-aa
--- ntp/files/patch-aa	Wed Dec 31 16:00:00 1969
+++ ntp-010411/files/patch-aa	Wed Apr 11 20:54:06 2001
@@ -0,0 +1,38 @@
+--- ntpd/ntp_control.c.orig	Mon Apr  9 13:19:56 2001
++++ ntpd/ntp_control.c	Wed Apr 11 20:53:28 2001
+@@ -1823,7 +1823,7 @@
+ 	 * Delete leading commas and white space
+ 	 */
+ 	while (reqpt < reqend && (*reqpt == ',' ||
+-	    isspace((int)*reqpt)))
++	    isspace((unsigned char)*reqpt)))
+ 		reqpt++;
+ 	if (reqpt >= reqend)
+ 		return (0);
+@@ -1846,7 +1846,7 @@
+ 				tp++;
+ 			}
+ 			if ((*tp == '\0') || (*tp == '=')) {
+-				while (cp < reqend && isspace((int)*cp))
++				while (cp < reqend && isspace((unsigned char)*cp))
+ 					cp++;
+ 				if (cp == reqend || *cp == ',') {
+ 					buf[0] = '\0';
+@@ -1859,7 +1859,7 @@
+ 				if (*cp == '=') {
+ 					cp++;
+ 					tp = buf;
+-					while (cp < reqend && isspace((int)*cp))
++					while (cp < reqend && isspace((unsigned char)*cp))
+ 						cp++;
+ 					while (cp < reqend && *cp != ',') {
+ 						*tp++ = *cp++;
+@@ -1870,7 +1870,7 @@
+ 						cp++;
+ 					while (tp > buf) {
+ 						*tp-- = '\0';
+-						if (!isspace((int)(*tp)))
++						if (!isspace((unsigned char)(*tp)))
+ 							break;
+ 					}
+ 					reqpt = cp;
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL ntp/files/patch-ad ntp-010411/files/patch-ad
--- ntp/files/patch-ad	Fri Mar 31 20:28:03 2000
+++ ntp-010411/files/patch-ad	Wed Dec 31 16:00:00 1969
@@ -1,35 +0,0 @@
---- configure.orig	Sun Feb 27 17:01:04 2000
-+++ configure	Tue Mar  7 05:53:20 2000
-@@ -8273,19 +8273,19 @@
- # there is NO way that I can tell to tell if a given OS is using timespec or
- # timeval so just set it here for the one case that is KNOWN to use timespec.
- 
--case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
-- *yes*)
--    cat >>confdefs.h <<\EOF
--#define HAVE_PPSAPI 1
--EOF
--
--    ac_cv_var_oncore_ok=yes
--    cat >>confdefs.h <<\EOF
--#define HAVE_TIMESPEC 1
--EOF
--
--    ;;
--esac
-+#case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
-+# *yes*)
-+#    cat >>confdefs.h <<\EOF
-+##define HAVE_PPSAPI 1
-+#EOF
-+#
-+#    ac_cv_var_oncore_ok=yes
-+#    cat >>confdefs.h <<\EOF
-+##define HAVE_TIMESPEC 1
-+#EOF
-+#
-+#    ;;
-+#esac
- 
- # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
- echo $ac_n "checking for linux/serial.h... $ac_c" 1>&6
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL ntp/files/patch-ntp_control.c ntp-010411/files/patch-ntp_control.c
--- ntp/files/patch-ntp_control.c	Fri Apr  6 07:46:42 2001
+++ ntp-010411/files/patch-ntp_control.c	Wed Dec 31 16:00:00 1969
@@ -1,44 +0,0 @@
---- ntpd/ntp_control.c.orig	Sat Jul 15 10:46:05 2000
-+++ ntpd/ntp_control.c	Fri Apr  6 10:41:43 2001
-@@ -1782,7 +1782,7 @@
- 	 * Delete leading commas and white space
- 	 */
- 	while (reqpt < reqend && (*reqpt == ',' ||
--	    isspace((int)*reqpt)))
-+	    isspace((unsigned char)*reqpt)))
- 		reqpt++;
- 	if (reqpt >= reqend)
- 		return (0);
-@@ -1805,7 +1805,8 @@
- 				tp++;
- 			}
- 			if ((*tp == '\0') || (*tp == '=')) {
--				while (cp < reqend && isspace((int)*cp))
-+				while (cp < reqend &&
-+				    isspace((unsigned char)*cp))
- 					cp++;
- 				if (cp == reqend || *cp == ',') {
- 					buf[0] = '\0';
-@@ -1819,15 +1820,18 @@
- 					cp++;
- 					tp = buf;
- 					while (cp < reqend &&
--					    isspace((int)*cp))
-+					    isspace((unsigned char)*cp))
- 						cp++;
--					while (cp < reqend && *cp !=
--					    ',')
-+					while (cp < reqend && *cp != ',') {
- 						*tp++ = *cp++;
-+						if (tp >= buf + sizeof(buf))
-+							return (0);
-+					}
- 					if (cp < reqend)
- 						cp++;
- 					*tp = '\0';
--					while (isspace((int)(*(tp-1))))
-+					while (tp != buf &&
-+					    isspace((unsigned char)(*(tp-1))))
- 						*(--tp) = '\0';
- 					reqpt = cp;
- 					*data = buf;
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL ntp/pkg-plist ntp-010411/pkg-plist
--- ntp/pkg-plist	Sat Apr 29 16:55:43 2000
+++ ntp-010411/pkg-plist	Tue Apr 10 22:36:31 2001
@@ -42,6 +42,8 @@
 share/doc/ntp/driver35.htm
 share/doc/ntp/driver36.htm
 share/doc/ntp/driver37.htm
+share/doc/ntp/driver38.htm
+share/doc/ntp/driver39.htm
 share/doc/ntp/driver4.htm
 share/doc/ntp/driver5.htm
 share/doc/ntp/driver6.htm
@@ -101,12 +103,10 @@
 share/doc/ntp/parsenew.htm
 share/doc/ntp/patches.htm
 share/doc/ntp/pic/9400n.jpg
-share/doc/ntp/pic/alautun4a.gif
 share/doc/ntp/pic/alice11.gif
 share/doc/ntp/pic/alice12.gif
 share/doc/ntp/pic/alice13.gif
 share/doc/ntp/pic/alice15.gif
-share/doc/ntp/pic/alice15b.gif
 share/doc/ntp/pic/alice23.gif
 share/doc/ntp/pic/alice31.gif
 share/doc/ntp/pic/alice32.gif
@@ -116,12 +116,16 @@
 share/doc/ntp/pic/alice47.gif
 share/doc/ntp/pic/alice51.gif
 share/doc/ntp/pic/alice61.gif
-share/doc/ntp/pic/appletree.gif
 share/doc/ntp/pic/barnstable.gif
 share/doc/ntp/pic/beaver.gif
+share/doc/ntp/pic/boom3.gif
+share/doc/ntp/pic/boom3a.gif
+share/doc/ntp/pic/boom4.gif
+share/doc/ntp/pic/bustardfly.gif
 share/doc/ntp/pic/c51.jpg
 share/doc/ntp/pic/driver29.gif
 share/doc/ntp/pic/fg6021.gif
+share/doc/ntp/pic/fg6039.jpg
 share/doc/ntp/pic/flatheads.gif
 share/doc/ntp/pic/gadget.jpg
 share/doc/ntp/pic/gps167.jpg
@@ -131,21 +135,23 @@
 share/doc/ntp/pic/oncore_evalbig.gif
 share/doc/ntp/pic/oncore_remoteant.jpg
 share/doc/ntp/pic/oncore_utplusbig.gif
+share/doc/ntp/pic/oz2.gif
 share/doc/ntp/pic/panda.gif
 share/doc/ntp/pic/pd_om006.gif
 share/doc/ntp/pic/pd_om011.gif
 share/doc/ntp/pic/pogo.gif
-share/doc/ntp/pic/pogo1.gif
 share/doc/ntp/pic/pogo1a.gif
-share/doc/ntp/pic/pogo3.gif
 share/doc/ntp/pic/pogo3a.gif
-share/doc/ntp/pic/pogo3b.gif
-share/doc/ntp/pic/pogoa.gif
+share/doc/ntp/pic/pogo4.gif
+share/doc/ntp/pic/pogo5.gif
+share/doc/ntp/pic/pogo6.gif
+share/doc/ntp/pic/pogo8.gif
 share/doc/ntp/pic/pzf509.jpg
 share/doc/ntp/pic/rabbit.gif
 share/doc/ntp/pic/sheepb.jpg
-share/doc/ntp/pic/tardisa.gif
+share/doc/ntp/pic/stack1a.jpg
 share/doc/ntp/pic/tonea.gif
+share/doc/ntp/pic/wingdorothy.gif
 share/doc/ntp/porting.htm
 share/doc/ntp/pps.htm
 share/doc/ntp/prefer.htm
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104120438.f3C4cMr41713>