pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/unbound Let unbound grow a "dnstap" option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab99f8a41141
branches:  trunk
changeset: 390215:ab99f8a41141
user:      he <he%pkgsrc.org@localhost>
date:      Thu Jan 17 14:19:51 2019 +0000

description:
Let unbound grow a "dnstap" option.
Bump PKGREVISION.

diffstat:

 net/unbound/Makefile   |   5 ++++-
 net/unbound/options.mk |  14 ++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r c51e2580e005 -r ab99f8a41141 net/unbound/Makefile
--- a/net/unbound/Makefile      Thu Jan 17 13:59:56 2019 +0000
+++ b/net/unbound/Makefile      Thu Jan 17 14:19:51 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2018/12/11 17:06:46 he Exp $
+# $NetBSD: Makefile,v 1.62 2019/01/17 14:19:51 he Exp $
 
 DISTNAME=      unbound-1.8.3
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://www.nlnetlabs.nl/downloads/unbound/
 
@@ -22,6 +23,8 @@
 GNU_CONFIGURE=         yes
 TEST_TARGET=           test
 
+.include "options.mk"
+
 # unbound uses some OpenBSD libc functions such as reallocarray(3).
 # The existing tests just look for the symbol in libc regardless
 # of anything in stdlib.h
diff -r c51e2580e005 -r ab99f8a41141 net/unbound/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unbound/options.mk    Thu Jan 17 14:19:51 2019 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.3 2019/01/17 14:19:51 he Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.unbound
+PKG_SUPPORTED_OPTIONS+=        dnstap
+# PKG_SUGGESTED_OPTIONS+=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdnstap)
+CONFIGURE_ARGS+=       --enable-dnstap
+.include "../../net/fstrm/buildlink3.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+.include "../../devel/protobuf-c/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index