commit:     1fe81fb6c707abc4a5223e529abfab9d90477312
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Feb 12 06:43:03 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Apr 14 08:53:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe81fb6

net-analyzer/ospd-openvas: fix tests.messaging.test_mqtt.MQTTDaemonTestCase 
backport upstream fix

[flow: do not bump the revision for test-only changes]

Closes: https://bugs.gentoo.org/934153
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40543
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/ospd-openvas/Manifest                      |  1 +
 net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/ospd-openvas/Manifest 
b/net-analyzer/ospd-openvas/Manifest
index d5ed00caaaf8..98fce6477374 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1 +1,2 @@
+DIST ospd-openvas-22.7.1-add-delay-in-mqtt-test.patch 1238 BLAKE2B 
72d107f5056b72f7269e7408712b6a6a67b201c71024eff299eca0b1b5471dceb69c5d00df2d021d81cfd465bec85ea743f1e4c566840264d3f40481f5bca639
 SHA512 
c37e0d69ac4eb0eb6ee48c3f519c6ad2049b3cb81904fa9c0475e4fb700a2addf57001f277fdc0e48d40fb23b835ed17400cda3d46db5fa7e61babd1ee7d7c14
 DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B 
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
 SHA512 
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552

diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild 
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
index 3d8fa048e255..4830118bd01b 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
@@ -9,7 +9,11 @@ inherit distutils-r1 systemd
 
 DESCRIPTION="This is an OSP server implementation to allow GVM to remotely 
control OpenVAS"
 HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="
+       https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+       
https://github.com/greenbone/ospd-openvas/commit/f968bcc540c22dad89a2ee3bdfc6384b97b6fa0f.patch
+               -> ${PN}-22.7.1-add-delay-in-mqtt-test.patch
+"
 
 LICENSE="AGPL-3+ GPL-2+"
 SLOT="0"
@@ -41,6 +45,10 @@ RDEPEND="
        notus? ( >=net-analyzer/notus-scanner-22.4 )
 "
 
+PATCHES=(
+       "${DISTDIR}/${PN}-22.7.1-add-delay-in-mqtt-test.patch" #934153
+)
+
 distutils_enable_tests unittest
 
 python_compile() {

Reply via email to