diff options
author | adam <adam@pkgsrc.org> | 2018-01-13 15:30:54 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-01-13 15:30:54 +0000 |
commit | cc5e8dc68b7b6193899adf8c8b987b3785ced873 (patch) | |
tree | e5bad7f4d563768d6530ff70678e21995b9139ce | |
parent | 6af6f692a5cb2789387901c734dc1034bf2029bc (diff) | |
download | pkgsrc-cc5e8dc68b7b6193899adf8c8b987b3785ced873.tar.gz |
powerdns: remove references to build directory
Do not store configure arguments; they have references to the build directory.
-rw-r--r-- | net/powerdns/distinfo | 3 | ||||
-rw-r--r-- | net/powerdns/patches/patch-pdns_version.cc | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/net/powerdns/distinfo b/net/powerdns/distinfo index 750f93cf113..aeaafe164dd 100644 --- a/net/powerdns/distinfo +++ b/net/powerdns/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.27 2018/01/02 12:18:15 fhajny Exp $ +$NetBSD: distinfo,v 1.28 2018/01/13 15:30:54 adam Exp $ SHA1 (pdns-4.1.0.tar.bz2) = f786d27d60032bf268a63a88c77396e31f6622b1 RMD160 (pdns-4.1.0.tar.bz2) = ef033ccb035d24e0d287cd013a9637103a8b3692 @@ -11,3 +11,4 @@ SHA1 (patch-pdns_dns.hh) = 626eb4e29b7fcd82fbe056036c157c1e85fa49ca SHA1 (patch-pdns_dnsscope.cc) = b289b750686b25041c3e291fb0d3d562beb36eaf SHA1 (patch-pdns_iputils.hh) = 714277322ea721ea0439fc6aa0265bd290219e8b SHA1 (patch-pdns_qtype.hh) = 0f8bca4c0cafea9a5257a08077fa42b4c52127f5 +SHA1 (patch-pdns_version.cc) = be2035a37a554f64b8e6dad8f7faa112aba10f6c diff --git a/net/powerdns/patches/patch-pdns_version.cc b/net/powerdns/patches/patch-pdns_version.cc new file mode 100644 index 00000000000..9c918dcdcbf --- /dev/null +++ b/net/powerdns/patches/patch-pdns_version.cc @@ -0,0 +1,20 @@ +$NetBSD: patch-pdns_version.cc,v 1.1 2018/01/13 15:30:54 adam Exp $ + +Do not store configure arguments; they have references to the build directory. + +--- pdns/version.cc.orig 2018-01-13 15:13:31.000000000 +0000 ++++ pdns/version.cc +@@ -117,13 +117,6 @@ void showBuildConfiguration() + // Auth only + theL()<<Logger::Warning<<"Built-in modules: "<<PDNS_MODULES<<endl; + #endif +-#ifdef PDNS_CONFIG_ARGS +-#define double_escape(s) #s +-#define escape_quotes(s) double_escape(s) +- theL()<<Logger::Warning<<"Configured with: "<<escape_quotes(PDNS_CONFIG_ARGS)<<endl; +-#undef escape_quotes +-#undef double_escape +-#endif + } + + string fullVersionString() |