FreeBSD Bugzilla – Attachment 209316 Details for
Bug 242125
dns/dnsdist: Update to 1.4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dns/dnsdist patch 2019112103
dnsdist.2019112103.diff (text/plain), 3.74 KB, created by
Jørn Åne de Jong
on 2019-11-21 11:51:41 UTC
(
hide
)
Description:
dns/dnsdist patch 2019112103
Filename:
MIME Type:
Creator:
Jørn Åne de Jong
Created:
2019-11-21 11:51:41 UTC
Size:
3.74 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 511401) >+++ Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= dnsdist >-DISTVERSION= 1.3.3 >-PORTREVISION= 11 >+DISTVERSION= 1.4.0 > CATEGORIES= dns net > MASTER_SITES= https://downloads.powerdns.com/releases/ \ > LOCAL/cpm >@@ -38,14 +37,18 @@ > > USE_RC_SUBR= dnsdist > >-OPTIONS_DEFINE= FSTRM LUAJIT SNMP >-OPTIONS_DEFAULT= GNUTLS OPENSSL >+OPTIONS_DEFINE= DOH FSTRM LUAJIT SNMP >+OPTIONS_DEFAULT= DOH GNUTLS OPENSSL > OPTIONS_MULTI= TLS > OPTIONS_MULTI_TLS= GNUTLS OPENSSL > >+DOH_DESC= DNS over HTTPS support > FSTRM_DESC= dnstap support (see dnstap.info) > LUAJIT_DESC= Use LuaJIT instead of Lua > >+DOH_LIB_DEPENDS= libh2o-evloop.so:www/h2o >+DOH_CONFIGURE_ON= --enable-dns-over-https >+ > FSTRM_LIB_DEPENDS= libfstrm.so:devel/fstrm > FSTRM_CONFIGURE_ENABLE= fstrm > >Index: distinfo >=================================================================== >--- distinfo (revision 511401) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1541860683 >-SHA256 (dnsdist-1.3.3.tar.bz2) = 9fb24f9032025955169f3c6e9b0a05b6aa9d6441ec47da08d22de1c1aa23e8cf >-SIZE (dnsdist-1.3.3.tar.bz2) = 971253 >+TIMESTAMP = 1574293009 >+SHA256 (dnsdist-1.4.0.tar.bz2) = a336fa2c3eb381c2464d9d9790014fd6d4505029ed2c1b73ee1dc9115a2f1dc0 >+SIZE (dnsdist-1.4.0.tar.bz2) = 1044479 >Index: files/patch-dnsdist-lua-vars.cc >=================================================================== >--- files/patch-dnsdist-lua-vars.cc (revision 511401) >+++ files/patch-dnsdist-lua-vars.cc (nonexistent) >@@ -1,11 +0,0 @@ >---- dnsdist-lua-vars.cc.orig 2018-10-03 09:48:10 UTC >-+++ dnsdist-lua-vars.cc >-@@ -22,6 +22,8 @@ >- #include "dnsdist.hh" >- #include "ednsoptions.hh" >- >-+#undef BADSIG // signal.h SIG_ERR >-+ >- void setupLuaVars() >- { >- g_lua.writeVariable("DNSAction", std::unordered_map<string,int>{ > >Property changes on: files/patch-dnsdist-lua-vars.cc >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-ext_luawrapper_include_LuaContext.hpp >=================================================================== >--- files/patch-ext_luawrapper_include_LuaContext.hpp (revision 511401) >+++ files/patch-ext_luawrapper_include_LuaContext.hpp (nonexistent) >@@ -1,28 +0,0 @@ >---- ext/luawrapper/include/LuaContext.hpp.orig 2018-03-29 15:25:58 UTC >-+++ ext/luawrapper/include/LuaContext.hpp >-@@ -2635,11 +2635,21 @@ struct LuaContext::Reader<std::string> >- static auto read(lua_State* state, int index) >- -> boost::optional<std::string> >- { >-+ std::string result; >-+ >-+ // lua_tolstring might convert the variable that would confuse lua_next, so we >-+ // make a copy of the variable. >-+ lua_pushvalue(state, index); >-+ >- size_t len; >-- const auto val = lua_tolstring(state, index, &len); >-- if (val == 0) >-- return boost::none; >-- return std::string(val, len); >-+ const auto val = lua_tolstring(state, -1, &len); >-+ >-+ if (val != 0) >-+ result.assign(val, len); >-+ >-+ lua_pop(state, 1); >-+ >-+ return val != 0 ? boost::optional<std::string>{ std::move(result) } : boost::none; >- } >- }; >- > >Property changes on: files/patch-ext_luawrapper_include_LuaContext.hpp >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242125
:
209303
|
209305
|
209316
|
209320
|
209591
|
209658
|
209826
|
209886
|
210781
|
210948
Working