aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-08 02:39:06 +0800
committermiwi <miwi@FreeBSD.org>2008-07-08 02:39:06 +0800
commit9b0e4a8bb403c82389fb34ed79790987985c1f2b (patch)
tree4018e1e10ad8a8a7cf918389f3171f33cc98c811 /dns
parent31dbf976ff61df5b33525bee805677869f72b20f (diff)
downloadfreebsd-ports-gnome-9b0e4a8bb403c82389fb34ed79790987985c1f2b.tar.gz
freebsd-ports-gnome-9b0e4a8bb403c82389fb34ed79790987985c1f2b.tar.zst
freebsd-ports-gnome-9b0e4a8bb403c82389fb34ed79790987985c1f2b.zip
- Update to 3.1.7
PR: 125364 Submitted by: Sten Spans <sten@blinkenlights.nl> (maintainer)
Diffstat (limited to 'dns')
-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