diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-04-15 21:57:26 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-04-15 21:57:26 +0800 |
commit | ff9d4d45e6f34da47b58a1df3ca7e92083e044be (patch) | |
tree | 22f02e874df06f6aad61f7736e3b4f7a46169590 /net/ntp-stable | |
parent | d9636e25e6fb9514471a5f81938ba387fe0cd266 (diff) | |
download | freebsd-ports-gnome-ff9d4d45e6f34da47b58a1df3ca7e92083e044be.tar.gz freebsd-ports-gnome-ff9d4d45e6f34da47b58a1df3ca7e92083e044be.tar.zst freebsd-ports-gnome-ff9d4d45e6f34da47b58a1df3ca7e92083e044be.zip |
maintainer-update:
update ntp port that incorporates latest security fix.
PR: 26503
Submitted by: Cy.Schubert@uumail.gov.bc.ca
Diffstat (limited to 'net/ntp-stable')
-rw-r--r-- | net/ntp-stable/Makefile | 6 | ||||
-rw-r--r-- | net/ntp-stable/distinfo | 2 | ||||
-rw-r--r-- | net/ntp-stable/files/patch-aa | 38 | ||||
-rw-r--r-- | net/ntp-stable/files/patch-ad | 35 | ||||
-rw-r--r-- | net/ntp-stable/files/patch-ntp_control.c | 44 | ||||
-rw-r--r-- | net/ntp-stable/pkg-plist | 22 |
6 files changed, 56 insertions, 91 deletions
diff --git a/net/ntp-stable/Makefile b/net/ntp-stable/Makefile index 84a5278d22ec..80d2c0f6722e 100644 --- a/net/ntp-stable/Makefile +++ b/net/ntp-stable/Makefile @@ -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 --git a/net/ntp-stable/distinfo b/net/ntp-stable/distinfo index 6b782c116eea..d5f19650bd3b 100644 --- a/net/ntp-stable/distinfo +++ b/net/ntp-stable/distinfo @@ -1 +1 @@ -MD5 (ntp-4.0.99k.tar.gz) = 6335d5b9b04a2d4670c4eed7300cdb82 +MD5 (ntp-4.0.99k23.tar.gz) = 7b3b73e42f5a10324d06ada4996dccbb diff --git a/net/ntp-stable/files/patch-aa b/net/ntp-stable/files/patch-aa new file mode 100644 index 000000000000..2b418488de44 --- /dev/null +++ b/net/ntp-stable/files/patch-aa @@ -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 --git a/net/ntp-stable/files/patch-ad b/net/ntp-stable/files/patch-ad deleted file mode 100644 index d6885c485f08..000000000000 --- a/net/ntp-stable/files/patch-ad +++ /dev/null @@ -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 --git a/net/ntp-stable/files/patch-ntp_control.c b/net/ntp-stable/files/patch-ntp_control.c deleted file mode 100644 index e93732fb37fc..000000000000 --- a/net/ntp-stable/files/patch-ntp_control.c +++ /dev/null @@ -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 --git a/net/ntp-stable/pkg-plist b/net/ntp-stable/pkg-plist index d0291d3b8543..58a13d1f220c 100644 --- a/net/ntp-stable/pkg-plist +++ b/net/ntp-stable/pkg-plist @@ -42,6 +42,8 @@ share/doc/ntp/driver34.htm 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/parsedata.htm 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/alice44.gif 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/igclock.gif 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 |