aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-07 18:39:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-07 18:39:06 +0000
commit6f4161fea02049a5d6de34845a80672711eb10b0 (patch)
tree0e55852ffdff8e5bb380e958b4d6e7d217219c87 /dns/powerdns-recursor
parent92c3a47218d8261ad6d1a886632d16716f44e11f (diff)
downloadports-6f4161fea02049a5d6de34845a80672711eb10b0.tar.gz
ports-6f4161fea02049a5d6de34845a80672711eb10b0.zip
Notes
Diffstat (limited to 'dns/powerdns-recursor')
-rw-r--r--dns/powerdns-recursor/Makefile23
-rw-r--r--dns/powerdns-recursor/distinfo6
2 files changed, 19 insertions, 10 deletions
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index 519de7442ede..80e8e0c04e87 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= powerdns-recursor
-PORTVERSION= 3.1.6
+PORTVERSION= 3.1.7
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/ \
http://mirrors.evolva.ro/powerdns.com/releases/
@@ -21,8 +21,9 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_GCC= 3.4+
-OPTIONS= STATIC "Enable Full STATIC" off \
- SETUID "Run as pdns_recursor user" on
+OPTIONS= SETUID "Run as pdns_recursor user" on \
+ LUA "Enable Lua bindings" off \
+ STATIC "Build static binaries" off
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -36,15 +37,23 @@ SUB_FILES= pkg-message
USE_RC_SUBR+= pdns-recursor
+.if defined(WITH_SETUID)
+EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid
+.endif
+
+.if defined(WITH_LUA)
+USE_LUA=5.1
+LUA_COMPS=lua
+MAKE_ENV+=LUA=1
+MAKE_ENV+=LUA_CPPFLAGS_CONFIG=-I${LOCALBASE}/include/lua51
+MAKE_ENV+="LUA_LIBS_CONFIG=-L${LOCALBASE}/lib/lua51/ -llua"
+.endif
+
.if defined(WITH_STATIC)
MAKE_ENV+=STATIC=full
PLIST_SUB+= STATIC="@comment "
.endif
-.if defined(WITH_SETUID)
-EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid
-.endif
-
.if exists(/usr/include/ucontext.h)
UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \
/usr/include/ucontext.h
diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo
index 06e92bfee528..8d455d0a596f 100644
--- a/dns/powerdns-recursor/distinfo
+++ b/dns/powerdns-recursor/distinfo
@@ -1,3 +1,3 @@
-MD5 (pdns-recursor-3.1.6.tar.bz2) = 6153e89070b9535778dca6b548081f02
-SHA256 (pdns-recursor-3.1.6.tar.bz2) = 55bbb45d2395a2af4fd0c07ad65a59e29e426c1820dc3c4bff6a65876b4206f5
-SIZE (pdns-recursor-3.1.6.tar.bz2) = 171424
+MD5 (pdns-recursor-3.1.7.tar.bz2) = e7521055f949ba8e9e77fe27411be2ed
+SHA256 (pdns-recursor-3.1.7.tar.bz2) = 2255ea25071f7ccb3e096e85c7fb38f860a02d29f277dfbef66c7a1f5735051f
+SIZE (pdns-recursor-3.1.7.tar.bz2) = 174424