1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/dns/dnsdist/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

72 lines
1.8 KiB
Makefile

# Created by: Carlos J Puga Medina <cpm@fbsd.es>
# $FreeBSD$
PORTNAME= dnsdist
DISTVERSION= 1.3.3
PORTREVISION= 4
CATEGORIES= dns net
MASTER_SITES= https://downloads.powerdns.com/releases/ \
LOCAL/cpm
MAINTAINER= cpm@FreeBSD.org
COMMENT= Highly DNS-, DoS- and abuse-aware loadbalancer
LICENSE= GPLv2 UNLICENSE
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_UNLICENSE= ${WRKSRC}/ext/incbin/UNLICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops
LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \
libprotobuf.so:devel/protobuf \
libre2.so:devel/re2 \
libsodium.so:security/libsodium
GNU_CONFIGURE= yes
USES= bison compiler:c++14-lang cpe gmake libedit libtool localbase \
pkgconfig tar:bz2
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \
--enable-dns-over-tls \
--enable-dnscrypt \
--enable-libsodium \
--enable-re2
INSTALL_TARGET= install-strip
USERS= _dnsdist
GROUPS= _dnsdist
USE_RC_SUBR= dnsdist
OPTIONS_DEFINE= FSTRM LUAJIT SNMP
OPTIONS_DEFAULT= GNUTLS OPENSSL
OPTIONS_MULTI= TLS
OPTIONS_MULTI_TLS= GNUTLS OPENSSL
FSTRM_DESC= dnstap support (see dnstap.info)
LUAJIT_DESC= Use LuaJIT instead of Lua
FSTRM_LIB_DEPENDS= libfstrm.so:devel/fstrm
FSTRM_CONFIGURE_ENABLE= fstrm
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ENABLE=gnutls
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_USES_OFF= lua
LUAJIT_CONFIGURE_ON= --with-lua=luajit
LUAJIT_CONFIGURE_OFF= --with-lua=lua-${LUA_VER}
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ENABLE=libssl
OPENSSL_CONFIGURE_ON= LIBSSL_CFLAGS=-I${OPENSSLINC} LIBSSL_LIBS="-L${OPENSSLLIB} -lssl"
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
SNMP_CONFIGURE_WITH= net-snmp
post-install:
${INSTALL_DATA} ${FILESDIR}/dnsdist.conf.sample \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>