From d502d3d58426d595006f3ccbd1219cae4eb36152 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krzysztof=20Goli=C5=84ski?= Date: Thu, 12 Nov 2009 17:58:09 +0000 Subject: [PATCH] - jumbo path added (bcond_with jumbopath) - release 2 Changed files: john.spec -> 1.56 --- john.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/john.spec b/john.spec index 355381d..bc580d9 100644 --- a/john.spec +++ b/john.spec @@ -1,4 +1,9 @@ # +# Conditional build: +%bcond_with jumbopath # This patch integrates lots of contributed + # patches adding support for over 30 + # of additional hash types, and more. + %ifarch i586 i686 athlon pentium2 pentium3 pentium4 %define do_mmx 1 %else @@ -15,14 +20,16 @@ Summary: Password cracker Summary(pl.UTF-8): Łamacz haseł Name: john Version: 1.7.3.4 -Release: 1 +Release: 2 License: GPL Group: Applications/System Source0: http://www.openwall.com/john/g/%{name}-%{version}.tar.bz2 # Source0-md5: 2f2310c49961c3edea6f92b8dcd45ff4 Patch0: %{name}-mailer.patch +%{?with_jumbopath:Patch1: http://www.openwall.com/john/contrib/john-%{version}-jumbo-2.diff.gz} URL: http://www.openwall.com/john/ BuildRequires: rpmbuild(macros) >= 1.213 +%{?with_jumbopath:BuildRequires: openssl-devel >= 0.9.7} Requires: words BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -48,6 +55,7 @@ Windows NT/2000/XP LM, a także kilka innych przy użyciu łat. %prep %setup -q %patch0 -p1 +%{?with_jumbopath:%patch1 -p1} %build cd src -- 2.44.0