2011-12-20 05:49:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2011/12/20 10:49:19 sthen Exp $
|
2008-05-23 02:52:21 -04:00
|
|
|
|
|
|
|
COMMENT= validating DNS resolver
|
|
|
|
|
2011-12-20 05:49:19 -05:00
|
|
|
DISTNAME= unbound-1.4.14
|
2008-05-23 02:52:21 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.unbound.net/downloads/
|
|
|
|
HOMEPAGE= http://www.unbound.net/
|
|
|
|
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
2011-12-20 05:49:19 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.68
|
2008-05-23 02:52:21 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2011-12-20 05:49:19 -05:00
|
|
|
SHARED_LIBS+= unbound 3.0
|
2008-05-23 02:52:21 -04:00
|
|
|
|
2011-12-20 05:49:19 -05:00
|
|
|
WANTLIB= c crypto event expat ldns>=4.9 ssl
|
|
|
|
LIB_DEPENDS+= net/ldns/libldns>=1.6.11
|
2008-05-23 02:52:21 -04:00
|
|
|
|
2011-07-01 06:20:02 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-allsymbols \
|
|
|
|
--with-ssl=/usr \
|
2008-05-23 02:52:21 -04:00
|
|
|
--with-libevent=/usr \
|
2010-11-10 03:29:01 -05:00
|
|
|
--with-libexpat=/usr \
|
2008-06-03 11:09:59 -04:00
|
|
|
--with-ldns=${LOCALBASE} \
|
2008-05-23 02:52:21 -04:00
|
|
|
--without-pthreads \
|
2008-07-16 16:34:10 -04:00
|
|
|
--with-chroot-dir=/var/unbound \
|
|
|
|
--with-pidfile=/var/unbound/var/run/unbound.pid \
|
2008-08-20 04:25:41 -04:00
|
|
|
--with-conf-file=/var/unbound/etc/unbound.conf \
|
|
|
|
--with-username=_unbound
|
2008-05-23 02:52:21 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/unbound
|
|
|
|
${INSTALL_DATA} ${WRKINST}/var/unbound/etc/unbound.conf ${PREFIX}/share/examples/unbound
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|