diff -Nru powerdns-recursor.orig/Makefile powerdns-recursor/Makefile --- powerdns-recursor.orig/Makefile 2008-05-02 11:44:48.000000000 +0200 +++ powerdns-recursor/Makefile 2008-07-07 13:37:09.000000000 +0200 @@ -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_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 @@ 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 -Nru powerdns-recursor.orig/distinfo powerdns-recursor/distinfo --- powerdns-recursor.orig/distinfo 2008-05-02 09:44:53.000000000 +0200 +++ powerdns-recursor/distinfo 2008-07-07 13:13:39.000000000 +0200 @@ -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