2013-01-08 05:16:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.47 2013/01/08 10:16:10 sthen Exp $
|
2008-05-23 02:52:21 -04:00
|
|
|
|
|
|
|
COMMENT= validating DNS resolver
|
|
|
|
|
2012-12-12 11:00:34 -05:00
|
|
|
DISTNAME= unbound-1.4.19
|
2013-01-08 05:16:10 -05:00
|
|
|
REVISION= 0
|
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
|
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2012-08-05 04:02:11 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-05-23 02:52:21 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2012-06-08 17:58:17 -04:00
|
|
|
SHARED_LIBS+= unbound 3.3
|
2008-05-23 02:52:21 -04:00
|
|
|
|
2012-11-23 15:49:33 -05:00
|
|
|
WANTLIB= c crypto event expat ldns>=6.0 ssl
|
|
|
|
LIB_DEPENDS+= net/ldns/libldns>=1.6.16
|
2008-05-23 02:52:21 -04:00
|
|
|
|
2012-08-04 16:43:54 -04:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
|
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>
|