pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/chrony chrony: update to 3.4nb1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/809b2de86ada
branches:  trunk
changeset: 393007:809b2de86ada
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 10 19:16:46 2019 +0000

description:
chrony: update to 3.4nb1.

Add default-on nettle option.
Requested by Fabien in PR 54042, ok hannken@

diffstat:

 net/chrony/Makefile   |   9 ++++++---
 net/chrony/options.mk |  14 ++++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 76f426a52e17 -r 809b2de86ada net/chrony/Makefile
--- a/net/chrony/Makefile       Sun Mar 10 19:03:10 2019 +0000
+++ b/net/chrony/Makefile       Sun Mar 10 19:16:46 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2018/10/01 15:53:58 nia Exp $
+# $NetBSD: Makefile,v 1.37 2019/03/10 19:16:46 wiz Exp $
 
 DISTNAME=      chrony-3.4
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://download.tuxfamily.org/chrony/
 
@@ -27,8 +28,8 @@
 
 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_VARS.paths+=     PKG_SYSCONFDIR
+SUBST_VARS.paths+=     VARBASE
 SUBST_STAGE.paths=     pre-configure
 
 post-install:
@@ -37,5 +38,7 @@
        ${INSTALL_DATA} "${WRKSRC}/examples/chrony.keys.example" \
            "${DESTDIR}${EGDIR}/chrony.keys.example";
 
+.include "options.mk"
+
 .include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 76f426a52e17 -r 809b2de86ada net/chrony/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/chrony/options.mk     Sun Mar 10 19:16:46 2019 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2019/03/10 19:16:46 wiz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.chrony
+PKG_SUPPORTED_OPTIONS= nettle
+PKG_SUGGESTED_OPTIONS= nettle
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnettle)
+USE_TOOLS+=    pkg-config
+.include "../../security/nettle/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-nettle
+.endif



Home | Main Index | Thread Index | Old Index