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

A new commit has been pushed.

Repo   : rpms/hydra
Branch : epel10
Commit : afaf142f355bb2e0d45b26dfd7dd12159afd9c88
Author : Athmane Madjoudj <athmane@fedoraproject.org>
Date   : 2016-06-19T21:02:01+00:00
Stats  : +31/-17 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/hydra/c/afaf142f355bb2e0d45b26dfd7dd12159afd9c88?branch=epel10

Log:
Update to 8.2

---
diff --git a/.gitignore b/.gitignore
index 570678c..5e4d07d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /hydra-7.6.tar.gz
 /hydra-8.0.tar.gz
 /hydra-8.1.tar.gz
+/hydra-8.2-adb69bd.tar.gz

diff --git a/hydra.spec b/hydra.spec
index b220b83..6b600f5 100644
--- a/hydra.spec
+++ b/hydra.spec
@@ -1,19 +1,26 @@
-Summary: Very fast network log-on cracker
-Name: hydra
-Version: 8.1
-Release: 3%{?dist}
-License: AGPLv3 with exceptions
-Source0: http://freeworld.thc.org/releases/%{name}-%{version}.tar.gz
-Source1: xhydra.desktop
+%define         gituser         vanhauser-thc
+%define         gitname         thc-hydra
+%global         commit          adb69bd692842605d8d374dae664136f82806687
+%global         shortcommit     %(c=%{commit}; echo ${c:0:7})
+
+
+Summary:        Very fast network log-on cracker
+Name:           hydra
+Version:        8.2
+Release:        1%{?dist}
+License:        AGPLv3 with exceptions
+URL:            https://www.thc.org/thc-hydra/
+#Source0:       http://freeworld.thc.org/releases/_{name}-_{version}.tar.gz
+#Source0:       http://www.thc.org/releases/_{name}-_{version}.tar.gz
+Source0:        https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+Source1:        xhydra.desktop
 # Upstream provides non-transparent jpeg
-Source2: xhydra.png
+Source2:        xhydra.png
 # Sent upstream via email 20120518
-Patch0: hydra-use-system-libpq-fe.patch
-Patch1: hydra-fix-dpl4hydra-dir.patch
-Patch2: hydra-fix-makefile.patch
+Patch0:         hydra-use-system-libpq-fe.patch
+Patch1:         hydra-fix-dpl4hydra-dir.patch
 
 
-URL: http://www.thc.org/thc-hydra/
 BuildRequires: openssl-devel, apr-devel, libssh-devel, libidn-devel
 BuildRequires: subversion-devel, postgresql-devel, pcre-devel, gtk2-devel
 BuildRequires: desktop-file-utils, firebird-devel, mysql-devel 
@@ -33,20 +40,23 @@ BuildRequires: gtk2-devel, pkgconfig
 This package includes xhydra, a GTK+ front end for hydra. 
 
 %prep
-%setup -q
+#setup -q
+%setup -qn %{gitname}-%{commit}
 
 %patch0 -p0
 %patch1 -p0
-%patch2 -p0
+
+#fix permissions - already fixed upstream in 8.3-dev
+chmod -x *.csv hydra-gtk/src/*.c hydra-gtk/src/*.h
+
 
 %build
-export BINDIR=%{_bindir}
 %configure --nostrip
 make %{?_smp_mflags}
 
 %install
 
-make install PREFIX="%{buildroot}/usr"
+make install DESTDIR="%{buildroot}" PREFIX="" BINDIR="%{_bindir}" MANDIR="%{_mandir}/man1" DATADIR="%{_datadir}/%{name}"
 
 mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps}
 install -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
@@ -74,6 +84,9 @@ sed -i 's|^INSTALLDIR=.*|INSTALLDIR=/usr|' %{buildroot}/%{_bindir}/dpl4hydra.sh
 %{_datadir}/applications/*
 
 %changelog
+* Fri Jun 17 2016 Michal Ambroz <rebus _at seznam.cz>  8.2-1
+- Update to 8.2
+
 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 

diff --git a/sources b/sources
index aa016da..63c9539 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7a20011400c6282603d4b1ae461cabf2  hydra-8.1.tar.gz
+75f4ca6cc5905bfb6e0ae04b588ed2af  hydra-8.2-adb69bd.tar.gz

^ 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: Update to 8.2 Athmane Madjoudj

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