Update to 5.7p2 based on PR 49583 by Paul B. Henson. 2015-01-20 OpenNTPD 5.7p2 * Switched the drift file from an unscaled frequency offset to ppm. The latter format is compatible with that of ntp.org. This allows easy switching between ntpd daemons * Fixed a memory leak in DNS lookups. * Added support for setting the process title on Linux and OS X. The different processes are now possible to tell apart by role in the process list. * Import NetBSD support. * Various bugfixes and refinements from the community. 2015-01-08 OpenNTPD 5.7p1 * Support for a new build infrastructure based on the LibreSSL framework. Source code is integrated directly from the OpenBSD tree with few manual changes, easing maintenance. * Removed support for several OSes pending test reports and updated portability code. * Supports the Simple Network Time Protocol version 4 as described in RFC 5905 * Added route virtualization (rdomain) support. * Added ntpctl(8), which allows for querying ntpd(8) at runtime. * Finer-grained clock adjustment via adjfreq / ntp_adjtime where available. * Improved latency on heavily-loaded machines.diff -r1.2 -r1.3 pkgsrc/net/openntpd/DESCR
(wiz)
@@ -1,8 +1,14 @@ | @@ -1,8 +1,14 @@ | |||
1 | OpenNTPd is a free implementation of the Network Time Protocol. | 1 | OpenNTPD is a FREE, easy to use implementation of the Network Time Protocol. It | |
2 | It provides the ability to sync the local clock to remote NTP servers and | 2 | provides the ability to sync the local clock to remote NTP servers and can act | |
3 | can act as NTP server itself, redistributing the local clock. | 3 | as NTP server itself, redistributing the local clock. | |
4 | 4 | |||
5 | OpenNTPd is primarily developed by Henning Brauer and Alexander Guy as part | 5 | OpenNTPD was primarily developed by Henning Brauer as part of the OpenBSD | |
6 | of the OpenBSD Project. The portable version is made by Darren Tucker. | 6 | Project and gets released as a base component of OpenBSD every six months. | |
7 | The software and is freely useable and re-useable by everyone under a BSD | 7 | ||
8 | license. | 8 | The portable version is maintained by Brent Cook and is mirrored on Github and | |
9 | available as periodic tarball releases. Contributions are welcome to both the | |||
10 | OpenNTPD core and the portable build framework. | |||
11 | ||||
12 | The software is freely usable and re-usable by everyone under a BSD license. | |||
13 | The OpenBSD project sells CDs, T-Shirts and Posters. Sales of these items help | |||
14 | to fund development. |
@@ -1,39 +1,53 @@ | @@ -1,39 +1,53 @@ | |||
1 | # $NetBSD: Makefile,v 1.36 2015/01/17 05:51:43 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.37 2015/01/20 10:45:01 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= openntpd-3.9p1 | 3 | DISTNAME= openntpd-5.7p2 | |
4 | PKGREVISION= 5 | |||
5 | CATEGORIES= net | 4 | CATEGORIES= net | |
6 | MASTER_SITES= ${MASTER_SITE_OPENBSD:=OpenNTPD/} | 5 | MASTER_SITES= ${MASTER_SITE_OPENBSD:=OpenNTPD/} | |
7 | 6 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= henson@acm.org | |
9 | HOMEPAGE= http://www.openntpd.org/ | 8 | HOMEPAGE= http://www.openntpd.org/ | |
10 | COMMENT= Free implementation of the Network Time Protocol | 9 | COMMENT= Free implementation of the Network Time Protocol | |
10 | LICENSE= isc | |||
11 | 11 | |||
12 | CONFLICTS+= ntp-[0-9]* | 12 | CONFLICTS+= ntp-[0-9]* | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | CONFIGURE_ARGS+= sysconfdir=${PKG_SYSCONFDIR:Q} | 15 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
16 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |||
17 | CONFIGURE_ARGS+= --with-privsep-path=path=${VARBASE}/chroot/ntpd | |||
18 | ||||
19 | SUBST_CLASSES+= ntpd_m | |||
20 | SUBST_STAGE.ntpd_m= pre-build | |||
21 | SUBST_FILES.ntpd_m= ntpd.8 ntpctl.8 | |||
22 | SUBST_SED.ntpd_m+= -e 's,/var/db/,${VARBASE}/db/openntpd/,g' | |||
23 | SUBST_SED.ntpd_m+= -e 's,/var/run/,${VARBASE}/run/,g' | |||
24 | ||||
25 | SUBST_CLASSES+= ntpd_h | |||
26 | SUBST_STAGE.ntpd_h= pre-build | |||
27 | SUBST_FILES.ntpd_h= ntpd.h | |||
28 | SUBST_SED.ntpd_h+= -e 's,/db/ntpd.drift,/db/openntpd/ntpd.drift,g' | |||
16 | 29 | |||
17 | EGDIR= ${PREFIX}/share/examples/openntpd | 30 | EGDIR= ${PREFIX}/share/examples/openntpd | |
18 | CONF_FILES= ${EGDIR}/ntpd.conf ${PKG_SYSCONFDIR}/ntpd.conf | 31 | CONF_FILES= ${EGDIR}/ntpd.conf ${PKG_SYSCONFDIR}/ntpd.conf | |
19 | 32 | |||
20 | RCD_SCRIPTS= openntpd | 33 | RCD_SCRIPTS= openntpd | |
21 | PKG_GROUPS= _ntp | 34 | PKG_GROUPS= _ntp | |
22 | PKG_USERS= _ntp:_ntp | 35 | PKG_USERS= _ntp:_ntp | |
23 | PKG_HOME._ntp= ${VARBASE}/chroot/ntpd | 36 | PKG_HOME._ntp= ${VARBASE}/chroot/ntpd | |
24 | 37 | |||
25 | BUILD_DEFS+= VARBASE | 38 | BUILD_DEFS+= VARBASE | |
26 | 39 | |||
27 | OWN_DIRS= ${VARBASE}/chroot/ntpd | 40 | OWN_DIRS= ${VARBASE}/chroot/ntpd | |
28 | AUTO_MKDIRS= yes | 41 | AUTO_MKDIRS= yes | |
29 | 42 | |||
30 | INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 ${EGDIR} | 43 | INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 ${EGDIR} | |
31 | 44 | |||
32 | do-install: | 45 | do-install: | |
33 | ${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${DESTDIR}${PREFIX}/sbin/ntpd | 46 | ${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${DESTDIR}${PREFIX}/sbin/ntpd | |
47 | ln ${DESTDIR}${PREFIX}/sbin/ntpd ${DESTDIR}${PREFIX}/sbin/ntpctl | |||
34 | ${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpd.8 | 48 | ${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpd.8 | |
49 | ${INSTALL_MAN} ${WRKSRC}/ntpctl.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpctl.8 | |||
35 | ${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ntpd.conf.5 | 50 | ${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ntpd.conf.5 | |
36 | ${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${DESTDIR}${EGDIR}/ntpd.conf | 51 | ${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${DESTDIR}${EGDIR}/ntpd.conf | |
37 | 52 | |||
38 | .include "../../security/openssl/buildlink3.mk" | |||
39 | .include "../../mk/bsd.pkg.mk" | 53 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,7 @@ | @@ -1,5 +1,7 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2014/03/11 14:05:10 jperkin Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2015/01/20 10:45:01 wiz Exp $ | |
2 | man/man5/ntpd.conf.5 | 2 | man/man5/ntpd.conf.5 | |
3 | man/man8/ntpctl.8 | |||
3 | man/man8/ntpd.8 | 4 | man/man8/ntpd.8 | |
5 | sbin/ntpctl | |||
4 | sbin/ntpd | 6 | sbin/ntpd | |
5 | share/examples/openntpd/ntpd.conf | 7 | share/examples/openntpd/ntpd.conf |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2006/08/20 14:50:43 peter Exp $ | 1 | $NetBSD: distinfo,v 1.8 2015/01/20 10:45:01 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (openntpd-3.9p1.tar.gz) = 098a435d02886a9e4d34afb15b15fde795eda1e9 | 3 | SHA1 (openntpd-5.7p2.tar.gz) = ccfb9a0c9acff8a8643d7604ed66a070b7f6bd4e | |
4 | RMD160 (openntpd-3.9p1.tar.gz) = c348004116c78810daa9451f15abcc26788949a8 | 4 | RMD160 (openntpd-5.7p2.tar.gz) = e99c3d1a7535ea4b85feca93d4b5158e396ac740 | |
5 | Size (openntpd-3.9p1.tar.gz) = 152700 bytes | 5 | Size (openntpd-5.7p2.tar.gz) = 408421 bytes |