public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hydra] epel10: fixed #2022029, FTBFS with OpenSSL 3.0.0
Date: Fri, 06 Nov 2026 15:25:51 GMT	[thread overview]
Message-ID: <179397875154.1.4723430662008675224.rpms-hydra-130c84b6f760@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-06 15:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179397875154.1.4723430662008675224.rpms-hydra-130c84b6f760@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox