# $Id: Portfile 144898 2016-01-20 17:14:05Z dluke@macports.org $ PortSystem 1.0 name ntp version 4.2.8p6 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 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-[join [lrange [split ${version} .] 0 1] .]/ checksums md5 60049f51e9c8305afe30eb22b711c5c6 \ sha1 7244b0fb66ceb66283480e8f83a4c4a2099f9cd7 \ rmd160 5490daa9472a121184c64e5b84949a8c16a87ec0 platforms darwin configure.args --enable-ipv6 ac_cv_search_nlist=no depends_lib port:openssl port:libevent port:libedit depends_build port:pkgconfig startupitem.create yes startupitem.netchange yes startupitem.executable ${prefix}/sbin/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 xinstall -m 755 -d ${destroot}${prefix}/var/run \ ${destroot}${prefix}/var/db destroot.keepdirs ${destroot}${prefix}/var/run \ ${destroot}${prefix}/var/db } #- 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+)\.\*Stable