public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hydra] epel10: bumpt to new version 9.2
@ 2026-11-06 15:25 Michal Ambroz
  0 siblings, 0 replies; only message in thread
From: Michal Ambroz @ 2026-11-06 15:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/hydra
Branch : epel10
Commit : c343ddee1379e93337ddb4f44fcbe89c3ba8fc2a
Author : Michal Ambroz <rebus@seznam.cz>
Date   : 2021-03-24T04:57:16+01:00
Stats  : +17/-158 in 8 file(s)
URL    : https://src.fedoraproject.org/rpms/hydra/c/c343ddee1379e93337ddb4f44fcbe89c3ba8fc2a?branch=epel10

Log:
bumpt to new version 9.2

---
diff --git a/.gitignore b/.gitignore
index 3765d52..2283651 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /hydra-8.6.tar.gz
 /hydra-8.9.1.tar.gz
 /hydra-9.0.tar.gz
+/hydra-9.2.tar.gz

diff --git a/hydra-7.3-s390x.patch b/hydra-7.3-s390x.patch
deleted file mode 100644
index 8a74687..0000000
--- a/hydra-7.3-s390x.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -up hydra-7.3/configure.s390x hydra-7.3/configure
---- orig/hydra-7.3/configure	2012-12-22 10:22:12.000000000 +0100
-+++ s390x/hydra-7.3/configure	2012-12-22 10:23:54.000000000 +0100
-@@ -39,6 +39,10 @@ if [ "$SYSS" = "Linux" -o "$SYSS" = "Ope
-     SIXFOUR=64
-     echo Detected 64 Bit $SYSS OS
-   fi
-+  if [ `uname -m` = "s390x" ]; then
-+    SIXFOUR=64
-+    echo Detected 64 Bit $SYSS OS
-+  fi
- fi
- PREFIX=""
- NOSTRIP=""

diff --git a/hydra-fix-apr-svn.patch b/hydra-fix-apr-svn.patch
deleted file mode 100644
index 3f67e45..0000000
--- a/hydra-fix-apr-svn.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From db9025bf86e79f1af1e1d70bdc6ea133e486c781 Mon Sep 17 00:00:00 2001
-From: Hank Leininger <hlein@korelogic.com>
-Date: Sat, 18 May 2019 15:56:08 -0600
-Subject: [PATCH] Worked around APR_PATH_MAX errors on some Linuxes when SVN is
- enabled.
-
-On Gentoo Linux (and possibly others?) with Subversion 1.12.0,
-compilation of hydra-svn.c fails with:
-
-In file included from /usr/include/subversion-1/svn_client.h:34,
-                 from hydra-svn.c:9:
-/usr/include/apr-1/apr.h:632:2: error: #error no decision has been made on APR_PATH_MAX for your platform
- #error no decision has been made on APR_PATH_MAX for your platform
-  ^~~~~
-
-This happens when PATH_MAX is not defined.
-
-PATH_MAX is defined by /usr/include/linux/limits.h, but rather than
-include'ing that directly and possibly breaking other platforms,
-include sys/param.h (which will include linux/limits.h indirectly)
-iff PATH_MAX is not defined and sys/param.h exists.
-
-I based the approach on how math.h is handled.
----
- configure   | 8 ++++++--
- hydra-svn.c | 4 ++++
- 2 files changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/configure b/configure
-index d09ac9d..0309e53 100755
---- a/configure
-+++ b/configure
-@@ -557,6 +557,10 @@ for i in $INCDIRS ; do
-         fi
-     fi  
- done
-+SYS_PARAM=""
-+if [ -f "$SDK_PATH/usr/include/sys/param.h" ]; then
-+  SYS_PARAM=-DHAVE_SYS_PARAM_H
-+fi
- if [ "X" != "X$DEBUG" ]; then
-    echo DEBUG: SVN_PATH=$SVN_PATH/libsvn_client-1
-    echo DEBUG: APR_PATH=$APR_PATH/libapr
-@@ -1501,7 +1505,7 @@ else
- fi
- 
- if [ "X" != "X$DEBUG" ]; then
--   echo DEBUG: XDEFINES=$XDEFINES $MATH
-+   echo DEBUG: XDEFINES=$XDEFINES $MATH $SYS_PARAM
-    echo DEBUG: XLIBS=$XLIBS
-    echo DEBUG: XLIBPATHS=$XLIBPATHS
-    echo DEBUG: XIPATHS=$XIPATHS
-@@ -1519,7 +1523,7 @@ if [ "X" != "X$FHS" ]; then
-   echo "MANDIR = /share/man/man1" >> Makefile.in
-   echo "DATADIR = /share/hydra" >> Makefile.in
- fi
--echo "XDEFINES=$XDEFINES $MATH" >> Makefile.in
-+echo "XDEFINES=$XDEFINES $MATH $SYS_PARAM" >> Makefile.in
- echo "XLIBS=$XLIBS" >> Makefile.in
- echo "XLIBPATHS=$XLIBPATHS" >> Makefile.in
- echo "XIPATHS=$XIPATHS" >> Makefile.in
-diff --git a/hydra-svn.c b/hydra-svn.c
-index eaf51f2..f180fbd 100644
---- a/hydra-svn.c
-+++ b/hydra-svn.c
-@@ -6,6 +6,10 @@
- /* needed on openSUSE */
- #define _GNU_SOURCE
- 
-+#if !defined PATH_MAX && defined HAVE_SYS_PARAM_H
-+#include <sys/param.h>
-+#endif
-+
- #include <svn_client.h>
- #include <svn_cmdline.h>
- #include <svn_pools.h>

diff --git a/hydra-fix-firebird-includes.patch b/hydra-fix-firebird-includes.patch
deleted file mode 100644
index 83f3770..0000000
--- a/hydra-fix-firebird-includes.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-In Fedora the ibase.h is in the /usr/include/firebird/ folder and not directly in 
-/usr/include/ as expected by the configure script.
-
-Reported upstream: https://github.com/vanhauser-thc/thc-hydra/pull/500
-diff -ru thc-hydra-9.0/configure thc-hydra-9.0.new/configure
---- thc-hydra-9.0/configure	2019-05-17 06:50:01.000000000 +0000
-+++ thc-hydra-9.0.new/configure	2020-03-03 15:51:00.780609553 +0000
-@@ -608,6 +608,9 @@
-         if [ -f "$i/ibase.h" ]; then
-             FIREBIRD_IPATH="$i"
-         fi
-+        if [ -f "$i/firebird/ibase.h" ]; then
-+            FIREBIRD_IPATH="$i/firebird/"
-+        fi
-     fi
- done
- if [ "X" != "X$DEBUG" ]; then

diff --git a/hydra-fix-makefile.patch b/hydra-fix-makefile.patch
deleted file mode 100644
index bc723a8..0000000
--- a/hydra-fix-makefile.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- orig/Makefile.am	2014-05-25 22:02:41.116000000 +0100
-+++ new/Makefile.am	2014-05-25 22:05:55.592000000 +0100
-@@ -52,20 +52,21 @@
- .c.o:	
- 	$(CC) $(OPTS) $(SEC) $(CFLAGS) $(CPPFLAGS) -c $< $(XDEFINES) $(XIPATHS)
- 
--strip:	all
--	strip $(BINS)
--	-echo OK > /dev/null && test -x xhydra && strip xhydra || echo OK > /dev/null
-+#strip:	all
-+#	strip $(BINS)
-+#	-echo OK > /dev/null && test -x xhydra && strip xhydra || echo OK > /dev/null
- 
--install:	strip
-+install:
- 	-mkdir -p $(PREFIX)$(DIR)
- 	cp -f hydra-wizard.sh $(BINS) $(PREFIX)$(DIR) && cd $(PREFIX)$(DIR) && chmod 755 hydra-wizard.sh $(BINS)
- 	-echo OK > /dev/null && test -x xhydra && cp xhydra $(PREFIX)$(DIR) && cd $(PREFIX)$(DIR) && chmod 755 xhydra || echo OK > /dev/null
- 	-sed -e "s|^INSTALLDIR=.*|INSTALLDIR="$(PREFIX)"|" dpl4hydra.sh > $(PREFIX)/bin/dpl4hydra.sh
- 	-chmod 755 $(PREFIX)/bin/dpl4hydra.sh
--	-mkdir -p $(PREFIX)/etc/
--	-cp -f *.csv $(PREFIX)/etc/
--	-mkdir -p $(PREFIX)/man/man1
--	-cp -f hydra.1 xhydra.1 pw-inspector.1 $(PREFIX)/man/man1
-+	-mkdir -p $(PREFIX)/share/hydra
-+	-cp -f *.csv $(PREFIX)/share/hydra
-+	-mkdir -p $(PREFIX)/share/man/man1
-+	-cp -f hydra.1 xhydra.1 pw-inspector.1 $(PREFIX)/share/man/man1
-+
- 
- clean:
- 	rm -rf xhydra pw-inspector hydra *.o core *.core *.stackdump *~ Makefile.in Makefile dev_rfc hydra.restore arm/*.ipk arm/ipkg/usr/bin/* hydra-gtk/src/*.o hydra-gtk/src/xhydra hydra-gtk/stamp-h hydra-gtk/config.status hydra-gtk/errors hydra-gtk/config.log hydra-gtk/src/.deps hydra-gtk/src/Makefile hydra-gtk/Makefile

diff --git a/hydra-use-system-libpq-fe.patch b/hydra-use-system-libpq-fe.patch
index 143eeff..2ef506f 100644
--- a/hydra-use-system-libpq-fe.patch
+++ b/hydra-use-system-libpq-fe.patch
@@ -1,12 +1,12 @@
---- orig/hydra-postgres.c	2012-05-18 22:17:20.839998208 +0100
-+++ new/hydra-postgres.c	2012-05-18 22:19:36.546989957 +0100
-@@ -14,7 +14,8 @@
- }
+--- orig/hydra-postgres.c.orig	2021-03-24 03:29:23.732191974 +0100
++++ new/hydra-postgres.c	2021-03-24 03:29:58.167409496 +0100
+@@ -11,7 +11,8 @@
+ void dummy_postgres() { printf("\n"); }
  #else
  
--#include "libpq-fe.h"           // Postgres connection functions
+-#include "libpq-fe.h" // Postgres connection functions
 +/* Postgres connection functions */
-+#include <libpq-fe.h>    
++#include <libpq-fe.h>
  #include <stdio.h>
  
  #define DEFAULT_DB "template1"

diff --git a/hydra.spec b/hydra.spec
index 7487f73..e3c8c89 100644
--- a/hydra.spec
+++ b/hydra.spec
@@ -1,7 +1,7 @@
 Summary:        Very fast network log-on cracker
 Name:           hydra
-Version:        9.0
-Release:        7%{?dist}
+Version:        9.2
+Release:        1%{?dist}
 License:        AGPLv3 with exceptions
 # Old URL       https://www.thc.org/thc-hydra/
 URL:            https://github.com/vanhauser-thc/thc-hydra
@@ -12,13 +12,6 @@ Source2:        xhydra.png
 # Sent upstream via email 20120518
 Patch0:         hydra-use-system-libpq-fe.patch
 Patch1:         hydra-fix-dpl4hydra-dir.patch
-# APR used in libsvn needs inclusion of the linux limits.h first
-# already implemented upstream
-# https://github.com/vanhauser-thc/thc-hydra/commit/db9025bf86e79f1af1e1d70bdc6ea133e486c781.patch
-Patch2:         hydra-fix-apr-svn.patch
-# In Fedora the firebird includes are not in /include but /include/firebird
-# Reported upstream: https://github.com/vanhauser-thc/thc-hydra/pull/500
-Patch3:         hydra-fix-firebird-includes.patch
 
 BuildRequires:  apr-devel
 BuildRequires:  desktop-file-utils
@@ -73,7 +66,8 @@ make %{?_smp_mflags}
 
 %install
 
-make install DESTDIR="%{buildroot}" PREFIX="" BINDIR="%{_bindir}" MANDIR="%{_mandir}/man1" DATADIR="%{_datadir}/%{name}"
+make install DESTDIR="%{buildroot}" PREFIX="" BINDIR="%{_bindir}" MANDIR="%{_mandir}/man1" DATADIR="%{_datadir}/%{name}" \
+   PIXDIR="%{_datadir}/pixmaps" APPDIR="%{_datadir}/applications"
 
 mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps}
 install -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
@@ -84,8 +78,8 @@ sed -i 's|^INSTALLDIR=.*|INSTALLDIR=/usr|' %{buildroot}/%{_bindir}/dpl4hydra.sh
 
 
 %files
-%doc CHANGES README
-%license LICENSE LICENSE.OPENSSL 
+%doc CHANGES README.md
+%license LICENSE LICENSE.OPENSSL
 %{_bindir}/hydra
 %{_bindir}/pw-inspector
 %{_bindir}/hydra-wizard.sh
@@ -102,6 +96,9 @@ sed -i 's|^INSTALLDIR=.*|INSTALLDIR=/usr|' %{buildroot}/%{_bindir}/dpl4hydra.sh
 %{_datadir}/applications/*
 
 %changelog
+* Tue Mar 23 2021 Michal Ambroz <rebus _at seznam.cz>  9.2-1
+- bump to new release 9.2
+
 * Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 9.0-7
 - rebuild for libpq ABI fix rhbz#1908268
 

diff --git a/sources b/sources
index 51d22b1..0d51e56 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hydra-9.0.tar.gz) = 58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338
+SHA512 (hydra-9.2.tar.gz) = ee8ecd854b61ac9d708098c8a0d9a128d8b80b38db1a2ba8eb06de6fbbc6865135d994620ade8e3742fb993899274ed9d8fd0e95bed7a9fbeb1ca9e182540322

^ 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: bumpt to new version 9.2 Michal Ambroz

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