[125070] trunk/dports/sysutils/ntp/Portfile
dluke at macports.org
dluke at macports.org
Thu Sep 4 06:26:17 PDT 2014
Revision: 125070
https://trac.macports.org/changeset/125070
Author: dluke at macports.org
Date: 2014-09-04 06:26:17 -0700 (Thu, 04 Sep 2014)
Log Message:
-----------
ntp: revert cal's changes from r125063 and r125062, add epoch. See also #44874
Revision Links:
--------------
https://trac.macports.org/changeset/125063
https://trac.macports.org/changeset/125062
Modified Paths:
--------------
trunk/dports/sysutils/ntp/Portfile
Modified: trunk/dports/sysutils/ntp/Portfile
===================================================================
--- trunk/dports/sysutils/ntp/Portfile 2014-09-04 12:11:36 UTC (rev 125069)
+++ trunk/dports/sysutils/ntp/Portfile 2014-09-04 13:26:17 UTC (rev 125070)
@@ -1,49 +1,51 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
name ntp
-version 4.2.7p470
-checksums rmd160 6d7432caf37d42af4088cf82dcee3cc571526551 \
- sha256 b25ce2a3ccbbdc011044b45ef8ab1d4ea9d1290427bce78c07158e19fb65b333
-
+version 4.2.6p5
+revision 1
+epoch 1
categories sysutils net
maintainers geeklair.net:dluke
description NTP is a protocol designed to synchronize the clocks of computers over a network
-#license NTP (http://www.eecis.udel.edu/~mills/ntp/html/copyright.html), see http://opensource.org/licenses/NTP
-license Permissive
+#license NTP (http://www.eecis.udel.edu/~mills/ntp/html/copyright.html), see http://opensource.org/licenses/NTP
+license Permissive
-long_description NTP is an implementation of RFC-5905. It is widely \
- used to synchronize a computer to Internet time \
- servers or other sources.
+long_description NTP is an implementation of RFC-5905. It is widely \
+ 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/
-distname ntp-dev-${version}
+master_sites http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
+checksums md5 00df80a84ec9528fcfb09498075525bc \
+ sha1 4a5353a4791b6f4315a66c28d504ec6c7926b192 \
+ rmd160 aa1caffe697328b5c3e29dfa50b6074138646d20
+
platforms darwin
-startupitem.create yes
-startupitem.netchange yes
-startupitem.executable ${prefix}/bin/ntpd -n -g -p ${prefix}/var/run/ntpd.pid -f ${prefix}/var/db/ntp.drift -c ${prefix}/etc/ntp.conf
+startupitem.create yes
+startupitem.netchange yes
+startupitem.executable ${prefix}/bin/ntpd -n -g -p ${prefix}/var/run/ntpd.pid -f ${prefix}/var/db/ntp.drift -c ${prefix}/etc/ntp.conf
-post-destroot {
- xinstall -o root -m 644 ${filespath}/ntp.conf \
- ${destroot}${prefix}/etc/ntp.conf.dist
+post-destroot {
+ xinstall -o root -m 644 ${filespath}/ntp.conf \
+ ${destroot}${prefix}/etc/ntp.conf.dist
- xinstall -m 755 -d ${destroot}${prefix}/var/run \
- ${destroot}${prefix}/var/db
+ xinstall -m 755 -d ${destroot}${prefix}/var/run \
+ ${destroot}${prefix}/var/db
- destroot.keepdirs ${destroot}${prefix}/var/run \
- ${destroot}${prefix}/var/db
- }
+ destroot.keepdirs ${destroot}${prefix}/var/run \
+ ${destroot}${prefix}/var/db
+ }
-post-activate {
- if {![file exists ${prefix}/etc/ntp.conf]} {
- file copy ${prefix}/etc/ntp.conf.dist ${prefix}/etc/ntp.conf
- }
- }
+#- our conf file contains restrictions to mitigate CVE-2013-5211
+post-activate {
+ if {![file exists ${prefix}/etc/ntp.conf]} {
+ file copy ${prefix}/etc/ntp.conf.dist ${prefix}/etc/ntp.conf
+ }
+ }
livecheck.type regex
livecheck.url http://support.ntp.org/rss/releases.xml
-livecheck.regex (\\d+\.\\d+.\\d+p\\d+)\.\*Development
+livecheck.regex (\\d+\.\\d+.\\d+p\\d+)\.\*Stable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140904/42a87adf/attachment.html>
More information about the macports-changes
mailing list