Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= powerdns-recursor |
8 |
PORTNAME= powerdns-recursor |
9 |
PORTVERSION= 3.1.6 |
9 |
PORTVERSION= 3.1.7 |
10 |
CATEGORIES= dns ipv6 |
10 |
CATEGORIES= dns ipv6 |
11 |
MASTER_SITES= http://downloads.powerdns.com/releases/ \ |
11 |
MASTER_SITES= http://downloads.powerdns.com/releases/ \ |
12 |
http://mirrors.evolva.ro/powerdns.com/releases/ |
12 |
http://mirrors.evolva.ro/powerdns.com/releases/ |
Lines 21-28
Link Here
|
21 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
22 |
USE_GCC= 3.4+ |
22 |
USE_GCC= 3.4+ |
23 |
|
23 |
|
24 |
OPTIONS= STATIC "Enable Full STATIC" off \ |
24 |
OPTIONS= SETUID "Run as pdns_recursor user" on \ |
25 |
SETUID "Run as pdns_recursor user" on |
25 |
LUA "Enable Lua bindings" off \ |
|
|
26 |
STATIC "Build static binaries" off |
26 |
|
27 |
|
27 |
CXXFLAGS+= -I${LOCALBASE}/include |
28 |
CXXFLAGS+= -I${LOCALBASE}/include |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
Lines 36-50
Link Here
|
36 |
|
37 |
|
37 |
USE_RC_SUBR+= pdns-recursor |
38 |
USE_RC_SUBR+= pdns-recursor |
38 |
|
39 |
|
|
|
40 |
.if defined(WITH_SETUID) |
41 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid |
42 |
.endif |
43 |
|
44 |
.if defined(WITH_LUA) |
45 |
USE_LUA=5.1 |
46 |
LUA_COMPS=lua |
47 |
MAKE_ENV+=LUA=1 |
48 |
MAKE_ENV+=LUA_CPPFLAGS_CONFIG=-I${LOCALBASE}/include/lua51 |
49 |
MAKE_ENV+="LUA_LIBS_CONFIG=-L${LOCALBASE}/lib/lua51/ -llua" |
50 |
.endif |
51 |
|
39 |
.if defined(WITH_STATIC) |
52 |
.if defined(WITH_STATIC) |
40 |
MAKE_ENV+=STATIC=full |
53 |
MAKE_ENV+=STATIC=full |
41 |
PLIST_SUB+= STATIC="@comment " |
54 |
PLIST_SUB+= STATIC="@comment " |
42 |
.endif |
55 |
.endif |
43 |
|
56 |
|
44 |
.if defined(WITH_SETUID) |
|
|
45 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid |
46 |
.endif |
47 |
|
48 |
.if exists(/usr/include/ucontext.h) |
57 |
.if exists(/usr/include/ucontext.h) |
49 |
UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ |
58 |
UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ |
50 |
/usr/include/ucontext.h |
59 |
/usr/include/ucontext.h |