summaryrefslogtreecommitdiff
path: root/net/chrony/Makefile
diff options
context:
space:
mode:
authorhannken <hannken>2013-08-16 08:30:20 +0000
committerhannken <hannken>2013-08-16 08:30:20 +0000
commit9ca8ff0b0b72ee0db2ef1bbe97a5353ef44357a1 (patch)
tree50f71aae0f46e6a12dd39d6fc43f5f732c9f94ee /net/chrony/Makefile
parentb06b0f25a400e3a6c5b44db1cb140b3c098f2c71 (diff)
downloadpkgsrc-9ca8ff0b0b72ee0db2ef1bbe97a5353ef44357a1.tar.gz
Update chrony to version 1.29. For a full list of changes
since 1.24 see file NEWS in the distfile. Security fixes since 1.24: * Fix crash when processing crafted commands (CVE-2012-4502) (possible with IP addresses allowed by cmdallow and localhost) * Don't send uninitialized data in SUBNETS_ACCESSED and CLIENT_ACCESSES replies (CVE-2012-4503) (not used by chronyc) Reviewed by: Joerg Sonnenberger <joerg@netbsd.org>
Diffstat (limited to 'net/chrony/Makefile')
-rw-r--r--net/chrony/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/net/chrony/Makefile b/net/chrony/Makefile
index 761f47f9555..8bf9e272f95 100644
--- a/net/chrony/Makefile
+++ b/net/chrony/Makefile
@@ -1,36 +1,37 @@
-# $NetBSD: Makefile,v 1.28 2013/07/15 02:02:26 ryoon Exp $
+# $NetBSD: Makefile,v 1.29 2013/08/16 08:30:20 hannken Exp $
-DISTNAME= chrony-1.24
+DISTNAME= chrony-1.29
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
+LICENSE= gnu-gpl-v2
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}
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
AUTO_MKDIRS= yes
+OWN_DIRS= ${VARBASE}/lib/chrony
+
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_FILES.paths= ${EGFILES:S/^/examples\//} conf.c
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 \
+ set -e; for file in ${EGFILES}; do \
${INSTALL_DATA} ${WRKSRC}/examples/$${file} \
${DESTDIR}${EGDIR}/$${file}; \
done