[Midnightbsd-cvs] mports [19545] trunk/net/ntp: ntp 4.2.8p2

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Jun 30 21:24:05 EDT 2015


Revision: 19545
          http://svnweb.midnightbsd.org/mports/?rev=19545
Author:   laffer1
Date:     2015-06-30 21:24:04 -0400 (Tue, 30 Jun 2015)
Log Message:
-----------
ntp 4.2.8p2

Modified Paths:
--------------
    trunk/net/ntp/Makefile
    trunk/net/ntp/distinfo

Removed Paths:
-------------
    trunk/net/ntp/files/patch-ntpd__ntp_io.c

Modified: trunk/net/ntp/Makefile
===================================================================
--- trunk/net/ntp/Makefile	2015-06-25 22:57:48 UTC (rev 19544)
+++ trunk/net/ntp/Makefile	2015-07-01 01:24:04 UTC (rev 19545)
@@ -1,12 +1,11 @@
 # $MidnightBSD$
 
 PORTNAME=	ntp
-PORTVERSION=	4.2.8
-PORTREVISION=	0
+PORTVERSION=	4.2.8p2
+PORTREVISION=	2
 CATEGORIES=	net ipv6
-MASTER_SITES=	ftp://ftp.udel.edu/pub/ntp/ntp4/ \
-		http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
-		ftp://ftp.archive.de.uu.net/pub/unix/ntp/ntp4/ \
+MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
+		http://archive.ntp.org/ntp4/ntp-4.2/ \
 		ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/P/p/:S/.r/-RC/}
 
@@ -17,10 +16,13 @@
 
 GNU_CONFIGURE=	yes
 OPTIONS_SUB=	yes
-USES=		pathfix shebangfix libtool
+USES=		cpe pathfix shebangfix libtool pkgconfig
 LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
 
-NTP_SHEBANG_FILES=	sbin/ntp-wait sbin/ntptrace
+SHEBANG_FILES=	scripts/ntptrace/ntptrace.in \
+		scripts/ntp-wait/ntp-wait.in \
+		scripts/update-leap/update-leap
+perl_OLD_CMD=	@PATH_PERL@
 
 .include "Makefile.inc"
 
@@ -49,8 +51,6 @@
 .endif
 .endfor
 
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}4
-
 # XXX Temporary hack. Remember to remove this next commit.
 post-extract:
 	@/usr/bin/touch ${WRKSRC}/scripts/build/checkHtmlFileDates
@@ -64,7 +64,5 @@
 	@${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
 	@cd ${WRKSRC}/html && ${FIND} . -print | \
 		${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${DOCSDIR}
-	cd ${PREFIX}; \
-		${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
 
 .include <bsd.port.post.mk>

Modified: trunk/net/ntp/distinfo
===================================================================
--- trunk/net/ntp/distinfo	2015-06-25 22:57:48 UTC (rev 19544)
+++ trunk/net/ntp/distinfo	2015-07-01 01:24:04 UTC (rev 19545)
@@ -1,2 +1,2 @@
-SHA256 (ntp-4.2.8.tar.gz) = 2e920df8b6a5a410567a73767fa458c00c7f0acec3213e69ed0134414a50d8ee
-SIZE (ntp-4.2.8.tar.gz) = 6750364
+SHA256 (ntp-4.2.8p2.tar.gz) = 0d69bc0e95caad43ea04fdad410e756bae1a71e67b1c2bd799b76b55e04c9b31
+SIZE (ntp-4.2.8p2.tar.gz) = 6820869

Deleted: trunk/net/ntp/files/patch-ntpd__ntp_io.c
===================================================================
--- trunk/net/ntp/files/patch-ntpd__ntp_io.c	2015-06-25 22:57:48 UTC (rev 19544)
+++ trunk/net/ntp/files/patch-ntpd__ntp_io.c	2015-07-01 01:24:04 UTC (rev 19545)
@@ -1,22 +0,0 @@
---- ntpd/ntp_io.c.orig	2014-12-19 03:56:55.000000000 -0800
-+++ ntpd/ntp_io.c	2014-12-21 22:36:02.977441698 -0800
-@@ -3454,15 +3454,15 @@
- 	if (AF_INET6 == itf->family) {
- 		DPRINTF(1, ("Got an IPv6 packet, from <%s> (%d) to <%s> (%d)\n",
- 			stoa(&rb->recv_srcadr),
--			IN6_IS_ADDR_LOOPBACK(&rb->recv_srcadr),
-+			IN6_IS_ADDR_LOOPBACK(&rb->recv_srcadr.sa6.sin6_addr),
- 			stoa(&itf->sin),
--			!IN6_IS_ADDR_LOOPBACK(&itf->sin)
-+			!IN6_IS_ADDR_LOOPBACK(&itf->sin.sa6.sin6_addr)
- 			));
- 	}
- 
- 	if (   AF_INET6 == itf->family
--	    && IN6_IS_ADDR_LOOPBACK(&rb->recv_srcadr)
--	    && !IN6_IS_ADDR_LOOPBACK(&itf->sin)
-+	    && IN6_IS_ADDR_LOOPBACK(&rb->recv_srcadr.sa6.sin6_addr)
-+	    && !IN6_IS_ADDR_LOOPBACK(&itf->sin.sa6.sin6_addr)
- 	   ) {
- 		packets_dropped++;
- 		DPRINTF(1, ("DROPPING that packet\n"));



More information about the Midnightbsd-cvs mailing list