summaryrefslogtreecommitdiff
path: root/net/openntpd/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-07-03 12:31:12 +0000
committerwiz <wiz@pkgsrc.org>2015-07-03 12:31:12 +0000
commite6baca450ad66d17c53d0b442d97f8fc55255294 (patch)
tree4c7a5e884115ee8fc0b6b54cc7842db24176dd41 /net/openntpd/Makefile
parentbe7e201204e9267c52550e98891abbcfb0621c98 (diff)
downloadpkgsrc-e6baca450ad66d17c53d0b442d97f8fc55255294.tar.gz
Update to 5.7p4, provided by Paul B. Henson in PR 49930:
Changes since OpenNTPD 5.7p3 ============================ * Added support for using HTTPS time constraints to validate NTP responses. * Workaround a bug in the Solaris adjtime call that caused the olddelta to never reach 0, leading to continual sync/unsync messages from ntpd. * Workaround an overflow on systems with 32-bit time_t. This can result in a failure to set the time if the initial clock is set later than early 2036. Systems with a 32-bit time_t should upgrade well in advance of this date, but today this helps with systems that boot with an invalid initial time. Note:the HTTPS time constraints feature is not currently available in pkgsrc due to the lack of libtls.
Diffstat (limited to 'net/openntpd/Makefile')
-rw-r--r--net/openntpd/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index b64398e6a6c..228b8994517 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2015/02/16 11:03:20 jperkin Exp $
+# $NetBSD: Makefile,v 1.42 2015/07/03 12:31:12 wiz Exp $
-DISTNAME= openntpd-5.7p3
+DISTNAME= openntpd-5.7p4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_OPENBSD:=OpenNTPD/}
@@ -14,17 +14,16 @@ CONFLICTS+= ntp-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+= --with-privsep-path=path=${VARBASE}/chroot/ntpd
SUBST_CLASSES+= ntpd_m
SUBST_STAGE.ntpd_m= pre-build
-SUBST_FILES.ntpd_m= ntpd.8 ntpctl.8
+SUBST_FILES.ntpd_m= src/ntpd.8 src/ntpctl.8
SUBST_SED.ntpd_m+= -e 's,/var/db/,${VARBASE}/db/openntpd/,g'
SUBST_SED.ntpd_m+= -e 's,/var/run/,${VARBASE}/run/,g'
SUBST_CLASSES+= ntpd_h
SUBST_STAGE.ntpd_h= pre-build
-SUBST_FILES.ntpd_h= ntpd.h
+SUBST_FILES.ntpd_h= src/ntpd.h
SUBST_SED.ntpd_h+= -e 's,/db/ntpd.drift,/db/openntpd/ntpd.drift,g'
EGDIR= ${PREFIX}/share/examples/openntpd
@@ -43,11 +42,11 @@ AUTO_MKDIRS= yes
INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 ${EGDIR}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${DESTDIR}${PREFIX}/sbin/ntpd
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ntpd ${DESTDIR}${PREFIX}/sbin/ntpd
ln ${DESTDIR}${PREFIX}/sbin/ntpd ${DESTDIR}${PREFIX}/sbin/ntpctl
- ${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpd.8
- ${INSTALL_MAN} ${WRKSRC}/ntpctl.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpctl.8
- ${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ntpd.conf.5
+ ${INSTALL_MAN} ${WRKSRC}/src/ntpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpd.8
+ ${INSTALL_MAN} ${WRKSRC}/src/ntpctl.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ntpctl.8
+ ${INSTALL_MAN} ${WRKSRC}/src/ntpd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ntpd.conf.5
${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${DESTDIR}${EGDIR}/ntpd.conf
.include "../../mk/bsd.pkg.mk"