]> git.pld-linux.org Git - packages/john.git/commitdiff
Entry
authorwojtek <wojtek@pld.org.pl>
Sun, 14 Feb 1999 18:10:58 +0000 (18:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    john.spec -> 1.1

john.spec [new file with mode: 0644]

diff --git a/john.spec b/john.spec
new file mode 100644 (file)
index 0000000..c2d6af3
--- /dev/null
+++ b/john.spec
@@ -0,0 +1,77 @@
+Summary:       Password cracker
+Summary(pl):   £amacz hase³
+Name:          john
+Version:       1.6
+Release:       2d
+Copyright:     GPL
+Group:         Utilities/System
+Group(pl):     Narzêdzia/System
+Source:                %{name}-%{version}.tar.gz
+Patch0:                %{name}-%{version}.PLD.diff
+Patch1:                %{name}-%{version}.ini.diff
+Patch2:                %{name}-%{version}.makefile.diff
+URL:           http://www.false.com/security/john/
+Buildroot:     /tmp/%{name}-%{version}-buildroot
+
+%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.
+  
+%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³.
+  
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+cd src
+# Hmm. I don't know what is in /proc/cpuinfo on other processors than Intel MMX
+if grep -q "MMX" /proc/cpuinfo; then
+       make OPT="$RPM_OPT_FLAGS" linux-x86-mmx-elf
+elif grep -q "K6" /proc/cpuinfo; then
+       make OPT="$RPM_OPT_FLAGS" linux-x86-k6-elf
+elif grep -q "Alpha" /proc/cpuinfo; then
+       make OPT="$RPM_OPT_FLAGS" linux-alpha
+elif grep -q "SPARC" /proc/cpuinfo; then
+       make OPT="$RPM_OPT_FLAGS" linux-sparc
+else
+       make OPT="$RPM_OPT_FLAGS" linux-x86-any-elf
+fi
+       
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/usr/{bin,lib/john}
+install run/*.chr $RPM_BUILD_ROOT/usr/lib/john
+install run/john.ini $RPM_BUILD_ROOT/usr/lib/john
+install run/john $RPM_BUILD_ROOT/usr/bin
+
+bzip2 -9 doc/* run/mailer
+
+cd $RPM_BUILD_ROOT/usr/bin
+ln -s john unafs; ln -s john unique; ln -s john unshadow
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/* run/mailer.bz2
+
+%attr(755,root,root) /usr/bin/*
+
+%dir /usr/lib/john
+/usr/lib/john/*
+
+%changelog
+* Wed Dec 09 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
+- added ini patch.
+
+* Sun Oct 06 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
+- initial rpm release.
This page took 0.035438 seconds and 4 git commands to generate.