summaryrefslogtreecommitdiff
path: root/net-dns/dnsdist
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-19 05:57:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-19 05:57:02 +0100
commit59f8187afe529efeffdc2f967c451b159da44d5c (patch)
tree48ebf943f1f33c47ca2cc1342af6c52c43686f57 /net-dns/dnsdist
parent93d0bbd7df69c2081c2b2347ea6c88b8e967d537 (diff)
gentoo auto-resync : 19:04:2023 - 05:57:01
Diffstat (limited to 'net-dns/dnsdist')
-rw-r--r--net-dns/dnsdist/Manifest3
-rw-r--r--net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild4
-rw-r--r--net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch62
3 files changed, 68 insertions, 1 deletions
diff --git a/net-dns/dnsdist/Manifest b/net-dns/dnsdist/Manifest
index 67c19420ed8f..bbd53f0531e5 100644
--- a/net-dns/dnsdist/Manifest
+++ b/net-dns/dnsdist/Manifest
@@ -1,3 +1,4 @@
+AUX dnsdist-1.7.3-gcc13.patch 1970 BLAKE2B ac671f45112bb0b9d79c7385a0936382ea64d016220b759cbecd8ef268d34e4f5ffd59da25962303dcf59ea9abae4a9e78454cb3151691540f1b0d753b6a4f47 SHA512 6f7479425c7176717bc801c117af5a024399978183c0537977140735201f695ed6517f3a74ae7ba92ca323f25a50249d1e55b24564d93695c2ae8cf4a8fbd651
AUX dnsdist.conf.example 524 BLAKE2B e9d140129dfbd276d1fb927d73bee4e4c29920ae70d587765ea5d432f02694b1a8583340c2e14e191bbdf5ddd5b921274cb2336c3520839d7cfe6f399a4d6c26 SHA512 385bee5725d927feb50fc0f40cd48cd365a495e39c0d947aa53dc454d84b7fe3806cd1d206056c96d111e7251db2cda27570ff8154c70bed145d37bc7d1db01d
AUX dnsdist.confd 266 BLAKE2B c201b0aa3599ea7606e998348d777796ff391f3d4b0e46744160298456c86a9d9bbf65d1a339c0c13db4c796efb7c3adba01110882542fe501c735c9dd190f92 SHA512 935afc768ae56d017f6dee8bed7a3e92615055a0d4d2ae9980afef1b8f353da0e8bd6e20b914602e50b116ad33ef17ba05535b225af8b8da9ad005694edc071f
AUX dnsdist.initd 1337 BLAKE2B e2619182674439be6942a0a936208326c12cfc2839bba4fd6a2ca3653ac6083458ebf2b644d2db63c187ed33ba2bef3437680714bb76dfc7632e1b62149a6f6a SHA512 99e38a58c97dd206ea82ffc783102feaa28f74bec5e03c1790e2db0f428f8228eec43617b2c951f22320e10dbd42ddfbf40650fed28608428f9c48eec3640a8d
@@ -7,6 +8,6 @@ DIST dnsdist-1.7.3.tar.bz2 1379011 BLAKE2B e7d1cb9dba3d3ad1dd696d324697ffac60863
DIST dnsdist-1.8.0.tar.bz2 1480500 BLAKE2B 47cfcfe3756cdc4520c1ba1e11b7d60191125ef900ba829ff7437ac2041352b845ab5f7183f53fea9b3aa6f44c5745de3878c2b72f2be048fa57d2c2e9325c0c SHA512 426db3e83729bd2f8a8c8b1c02d719c6618acc0aec09d1f2670c159d441c1cad2fdc85c5ffe919e76d1b1e8e24198bf29133802cb857dfacde2dfed2532001f1
EBUILD dnsdist-1.5.1-r101.ebuild 2260 BLAKE2B 6684dd21b7ffa954bce051a28d657aee28e230ac44193bb0b158a4739723ab430636b9d399e2de887a84a15eaee9ea9806272b547f1c15ff6ce3f7630060c81f SHA512 60eddcd719cadb629dc20737b33fc0cd4b0dbc1bb25203120ec2924618049d5b650eade36837db550fa82a6b5e78999f16c472b811e0943c6c2c8b20e9c4a03f
EBUILD dnsdist-1.6.1-r1.ebuild 2167 BLAKE2B a61d12aef81bd6bb5f31b6d1cba4cec51befea7dbd07e163266595d48049e5aacb7cc57aef5f4518baab737f7535b25ea19c7d7cb5e0cb88d39c27a3919c5a95 SHA512 73a1d09809e21cd47779c7e8ca60fcabab48d4b26562ce08fd4a305365e421a2f27e9cc0c13123d9a036d3b9aa129d473e9958c776c1a0e8904237ff18424230
-EBUILD dnsdist-1.7.3-r1.ebuild 2237 BLAKE2B 0ceb0e09c542ebd775c93d1adbcd4630ee82f64f90318a6764e54a80eaac0ccc28702bd9bf581064ac64c7cf1debfe25e4565e6357d33aa42d543e49045b557f SHA512 6d531a84be771b5e1913bba6daa2acba9dc8af28196d70b2446efee85d9fcf10e5da43b38d867af2c93eb7fd12dbd3573a774b46529f76b970b622a4964fc486
+EBUILD dnsdist-1.7.3-r1.ebuild 2291 BLAKE2B 22557b7a46d9ebbdd7175a9ec45fa3dab45efdb6a492822f0d2d9b690a837920606c5c43ee1a5878f88b7673bac29e15360dad0d988efc3d61d93e9aaf4c3bd6 SHA512 88546d5480182f24d07b8159787091152814ce2c17d57eb6c46c77d879ba221a2d8f9974ee5aea2fcb2d3e2082333ceaac4a86bbc9d438c26558572fab8a5546
EBUILD dnsdist-1.8.0.ebuild 2237 BLAKE2B 0ceb0e09c542ebd775c93d1adbcd4630ee82f64f90318a6764e54a80eaac0ccc28702bd9bf581064ac64c7cf1debfe25e4565e6357d33aa42d543e49045b557f SHA512 6d531a84be771b5e1913bba6daa2acba9dc8af28196d70b2446efee85d9fcf10e5da43b38d867af2c93eb7fd12dbd3573a774b46529f76b970b622a4964fc486
MISC metadata.xml 1209 BLAKE2B 3a83a0be1b4d466d2436778b6212fda71ecf99aa00a6ad28bdeaec99ba86374585715ff477cc403247cdebeb7a99c8d91d064830e971ddd085fc3fd632393e21 SHA512 cc2a1468b6ea1e2a79b7655505b9a1c6d15354048df94ce3a406c84bc376664a46567d1c272e916e1692764495bf30ca4b26e1ad6d8801d03a57e9d4c2a95342
diff --git a/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild b/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild
index c0ec5088ac0e..72f5311ffcfb 100644
--- a/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild
+++ b/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild
@@ -45,6 +45,10 @@ RDEPEND="acct-group/dnsdist
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/"${PN}"-1.7.3-gcc13.patch
+)
+
src_configure() {
# bug #822855
append-lfs-flags
diff --git a/net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch b/net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch
new file mode 100644
index 000000000000..339887ca4a19
--- /dev/null
+++ b/net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch
@@ -0,0 +1,62 @@
+Altered slightly from upstream counterparts in order to make them apply to
+the dist tarball (updated context and filenames to match the dist).
+
+https://github.com/PowerDNS/pdns/commit/f407319cb7374baf06698786f4f39d431a36a3cc
+https://github.com/PowerDNS/pdns/commit/d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02
+
+From d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02 Mon Sep 17 00:00:00 2001
+From: Peter van Dijk <peter.van.dijk@powerdns.com>
+Date: Mon, 23 Jan 2023 14:54:09 +0100
+Subject: [PATCH] lock.hh: include <stdexcept>
+
+---
+ pdns/lock.hh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pdns/lock.hh b/pdns/lock.hh
+index e8bd82988da..a08951a266d 100644
+--- a/lock.hh
++++ b/lock.hh
+@@ -22,6 +22,7 @@
+ #pragma once
+ #include <mutex>
+ #include <shared_mutex>
++#include <stdexcept>
+
+ /*
+ This file provides several features around locks:
+From f407319cb7374baf06698786f4f39d431a36a3cc Mon Sep 17 00:00:00 2001
+From: Sander Hoentjen <shoentjen@antagonist.nl>
+Date: Mon, 20 Feb 2023 16:51:07 +0100
+Subject: [PATCH] dnsdist-protocols.hh: include <cstdint>
+
+This fixes building dnsdist with gcc13:
+```
+In file included from dnsdist-protocols.cc:26:
+dnsdist-protocols.hh:32:8: error: use of enum 'typeenum' without previous declaration
+ 32 | enum typeenum : uint8_t
+ | ^~~~~~~~
+dnsdist-protocols.hh:32:19: error: 'uint8_t' was not declared in this scope
+ 32 | enum typeenum : uint8_t
+ | ^~~~~~~
+dnsdist-protocols.hh:25:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
+ 24 | #include <vector>
+ +++ |+#include <cstdint>
+ 25 | #include <string>
+```
+---
+ pdns/dnsdist-protocols.hh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pdns/dnsdist-protocols.hh b/pdns/dnsdist-protocols.hh
+index c5c5743908d..bd2a4bb8ad1 100644
+--- a/dnsdist-protocols.hh
++++ b/dnsdist-protocols.hh
+@@ -22,6 +22,7 @@
+ #pragma once
+
+ #include <vector>
++#include <cstdint>
+ #include <string>
+
+ namespace dnsdist