public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hydra] epel10: fixed #2022029, FTBFS with OpenSSL 3.0.0
@ 2026-11-06 15:25 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-11-06 15:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/hydra
Branch : epel10
Commit : 130c84b6f76033ea9a202543d7c6bbee5490f510
Author : Than Ngo <than@redhat.com>
Date   : 2022-05-03T11:16:00+02:00
Stats  : +16/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/hydra/c/130c84b6f76033ea9a202543d7c6bbee5490f510?branch=epel10

Log:
fixed #2022029, FTBFS with OpenSSL 3.0.0

---
diff --git a/hydra-openssl3.patch b/hydra-openssl3.patch
new file mode 100644
index 0000000..1deac3f
--- /dev/null
+++ b/hydra-openssl3.patch
@@ -0,0 +1,11 @@
+diff -up thc-hydra-9.2/hydra-mod.c.me thc-hydra-9.2/hydra-mod.c
+--- thc-hydra-9.2/hydra-mod.c.me	2022-05-03 11:09:06.514000559 +0200
++++ thc-hydra-9.2/hydra-mod.c	2022-05-03 11:10:20.699727082 +0200
+@@ -2,7 +2,6 @@
+ #include <arpa/inet.h>
+ #ifdef LIBOPENSSL
+ #include <openssl/bn.h>
+-#include <openssl/err.h>
+ #include <openssl/rsa.h>
+ #include <openssl/ssl.h>
+ #endif

diff --git a/hydra.spec b/hydra.spec
index 5d16e53..9394aff 100644
--- a/hydra.spec
+++ b/hydra.spec
@@ -1,7 +1,7 @@
 Summary:        Very fast network log-on cracker
 Name:           hydra
 Version:        9.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 License:        AGPLv3 with exceptions
 # Old URL       https://www.thc.org/thc-hydra/
 URL:            https://github.com/vanhauser-thc/thc-hydra
@@ -12,6 +12,7 @@ Source2:        xhydra.png
 # Sent upstream via email 20120518
 Patch0:         hydra-use-system-libpq-fe.patch
 Patch1:         hydra-fix-dpl4hydra-dir.patch
+Patch2:         hydra-openssl3.patch
 
 BuildRequires:  apr-devel
 BuildRequires:  desktop-file-utils
@@ -100,6 +101,9 @@ sed -i 's|^INSTALLDIR=.*|INSTALLDIR=/usr|' %{buildroot}/%{_bindir}/dpl4hydra.sh
 %{_datadir}/applications/*
 
 %changelog
+* Tue May 03 2022 Than Ngo <than@redhat.com> - 9.2-7
+- fixed bz#2022029, FTBFS with OpenSSL 3.0.0
+
 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-06 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 15:25 [rpms/hydra] epel10: fixed #2022029, FTBFS with OpenSSL 3.0.0 Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox