From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66BEE138359 for ; Sat, 17 Oct 2020 09:23:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4CF1E0908; Sat, 17 Oct 2020 09:23:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9AE2DE0908 for ; Sat, 17 Oct 2020 09:23:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F7FF335D6F for ; Sat, 17 Oct 2020 09:23:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C471396 for ; Sat, 17 Oct 2020 09:23:36 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1602926609.edf1122e56fa58755f0da35606bbac283bf1bd30.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/, net-dns/pdns-recursor/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/pdns-recursor/Manifest net-dns/pdns-recursor/files/pdns-recursor-4.3.1-boost-1.73.0.patch net-dns/pdns-recursor/pdns-recursor-4.3.3.ebuild net-dns/pdns-recursor/pdns-recursor-4.3.4.ebuild X-VCS-Directories: net-dns/pdns-recursor/ net-dns/pdns-recursor/files/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: edf1122e56fa58755f0da35606bbac283bf1bd30 X-VCS-Branch: master Date: Sat, 17 Oct 2020 09:23:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 774b4e9a-e901-46e0-a4dc-b553763112d8 X-Archives-Hash: cbd205fd8fe89556ef8b855c397136b8 commit: edf1122e56fa58755f0da35606bbac283bf1bd30 Author: Sven Wegener gentoo org> AuthorDate: Sat Oct 17 09:23:09 2020 +0000 Commit: Sven Wegener gentoo org> CommitDate: Sat Oct 17 09:23:29 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf1122e net-dns/pdns-recursor: Cleanup Bug: https://bugs.gentoo.org/746923 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sven Wegener gentoo.org> net-dns/pdns-recursor/Manifest | 2 - .../files/pdns-recursor-4.3.1-boost-1.73.0.patch | 89 ---------------------- net-dns/pdns-recursor/pdns-recursor-4.3.3.ebuild | 85 --------------------- net-dns/pdns-recursor/pdns-recursor-4.3.4.ebuild | 85 --------------------- 4 files changed, 261 deletions(-) diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index 6208b5c960a..32b5c61225b 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -1,4 +1,2 @@ -DIST pdns-recursor-4.3.3.tar.bz2 1357853 BLAKE2B fa57776bbdb77d1f13f04fdd1fb5ceb07539f851704dc627443a7c814d6640b1e7890333b6d7214a201f5d3f83a54a7840adb6450ffb7696e58722625b7c57c5 SHA512 285f12d3cb2edaca7507dd9dad1356b60076d43af678458346489562ea8933a01d61d2430d5282b6afd213839ee684ad83e5f523c9a272f382d74ccc238bd9d5 -DIST pdns-recursor-4.3.4.tar.bz2 1359380 BLAKE2B b55829b843f3abc9394bcb943c223b24684ebe67854fbde8590aded09a8ef18d8b15d1e2ebe1b88d24833b8782266b1ce853d98c0ce510e115e8d16ce900ece2 SHA512 cfc34f42ed95c7fd2be1ab7ba172672e5e1db96b4ced171c1eae7bd60fb7db482aed928028811b133d326550de35c506a8fc480b12ae39ab7fa142408e0b42d8 DIST pdns-recursor-4.3.5.tar.bz2 1341930 BLAKE2B 8f81182cb5283e6b8f459c5d23281d20cba02d22cec8776fdab67d452834b82945f467186c98784519d2c79d9df8438b174fc644fb11d68d04f9f636e51a5551 SHA512 2d39e6016000951c0beca38b26c41664b57c059dee762d7499f34e599ed6c2653af73edb31ba5a8d35f749534f24c0d85b6aedf4c35dc8a05777ffebd1b25851 DIST pdns-recursor-4.4.0-rc2.tar.bz2 1393346 BLAKE2B 00f03dc05747e3b0962fdbff0e2d15b8e9d4703b84bafa086a5e1c229613b42d010ec963296845fe981c9bb99f02f8d60897fe180943091d0b904d0f65f453c0 SHA512 91f63924c30d89bf06dcaf48a588f116cedef530319b4e4682daf14682998b4879aca5d1796aa36a50ba327053523659f9a8ad180d592e5857f898e37f0064ec diff --git a/net-dns/pdns-recursor/files/pdns-recursor-4.3.1-boost-1.73.0.patch b/net-dns/pdns-recursor/files/pdns-recursor-4.3.1-boost-1.73.0.patch deleted file mode 100644 index 02b8df751ef..00000000000 --- a/net-dns/pdns-recursor/files/pdns-recursor-4.3.1-boost-1.73.0.patch +++ /dev/null @@ -1,89 +0,0 @@ -From 71246536642590e8e8b21c11307ec4bd0e165066 Mon Sep 17 00:00:00 2001 -From: Remi Gacogne -Date: Tue, 28 Apr 2020 17:51:47 +0200 -Subject: [PATCH] Replace boost's placeholders with the ones from the std - namespace - -Boost 1.73 moved boost::bind placeholders to the placeholders -namespace which did not exist before 1.60, let's switch to -std::bind and std::placeholders instead of doing per-version handling. ---- - pdns/ixfrdist-web.cc | 2 +- - pdns/webserver.cc | 6 +++--- - pdns/ws-auth.cc | 4 ++-- - pdns/ws-recursor.cc | 12 ++++++------ - 4 files changed, 12 insertions(+), 12 deletions(-) - -diff --git a/webserver.cc b/webserver.cc -index eafd3059a0..b47cc6d7e0 100644 ---- a/webserver.cc -+++ b/webserver.cc -@@ -107,7 +107,7 @@ static void bareHandlerWrapper(WebServer::HandlerFunction handler, YaHTTP::Reque - - void WebServer::registerBareHandler(const string& url, HandlerFunction handler) - { -- YaHTTP::THandlerFunction f = boost::bind(&bareHandlerWrapper, handler, _1, _2); -+ YaHTTP::THandlerFunction f = std::bind(&bareHandlerWrapper, handler, std::placeholders::_1, std::placeholders::_2); - YaHTTP::Router::Any(url, f); - } - -@@ -179,7 +179,7 @@ void WebServer::apiWrapper(WebServer::HandlerFunction handler, HttpRequest* req, - } - - void WebServer::registerApiHandler(const string& url, HandlerFunction handler, bool allowPassword) { -- HandlerFunction f = boost::bind(&WebServer::apiWrapper, this, handler, _1, _2, allowPassword); -+ HandlerFunction f = std::bind(&WebServer::apiWrapper, this, handler, std::placeholders::_1, std::placeholders::_2, allowPassword); - registerBareHandler(url, f); - } - -@@ -196,7 +196,7 @@ void WebServer::webWrapper(WebServer::HandlerFunction handler, HttpRequest* req, - } - - void WebServer::registerWebHandler(const string& url, HandlerFunction handler) { -- HandlerFunction f = boost::bind(&WebServer::webWrapper, this, handler, _1, _2); -+ HandlerFunction f = std::bind(&WebServer::webWrapper, this, handler, std::placeholders::_1, std::placeholders::_2); - registerBareHandler(url, f); - } - -diff --git a/ws-recursor.cc b/ws-recursor.cc -index cd8997309f..a074460c2f 100644 ---- a/ws-recursor.cc -+++ b/ws-recursor.cc -@@ -382,9 +382,9 @@ static void apiServerCacheFlush(HttpRequest* req, HttpResponse* resp) { - DNSName canon = apiNameToDNSName(req->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." } -@@ -512,7 +512,7 @@ RecursorWebServer::RecursorWebServer(FDMultiplexer* fdm) - d_ws->bind(); - - // legacy dispatch -- d_ws->registerApiHandler("/jsonstat", boost::bind(&RecursorWebServer::jsonstat, this, _1, _2), true); -+ d_ws->registerApiHandler("/jsonstat", std::bind(&RecursorWebServer::jsonstat, this, std::placeholders::_1, std::placeholders::_2), true); - d_ws->registerApiHandler("/api/v1/servers/localhost/cache/flush", &apiServerCacheFlush); - d_ws->registerApiHandler("/api/v1/servers/localhost/config/allow-from", &apiServerConfigAllowFrom); - d_ws->registerApiHandler("/api/v1/servers/localhost/config", &apiServerConfig); -@@ -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() -@@ -743,5 +743,5 @@ void AsyncWebServer::go() { - auto server = std::dynamic_pointer_cast(d_server); - if (!server) - return; -- server->asyncWaitForConnections(d_fdm, boost::bind(&AsyncWebServer::serveConnection, this, _1)); -+ server->asyncWaitForConnections(d_fdm, std::bind(&AsyncWebServer::serveConnection, this, std::placeholders::_1)); - } diff --git a/net-dns/pdns-recursor/pdns-recursor-4.3.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.3.3.ebuild deleted file mode 100644 index bffba0080a4..00000000000 --- a/net-dns/pdns-recursor/pdns-recursor-4.3.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit flag-o-matic - -DESCRIPTION="The PowerDNS Recursor" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="debug dnstap libressl luajit protobuf snmp sodium systemd" -REQUIRED_USE="dnstap? ( protobuf )" - -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) - luajit? ( dev-lang/luajit:= ) - protobuf? ( - dev-libs/protobuf - >=dev-libs/boost-1.42:= - ) - dnstap? ( dev-libs/fstrm ) - systemd? ( sys-apps/systemd:0= ) - snmp? ( net-analyzer/net-snmp ) - sodium? ( dev-libs/libsodium:= ) - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:=" -RDEPEND="${DEPEND} - !