1 |
zerochaos 12/07/02 01:52:04 |
2 |
|
3 |
Added: metadata.xml oclhashcat-plus-bin-0.081.ebuild |
4 |
ChangeLog |
5 |
Log: |
6 |
initial commit of oclhashcat-plus-bin |
7 |
|
8 |
(Portage version: 2.1.11.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-crypt/oclhashcat-plus-bin/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/metadata.xml?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/metadata.xml?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
<?xml version="1.0" encoding="UTF-8"?> |
19 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 |
<pkgmetadata> |
21 |
<herd>crypto</herd> |
22 |
<maintainer> |
23 |
<email>zerochaos@g.o</email> |
24 |
<name>Rick Farina</name> |
25 |
</maintainer> |
26 |
</pkgmetadata> |
27 |
|
28 |
|
29 |
|
30 |
|
31 |
1.1 app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild |
32 |
|
33 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild?rev=1.1&view=markup |
34 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild?rev=1.1&content-type=text/plain |
35 |
|
36 |
Index: oclhashcat-plus-bin-0.081.ebuild |
37 |
=================================================================== |
38 |
# Copyright 1999-2012 Gentoo Foundation |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.081.ebuild,v 1.1 2012/07/02 01:52:04 zerochaos Exp $ |
41 |
|
42 |
EAPI=4 |
43 |
|
44 |
inherit eutils pax-utils |
45 |
|
46 |
DESCRIPTION="An opencl multihash cracker" |
47 |
HOMEPAGE="http://hashcat.net/oclhashcat-plus/" |
48 |
|
49 |
MY_P="oclHashcat-plus-${PV}" |
50 |
SRC_URI="amd64? ( http://hashcat.net/files/${MY_P}-64.7z ) \ |
51 |
x86? ( http://hashcat.net/files/${MY_P}-32.7z )" |
52 |
|
53 |
LICENSE="hashcat" |
54 |
SLOT="0" |
55 |
KEYWORDS="-* ~amd64 ~x86" |
56 |
|
57 |
IUSE_VIDEO_CARDS="video_cards_fglrx |
58 |
video_cards_nvidia" |
59 |
|
60 |
IUSE="${IUSE_VIDEO_CARDS}" |
61 |
|
62 |
RDEPEND="sys-libs/zlib |
63 |
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-290.40 ) |
64 |
video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.4 )" |
65 |
DEPEND="${RDEPEND} |
66 |
app-arch/p7zip" |
67 |
|
68 |
#S="${WORKDIR}/${MY_P}" |
69 |
#temporary hack needed due to 0.81 patch release |
70 |
S="${WORKDIR}/oclHashcat-plus-0.08" |
71 |
|
72 |
RESTRICT="strip" |
73 |
QA_PREBUILT="*Hashcat-plus*.bin" |
74 |
|
75 |
src_install() { |
76 |
dodoc docs/* |
77 |
rm -rf *.exe docs |
78 |
if use x86; then |
79 |
rm oclHashcat-plus64.bin |
80 |
rm cudaHashcat-plus64.bin |
81 |
rm kernels/4098/*64* kernels/4318/*64* |
82 |
fi |
83 |
if use amd64; then |
84 |
rm oclHashcat-plus32.bin |
85 |
rm cudaHashcat-plus32.bin |
86 |
rm kernels/4098/*32* kernels/4318/*32* |
87 |
fi |
88 |
if ! use video_cards_fglrx; then |
89 |
rm -rf kernels/4098 |
90 |
rm -f oclHashcat-plus*.bin |
91 |
fi |
92 |
if ! use video_cards_nvidia; then |
93 |
rm -rf kernels/4318 |
94 |
rm -f cudaHashcat-plus*.bin |
95 |
fi |
96 |
pax-mark m *Hashcat-plus*.bin |
97 |
|
98 |
insinto /opt/${PN} |
99 |
doins -r "${S}"/* || die "Copy files failed" |
100 |
|
101 |
dodir /usr/bin |
102 |
echo '#! /bin/sh' > "${ED}"/usr/bin/oclhashcat-plus |
103 |
echo 'echo "oclHashcat-plus and all related files have been installed in /opt/oclhashcat-plus-bin"' >> "${ED}"/usr/bin/oclhashcat-plus |
104 |
echo 'echo "Please run one of the following binaries to use gpu accelerated hashcat:"' >> "${ED}"/usr/bin/oclhashcat-plus |
105 |
if [ -f "${ED}"/opt/${PN}/oclHashcat-plus64.bin ] |
106 |
then |
107 |
echo 'echo "64 bit ATI accelerated \"oclHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus |
108 |
fperms +x /opt/${PN}/oclHashcat-plus64.bin |
109 |
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus64.bin |
110 |
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus64.bin |
111 |
echo 'echo "Warning: oclHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus64.bin |
112 |
echo './oclHashcat-plus64.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus64.bin |
113 |
fperms +x /usr/bin/oclHashcat-plus64.bin |
114 |
|
115 |
fi |
116 |
if [ -f "${ED}"/opt/${PN}/oclHashcat-plus32.bin ] |
117 |
then |
118 |
echo 'echo "32 bit ATI accelerated \"oclHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus |
119 |
fperms +x /opt/${PN}/oclHashcat-plus32.bin |
120 |
echo '#! /bin/sh' > "${ED}"/usr/bin/oclHashcat-plus32.bin |
121 |
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/oclHashcat-plus32.bin |
122 |
echo 'echo "Warning: oclHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/oclHashcat-plus32.bin |
123 |
echo './oclHashcat-plus32.bin $@' >> "${ED}"/usr/bin/oclHashcat-plus32.bin |
124 |
fperms +x /usr/bin/oclHashcat-plus32.bin |
125 |
fi |
126 |
if [ -f "${ED}"/opt/${PN}/cudaHashcat-plus64.bin ] |
127 |
then |
128 |
echo 'echo "64 bit NVIDIA accelerated \"cudaHashcat-plus64.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus |
129 |
fperms +x /opt/${PN}/cudaHashcat-plus64.bin |
130 |
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus64.bin |
131 |
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin |
132 |
echo 'echo "Warning: cudaHashcat-plus64.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin |
133 |
echo './cudaHashcat-plus64.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus64.bin |
134 |
fperms +x /usr/bin/cudaHashcat-plus64.bin |
135 |
|
136 |
fi |
137 |
if [ -f "${ED}"/opt/${PN}/cudaHashcat-plus32.bin ] |
138 |
then |
139 |
echo 'echo 32 bit NVIDIA accelerated \"cudaHashcat-plus32.bin\""' >> "${ED}"/usr/bin/oclhashcat-plus |
140 |
fperms +x /opt/${PN}/cudaHashcat-plus32.bin |
141 |
echo '#! /bin/sh' > "${ED}"/usr/bin/cudaHashcat-plus32.bin |
142 |
echo 'cd /opt/oclhashcat-plus-bin' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin |
143 |
echo 'echo "Warning: cudaHashcat-plus32.bin is running from $(pwd) so be careful of relative paths."' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin |
144 |
echo './cudaHashcat-plus32.bin $@' >> "${ED}"/usr/bin/cudaHashcat-plus32.bin |
145 |
fperms +x /usr/bin/oclHashcat-plus32.bin |
146 |
fi |
147 |
fperms +x /usr/bin/oclhashcat-plus |
148 |
} |
149 |
|
150 |
|
151 |
|
152 |
1.1 app-crypt/oclhashcat-plus-bin/ChangeLog |
153 |
|
154 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?rev=1.1&view=markup |
155 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?rev=1.1&content-type=text/plain |
156 |
|
157 |
Index: ChangeLog |
158 |
=================================================================== |
159 |
# ChangeLog for app-crypt/oclhashcat-plus-bin |
160 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
161 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.1 2012/07/02 01:52:04 zerochaos Exp $ |
162 |
|
163 |
*oclhashcat-plus-bin-0.081 (02 Jul 2012) |
164 |
|
165 |
02 Jul 2012; Rick Farina <zerochaos@g.o> +metadata.xml, |
166 |
+oclhashcat-plus-bin-0.081.ebuild: |
167 |
initial commit of oclhashcat-plus-bin |