pdns: 4.9.8 -> 5.0.0
Changelog: https://doc.powerdns.com/authoritative/changelog/5.0.html#change-5.0.0 Upgrade Notes: https://doc.powerdns.com/authoritative/upgrading.html#to-5-0-0
This commit is contained in:
@@ -24,11 +24,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pdns";
|
||||
version = "4.9.8";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.powerdns.com/releases/pdns-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-GAtmrjMtMWaWjgE7/3y/bwxyhp1r5pfbdKAt86xuipE=";
|
||||
hash = "sha256-DczjVdl6mazvwdRdY8EX2VIUmGfceYMjb378ngQbCjA=";
|
||||
};
|
||||
# redact configure flags from version output to reduce closure size
|
||||
patches = [ ./version.patch ];
|
||||
@@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.enableFeature stdenv.hostPlatform.is32bit "experimental-64bit-time_t-support-on-glibc")
|
||||
(lib.enableFeature false "silent-rules")
|
||||
(lib.enableFeature true "dns-over-tls")
|
||||
(lib.enableFeature true "unit-tests")
|
||||
(lib.enableFeature finalAttrs.finalPackage.doCheck "unit-tests")
|
||||
(lib.enableFeature true "reproducible")
|
||||
(lib.enableFeature true "tools")
|
||||
(lib.enableFeature true "ixfrdist")
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
diff --git a/pdns/version.cc b/pdns/version.cc
|
||||
index d8f5d40..1368481 100644
|
||||
--- a/pdns/version.cc
|
||||
+++ b/pdns/version.cc
|
||||
@@ -155,7 +155,7 @@ void showBuildConfiguration()
|
||||
#ifdef PDNS_CONFIG_ARGS
|
||||
@@ -180,7 +180,7 @@ string getBuildConfiguration()
|
||||
#define double_escape(s) #s
|
||||
#define escape_quotes(s) double_escape(s)
|
||||
- g_log<<Logger::Warning<<"Configured with: "<<escape_quotes(PDNS_CONFIG_ARGS)<<endl;
|
||||
+ g_log<<Logger::Warning<<"Configured with: "<<"redacted"<<endl;
|
||||
// NOLINTEND(cppcoreguidelines-macro-usage)
|
||||
- ret << "Configured with: " << escape_quotes(PDNS_CONFIG_ARGS) << endl;
|
||||
+ ret << "Configured with: " << "redacted to reduce closure size" << endl;
|
||||
#undef escape_quotes
|
||||
#undef double_escape
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user