sthen f245b54399 Normally newer versions of BIND default to one UDP listener per interface
per CPU. As found by Marc Peters, this doesn't work too well on a t5120
with 64 threads, so change the default settings in the rc.d script to -U 4
to cap this to 4, or the number of CPUs if less.

As usual with rc.d scripts, if you need to override flags, set
isc_named_flags="..." in rc.conf.local.
2013-04-03 20:17:23 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2013/04/03 20:17:23 sthen Exp $
COMMENT= Berkeley Internet Name Daemon
V= 9.9.2-P2
RV= 9.9.2
REVISION= 0
DISTNAME= bind-$V
PKGNAME= isc-bind-${V:S/-P/pl/}
SHARED_LIBS += bind9 0.0 # 60.4
SHARED_LIBS += dns 0.0 # 70.2
SHARED_LIBS += isc 0.0 # 63.1
SHARED_LIBS += isccc 0.0 # 60.0
SHARED_LIBS += isccfg 0.0 # 62.0
SHARED_LIBS += lwres 0.0 # 60.1
CATEGORIES= net
HOMEPAGE= http://www.isc.org/software/bind
# ISC
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c crypto m pthread xml2 z
MASTER_SITES= ${MASTER_SITE_ISC:=bind9/$V/}
MASTER_SITES0= http://ss.vix.com/~vixie/
FLAVORS= ratelimit
FLAVOR?=
.if ${FLAVOR:Mratelimit}
PATCHFILES+= rl-${RV}.patch:0
.else
SUPDISTFILES+= rl-${RV}.patch:0
.endif
MODULES= converters/libiconv
LIB_DEPENDS= textproc/libxml
SUBST_VARS= LOCALSTATEDIR
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-threads \
--with-libtool
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/bind9
.include <bsd.port.mk>