pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/54126: net/unbound: doesn't install unbound-event.h
>Number: 54126
>Category: pkg
>Synopsis: net/unbound: doesn't install unbound-event.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 18 17:50:00 +0000 2019
>Originator: Andrew
>Release: pkgsrc-2019Q1 Wed Apr 10 11:46:30 2019 +0000
>Organization:
>Environment:
NetBSD 8.0_STABLE (ODROID-C1) #0: Sat Dec 8 09:20:36 EST 2018
>Description:
While unbound is being built with --with-libevent however the header that exports the corresponding interface isn't installed. That needs a separate --enable-event-api.
Here's some discussion:
https://nlnetlabs.nl/pipermail/unbound-users/2017-April/004717.html
I wonder if NetBSD's bundled unbound should also do this.
>How-To-Repeat:
Try to #include <unbound-event.h>
>Fix:
diff --git a/net/unbound/Makefile b/net/unbound/Makefile
index 0ffd8fe2a76..9e0df17e999 100644
--- a/net/unbound/Makefile
+++ b/net/unbound/Makefile
@@ -19,6 +19,7 @@ CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound/unbound.pid
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
+CONFIGURE_ARGS+= --enable-event-api
GNU_CONFIGURE= yes
TEST_TARGET= test
diff --git a/net/unbound/PLIST b/net/unbound/PLIST
index 4a983cd100a..c32dc2da463 100644
--- a/net/unbound/PLIST
+++ b/net/unbound/PLIST
@@ -1,5 +1,6 @@
@comment $NetBSD: PLIST,v 1.8 2018/03/15 10:22:49 he Exp $
include/unbound.h
+include/unbound-event.h
lib/libunbound.la
lib/pkgconfig/libunbound.pc
man/man1/unbound-host.1
Home |
Main Index |
Thread Index |
Old Index