7f14dadaf3
The changes in version 1.24 are Security fixes -------------- * Don't reply to invalid cmdmon packets (CVE-2010-0292) * Limit client log memory size (CVE-2010-0293) * Limit rate of syslog messages (CVE-2010-0294) Bug fixes/Enhancements ---------------------- * Support for reference clocks (SHM, SOCK, PPS drivers) * IPv6 support * Linux capabilities support (to drop root privileges) * Memory locking support on Linux * Real-time scheduler support on Linux * Leap second support on Linux * Support for editline library * Support for new Linux readonly adjtime * NTP client support for KoD RATE * Read kernel timestamps for received NTP packets * Reply to NTP requests with correct address on multihomed hosts * Retry name resolving after temporary failure * Fix makestep command, make it available on all systems * Add makestep directive for automatic clock stepping * Don't require _bigadj kernel symbol on NetBSD * Avoid blocking read in Linux RTC driver * Support for Linux on S/390 and PowerPC * Fix various bugs on 64-bit systems * Fix valgrind errors and compiler warnings * Improve configure to support common options and variables * Improve status checking and printing in chronyc * Return non-zero exit code on errors in chronyc * Reduce request timeout in chronyc * Print estimated offset in sourcestats * Changed chronyc protocol, incompatible with older versions Reviewed by: Joerg Sonnenberger <joerg@netbsd.org>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2010/02/26 09:27:43 hannken Exp $
|
|
|
|
DISTNAME= chrony-1.24
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.tuxfamily.org/chrony/
|
|
|
|
MAINTAINER= hannken@NetBSD.org
|
|
HOMEPAGE= http://chrony.tuxfamily.org/
|
|
COMMENT= Daemon for maintaining the accuracy of computer clocks
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= YES
|
|
BUILD_DEFS+= VARBASE
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
AUTO_MKDIRS= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/chrony
|
|
EGFILES= chrony.conf.example chrony.keys.example
|
|
RCD_SCRIPTS= chronyd
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= ${EGFILES:S/^/examples\//} conf.c chrony.conf.5 \
|
|
chronyd.8
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
|
|
SUBST_SED.paths+= -e 's,@VARBASE@,${VARBASE},g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
for file in ${EGFILES}; do \
|
|
${INSTALL_DATA} ${WRKSRC}/examples/$${file} \
|
|
${DESTDIR}${EGDIR}/$${file}; \
|
|
done
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|