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 555C6138334 for ; Mon, 21 Jan 2019 15:22:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C904E0B28; Mon, 21 Jan 2019 15:22:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 172F6E0B28 for ; Mon, 21 Jan 2019 15:22:36 +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 F3783335D1E for ; Mon, 21 Jan 2019 15:22:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FFBB4FF for ; Mon, 21 Jan 2019 15:22:32 +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: <1548084140.6fad89dca5912b9f36ea41977987b8e8ef6cc53f.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.1.9-protobuf-fix.patch net-dns/pdns-recursor/pdns-recursor-4.1.9.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: 6fad89dca5912b9f36ea41977987b8e8ef6cc53f X-VCS-Branch: master Date: Mon, 21 Jan 2019 15:22:32 +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: b86b9c51-fd0b-4f21-8b68-04c3763616ae X-Archives-Hash: 81219de374f678fb025740bb640abf16 commit: 6fad89dca5912b9f36ea41977987b8e8ef6cc53f Author: Sven Wegener gentoo org> AuthorDate: Mon Jan 21 15:21:45 2019 +0000 Commit: Sven Wegener gentoo org> CommitDate: Mon Jan 21 15:22:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fad89dc net-dns/pdns-recursor: Version bump, security bug #675968 Bug: https://bugs.gentoo.org/675968 Signed-off-by: Sven Wegener gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-dns/pdns-recursor/Manifest | 1 + .../files/pdns-recursor-4.1.9-protobuf-fix.patch | 32 +++++++++ net-dns/pdns-recursor/pdns-recursor-4.1.9.ebuild | 82 ++++++++++++++++++++++ 3 files changed, 115 insertions(+) diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index e3bcab62e0c..63a87021f03 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -1 +1,2 @@ DIST pdns-recursor-4.1.8.tar.bz2 1237750 BLAKE2B 1170198ea2ed9f1d16f7d8fa76e4c9f8bc56e3c72a391d094e7380d84657b55daa6f45acf4737a9d9b144f2deae64103c40dc3b95550a853ee6f41f0f8a92c78 SHA512 5c09b8ce3f2f3ed6bb350cbd20e6cad4b66f9db85677605d57eca67187c05ddde5071af246a7398e2821c9ed2e5ff101d2b4928366b3ddf12013020fa9b74e61 +DIST pdns-recursor-4.1.9.tar.bz2 1237727 BLAKE2B e060120edbbccd6688f614e0c00f0ecb9954b2d1f96194f7fff53d7111ec8c843348c25e206e998e1d0eb920b68b4a4631fb0806810e14956bd04957ece0c960 SHA512 2deaf1cdc8c32087f744efe0d142421cfd2d89dc9b31edcdea55c1efc2637987e8557891716498e3703c4b1af4b0d301e2a53316c5a97c7a18ec85016ccfa8f1 diff --git a/net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch b/net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch new file mode 100644 index 00000000000..b0e3f4f5cef --- /dev/null +++ b/net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch @@ -0,0 +1,32 @@ +From 6b34c39dce4483f97d48201929ff6acd4abbef84 Mon Sep 17 00:00:00 2001 +From: Remi Gacogne +Date: Mon, 21 Jan 2019 16:07:29 +0100 +Subject: [PATCH] rec: Fix compilation in handleRunningTCPQuestion without + protobuf support + +--- + pdns/pdns_recursor.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/pdns_recursor.cc b/pdns_recursor.cc +index d92b1ffae..98232dca2 100644 +--- a/pdns_recursor.cc ++++ b/pdns_recursor.cc +@@ -1535,6 +1535,9 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) + L<data; ++ + #ifdef HAVE_PROTOBUF + if(luaconfsLocal->protobufServer || luaconfsLocal->outgoingProtobufServer) { + dc->d_requestorId = requestorId; +@@ -1542,7 +1545,6 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) + dc->d_uuid = (*t_uuidGenerator)(); + } + +- const struct dnsheader* dh = (const struct dnsheader*) conn->data; + if(luaconfsLocal->protobufServer) { + try { + diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.9.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.9.ebuild new file mode 100644 index 00000000000..2bf5e320d81 --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-4.1.9.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2019 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="libressl luajit protobuf snmp sodium systemd" + +DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:= ) + protobuf? ( + dev-libs/protobuf + >=dev-libs/boost-1.42:= + ) + 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} + !