john/john.spec

changeset 755
192d78fefb97
parent 644
f341c75337f6
equal deleted inserted replaced
0:3b46024aaf05 1:b07a793c39d3
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: PLUS 31 Class: PLUS
32 Group: System 32 Group: System
33 License: GPL 33 License: GPL
34 Version: 1.7.9 34 Version: 1.7.9
35 Release: 20111124 35 Release: 20120800
36 36
37 # list of sources 37 # list of sources
38 Source0: http://www.openwall.com/john/g/john-%{version}.tar.gz 38 Source0: http://www.openwall.com/john/g/john-%{version}.tar.gz
39 Patch0: john.patch 39 Patch0: john.patch
40 40
41 # build information 41 # build information
42 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc 42 BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc
43 PreReq: OpenPKG, openpkg >= 20100101 43 PreReq: OpenPKG, openpkg >= 20100101
44 44
45 %description 45 %description
46 John the Ripper is a fast password cracker. Its primary purpose is 46 John the Ripper is a fast password cracker. Its primary purpose is
47 to detect weak Unix passwords. Besides several crypt(3) password 47 to detect weak Unix passwords. Besides several crypt(3) password
69 i?86-freebsd* ) platform="freebsd-x86-any" ;; 69 i?86-freebsd* ) platform="freebsd-x86-any" ;;
70 amd64-freebsd* ) platform="freebsd-x86-64" ;; 70 amd64-freebsd* ) platform="freebsd-x86-64" ;;
71 i?86-linux* ) platform="linux-x86-any" ;; 71 i?86-linux* ) platform="linux-x86-any" ;;
72 amd64-linux* ) platform="linux-x86-64" ;; 72 amd64-linux* ) platform="linux-x86-64" ;;
73 sun4u-sunos* ) platform="solaris-sparc64-gcc" ;; 73 sun4u-sunos* ) platform="solaris-sparc64-gcc" ;;
74 i?86-sunos* ) platform="solaris-x86-any" ;; 74 i?86-sunos* ) platform="solaris-x86-any-gcc" ;;
75 amd64-sunos* ) platform="solaris-x86-any" ;; 75 amd64-sunos* ) platform="solaris-x86-any-gcc" ;;
76 esac 76 esac
77 %{l_make} %{l_mflags} $platform CC="%{l_cc}" 77 %{l_make} %{l_mflags -O} $platform CC="%{l_cc}"
78 ) || exit $? 78 ) || exit $?
79 cat doc/README doc/OPTIONS doc/MODES >john.1 79 cat doc/README doc/OPTIONS doc/MODES >john.1
80 80
81 %install 81 %install
82 %{l_shtool} mkdir -f -p -m 755 \ 82 %{l_shtool} mkdir -f -p -m 755 \

mercurial