b21d20de70
since 1.29 see file NEWS in the distfile. Security fixes since 1.29: * Modify chronyc protocol to prevent amplification attacks (CVE-2014-0021) (incompatible with previous protocol version, chronyc supports both) * Protect authenticated symmetric NTP associations against DoS attacks (CVE-2015-1799) * Fix access configuration with subnet size indivisible by 4 (CVE-2015-1821) * Fix initialization of reply slots for authenticated commands (CVE-2015-1822)
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2015/04/13 10:03:21 hannken Exp $
|
|
|
|
DISTNAME= chrony-1.31.1
|
|
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}
|
|
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
|
|
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:
|
|
set -e; for file in ${EGFILES}; do \
|
|
${INSTALL_DATA} "${WRKSRC}/examples/$${file}" \
|
|
"${DESTDIR}${EGDIR}/$${file}"; \
|
|
done
|
|
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|