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