aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-10-16 13:19:40 +0000
committerMark Felder <feld@FreeBSD.org>2014-10-16 13:19:40 +0000
commitd0da337c5af251d882e64822a2d050e6be012d3e (patch)
tree49dadeec21bc50d196de9e7f23b7bbae6ef874cf /dns
parent834184d193aede5e6b7dc32793a9e8e42fc60496 (diff)
downloadports-d0da337c5af251d882e64822a2d050e6be012d3e.tar.gz
ports-d0da337c5af251d882e64822a2d050e6be012d3e.zip
Mark unbound BROKEN for FreeBSD 10.0+ if built with libevent
There is a known issue that causes random crashes due to poor interaction with Capsicum. PR: 191532
Notes
Notes: svn path=/head/; revision=371006
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 05b4e52cb898..6874667ffecd 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -3,7 +3,7 @@
PORTNAME= unbound
PORTVERSION= 1.4.22
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
@@ -88,6 +88,12 @@ LDFLAGS+= $$(pkg-config libevent --libs-only-L)
CONFIGURE_ARGS+=--with-libevent=no
.endif
+.if ${PORT_OPTIONS:MLIBEVENT14} || ${PORT_OPTIONS:MLIBEVENT20}
+.if ${OSVERSION} >= 1000015
+BROKEN= Unbound with libevent crashes on FreeBSD 10+ due to Capsicum
+.endif
+.endif
+
.if empty(PORT_OPTIONS:MTHREADS)
CONFIGURE_ARGS+=--without-pthreads
.endif