73f342959a
- rc.d script now generates the unbound-control keys if they don't exist and the sample config file is patched to enable this, various rc.d/unbound actions depend on this, pointed out/ok aja@
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2012/08/04 20:43:54 sthen Exp $
|
|
|
|
COMMENT= validating DNS resolver
|
|
|
|
DISTNAME= unbound-1.4.18
|
|
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= Yes
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.68
|
|
USE_LIBTOOL= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
SHARED_LIBS+= unbound 3.3
|
|
|
|
WANTLIB= c crypto event expat ldns>=4.11 ssl
|
|
LIB_DEPENDS+= net/ldns/libldns>=1.6.13
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
|
|
CONFIGURE_ARGS+= --enable-allsymbols \
|
|
--with-ssl=/usr \
|
|
--with-libevent=/usr \
|
|
--with-libexpat=/usr \
|
|
--with-ldns=${LOCALBASE} \
|
|
--without-pthreads \
|
|
--with-chroot-dir=/var/unbound \
|
|
--with-pidfile=/var/unbound/var/run/unbound.pid \
|
|
--with-conf-file=/var/unbound/etc/unbound.conf \
|
|
--with-username=_unbound
|
|
|
|
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>
|