summaryrefslogtreecommitdiff
path: root/net/chrony/Makefile
diff options
context:
space:
mode:
authorhannken <hannken>2010-02-26 09:27:43 +0000
committerhannken <hannken>2010-02-26 09:27:43 +0000
commit9665d4351277662e63dd00413659e34bcc888340 (patch)
tree04739d6ef5ed0033da662e00fef1701576365100 /net/chrony/Makefile
parent5cdf11148fa799c5065fd073ab45e10eb196a832 (diff)
downloadpkgsrc-9665d4351277662e63dd00413659e34bcc888340.tar.gz
Update to 1.24.
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>
Diffstat (limited to 'net/chrony/Makefile')
-rw-r--r--net/chrony/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/net/chrony/Makefile b/net/chrony/Makefile
index 7caceb6013c..1b526be9964 100644
--- a/net/chrony/Makefile
+++ b/net/chrony/Makefile
@@ -1,38 +1,40 @@
-# $NetBSD: Makefile,v 1.25 2009/05/20 00:58:25 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2010/02/26 09:27:43 hannken Exp $
-DISTNAME= chrony-1.23
-PKGREVISION= 1
+DISTNAME= chrony-1.24
CATEGORIES= net
-MASTER_SITES= ftp://chrony.sunsite.dk/projects/chrony/
+MASTER_SITES= http://download.tuxfamily.org/chrony/
MAINTAINER= hannken@NetBSD.org
-HOMEPAGE= http://chrony.sunsite.dk/index.php
+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
-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_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} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
for file in ${EGFILES}; do \
${INSTALL_DATA} ${WRKSRC}/examples/$${file} \
- ${EGDIR}/$${file}; \
+ ${DESTDIR}${EGDIR}/$${file}; \
done
.include "../../devel/readline/buildlink3.mk"