[129821] trunk/dports/sysutils/ntp
dluke at macports.org
dluke at macports.org
Sat Dec 20 21:01:58 PST 2014
Revision: 129821
https://trac.macports.org/changeset/129821
Author: dluke at macports.org
Date: 2014-12-20 21:01:58 -0800 (Sat, 20 Dec 2014)
Log Message:
-----------
ntp: version bump, update to 4.2.8 (security fixes)
Modified Paths:
--------------
trunk/dports/sysutils/ntp/Portfile
Added Paths:
-----------
trunk/dports/sysutils/ntp/files/patch-ntpd-ntp_io.c.diff
Modified: trunk/dports/sysutils/ntp/Portfile
===================================================================
--- trunk/dports/sysutils/ntp/Portfile 2014-12-21 03:36:43 UTC (rev 129820)
+++ trunk/dports/sysutils/ntp/Portfile 2014-12-21 05:01:58 UTC (rev 129821)
@@ -3,8 +3,7 @@
PortSystem 1.0
name ntp
-version 4.2.7p476
-revision 1
+version 4.2.8
epoch 1
categories sysutils net
maintainers geeklair.net:dluke
@@ -16,16 +15,16 @@
used to synchronize a computer to Internet time \
servers or other sources.
homepage http://www.ntp.org/
-master_sites http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/
+master_sites http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-[join [lrange [split ${version} .] 0 1] .]/
-distname ${name}-dev-${version}
+checksums md5 6972a626be6150db8cfbd0b63d8719e7 \
+ sha1 6d1c017a8a0e97d5cf8bf4e5e38333973ffd22d5 \
+ rmd160 d68edfca4dd65ccca8ccc40a90b0ec1110982dc3
-checksums md5 24b0ff5ddbd2245af00eb528cc779c24 \
- sha1 9f6eacbea4bf335339815cb766e5fbf96b6ead96 \
- rmd160 a387b78f7a6a6dac7dd61cf9d2ebabe76d52e193
-
platforms darwin
+patchfiles patch-ntpd-ntp_io.c.diff
+
configure.args --enable-ipv6
startupitem.create yes
Added: trunk/dports/sysutils/ntp/files/patch-ntpd-ntp_io.c.diff
===================================================================
--- trunk/dports/sysutils/ntp/files/patch-ntpd-ntp_io.c.diff (rev 0)
+++ trunk/dports/sysutils/ntp/files/patch-ntpd-ntp_io.c.diff 2014-12-21 05:01:58 UTC (rev 129821)
@@ -0,0 +1,22 @@
+--- ntpd/ntp_io.c.orig 2014-12-19 03:56:55.000000000 -0800
++++ ntpd/ntp_io.c 2014-12-20 15:17:12.000000000 -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"));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141220/4baa4da7/attachment.html>
More information about the macports-changes
mailing list