[packages/hydra] - up to 9.6
baggins
baggins at pld-linux.org
Mon Oct 19 00:31:03 CEST 2026
commit 99b6462236a375fb7c5b177575ea943037b726c5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Oct 19 00:30:39 2026 +0200
- up to 9.6
g_timeout_add.patch | 30 ++++++++++++++++++++++++++++++
hydra.spec | 8 +++++---
2 files changed, 35 insertions(+), 3 deletions(-)
---
diff --git a/hydra.spec b/hydra.spec
index 072999c..8101065 100644
--- a/hydra.spec
+++ b/hydra.spec
@@ -4,17 +4,18 @@
Summary: Parallized network authentication cracker
Summary(pl.UTF-8): Zrównoleglony łamacz uwierzytelnień sieciowych
Name: hydra
-Version: 9.4
+Version: 9.6
Release: 1
License: GPL
Group: Networking
Source0: https://github.com/vanhauser-thc/THC-Archive/blob/master/Tools/%{name}-%{version}.tar.gz?raw=true&/hydra-%{version}.tar.gz
-# Source0-md5: 5486ece8f48c80fee8a5e9f6a295f4c0
+# Source0-md5: 558d2d8b9c5cb0fd18ba108bf78965da
Patch0: %{name}-nonsl.patch
Patch1: x32.patch
+Patch2: g_timeout_add.patch
URL: http://www.thc.org/thc-hydra/
BuildRequires: Firebird-devel
-BuildRequires: freerdp2-devel
+BuildRequires: freerdp3-devel
BuildRequires: gtk+2-devel
BuildRequires: libbson-devel
BuildRequires: libgpg-error-devel
@@ -60,6 +61,7 @@ Wersja GTK+ programu hydra.
%ifarch x32
%patch -P1 -p1
%endif
+%patch -P2 -p1
%build
# this is not autoconf
diff --git a/g_timeout_add.patch b/g_timeout_add.patch
new file mode 100644
index 0000000..e6aedb5
--- /dev/null
+++ b/g_timeout_add.patch
@@ -0,0 +1,30 @@
+--- thc-hydra-9.6/hydra-gtk/src/callbacks.c~ 2025-09-03 10:03:34.000000000 +0200
++++ thc-hydra-9.6/hydra-gtk/src/callbacks.c 2026-10-19 00:28:39.328016629 +0200
+@@ -385,7 +385,7 @@
+ return i;
+ }
+
+-int update_statusbar() {
++int update_statusbar(void *unused) {
+ int i, j;
+ char *options[128];
+ guint context_id;
+@@ -544,7 +544,7 @@
+
+ hydra_pid = 0;
+
+- update_statusbar();
++ update_statusbar(NULL);
+
+ /* only allocate once */
+ if (NULL == pfd)
+--- thc-hydra-9.6/hydra-gtk/src/callbacks.h~ 2025-09-03 10:03:34.000000000 +0200
++++ thc-hydra-9.6/hydra-gtk/src/callbacks.h 2026-10-19 00:28:50.464740002 +0200
+@@ -1,6 +1,6 @@
+ #include <gtk/gtk.h>
+
+-int update_statusbar();
++int update_statusbar(void *unused);
+
+ void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hydra.git/commitdiff/99b6462236a375fb7c5b177575ea943037b726c5
More information about the pld-cvs-commit
mailing list