#
+# Conditional build:
+%bcond_with jumbopatch # 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
%undefine optmmxfb
%endif
Summary: Password cracker
-Summary(pl): £amacz hase³
+Summary(pl.UTF-8): Łamacz haseł
Name: john
-Version: 1.7
-Release: 0.2
+Version: 1.7.3.4
+Release: 2
License: GPL
Group: Applications/System
-Source0: http://www.openwall.com/john/d/%{name}-%{version}.tar.bz2
-# Source0-md5: 615b912caa677eec790e28745a12b2ae
+Source0: http://www.openwall.com/john/g/%{name}-%{version}.tar.bz2
+# Source0-md5: 2f2310c49961c3edea6f92b8dcd45ff4
Patch0: %{name}-mailer.patch
+%{?with_jumbopatch:Patch1: http://www.openwall.com/john/contrib/john-%{version}-jumbo-2.diff.gz}
URL: http://www.openwall.com/john/
BuildRequires: rpmbuild(macros) >= 1.213
-BuildRequires: sed >= 4.0
+%{?with_jumbopatch:BuildRequires: openssl-devel >= 0.9.7}
Requires: words
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-John the Ripper is a password cracker, currently available for UNIX,
-DOS, WinNT/Win95. Its primary purpose is to detect weak UNIX
-passwords. It has been tested with Linux x86/Alpha/SPARC, FreeBSD x86,
-OpenBSD x86, Solaris 2.x SPARC and x86, Digital UNIX, AIX, HP-UX, and
-IRIX.
+John the Ripper is a fast password cracker, currently available for
+many flavors of Unix (11 are officially supported, not counting
+different architectures), DOS, Win32, BeOS, and OpenVMS (the latter
+requires a contributed patch). Its primary purpose is to detect weak
+Unix passwords. Besides several crypt(3) password hash types most
+commonly found on various Unix flavors, supported out of the box are
+Kerberos/AFS and Windows NT/2000/XP LM hashes, plus several more with
+contributed patches.
-%description -l pl
-John The Ripper jest "³amaczem" hase³ dostêpnym dla systemów UNIX,
-DOS, WinNT/Win95. G³ównym jego zadaniem jest wykrywanie "s³abych"
-hase³. By³ testowany z Linux x86/Alpha/SPARC, FreeBSD x86, OpenBSD x86,
-Solaris 2.x SPARC i x86, Digital UNIX, AIX, HP-UX oraz IRIX.
+%description -l pl.UTF-8
+John The Ripper jest szybkim "łamaczem" haseł dostępnym dla wielu
+rodzajów uniksów (oficjalnie obsługiwanych jest 11, nie licząc różnych
+architektur), DOS-a, Win32, BeOS-a i OpenVMS-a (ten ostatni wymaga
+łaty). Głównym zastosowaniem jest wykrywanie słabych haseł uniksowych.
+Oprócz różnych rodzajów skrótów haseł crypt(3) najczęściej używanych
+na różnych uniksach, obsługiwane są także skróty Kerberos/AFS oraz
+Windows NT/2000/XP LM, a także kilka innych przy użyciu łat.
%prep
-%setup -q
+%setup -q
%patch0 -p1
-
-sed -i -e 's/CLK_TCK/CLOCKS_PER_SEC/g' src/*.c
+%{?with_jumbopatch:%patch1 -p1}
%build
cd src
TARG=linux-x86-64
%else
TARG=generic
- %endif
+ %endif
%endif
%endif
%endif