Summary: John the Ripper password cracker Name: john Version: 1.6 Release: 0.fdr.2.1 Epoch: 0 URL: http://www.openwall.com/john License: GPL Group: Applications/System Source0: http://www.openwall.com/john/dl/john-1.6.tar.gz Patch0: john-1.6-rh.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description John the Ripper is a fast password cracker. Its primary purpose is to detect weak Unix passwords, but a number of other hash types are supported as well. %prep %setup -q %patch0 -p2 -b .orig chmod 644 doc/* %build %ifarch %{ix86} make -C src linux-x86-any-elf # TODO: Find a nice way to determine if these are better choices. #make -C src linux-x86-mmx-elf #make -C src linux-x86-k6-elf %else make -C src generic %endif %install rm -rf %{buildroot} install -d 755 %{buildroot}%{_sysconfdir} install -d 755 %{buildroot}%{_bindir} install -d 755 %{buildroot}%{_datadir}/%{name} install -m 755 run/{john,mailer} %{buildroot}%{_bindir} install -m 644 run/{*.chr,password.lst} %{buildroot}%{_datadir}/%{name} install -m 644 run/john.ini %{buildroot}%{_sysconfdir} pushd %{buildroot}%{_bindir} ln -s john unafs ln -s john unique ln -s john unshadow popd %clean rm -rf %{buildroot} %files %defattr(-, root, root, -) %doc doc/* %config(noreplace) %{_sysconfdir}/john.ini %{_bindir}/* %{_datadir}/%{name} %changelog * Fri Apr 25 2003 Marius Johndal 0:1.6-0.fdr.2 - Added epoch. - Modified makefile patch to honour %optflags. - setup -q. - Added full URL of source. * Thu Mar 6 2003 Marius Johndal 1.6-0.fdr.1 - Initial Fedora RPM release. * Sat Dec 7 2002 Marius Johndal - Misc. RH 8.0 changes. * Mon Dec 2 2002 Guillaume Rousse 1.6-2mdk - config file in /etc - fix configuration problem * Mon Sep 16 2002 Guillaume Rousse 1.6-1mdk - first mdk version