1 |
alonbl 15/02/28 21:59:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hashcat-bin-0.49.ebuild |
5 |
Log: |
6 |
Version bump, bug#540406 |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
9 |
|
10 |
Revision Changes Path |
11 |
1.12 app-crypt/hashcat-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/ChangeLog?rev=1.12&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/ChangeLog?rev=1.12&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/ChangeLog?r1=1.11&r2=1.12 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v |
20 |
retrieving revision 1.11 |
21 |
retrieving revision 1.12 |
22 |
diff -u -r1.11 -r1.12 |
23 |
--- ChangeLog 5 May 2014 15:42:54 -0000 1.11 |
24 |
+++ ChangeLog 28 Feb 2015 21:59:15 -0000 1.12 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-crypt/hashcat-bin |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.11 2014/05/05 15:42:54 alonbl Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/ChangeLog,v 1.12 2015/02/28 21:59:15 alonbl Exp $ |
31 |
+ |
32 |
+*hashcat-bin-0.49 (28 Feb 2015) |
33 |
+ |
34 |
+ 28 Feb 2015; Alon Bar-Lev <alonbl@g.o> +hashcat-bin-0.49.ebuild: |
35 |
+ Version bump, bug#540406 |
36 |
|
37 |
*hashcat-bin-0.47 (05 May 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-crypt/hashcat-bin/hashcat-bin-0.49.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.49.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.49.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: hashcat-bin-0.49.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.49.ebuild,v 1.1 2015/02/28 21:59:15 alonbl Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
MY_P="hashcat-${PV}" |
56 |
|
57 |
inherit eutils pax-utils |
58 |
DESCRIPTION="An multi-threaded multihash cracker" |
59 |
HOMEPAGE="http://hashcat.net/hashcat/" |
60 |
|
61 |
SRC_URI="http://hashcat.net/files/${MY_P}.7z" |
62 |
|
63 |
#license applies to this version per http://hashcat.net/forum/thread-1348.html |
64 |
LICENSE="hashcat" |
65 |
SLOT="0" |
66 |
KEYWORDS="-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux" |
67 |
|
68 |
IUSE="" |
69 |
|
70 |
RDEPEND="" |
71 |
DEPEND="${RDEPEND} |
72 |
app-arch/p7zip" |
73 |
|
74 |
S="${WORKDIR}/${MY_P}" |
75 |
|
76 |
RESTRICT="strip" |
77 |
QA_PREBUILT="opt/${PN}/hashcat-cli*.bin |
78 |
opt/${PN}/hashcat-cli64.app" |
79 |
|
80 |
has_xop() { |
81 |
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1" |
82 |
} |
83 |
|
84 |
has_avx() { |
85 |
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1" |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
dodoc docs/* |
90 |
rm -r *.exe docs || die |
91 |
use x86 || { rm hashcat-cli32.bin || die; } |
92 |
use amd64 || { rm hashcat-cli64.bin || die; } |
93 |
use x64-macos || { rm hashcat-cli64.app || die; } |
94 |
has_avx || { rm hashcat-cliAVX.bin || die; } |
95 |
has_xop || { rm hashcat-cliXOP.bin || die; } |
96 |
|
97 |
#I assume this is needed but I didn't check |
98 |
pax-mark m hashcat-cli*.bin |
99 |
|
100 |
insinto /opt/${PN} |
101 |
doins -r "${S}"/* |
102 |
|
103 |
dodir /opt/bin |
104 |
if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ] |
105 |
then |
106 |
fperms +x /opt/${PN}/hashcat-cli32.bin |
107 |
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli32.bin |
108 |
#! /bin/sh |
109 |
cd "${EPREFIX}"/opt/${PN} |
110 |
echo "Warning: hashcat-cli32.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths." |
111 |
exec ./hashcat-cli32.bin \$@ |
112 |
EOF |
113 |
fperms +x /opt/bin/hashcat-cli32.bin |
114 |
fi |
115 |
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ] |
116 |
then |
117 |
fperms +x /opt/${PN}/hashcat-cli64.bin |
118 |
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.bin |
119 |
#! /bin/sh |
120 |
cd "${EPREFIX}"/opt/${PN} |
121 |
echo "Warning: hashcat-cli64.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths." |
122 |
exec ./hashcat-cli64.bin \$@ |
123 |
EOF |
124 |
fperms +x /opt/bin/hashcat-cli64.bin |
125 |
fi |
126 |
if [ -f "${ED}"/opt/${PN}/hashcat-cliAVX.bin ] |
127 |
then |
128 |
fperms +x /opt/${PN}/hashcat-cliAVX.bin |
129 |
cat <<-EOF > "${ED}"/opt/bin/hashcat-cliAVX.bin |
130 |
#! /bin/sh |
131 |
cd "${EPREFIX}"/opt/${PN} |
132 |
echo "Warning: hashcat-cliAVX.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths." |
133 |
exec ./hashcat-cliAVX.bin \$@ |
134 |
EOF |
135 |
fperms +x /opt/bin/hashcat-cliAVX.bin |
136 |
fi |
137 |
if [ -f "${ED}"/opt/${PN}/hashcat-cliXOP.bin ] |
138 |
then |
139 |
fperms +x /opt/${PN}/hashcat-cliXOP.bin |
140 |
cat <<-EOF > "${ED}"/opt/bin/hashcat-cliXOP.bin |
141 |
#! /bin/sh |
142 |
cd "${EPREFIX}"/opt/${PN} |
143 |
echo "Warning: hashcat-cliXOP.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths." |
144 |
exec ./hashcat-cliXOP.bin \$@ |
145 |
EOF |
146 |
fperms +x /opt/bin/hashcat-cliXOP.bin |
147 |
fi |
148 |
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.app ] |
149 |
then |
150 |
fperms +x /opt/${PN}/hashcat-cli64.app |
151 |
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.app |
152 |
#! /bin/sh |
153 |
cd "${EPREFIX}"/opt/${PN} |
154 |
echo "Warning: hashcat-cli64.app is running from ${EPREFIX}/opt/${PN} so be careful of relative paths." |
155 |
exec ./hashcat-cli64.app \$@ |
156 |
EOF |
157 |
fperms +x /opt/bin/hashcat-cli64.app |
158 |
fi |
159 |
} |