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