Summary: Password cracker
Summary(pl.UTF-8): Łamacz haseł
Name: john
-Version: 1.7.8
+Version: 1.7.9
Release: 1
License: GPL v2
Group: Applications/System
Source0: http://www.openwall.com/john/g/%{name}-%{version}.tar.bz2
-# Source0-md5: e6d7f261829610d6949c706ebac0517c
+# Source0-md5: 45f54fc59386ecd67daaef9f19781d93
Patch0: %{name}-mailer.patch
Patch1: optflags.patch
-Patch2: http://www.openwall.com/john/g/%{name}-%{version}-jumbo-2.diff.gz
-# Patch2-md5: 445bbcc9049a632c18359cb7a0fdfb27
+Patch2: http://www.openwall.com/john/g/%{name}-1.7.8-jumbo-8.diff.gz
+# Patch2-md5: 96cb581fd8447f3f96614fd365896b07
Patch3: %{name}-jumbo-optflags.patch
URL: http://www.openwall.com/john/
%{?with_jumbopatch:BuildRequires: openssl-devel >= 0.9.7}
---- john-1.7.6/src/Makefile~ 2010-06-14 00:12:37.000000000 +0300
-+++ john-1.7.6/src/Makefile 2010-11-05 13:09:41.713609665 +0200
-@@ -19,11 +19,12 @@
- #OMPFLAGS = -fopenmp
+--- john-1.7.9/src/Makefile.orig 2011-11-23 01:19:21.000000000 +0100
++++ john-1.7.9/src/Makefile 2011-11-27 11:01:56.437966014 +0100
+@@ -20,7 +20,7 @@
+ #OMPFLAGS = -fopenmp -msse2
# Sun Studio with OpenMP (set the OMP_NUM_THREADS env var at runtime)
#OMPFLAGS = -xopenmp
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer $(OMPFLAGS)
+CFLAGS = -c $(OPTFLAGS) -fomit-frame-pointer $(OMPFLAGS)
+ # CFLAGS for use on the main john.c file only
+ CFLAGS_MAIN = $(CFLAGS)
ASFLAGS = -c $(OMPFLAGS)
- LDFLAGS = -s $(OMPFLAGS)
+@@ -28,6 +28,7 @@
OPT_NORMAL = -funroll-loops
- OPT_INLINE = -finline-functions
+ # Remove the "-Os" if you're using an ancient version of gcc
+ OPT_INLINE = -Os -funroll-loops -finline-functions
+OPTFLAGS = -Wall -O2
JOHN_OBJS = \