The changes in version 1.23 are * Support for MIPS, x86_64, sparc, alpha, arm, FreeBSD * Fix serious sign-extension error in handling IP addresses * RTC support can be excluded at compile time * Make sources gcc-4 compatible * Fix various compiler warnings * Handle fluctuations in peer distance better. * Fixed handling of stratum zero. * Fix various problems for 64-bit systems * Flush chronyc output streams after each command, to allow it to be driven through pipes * Manpage improvements The changes in version 1.21 are * Don't include Linux kernel header files any longer : allows chrony to compile on recent distros. * Stop trying to use RTC if continuous streams of error messages would occur (Linux with HPET).
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2008/08/12 16:37:32 sborrill Exp $
|
|
|
|
DISTNAME= chrony-1.23
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://chrony.sunsite.dk/projects/chrony/
|
|
|
|
MAINTAINER= hannken@NetBSD.org
|
|
HOMEPAGE= http://chrony.sunsite.dk/index.php
|
|
COMMENT= Daemon for maintaining the accuracy of computer clocks
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
AUTO_MKDIRS= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/chrony
|
|
EGFILES= chrony.conf.example chrony.keys.example
|
|
RCD_SCRIPTS= chronyd
|
|
|
|
MAKE_ENV+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
|
|
MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q}
|
|
MAKE_ENV+= INSTALL_MAN=${INSTALL_MAN:Q}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= ${EGFILES:S/^/examples\//} chrony.conf.5 chronyd.8
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
for file in ${EGFILES}; do \
|
|
${INSTALL_DATA} ${WRKSRC}/examples/$${file} \
|
|
${EGDIR}/$${file}; \
|
|
done
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|