1 |
commit: 3b7c57861adaace241be0979821d4887308e5d7f |
2 |
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 17 19:49:05 2017 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 17 19:51:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7c5786 |
7 |
|
8 |
app-crypt/hashcat: bump and mask old versions |
9 |
|
10 |
of hashcat to help upgrade across upstream insanity |
11 |
|
12 |
app-crypt/hashcat/Manifest | 3 +- |
13 |
app-crypt/hashcat/hashcat-3.40.ebuild | 49 ---------------------- |
14 |
.../{hashcat-3.30.ebuild => hashcat-3.5.0.ebuild} | 0 |
15 |
profiles/package.mask | 7 ++++ |
16 |
4 files changed, 8 insertions(+), 51 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest |
19 |
index da97a614a44..ee84622ebb7 100644 |
20 |
--- a/app-crypt/hashcat/Manifest |
21 |
+++ b/app-crypt/hashcat/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST hashcat-3.30.tar.gz 3970267 SHA256 d255147cbbf6b3cacea81b818ee228170969b61487dd7d49b339fc94dfe53e8e SHA512 8f160a5ec4bd9add83cfc468e9335dcfc9297585180c67263fce18235a8b748f75205fa5bd5ddd1c34efc65569d94408ba98c6181a2b1ab760f33371f92c3c54 WHIRLPOOL c9396118d4223175f7bb19f095a590b66ba8cdbb9970a1e84b406b7423a6a0b3009491dd6c8b7394d38eee1f796fe290ac88b839e30d6166077ae54fbedc528b |
24 |
-DIST hashcat-3.40.tar.gz 4099155 SHA256 92627197daa850dc7d723793150801c0791fe31f6c767de68417cee097ad6f4c SHA512 fd8d1927703cfe56c7708c460cc142de4ce64d96b651ed68817b70e6a53cac376a191d16752cbb7cabfcb0230299301173a5eda6c27e6188e79b5d83d758378e WHIRLPOOL bcd25930b4a9616f7a0ebd19575432d98a8abd67083ca434758d40d887ca642418a0305d54e4a0ade662f34059cdc1705097423733d02d97ba1eda0213280e4d |
25 |
+DIST hashcat-3.5.0.tar.gz 4103461 SHA256 af764698f48145ac96cf01c65cf76bcb88e205aeb4614025ae32d847571c4390 SHA512 7efc860461894a550fbacc406a40fec400232a120818180abba3d53f26bd3a503f58e7d189e4afad0f871c2244ff68371b145af58ab097478fe2d73f39c9a6b3 WHIRLPOOL 927ac7bfe902fcc9ead971f785f8231656335c1c190ffda1bb40b5affb8d7a3fb67d084102513a44e457a9d5ba1fba3969aa0e954669a33071fc65fba0b2424f |
26 |
|
27 |
diff --git a/app-crypt/hashcat/hashcat-3.40.ebuild b/app-crypt/hashcat/hashcat-3.40.ebuild |
28 |
deleted file mode 100644 |
29 |
index 3d4a6f2cc02..00000000000 |
30 |
--- a/app-crypt/hashcat/hashcat-3.40.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,49 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-inherit eutils pax-utils multilib |
39 |
- |
40 |
-DESCRIPTION="World's fastest and most advanced password recovery utility" |
41 |
-HOMEPAGE="https://github.com/hashcat/hashcat" |
42 |
-SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
-LICENSE="MIT" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~x86 ~amd64" |
46 |
- |
47 |
-IUSE="custom-cflags video_cards_nvidia video_cards_fglrx" |
48 |
-DEPEND="virtual/opencl" |
49 |
-RDEPEND="${DEPEND}" |
50 |
- |
51 |
-src_prepare() { |
52 |
- #do not strip |
53 |
- sed -i "/LFLAGS += -s/d" src/Makefile |
54 |
- #do not add random CFLAGS |
55 |
- sed -i "s/-O2//" src/Makefile || die |
56 |
- export PREFIX=/usr |
57 |
- export LIBRARY_FOLDER="/usr/$(get_libdir)" |
58 |
- eapply_user |
59 |
-} |
60 |
- |
61 |
-src_compile() { |
62 |
- default |
63 |
- pax-mark -mr hashcat |
64 |
-} |
65 |
- |
66 |
-src_test() { |
67 |
- if use video_cards_nvidia; then |
68 |
- addwrite /dev/nvidia0 |
69 |
- addwrite /dev/nvidiactl |
70 |
- addwrite /dev/nvidia-uvm |
71 |
- if [ ! -w /dev/nvidia0 ]; then |
72 |
- einfo "To run these tests, portage likely must be in the video group." |
73 |
- einfo "Please run \"gpasswd -a portage video\" if the tests will fail" |
74 |
- fi |
75 |
- elif use vidia_cards_fglrx; then |
76 |
- addwrite /dev/ati |
77 |
- fi |
78 |
- #this always exits with 255 despite success |
79 |
- #./hashcat -b -m 2500 || die "Test failed" |
80 |
- ./hashcat -a 3 -m 1500 nQCk49SiErOgk |
81 |
-} |
82 |
|
83 |
diff --git a/app-crypt/hashcat/hashcat-3.30.ebuild b/app-crypt/hashcat/hashcat-3.5.0.ebuild |
84 |
similarity index 100% |
85 |
rename from app-crypt/hashcat/hashcat-3.30.ebuild |
86 |
rename to app-crypt/hashcat/hashcat-3.5.0.ebuild |
87 |
|
88 |
diff --git a/profiles/package.mask b/profiles/package.mask |
89 |
index 8fbbb0ad3bf..fcfca2c29ed 100644 |
90 |
--- a/profiles/package.mask |
91 |
+++ b/profiles/package.mask |
92 |
@@ -29,6 +29,13 @@ |
93 |
|
94 |
#--- END OF EXAMPLES --- |
95 |
|
96 |
+# Rick Farina <zerochaos@g.o> (17 Apr 2017) |
97 |
+# Masking old versions because upstream changed versioning |
98 |
+# Please keep this mask for 1 year to ease upgrades for users |
99 |
+=app-crypt/hashcat-3.10-r1 |
100 |
+=app-crypt/hashcat-3.30 |
101 |
+=app-crypt/hashcat-3.40 |
102 |
+ |
103 |
# Aaron W. Swenson <titanofold@g.o> (17 Apr 2017) |
104 |
# Masked for removal by 17 May 2017. Past end of life. Susceptible to security |
105 |
# bugs (603716 and 603720). Upgrade to latest version. |