diff --git a/community/powerdns-recursor/PKGBUILD b/community/powerdns-recursor/PKGBUILD index 70e56e783..5a279b7d8 100644 --- a/community/powerdns-recursor/PKGBUILD +++ b/community/powerdns-recursor/PKGBUILD @@ -10,7 +10,7 @@ pkgname=powerdns-recursor pkgver=4.3.5 -pkgrel=2 +pkgrel=3 pkgdesc='Resolving DNS server' url='https://www.powerdns.com/' arch=('x86_64') @@ -22,9 +22,11 @@ provides=('pdns-recursor') conflicts=('pdns-recursor') backup=('etc/powerdns/recursor.conf') source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc} + boost-1.73.patch sysusers.conf) sha512sums=('2d39e6016000951c0beca38b26c41664b57c059dee762d7499f34e599ed6c2653af73edb31ba5a8d35f749534f24c0d85b6aedf4c35dc8a05777ffebd1b25851' 'SKIP' + '5000bcb3e58c559d4e59105cedc7befb037bca3ef62730718ee6113c940fdb462d0ff7b47b8881d30139d7dfd1e5832a33dbe7f57b48e385f5359406486de7fe' '63b3f0664d38fbbcb6b1c914cee050a27eca0a15550962973743580dd5d3ace2e68272ca2d856d53cc74001fe9246d61207ebbc74524c096736777ed08c88e72') validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' # Peter van Dijk @@ -32,6 +34,7 @@ validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis getvars["domain"]); + bool subtree = (req->getvars.count("subtree") > 0 && req->getvars["subtree"].compare("true") == 0); + +- int count = broadcastAccFunction(boost::bind(pleaseWipeCache, canon, subtree)); +- count += broadcastAccFunction(boost::bind(pleaseWipePacketCache, canon, subtree)); +- count += broadcastAccFunction(boost::bind(pleaseWipeAndCountNegCache, canon, subtree)); ++ int count = broadcastAccFunction(std::bind(pleaseWipeCache, canon, subtree)); ++ count += broadcastAccFunction(std::bind(pleaseWipePacketCache, canon, subtree)); ++ count += broadcastAccFunction(std::bind(pleaseWipeAndCountNegCache, canon, subtree)); + resp->setBody(Json::object { + { "count", count }, + { "result", "Flushed cache." } +@@ -664,7 +664,7 @@ void AsyncServerNewConnectionMT(void *p) { + void AsyncServer::asyncWaitForConnections(FDMultiplexer* fdm, const newconnectioncb_t& callback) + { + d_asyncNewConnectionCallback = callback; +- fdm->addReadFD(d_server_socket.getHandle(), boost::bind(&AsyncServer::newConnection, this)); ++ fdm->addReadFD(d_server_socket.getHandle(), std::bind(&AsyncServer::newConnection, this)); + } + + void AsyncServer::newConnection() \ No newline at end of file