pkgsrc/net/chrony/Makefile
nia 02ad6f34d5 chrony: update to 4.1
New in version 4.1
==================

Enhancements
------------
* Add support for NTS servers specified by IP address (matching
  Subject Alternative Name in server certificate)
* Add source-specific configuration of trusted certificates
* Allow multiple files and directories with trusted certificates
* Allow multiple pairs of server keys and certificates
* Add copy option to server/pool directive
* Increase PPS lock limit to 40% of pulse interval
* Perform source selection immediately after loading dump files
* Reload dump files for addresses negotiated by NTS-KE server
* Update seccomp filter and add less restrictive level
* Restart ongoing name resolution on online command

Bug fixes
---------
* Fix responding to IPv4 command requests on FreeBSD
* Fix dump files to not include uncorrected offset
* Fix initstepslew to accept time from own NTP clients
* Reset NTP address and port when no longer negotiated by NTS-KE server
2021-06-12 08:38:01 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.46 2021/06/12 08:38:01 nia Exp $
DISTNAME= chrony-4.1
CATEGORIES= net
MASTER_SITES= https://download.tuxfamily.org/chrony/
MAINTAINER= hannken@NetBSD.org
HOMEPAGE= https://chrony.tuxfamily.org/
COMMENT= Daemon for maintaining the accuracy of computer clocks
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake
HAS_CONFIGURE= YES
BUILD_DEFS+= VARBASE
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/chronyd.pid
AUTO_MKDIRS= yes
OWN_DIRS= ${VARBASE}/lib/chrony
EGDIR= ${PREFIX}/share/examples/chrony
RCD_SCRIPTS= chronyd
SUBST_CLASSES+= paths
SUBST_FILES.paths= examples/chrony.conf.example3
SUBST_VARS.paths= PKG_SYSCONFDIR VARBASE
SUBST_STAGE.paths= pre-configure
post-install:
${INSTALL_DATA} "${WRKSRC}/examples/chrony.conf.example3" \
"${DESTDIR}${EGDIR}/chrony.conf.example";
${INSTALL_DATA} "${WRKSRC}/examples/chrony.keys.example" \
"${DESTDIR}${EGDIR}/chrony.keys.example";
CONF_FILES+= ${EGDIR}/chrony.conf.example \
${PKG_SYSCONFDIR}/chrony.conf
.include "options.mk"
.include "../../devel/editline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"