Changeset View
Changeset View
Standalone View
Standalone View
head/dns/powerdns-recursor/Makefile
# Created by: sten@blinkenlights.nl | # Created by: sten@blinkenlights.nl | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= recursor | PORTNAME= recursor | ||||
PORTVERSION= 4.0.6 | DISTVERSION= 4.0.7 | ||||
PORTREVISION= 5 | |||||
CATEGORIES= dns ipv6 | CATEGORIES= dns ipv6 | ||||
MASTER_SITES= http://downloads.powerdns.com/releases/ | MASTER_SITES= http://downloads.powerdns.com/releases/ | ||||
PKGNAMEPREFIX= powerdns- | PKGNAMEPREFIX= powerdns- | ||||
DISTNAME= pdns-${PORTNAME}-${PORTVERSION} | DISTNAME= pdns-${PORTNAME}-${DISTVERSION} | ||||
MAINTAINER= tremere@cainites.net | MAINTAINER= tremere@cainites.net | ||||
COMMENT= Advanced DNS recursor | COMMENT= Advanced DNS recursor | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs | |||||
LIB_DEPENDS= libboost_context.so:devel/boost-libs | |||||
BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous | BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous | ||||
BROKEN_armv7= fails to compile: use of overloaded operator << is ambiguous | BROKEN_armv7= fails to compile: use of overloaded operator << is ambiguous | ||||
BROKEN_sparc64= fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt | BROKEN_sparc64= fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt | ||||
BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string | BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string | ||||
USES= compiler:c++11-lib cpe gmake localbase pkgconfig ssl tar:bzip2 | BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs | ||||
LIB_DEPENDS= libboost_context.so:devel/boost-libs \ | |||||
libprotobuf.so:devel/protobuf | |||||
USES= compiler:c++11-lib cpe gmake localbase:ldflags pkgconfig ssl tar:bzip2 | |||||
GNU_CONFIGURE= YES | GNU_CONFIGURE= YES | ||||
CXXFLAGS+= -D_GLIBCXX_USE_C99 | CXXFLAGS+= -D_GLIBCXX_USE_C99 | ||||
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns | CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ | ||||
--with-protobuf | |||||
CPE_VENDOR= powerdns | CPE_VENDOR= powerdns | ||||
USE_RC_SUBR= pdns-recursor | USE_RC_SUBR= pdns-recursor | ||||
OPTIONS_DEFINE= OPTALGO SETUID | OPTIONS_DEFINE= OPTALGO SETUID | ||||
OPTIONS_DEFAULT= LUA SETUID | OPTIONS_DEFAULT= LUA SETUID | ||||
OPTIONS_RADIO= LUA_RG | OPTIONS_RADIO= LUA_RG | ||||
OPTIONS_RADIO_LUA_RG= LUA LUAJIT | OPTIONS_RADIO_LUA_RG= LUA LUAJIT | ||||
LUAJIT_DESC= Enable LuaJIT | LUAJIT_DESC= Enable LuaJIT | ||||
LUA_RG_DESC= Lua Engine | LUA_RG_DESC= Lua Engine | ||||
OPTALGO_DESC= Enable optional algorithms (12 & 15) | OPTALGO_DESC= Enable optional algorithms (12 & 15) | ||||
SETUID_DESC= Run as pdns_recursor user | SETUID_DESC= Run as pdns_recursor user | ||||
LUA_CONFIGURE_WITH= lua | LUA_CONFIGURE_WITH= lua | ||||
LUA_USES= lua | LUA_USES= lua | ||||
LUAJIT_CONFIGURE_WITH= luajit | LUAJIT_CONFIGURE_WITH= luajit | ||||
LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit | LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit | ||||
OPTALGO_CONFIGURE_ON= --enable-botan1.10 \ | OPTALGO_CONFIGURE_ON= --enable-botan \ | ||||
--enable-libsodium | --enable-libsodium | ||||
OPTALGO_LIB_DEPENDS= libbotan-1.10.so:security/botan110 \ | OPTALGO_LIB_DEPENDS= libbotan-2.so:security/botan2 \ | ||||
libsodium.so:security/libsodium | libsodium.so:security/libsodium | ||||
SETUID_VARS= USERS=pdns_recursor GROUPS=pdns | SETUID_VARS= USERS=pdns_recursor GROUPS=pdns | ||||
SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid | SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |