pkgsrc/net/powerdns/patches/patch-modules_pipebackend_pipebackend.cc
fhajny 06671e1672 Update PowerDNS to 3.4.1.
pkgsrc changes:
- SQLite 2.x support no longer exists
- SQLite 3.x support cannot be compiled outside the main package because
  of how symbols are distributed, so making it a compile time option
  for net/powerdns now.

Too many changes since 2.9.22.5 (over 2 years ago), see the full changelog:

  http://doc.powerdns.com/md/changelog/

Upgrade notes:

- PowerDNS 3.4 comes with a mandatory database schema upgrade coming from
  any previous 3.x release.
- PowerDNS 3.1 introduces native SQLite3 support for storing key material for
  DNSSEC in the bindbackend. With this change, support for bind+gsql-setups
  ('hybrid mode') has been dropped.
- PowerDNS 3.0 introduces full DNSSEC support which requires changes
  to database schemas. By default, old non-DNSSEC schema is assumed.

Please see the docs on upgrading for particular steps that need to be taken:

  http://doc.powerdns.com/md/authoritative/upgrading/
2014-12-10 14:50:08 +00:00

14 lines
741 B
C++

$NetBSD: patch-modules_pipebackend_pipebackend.cc,v 1.2 2014/12/10 14:50:09 fhajny Exp $
Resolve boost symbol ambiguity.
--- modules/pipebackend/pipebackend.cc.orig 2014-10-30 10:18:22.000000000 +0000
+++ modules/pipebackend/pipebackend.cc
@@ -92,7 +92,7 @@ PipeBackend::PipeBackend(const string &s
signal(SIGCHLD, SIG_IGN);
setArgPrefix("pipe"+suffix);
try {
- d_coproc=shared_ptr<CoWrapper>(new CoWrapper(getArg("command"), getArgAsNum("timeout")));
+ d_coproc=boost::shared_ptr<CoWrapper>(new CoWrapper(getArg("command"), getArgAsNum("timeout")));
d_regex=getArg("regex").empty() ? 0 : new Regex(getArg("regex"));
d_regexstr=getArg("regex");
d_abiVersion = ::arg().asNum("pipebackend-abi-version");