blob: fd1418fdd28a8b8ef14460d2116470d92c2d3c88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Created by: sten@blinkenlights.nl
# $FreeBSD$
PORTNAME= recursor
DISTVERSION= 4.0.8
PORTREVISION= 4
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/
PKGNAMEPREFIX= powerdns-
PKGNAMESUFFIX= 40
DISTNAME= pdns-${PORTNAME}-${DISTVERSION}
MAINTAINER= tremere@cainites.net
COMMENT= Advanced DNS recursor
LICENSE= GPLv2
BROKEN_armv6= 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_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
LIB_DEPENDS= libboost_context.so:devel/boost-libs \
libprotobuf.so:devel/protobuf
CONFLICTS_INSTALL= powerdns-recursor
USES= compiler:c++11-lib cpe gmake localbase:ldflags pkgconfig ssl tar:bzip2
GNU_CONFIGURE= YES
CXXFLAGS+= -D_GLIBCXX_USE_C99
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \
--with-protobuf
CPE_VENDOR= powerdns
USE_RC_SUBR= pdns-recursor
OPTIONS_DEFINE= OPTALGO SETUID
OPTIONS_DEFAULT= LUA SETUID
OPTIONS_RADIO= LUA_RG
OPTIONS_RADIO_LUA_RG= LUA LUAJIT
LUAJIT_DESC= Enable LuaJIT
LUA_RG_DESC= Lua Engine
OPTALGO_DESC= Enable optional algorithms (12, 15 & 16)
SETUID_DESC= Run as pdns_recursor user
LUA_CONFIGURE_WITH= lua
LUA_USES= lua
LUAJIT_CONFIGURE_WITH= luajit
LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit
OPTALGO_CONFIGURE_ON= --enable-botan \
--enable-libdecaf \
--enable-libsodium
OPTALGO_LIB_DEPENDS= libbotan-2.so:security/botan2 \
libdecaf.so:security/libdecaf \
libsodium.so:security/libsodium
SETUID_VARS= USERS=pdns_recursor GROUPS=pdns
SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid
SUB_FILES= pkg-message
.include <bsd.port.mk>
|