public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2016-09-02  4:05 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2016-09-02  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b0c353930f14d040d685bb9c7df551fbd3506f39
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  2 04:02:59 2016 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Sep  2 04:02:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c35393

app-crypt/hashcat: import hashcat from pentoo overlay

Package-Manager: portage-2.3.0

 app-crypt/hashcat/Manifest               |  1 +
 app-crypt/hashcat/hashcat-3.10-r1.ebuild | 48 ++++++++++++++++++++++++++++++++
 app-crypt/hashcat/metadata.xml           | 10 +++++++
 3 files changed, 59 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
new file mode 100644
index 00000000..340f885
--- /dev/null
+++ b/app-crypt/hashcat/Manifest
@@ -0,0 +1 @@
+DIST hashcat-3.10.tar.gz 4077692 SHA256 3b555e5f7b35ab6a4558bc460f28d80b32f5a211bf9e08d6a1ba1bad5203e3e9 SHA512 2adf16513118b91085fe587c53b15f142abb7673f659b2721dcba8aacdac6f024b65e7b50b916f86c161c21e98eb4758f187d25ad1ca4c66cdb67a259b07ae04 WHIRLPOOL 64ea5b3491094b2578264675025d6438e9981d69b77376bffb2b02cdf4c1e2899a2f6585295d288197e84710a3802c105d17e392795aaa5a00a09c2eeaa4a50d

diff --git a/app-crypt/hashcat/hashcat-3.10-r1.ebuild b/app-crypt/hashcat/hashcat-3.10-r1.ebuild
new file mode 100644
index 00000000..805aabf
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-3.10-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils pax-utils
+
+DESCRIPTION="An advanced CPU-based password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="video_cards_nvidia video_cards_fglrx"
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#do not strip
+	sed -i "/CFLAGS_NATIVE            += -s/d" src/Makefile || die
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	export PREFIX=/usr
+}
+
+src_compile() {
+	default
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	elif use vidia_cards_fglrx; then
+		addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	./hashcat -a 3 -m 1500 nQCk49SiErOgk
+}

diff --git a/app-crypt/hashcat/metadata.xml b/app-crypt/hashcat/metadata.xml
new file mode 100644
index 00000000..f513208
--- /dev/null
+++ b/app-crypt/hashcat/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+		<name>Rick Farina</name>
+	</maintainer>
+	<longdescription lang="en">
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2016-09-03 21:32 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2016-09-03 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     f6355aac963d02ca469191da265710865f8abefa
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  3 21:32:18 2016 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sat Sep  3 21:32:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6355aac

app-crypt/hashcat: update description per upstream

Package-Manager: portage-2.3.0

 app-crypt/hashcat/hashcat-3.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/hashcat/hashcat-3.10-r1.ebuild b/app-crypt/hashcat/hashcat-3.10-r1.ebuild
index 805aabf..06fd778 100644
--- a/app-crypt/hashcat/hashcat-3.10-r1.ebuild
+++ b/app-crypt/hashcat/hashcat-3.10-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit eutils pax-utils
 
-DESCRIPTION="An advanced CPU-based password recovery utility"
+DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2017-01-18 17:59 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2017-01-18 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     bf17d199cd0b37c7caf93d5165e6861db26d3aa5
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 18 17:59:09 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Jan 18 17:59:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf17d199

app-crypt/hashcat: bumpity bump bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/hashcat/Manifest                                   |  2 +-
 .../hashcat/{hashcat-3.10-r1.ebuild => hashcat-3.30.ebuild}  | 12 +++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 340f885..3a6c9ef 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1 +1 @@
-DIST hashcat-3.10.tar.gz 4077692 SHA256 3b555e5f7b35ab6a4558bc460f28d80b32f5a211bf9e08d6a1ba1bad5203e3e9 SHA512 2adf16513118b91085fe587c53b15f142abb7673f659b2721dcba8aacdac6f024b65e7b50b916f86c161c21e98eb4758f187d25ad1ca4c66cdb67a259b07ae04 WHIRLPOOL 64ea5b3491094b2578264675025d6438e9981d69b77376bffb2b02cdf4c1e2899a2f6585295d288197e84710a3802c105d17e392795aaa5a00a09c2eeaa4a50d
+DIST hashcat-3.30.tar.gz 3970267 SHA256 d255147cbbf6b3cacea81b818ee228170969b61487dd7d49b339fc94dfe53e8e SHA512 8f160a5ec4bd9add83cfc468e9335dcfc9297585180c67263fce18235a8b748f75205fa5bd5ddd1c34efc65569d94408ba98c6181a2b1ab760f33371f92c3c54 WHIRLPOOL c9396118d4223175f7bb19f095a590b66ba8cdbb9970a1e84b406b7423a6a0b3009491dd6c8b7394d38eee1f796fe290ac88b839e30d6166077ae54fbedc528b

diff --git a/app-crypt/hashcat/hashcat-3.10-r1.ebuild b/app-crypt/hashcat/hashcat-3.30.ebuild
similarity index 80%
rename from app-crypt/hashcat/hashcat-3.10-r1.ebuild
rename to app-crypt/hashcat/hashcat-3.30.ebuild
index 06fd778..a7dc12e 100644
--- a/app-crypt/hashcat/hashcat-3.10-r1.ebuild
+++ b/app-crypt/hashcat/hashcat-3.30.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit eutils pax-utils
+inherit eutils pax-utils multilib
 
 DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
@@ -13,16 +13,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
 
-IUSE="video_cards_nvidia video_cards_fglrx"
+IUSE="custom-cflags video_cards_nvidia video_cards_fglrx"
 DEPEND="virtual/opencl"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
 	#do not strip
-	sed -i "/CFLAGS_NATIVE            += -s/d" src/Makefile || die
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
 	#do not add random CFLAGS
 	sed -i "s/-O2//" src/Makefile || die
 	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	eapply_user
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2017-03-03 16:44 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2017-03-03 16:44 UTC (permalink / raw
  To: gentoo-commits

commit:     0a8d15747a6a53bbb300303cc0d596caf5e3bf22
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 16:44:02 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 16:44:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8d1574

app-crypt/hashcat: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/hashcat/Manifest            |  1 +
 app-crypt/hashcat/hashcat-3.40.ebuild | 49 +++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 3a6c9ef6833..da97a614a44 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1 +1,2 @@
 DIST hashcat-3.30.tar.gz 3970267 SHA256 d255147cbbf6b3cacea81b818ee228170969b61487dd7d49b339fc94dfe53e8e SHA512 8f160a5ec4bd9add83cfc468e9335dcfc9297585180c67263fce18235a8b748f75205fa5bd5ddd1c34efc65569d94408ba98c6181a2b1ab760f33371f92c3c54 WHIRLPOOL c9396118d4223175f7bb19f095a590b66ba8cdbb9970a1e84b406b7423a6a0b3009491dd6c8b7394d38eee1f796fe290ac88b839e30d6166077ae54fbedc528b
+DIST hashcat-3.40.tar.gz 4099155 SHA256 92627197daa850dc7d723793150801c0791fe31f6c767de68417cee097ad6f4c SHA512 fd8d1927703cfe56c7708c460cc142de4ce64d96b651ed68817b70e6a53cac376a191d16752cbb7cabfcb0230299301173a5eda6c27e6188e79b5d83d758378e WHIRLPOOL bcd25930b4a9616f7a0ebd19575432d98a8abd67083ca434758d40d887ca642418a0305d54e4a0ade662f34059cdc1705097423733d02d97ba1eda0213280e4d

diff --git a/app-crypt/hashcat/hashcat-3.40.ebuild b/app-crypt/hashcat/hashcat-3.40.ebuild
new file mode 100644
index 00000000000..3d4a6f2cc02
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-3.40.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils multilib
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="custom-cflags video_cards_nvidia video_cards_fglrx"
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	eapply_user
+}
+
+src_compile() {
+	default
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	elif use vidia_cards_fglrx; then
+		addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	./hashcat -a 3 -m 1500 nQCk49SiErOgk
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2017-10-04  7:47 Michał Górny
  0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2017-10-04  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     5ea9e078fd4c7976661d0dd2933ba94de86e3ea4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  4 07:19:26 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct  4 07:47:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea9e078

app-crypt/hashcat: Strip empty metadata.xml elements

 app-crypt/hashcat/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-crypt/hashcat/metadata.xml b/app-crypt/hashcat/metadata.xml
index aa150fd1854..2f9493fe8e4 100644
--- a/app-crypt/hashcat/metadata.xml
+++ b/app-crypt/hashcat/metadata.xml
@@ -5,8 +5,6 @@
 		<email>zerochaos@gentoo.org</email>
 		<name>Rick Farina</name>
 	</maintainer>
-	<longdescription lang="en">
-	</longdescription>
 	<upstream>
 		<remote-id type="github">hashcat/hashcat</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2017-11-24  6:06 Matt Turner
  0 siblings, 0 replies; 24+ messages in thread
From: Matt Turner @ 2017-11-24  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     88694c1a6a47b22bb9efb8b8bec290a30f57f8a3
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 05:53:55 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 06:06:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88694c1a

app-crypt/hashcat: Drop dead video_cards_fglrx

 app-crypt/hashcat/hashcat-3.5.0.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-crypt/hashcat/hashcat-3.5.0.ebuild b/app-crypt/hashcat/hashcat-3.5.0.ebuild
index 3d4a6f2cc02..f3ffb50a9be 100644
--- a/app-crypt/hashcat/hashcat-3.5.0.ebuild
+++ b/app-crypt/hashcat/hashcat-3.5.0.ebuild
@@ -12,7 +12,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
 
-IUSE="custom-cflags video_cards_nvidia video_cards_fglrx"
+IUSE="custom-cflags video_cards_nvidia"
 DEPEND="virtual/opencl"
 RDEPEND="${DEPEND}"
 
@@ -40,8 +40,6 @@ src_test() {
 			einfo "To run these tests, portage likely must be in the video group."
 			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
 		fi
-	elif use vidia_cards_fglrx; then
-		addwrite /dev/ati
 	fi
 	#this always exits with 255 despite success
 	#./hashcat -b -m 2500 || die "Test failed"


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2017-12-07 16:08 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2017-12-07 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d8f8f5b6a2d8fb0cd0e452a9e259fd201a148ead
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  7 16:08:14 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Dec  7 16:08:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f8f5b6

app-crypt/hashcat: bump

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-crypt/hashcat/Manifest             |  3 ++-
 app-crypt/hashcat/hashcat-4.0.1.ebuild | 49 ++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index ee84622ebb7..e8d88d20918 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1 +1,2 @@
-DIST hashcat-3.5.0.tar.gz 4103461 SHA256 af764698f48145ac96cf01c65cf76bcb88e205aeb4614025ae32d847571c4390 SHA512 7efc860461894a550fbacc406a40fec400232a120818180abba3d53f26bd3a503f58e7d189e4afad0f871c2244ff68371b145af58ab097478fe2d73f39c9a6b3 WHIRLPOOL 927ac7bfe902fcc9ead971f785f8231656335c1c190ffda1bb40b5affb8d7a3fb67d084102513a44e457a9d5ba1fba3969aa0e954669a33071fc65fba0b2424f
+DIST hashcat-3.5.0.tar.gz 4103461 BLAKE2B 821280182641ceadab7d712395a0a33cd7bfde8fcc8c133a2c12d089dc76b43edbee632f724083f29e9ec924991cda94e6f17b53f1b3155537d41286d3886832 SHA512 7efc860461894a550fbacc406a40fec400232a120818180abba3d53f26bd3a503f58e7d189e4afad0f871c2244ff68371b145af58ab097478fe2d73f39c9a6b3
+DIST hashcat-4.0.1.tar.gz 3905127 BLAKE2B 534270c7409f5a3dc4995a81fab63e6bfcd6b2bd4bb549f96b44e9c6bf24ce67505eb82803ace29fba69526c7c0703c66de9cc68cefcca79ef58040165041756 SHA512 7300b16ebd601fdbdbfd66adeba072c6f4f4dd5898dd85824513b97cc7848f4c2ae0fe523cfe7803fdba7954966ea289275fa5d49ff792706f73394e2bd95e77

diff --git a/app-crypt/hashcat/hashcat-4.0.1.ebuild b/app-crypt/hashcat/hashcat-4.0.1.ebuild
new file mode 100644
index 00000000000..d867ebec2e8
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-4.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils multilib
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="custom-cflags video_cards_nvidia"
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	eapply_user
+}
+
+src_compile() {
+	default
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2018-02-23 17:30 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2018-02-23 17:30 UTC (permalink / raw
  To: gentoo-commits

commit:     7b3bce031917a1b80573cbb61c353cb342ca9234
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 17:29:37 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 17:30:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3bce03

app-crypt/hashcat: bump

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-crypt/hashcat/Manifest                                       | 2 +-
 app-crypt/hashcat/{hashcat-3.5.0.ebuild => hashcat-4.1.0.ebuild} | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index e8d88d20918..95f32dafdfb 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,2 +1,2 @@
-DIST hashcat-3.5.0.tar.gz 4103461 BLAKE2B 821280182641ceadab7d712395a0a33cd7bfde8fcc8c133a2c12d089dc76b43edbee632f724083f29e9ec924991cda94e6f17b53f1b3155537d41286d3886832 SHA512 7efc860461894a550fbacc406a40fec400232a120818180abba3d53f26bd3a503f58e7d189e4afad0f871c2244ff68371b145af58ab097478fe2d73f39c9a6b3
 DIST hashcat-4.0.1.tar.gz 3905127 BLAKE2B 534270c7409f5a3dc4995a81fab63e6bfcd6b2bd4bb549f96b44e9c6bf24ce67505eb82803ace29fba69526c7c0703c66de9cc68cefcca79ef58040165041756 SHA512 7300b16ebd601fdbdbfd66adeba072c6f4f4dd5898dd85824513b97cc7848f4c2ae0fe523cfe7803fdba7954966ea289275fa5d49ff792706f73394e2bd95e77
+DIST hashcat-4.1.0.tar.gz 3956136 BLAKE2B f9d6f9322e4c50ee1e156c283da1257a24f0e2cb22618cf93b8b11dd1964f6741f409429ee904412f70301e4b2381b388bcab0296a30ea3a94569efe7aaaeec6 SHA512 c9e01847c89dd8521da8734ea324c69f1e9bfef50c059e9dc29d4b947fe090405774a57ae688f907698c7d9a2d1f087b730e0a994dc5ed0d5d937a9ef950dd73

diff --git a/app-crypt/hashcat/hashcat-3.5.0.ebuild b/app-crypt/hashcat/hashcat-4.1.0.ebuild
similarity index 87%
rename from app-crypt/hashcat/hashcat-3.5.0.ebuild
rename to app-crypt/hashcat/hashcat-4.1.0.ebuild
index f3ffb50a9be..cd473accdb5 100644
--- a/app-crypt/hashcat/hashcat-3.5.0.ebuild
+++ b/app-crypt/hashcat/hashcat-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,8 +40,10 @@ src_test() {
 			einfo "To run these tests, portage likely must be in the video group."
 			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
 		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
 	fi
 	#this always exits with 255 despite success
 	#./hashcat -b -m 2500 || die "Test failed"
-	./hashcat -a 3 -m 1500 nQCk49SiErOgk
+	./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
 }


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2018-08-03 20:30 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2018-08-03 20:30 UTC (permalink / raw
  To: gentoo-commits

commit:     4217adc76fec65f861c050bfee4751c390460c0b
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  3 20:29:27 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Aug  3 20:29:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4217adc7

app-crypt/hashcat: bump

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 app-crypt/hashcat/Manifest                                       | 2 +-
 app-crypt/hashcat/hashcat-4.1.0.ebuild                           | 2 +-
 app-crypt/hashcat/{hashcat-4.0.1.ebuild => hashcat-4.2.0.ebuild} | 9 +++++----
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 95f32dafdfb..edb9c46194c 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,2 +1,2 @@
-DIST hashcat-4.0.1.tar.gz 3905127 BLAKE2B 534270c7409f5a3dc4995a81fab63e6bfcd6b2bd4bb549f96b44e9c6bf24ce67505eb82803ace29fba69526c7c0703c66de9cc68cefcca79ef58040165041756 SHA512 7300b16ebd601fdbdbfd66adeba072c6f4f4dd5898dd85824513b97cc7848f4c2ae0fe523cfe7803fdba7954966ea289275fa5d49ff792706f73394e2bd95e77
 DIST hashcat-4.1.0.tar.gz 3956136 BLAKE2B f9d6f9322e4c50ee1e156c283da1257a24f0e2cb22618cf93b8b11dd1964f6741f409429ee904412f70301e4b2381b388bcab0296a30ea3a94569efe7aaaeec6 SHA512 c9e01847c89dd8521da8734ea324c69f1e9bfef50c059e9dc29d4b947fe090405774a57ae688f907698c7d9a2d1f087b730e0a994dc5ed0d5d937a9ef950dd73
+DIST hashcat-4.2.0.tar.gz 3965021 BLAKE2B ad208f2debe1e4ece893e4a277b199962aa98aab57a2e78aef1d4177dcf7fc03bf262657dfe0f51c2ae845c8ed92232de7131f909d63bdc91e9f14e0b9602bb6 SHA512 686975db24737a718b484dd84b66807dfbe9694f1832da648b3c3b9fc8b859cd5c4c4d0aebf04ae862de38656d92c989e4e9515a07bec19b3779d74350beb0bd

diff --git a/app-crypt/hashcat/hashcat-4.1.0.ebuild b/app-crypt/hashcat/hashcat-4.1.0.ebuild
index cd473accdb5..3e73a946a9c 100644
--- a/app-crypt/hashcat/hashcat-4.1.0.ebuild
+++ b/app-crypt/hashcat/hashcat-4.1.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 
 IUSE="custom-cflags video_cards_nvidia"
 DEPEND="virtual/opencl"

diff --git a/app-crypt/hashcat/hashcat-4.0.1.ebuild b/app-crypt/hashcat/hashcat-4.2.0.ebuild
similarity index 87%
rename from app-crypt/hashcat/hashcat-4.0.1.ebuild
rename to app-crypt/hashcat/hashcat-4.2.0.ebuild
index d867ebec2e8..c9b418c2da7 100644
--- a/app-crypt/hashcat/hashcat-4.0.1.ebuild
+++ b/app-crypt/hashcat/hashcat-4.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,10 +10,11 @@ HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 
-IUSE="custom-cflags video_cards_nvidia"
-DEPEND="virtual/opencl"
+IUSE="video_cards_nvidia"
+DEPEND="virtual/opencl
+	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2018-10-23 20:22 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2018-10-23 20:22 UTC (permalink / raw
  To: gentoo-commits

commit:     3dd354ed5db5a6bdcd0d8fef1f067d8edae6dd27
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 23 20:21:48 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Oct 23 20:22:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd354ed

app-crypt/hashcat: bump

fix minor qa violation

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-crypt/hashcat/Manifest             |  1 +
 app-crypt/hashcat/hashcat-4.2.1.ebuild | 51 ++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index edb9c46194c..7f927c52645 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,2 +1,3 @@
 DIST hashcat-4.1.0.tar.gz 3956136 BLAKE2B f9d6f9322e4c50ee1e156c283da1257a24f0e2cb22618cf93b8b11dd1964f6741f409429ee904412f70301e4b2381b388bcab0296a30ea3a94569efe7aaaeec6 SHA512 c9e01847c89dd8521da8734ea324c69f1e9bfef50c059e9dc29d4b947fe090405774a57ae688f907698c7d9a2d1f087b730e0a994dc5ed0d5d937a9ef950dd73
 DIST hashcat-4.2.0.tar.gz 3965021 BLAKE2B ad208f2debe1e4ece893e4a277b199962aa98aab57a2e78aef1d4177dcf7fc03bf262657dfe0f51c2ae845c8ed92232de7131f909d63bdc91e9f14e0b9602bb6 SHA512 686975db24737a718b484dd84b66807dfbe9694f1832da648b3c3b9fc8b859cd5c4c4d0aebf04ae862de38656d92c989e4e9515a07bec19b3779d74350beb0bd
+DIST hashcat-4.2.1.tar.gz 3966264 BLAKE2B 2034fff6aa8724cded0c8576cb4593d90f94eaea8f932e511ed82f2576ded2ffd6f686dac484e52a9ebb3029e90845469418ac414f2edf03e3fdc3350df8766f SHA512 a2cfc7e19e82b237892bacc79ca1a62a3b2ea598e4e5f60d4e275a0c128d865945595d8f918e3bb93bf62376f11f448ff53257faa12fd051dfc64973fbb6ed1e

diff --git a/app-crypt/hashcat/hashcat-4.2.1.ebuild b/app-crypt/hashcat/hashcat-4.2.1.ebuild
new file mode 100644
index 00000000000..635db1e8344
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-4.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils multilib
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="video_cards_nvidia"
+DEPEND="virtual/opencl
+	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
+	eapply_user
+}
+
+src_compile() {
+	default
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2018-11-05 20:06 Richard Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Farina @ 2018-11-05 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     306de9f5f1c0742a26dd1a6ddf97328df90bc67b
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  5 20:05:43 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Nov  5 20:05:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306de9f5

app-crypt/hashcat: bumpy

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/Manifest             |  1 +
 app-crypt/hashcat/hashcat-5.0.0.ebuild | 57 ++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 7f927c52645..715ee764332 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,3 +1,4 @@
 DIST hashcat-4.1.0.tar.gz 3956136 BLAKE2B f9d6f9322e4c50ee1e156c283da1257a24f0e2cb22618cf93b8b11dd1964f6741f409429ee904412f70301e4b2381b388bcab0296a30ea3a94569efe7aaaeec6 SHA512 c9e01847c89dd8521da8734ea324c69f1e9bfef50c059e9dc29d4b947fe090405774a57ae688f907698c7d9a2d1f087b730e0a994dc5ed0d5d937a9ef950dd73
 DIST hashcat-4.2.0.tar.gz 3965021 BLAKE2B ad208f2debe1e4ece893e4a277b199962aa98aab57a2e78aef1d4177dcf7fc03bf262657dfe0f51c2ae845c8ed92232de7131f909d63bdc91e9f14e0b9602bb6 SHA512 686975db24737a718b484dd84b66807dfbe9694f1832da648b3c3b9fc8b859cd5c4c4d0aebf04ae862de38656d92c989e4e9515a07bec19b3779d74350beb0bd
 DIST hashcat-4.2.1.tar.gz 3966264 BLAKE2B 2034fff6aa8724cded0c8576cb4593d90f94eaea8f932e511ed82f2576ded2ffd6f686dac484e52a9ebb3029e90845469418ac414f2edf03e3fdc3350df8766f SHA512 a2cfc7e19e82b237892bacc79ca1a62a3b2ea598e4e5f60d4e275a0c128d865945595d8f918e3bb93bf62376f11f448ff53257faa12fd051dfc64973fbb6ed1e
+DIST hashcat-5.0.0.tar.gz 4019964 BLAKE2B 5d33bb2b0d82018d8ea6a906bee48375376879a47e5ca8f880d6fad6c6763d1ef90d44b228257021603e560acadf3d8fbfcbafdbd41dbad3733141d3c3957762 SHA512 090f07a011961a2c9a9bdf31e8a5efae4b443b6b205e964a6cd74bed6efe8fae2377f22ce7728ad7e732e9f943cf30da88066fe0990d085547f1e2ba000a3d95

diff --git a/app-crypt/hashcat/hashcat-5.0.0.ebuild b/app-crypt/hashcat/hashcat-5.0.0.ebuild
new file mode 100644
index 00000000000..26b34761493
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-5.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils multilib
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="video_cards_nvidia"
+DEPEND="virtual/opencl
+	app-arch/lzma
+	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
+	eapply_user
+}
+
+src_compile() {
+	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=0 SYSTEM_LZMA_SDK=0
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}
+
+src_install() {
+	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=0 SYSTEM_LZMA_SDK=0 install
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2018-11-08 15:56 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2018-11-08 15:56 UTC (permalink / raw
  To: gentoo-commits

commit:     e35c9d2e0cdf69bee5d8416beea62f618e0bbee5
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  8 15:56:07 2018 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Nov  8 15:56:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35c9d2e

app-crypt/hashcat: enable brain

make sure we unbundle what we can. upstream bug opened for issues
unbundling 7zip https://github.com/hashcat/hashcat/issues/1742

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/hashcat-9999.ebuild | 69 +++++++++++++++++++++++++++++++++++
 app-crypt/hashcat/metadata.xml        |  3 ++
 2 files changed, 72 insertions(+)

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
new file mode 100644
index 00000000000..0424dcf978e
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils multilib
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+LICENSE="MIT"
+SLOT="0"
+if [ "${PV}" = "9999" ]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
+	KEYWORDS=""
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="brain video_cards_nvidia"
+DEPEND="virtual/opencl
+	app-arch/lzma
+	brain? ( dev-libs/xxhash )
+	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#remove bundled stuff
+	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
+	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
+	#rm -r deps || die "Failed to remove bundled deps"
+	#do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
+	eapply_user
+}
+
+src_compile() {
+	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}
+
+src_install() {
+	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
+}

diff --git a/app-crypt/hashcat/metadata.xml b/app-crypt/hashcat/metadata.xml
index 2f9493fe8e4..4379ee24223 100644
--- a/app-crypt/hashcat/metadata.xml
+++ b/app-crypt/hashcat/metadata.xml
@@ -5,6 +5,9 @@
 		<email>zerochaos@gentoo.org</email>
 		<name>Rick Farina</name>
 	</maintainer>
+	<use>
+		<flag name="brain">Enable the hashcat brain</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">hashcat/hashcat</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2019-01-07 19:45 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2019-01-07 19:45 UTC (permalink / raw
  To: gentoo-commits

commit:     a7c9d79636746280836ea8d0033bbd81040fbef1
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  7 19:43:21 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Jan  7 19:45:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c9d796

app-crypt/hashcat: bump

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/Manifest             |  1 +
 app-crypt/hashcat/hashcat-5.1.0.ebuild | 69 ++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 715ee764332..8d23660abb1 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -2,3 +2,4 @@ DIST hashcat-4.1.0.tar.gz 3956136 BLAKE2B f9d6f9322e4c50ee1e156c283da1257a24f0e2
 DIST hashcat-4.2.0.tar.gz 3965021 BLAKE2B ad208f2debe1e4ece893e4a277b199962aa98aab57a2e78aef1d4177dcf7fc03bf262657dfe0f51c2ae845c8ed92232de7131f909d63bdc91e9f14e0b9602bb6 SHA512 686975db24737a718b484dd84b66807dfbe9694f1832da648b3c3b9fc8b859cd5c4c4d0aebf04ae862de38656d92c989e4e9515a07bec19b3779d74350beb0bd
 DIST hashcat-4.2.1.tar.gz 3966264 BLAKE2B 2034fff6aa8724cded0c8576cb4593d90f94eaea8f932e511ed82f2576ded2ffd6f686dac484e52a9ebb3029e90845469418ac414f2edf03e3fdc3350df8766f SHA512 a2cfc7e19e82b237892bacc79ca1a62a3b2ea598e4e5f60d4e275a0c128d865945595d8f918e3bb93bf62376f11f448ff53257faa12fd051dfc64973fbb6ed1e
 DIST hashcat-5.0.0.tar.gz 4019964 BLAKE2B 5d33bb2b0d82018d8ea6a906bee48375376879a47e5ca8f880d6fad6c6763d1ef90d44b228257021603e560acadf3d8fbfcbafdbd41dbad3733141d3c3957762 SHA512 090f07a011961a2c9a9bdf31e8a5efae4b443b6b205e964a6cd74bed6efe8fae2377f22ce7728ad7e732e9f943cf30da88066fe0990d085547f1e2ba000a3d95
+DIST hashcat-5.1.0.tar.gz 4266878 BLAKE2B 677554fc5d6c5a93d0f4955c2e3cb6a40913ca2f7d00a89cf0c00bb48cadcaca94d3fdf55b853208f9fda4ce1bcc13fed865c5128a7c429223bcf8b4b825a15b SHA512 90605c2bcd0ec275d2f6ec581899b95cdc320b1494613a19803192c8a08037a7829b3776ed42c58eb6551ec1a746f47f94ab5b273958ca74e0fc57315e209ece

diff --git a/app-crypt/hashcat/hashcat-5.1.0.ebuild b/app-crypt/hashcat/hashcat-5.1.0.ebuild
new file mode 100644
index 00000000000..2b0f93496c2
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-5.1.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils multilib
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+LICENSE="MIT"
+SLOT="0"
+if [ "${PV}" = "9999" ]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
+	KEYWORDS=""
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="brain video_cards_nvidia"
+DEPEND="virtual/opencl
+	app-arch/lzma
+	brain? ( dev-libs/xxhash )
+	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	#remove bundled stuff
+	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
+	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
+	#rm -r deps || die "Failed to remove bundled deps"
+	#do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	#do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+	export PREFIX=/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
+	eapply_user
+}
+
+src_compile() {
+	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}
+
+src_install() {
+	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2020-04-01 21:15 Marek Szuba
  0 siblings, 0 replies; 24+ messages in thread
From: Marek Szuba @ 2020-04-01 21:15 UTC (permalink / raw
  To: gentoo-commits

commit:     0422dad1e1eee6a12a32ecb9cef3998dbfff2e20
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  1 21:05:31 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Apr  1 21:15:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0422dad1

app-crypt/hashcat: drop the ~x86 keyword

Unconditionally depends on virtual/opencl and we are in the process
of dropping support for 32-bit OpenCL from Gentoo. Approved by
zerochaos in #gentoo-dev.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-crypt/hashcat/hashcat-4.1.0.ebuild | 4 ++--
 app-crypt/hashcat/hashcat-4.2.0.ebuild | 4 ++--
 app-crypt/hashcat/hashcat-4.2.1.ebuild | 4 ++--
 app-crypt/hashcat/hashcat-5.0.0.ebuild | 4 ++--
 app-crypt/hashcat/hashcat-5.1.0.ebuild | 4 ++--
 app-crypt/hashcat/hashcat-9999.ebuild  | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/app-crypt/hashcat/hashcat-4.1.0.ebuild b/app-crypt/hashcat/hashcat-4.1.0.ebuild
index 3e73a946a9c..71db0a6fe5d 100644
--- a/app-crypt/hashcat/hashcat-4.1.0.ebuild
+++ b/app-crypt/hashcat/hashcat-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 IUSE="custom-cflags video_cards_nvidia"
 DEPEND="virtual/opencl"

diff --git a/app-crypt/hashcat/hashcat-4.2.0.ebuild b/app-crypt/hashcat/hashcat-4.2.0.ebuild
index c9b418c2da7..b94ec8299ae 100644
--- a/app-crypt/hashcat/hashcat-4.2.0.ebuild
+++ b/app-crypt/hashcat/hashcat-4.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 IUSE="video_cards_nvidia"
 DEPEND="virtual/opencl

diff --git a/app-crypt/hashcat/hashcat-4.2.1.ebuild b/app-crypt/hashcat/hashcat-4.2.1.ebuild
index 635db1e8344..6e73c7c2384 100644
--- a/app-crypt/hashcat/hashcat-4.2.1.ebuild
+++ b/app-crypt/hashcat/hashcat-4.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 IUSE="video_cards_nvidia"
 DEPEND="virtual/opencl

diff --git a/app-crypt/hashcat/hashcat-5.0.0.ebuild b/app-crypt/hashcat/hashcat-5.0.0.ebuild
index 26b34761493..30255c39d17 100644
--- a/app-crypt/hashcat/hashcat-5.0.0.ebuild
+++ b/app-crypt/hashcat/hashcat-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/hashcat/hashcat"
 SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 IUSE="video_cards_nvidia"
 DEPEND="virtual/opencl

diff --git a/app-crypt/hashcat/hashcat-5.1.0.ebuild b/app-crypt/hashcat/hashcat-5.1.0.ebuild
index 2b0f93496c2..d85c65f96f6 100644
--- a/app-crypt/hashcat/hashcat-5.1.0.ebuild
+++ b/app-crypt/hashcat/hashcat-5.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ if [ "${PV}" = "9999" ]; then
 	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
 	KEYWORDS=""
 else
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64"
 	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
 

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
index 0424dcf978e..d85c65f96f6 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ if [ "${PV}" = "9999" ]; then
 	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
 	KEYWORDS=""
 else
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64"
 	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
 


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2020-06-16 19:21 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2020-06-16 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     3cbf866e088cb781a96d51f5a7e38af0a5275f20
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 16 17:07:44 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 19:21:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbf866e

app-crypt/hashcat: no keyword bump

work in progress

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/Manifest                         |  5 +--
 app-crypt/hashcat/hashcat-4.1.0.ebuild             | 49 ---------------------
 app-crypt/hashcat/hashcat-4.2.0.ebuild             | 50 ---------------------
 app-crypt/hashcat/hashcat-4.2.1.ebuild             | 51 ----------------------
 app-crypt/hashcat/hashcat-5.1.0.ebuild             |  1 -
 .../{hashcat-5.0.0.ebuild => hashcat-6.0.0.ebuild} | 24 +++++++---
 app-crypt/hashcat/hashcat-9999.ebuild              |  1 -
 7 files changed, 19 insertions(+), 162 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 8d23660abb1..81244abeb2e 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,5 +1,2 @@
-DIST hashcat-4.1.0.tar.gz 3956136 BLAKE2B f9d6f9322e4c50ee1e156c283da1257a24f0e2cb22618cf93b8b11dd1964f6741f409429ee904412f70301e4b2381b388bcab0296a30ea3a94569efe7aaaeec6 SHA512 c9e01847c89dd8521da8734ea324c69f1e9bfef50c059e9dc29d4b947fe090405774a57ae688f907698c7d9a2d1f087b730e0a994dc5ed0d5d937a9ef950dd73
-DIST hashcat-4.2.0.tar.gz 3965021 BLAKE2B ad208f2debe1e4ece893e4a277b199962aa98aab57a2e78aef1d4177dcf7fc03bf262657dfe0f51c2ae845c8ed92232de7131f909d63bdc91e9f14e0b9602bb6 SHA512 686975db24737a718b484dd84b66807dfbe9694f1832da648b3c3b9fc8b859cd5c4c4d0aebf04ae862de38656d92c989e4e9515a07bec19b3779d74350beb0bd
-DIST hashcat-4.2.1.tar.gz 3966264 BLAKE2B 2034fff6aa8724cded0c8576cb4593d90f94eaea8f932e511ed82f2576ded2ffd6f686dac484e52a9ebb3029e90845469418ac414f2edf03e3fdc3350df8766f SHA512 a2cfc7e19e82b237892bacc79ca1a62a3b2ea598e4e5f60d4e275a0c128d865945595d8f918e3bb93bf62376f11f448ff53257faa12fd051dfc64973fbb6ed1e
-DIST hashcat-5.0.0.tar.gz 4019964 BLAKE2B 5d33bb2b0d82018d8ea6a906bee48375376879a47e5ca8f880d6fad6c6763d1ef90d44b228257021603e560acadf3d8fbfcbafdbd41dbad3733141d3c3957762 SHA512 090f07a011961a2c9a9bdf31e8a5efae4b443b6b205e964a6cd74bed6efe8fae2377f22ce7728ad7e732e9f943cf30da88066fe0990d085547f1e2ba000a3d95
 DIST hashcat-5.1.0.tar.gz 4266878 BLAKE2B 677554fc5d6c5a93d0f4955c2e3cb6a40913ca2f7d00a89cf0c00bb48cadcaca94d3fdf55b853208f9fda4ce1bcc13fed865c5128a7c429223bcf8b4b825a15b SHA512 90605c2bcd0ec275d2f6ec581899b95cdc320b1494613a19803192c8a08037a7829b3776ed42c58eb6551ec1a746f47f94ab5b273958ca74e0fc57315e209ece
+DIST hashcat-6.0.0.tar.gz 5360568 BLAKE2B 9d44c94d136a4c4cf7254ee11dc978db6bb1159d66ea525777c0a3dae59149983c9e8220f50cdbe6c24e330c757f3519b48f920662582e914f80068723ba5acd SHA512 b508c77e1735c02bb59c427774a3f4fafdea37d09777ef2dcb6e5081cb993d02c4f46a6ab846dc97a8cef2b0f69bbc191e26b8f1608a299bc2c1a6b3d2474f96

diff --git a/app-crypt/hashcat/hashcat-4.1.0.ebuild b/app-crypt/hashcat/hashcat-4.1.0.ebuild
deleted file mode 100644
index 71db0a6fe5d..00000000000
--- a/app-crypt/hashcat/hashcat-4.1.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils pax-utils multilib
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="custom-cflags video_cards_nvidia"
-DEPEND="virtual/opencl"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	#do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	#do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	export PREFIX=/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	eapply_user
-}
-
-src_compile() {
-	default
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}

diff --git a/app-crypt/hashcat/hashcat-4.2.0.ebuild b/app-crypt/hashcat/hashcat-4.2.0.ebuild
deleted file mode 100644
index b94ec8299ae..00000000000
--- a/app-crypt/hashcat/hashcat-4.2.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils pax-utils multilib
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="video_cards_nvidia"
-DEPEND="virtual/opencl
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	#do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	#do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	export PREFIX=/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	eapply_user
-}
-
-src_compile() {
-	default
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}

diff --git a/app-crypt/hashcat/hashcat-4.2.1.ebuild b/app-crypt/hashcat/hashcat-4.2.1.ebuild
deleted file mode 100644
index 6e73c7c2384..00000000000
--- a/app-crypt/hashcat/hashcat-4.2.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils pax-utils multilib
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="video_cards_nvidia"
-DEPEND="virtual/opencl
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	#do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	#do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	export PREFIX=/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
-	eapply_user
-}
-
-src_compile() {
-	default
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}

diff --git a/app-crypt/hashcat/hashcat-5.1.0.ebuild b/app-crypt/hashcat/hashcat-5.1.0.ebuild
index d85c65f96f6..bc8b3fb95c5 100644
--- a/app-crypt/hashcat/hashcat-5.1.0.ebuild
+++ b/app-crypt/hashcat/hashcat-5.1.0.ebuild
@@ -12,7 +12,6 @@ SLOT="0"
 if [ "${PV}" = "9999" ]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-	KEYWORDS=""
 else
 	KEYWORDS="~amd64"
 	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"

diff --git a/app-crypt/hashcat/hashcat-5.0.0.ebuild b/app-crypt/hashcat/hashcat-6.0.0.ebuild
similarity index 59%
rename from app-crypt/hashcat/hashcat-5.0.0.ebuild
rename to app-crypt/hashcat/hashcat-6.0.0.ebuild
index 30255c39d17..4c3c141fcb4 100644
--- a/app-crypt/hashcat/hashcat-5.0.0.ebuild
+++ b/app-crypt/hashcat/hashcat-6.0.0.ebuild
@@ -1,24 +1,36 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit eutils pax-utils multilib
 
 DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
-SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+if [ "${PV}" = "9999" ]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
+else
+	#this doesn't work for me, so it doesn't get keywords
+	#KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
 
-IUSE="video_cards_nvidia"
+IUSE="brain video_cards_nvidia"
 DEPEND="virtual/opencl
 	app-arch/lzma
+	brain? ( dev-libs/xxhash )
 	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-367.0 )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
+	#remove bundled stuff
+	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
+	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
+	#rm -r deps || die "Failed to remove bundled deps"
 	#do not strip
 	sed -i "/LFLAGS                  += -s/d" src/Makefile
 	#do not add random CFLAGS
@@ -31,7 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
-	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=0 SYSTEM_LZMA_SDK=0
+	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
 	pax-mark -mr hashcat
 }
 
@@ -53,5 +65,5 @@ src_test() {
 }
 
 src_install() {
-	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=0 SYSTEM_LZMA_SDK=0 install
+	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
 }

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
index d85c65f96f6..bc8b3fb95c5 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -12,7 +12,6 @@ SLOT="0"
 if [ "${PV}" = "9999" ]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-	KEYWORDS=""
 else
 	KEYWORDS="~amd64"
 	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2021-05-18 15:12 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2021-05-18 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     c498c9ba984eabf60d4cbf3a1064353a3804db19
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 03:47:31 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue May 18 15:12:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c498c9ba

app-crypt/hashcat: add 6.2.1

* Bump to 6.2.1
* Respect CC, CXX, AR
* Style changes to make it easier to read argument lists to (e)make
* Ostensibly support prefix
* Debundling
** Use system zlib (and minizip)
** Use system unrar
** Cannot use system lzma for now as the ebuild doesn't install all of
  the necessary files

Closes: https://bugs.gentoo.org/745327
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/Manifest                         |  1 +
 .../{hashcat-9999.ebuild => hashcat-6.2.1.ebuild}  | 53 ++++++++++++++++++----
 app-crypt/hashcat/hashcat-9999.ebuild              | 53 ++++++++++++++++++----
 3 files changed, 89 insertions(+), 18 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 6a7e552c332..fd53bc2775c 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1 +1,2 @@
 DIST hashcat-6.1.1.tar.gz 5385180 BLAKE2B a1a90f691222c7810150a23d513bd1d24bca4682dd8dec2ff5bdc9cc9f82d5a2b00407de966a7c7db131cf1c1709b5f78c97d45176598d6bb7ebd381c38b4ba8 SHA512 788539b488ba55684d6d93ce18f3b05fa822a8cbfcdbcde9c2b54001d8927580dca253e0e9ff9a19f4278045046d732e104054fc743c39f47952ca24d2e93724
+DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-6.2.1.ebuild
similarity index 64%
copy from app-crypt/hashcat/hashcat-9999.ebuild
copy to app-crypt/hashcat/hashcat-6.2.1.ebuild
index 4bcf042ea7e..dc3813e63de 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-6.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit pax-utils multilib
+inherit pax-utils toolchain-funcs
 
 DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
@@ -20,6 +20,8 @@ fi
 IUSE="brain video_cards_nvidia"
 DEPEND="
 	app-arch/lzma
+	app-arch/unrar
+	sys-libs/zlib[minizip]
 	brain? ( dev-libs/xxhash )
 	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
 						|| ( dev-util/nvidia-cuda-toolkit
@@ -29,24 +31,46 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	#remove bundled stuff
+	# remove bundled stuff
 	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
 	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
 	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
 	#rm -r deps || die "Failed to remove bundled deps"
-	#do not strip
+
+	# do not strip
 	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	#do not add random CFLAGS
+	# do not add random CFLAGS
 	sed -i "s/-O2//" src/Makefile || die
-	sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	export PREFIX=/usr
+	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+	# respect CC, CXX, AR
+	sed -i \
+		-e 's/:= gcc/:= $(CC)/' \
+		-e 's/:= g++/:= $(CXX)/' \
+		-e 's/:= ar/:= $(AR)/' \
+		src/Makefile || die
+
+	export PREFIX="${EPREFIX}"/usr
 	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
+	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
+
 	default
 }
 
 src_compile() {
-	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
+	tc-export CC CXX AR
+
+	emake \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}"
+
 	pax-mark -mr hashcat
 }
 
@@ -68,5 +92,16 @@ src_test() {
 }
 
 src_install() {
-	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
+	emake \
+		DESTDIR="${ED}" \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}" \
+		install
 }

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
index 4bcf042ea7e..dc3813e63de 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit pax-utils multilib
+inherit pax-utils toolchain-funcs
 
 DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
@@ -20,6 +20,8 @@ fi
 IUSE="brain video_cards_nvidia"
 DEPEND="
 	app-arch/lzma
+	app-arch/unrar
+	sys-libs/zlib[minizip]
 	brain? ( dev-libs/xxhash )
 	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
 						|| ( dev-util/nvidia-cuda-toolkit
@@ -29,24 +31,46 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	#remove bundled stuff
+	# remove bundled stuff
 	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
 	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
 	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
 	#rm -r deps || die "Failed to remove bundled deps"
-	#do not strip
+
+	# do not strip
 	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	#do not add random CFLAGS
+	# do not add random CFLAGS
 	sed -i "s/-O2//" src/Makefile || die
-	sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	export PREFIX=/usr
+	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+	# respect CC, CXX, AR
+	sed -i \
+		-e 's/:= gcc/:= $(CC)/' \
+		-e 's/:= g++/:= $(CXX)/' \
+		-e 's/:= ar/:= $(AR)/' \
+		src/Makefile || die
+
+	export PREFIX="${EPREFIX}"/usr
 	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
+	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
+
 	default
 }
 
 src_compile() {
-	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
+	tc-export CC CXX AR
+
+	emake \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}"
+
 	pax-mark -mr hashcat
 }
 
@@ -68,5 +92,16 @@ src_test() {
 }
 
 src_install() {
-	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
+	emake \
+		DESTDIR="${ED}" \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}" \
+		install
 }


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2021-05-18 15:12 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2021-05-18 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     681c4f4f568d69e29ff246a68bb2f9ab1a83107b
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue May 18 15:11:57 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue May 18 15:12:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681c4f4f

app-crypt/hashcat: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/Manifest             |  1 -
 app-crypt/hashcat/hashcat-6.1.1.ebuild | 72 ----------------------------------
 2 files changed, 73 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index fd53bc2775c..47f1c021b86 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,2 +1 @@
-DIST hashcat-6.1.1.tar.gz 5385180 BLAKE2B a1a90f691222c7810150a23d513bd1d24bca4682dd8dec2ff5bdc9cc9f82d5a2b00407de966a7c7db131cf1c1709b5f78c97d45176598d6bb7ebd381c38b4ba8 SHA512 788539b488ba55684d6d93ce18f3b05fa822a8cbfcdbcde9c2b54001d8927580dca253e0e9ff9a19f4278045046d732e104054fc743c39f47952ca24d2e93724
 DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563

diff --git a/app-crypt/hashcat/hashcat-6.1.1.ebuild b/app-crypt/hashcat/hashcat-6.1.1.ebuild
deleted file mode 100644
index 4bcf042ea7e..00000000000
--- a/app-crypt/hashcat/hashcat-6.1.1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils multilib
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-LICENSE="MIT"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-IUSE="brain video_cards_nvidia"
-DEPEND="
-	app-arch/lzma
-	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
-						|| ( dev-util/nvidia-cuda-toolkit
-							virtual/opencl )
-						)
-	!video_cards_nvidia? ( virtual/opencl )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	#remove bundled stuff
-	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
-	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
-	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
-	#rm -r deps || die "Failed to remove bundled deps"
-	#do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	#do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	export PREFIX=/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${P}"
-	default
-}
-
-src_compile() {
-	emake SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}"
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}
-
-src_install() {
-	emake DESTDIR="${ED}" SHARED=1 PRODUCTION=1 ENABLE_BRAIN=$(usex brain 1 0) USE_SYSTEM_LZMA=0 USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1 VERSION_PURE="${PV}" install
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2021-05-29  7:02 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-05-29  7:02 UTC (permalink / raw
  To: gentoo-commits

commit:     0179cbdaf16fc35f9b1ace3bf48b14014c615a18
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 07:01:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 29 07:02:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0179cbda

app-crypt/hashcat: use bundled unrar for now

Unreleased changes upstream.

Closes: https://bugs.gentoo.org/792720
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/hashcat/{hashcat-6.2.1.ebuild => hashcat-6.2.1-r1.ebuild} | 3 ++-
 app-crypt/hashcat/hashcat-9999.ebuild                               | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-crypt/hashcat/hashcat-6.2.1.ebuild b/app-crypt/hashcat/hashcat-6.2.1-r1.ebuild
similarity index 97%
rename from app-crypt/hashcat/hashcat-6.2.1.ebuild
rename to app-crypt/hashcat/hashcat-6.2.1-r1.ebuild
index dc3813e63de..1adb6223b74 100644
--- a/app-crypt/hashcat/hashcat-6.2.1.ebuild
+++ b/app-crypt/hashcat/hashcat-6.2.1-r1.ebuild
@@ -60,13 +60,14 @@ src_prepare() {
 src_compile() {
 	tc-export CC CXX AR
 
+	# Use bundled unrar for now, bug #792720
 	emake \
 		SHARED=1 \
 		PRODUCTION=1 \
 		ENABLE_BRAIN=$(usex brain 1 0) \
 		USE_SYSTEM_LZMA=0 \
 		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_UNRAR=0 \
 		USE_SYSTEM_ZLIB=1 \
 		USE_SYSTEM_XXHASH=1 \
 		VERSION_PURE="${PV}"

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
index dc3813e63de..1adb6223b74 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -60,13 +60,14 @@ src_prepare() {
 src_compile() {
 	tc-export CC CXX AR
 
+	# Use bundled unrar for now, bug #792720
 	emake \
 		SHARED=1 \
 		PRODUCTION=1 \
 		ENABLE_BRAIN=$(usex brain 1 0) \
 		USE_SYSTEM_LZMA=0 \
 		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_UNRAR=0 \
 		USE_SYSTEM_ZLIB=1 \
 		USE_SYSTEM_XXHASH=1 \
 		VERSION_PURE="${PV}"


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2021-12-03  3:19 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-12-03  3:19 UTC (permalink / raw
  To: gentoo-commits

commit:     5b82a1fc11f0070028bfd1ab2b878f5b1c16c8c3
Author:     Miezhiko <Miezhiko <AT> gmail <DOT> com>
AuthorDate: Mon Nov 22 07:44:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 03:14:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b82a1fc

app-crypt/hashcat: update to 6.2.5

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miezhiko <Miezhiko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23028
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/hashcat/Manifest             |   1 +
 app-crypt/hashcat/hashcat-6.2.5.ebuild | 108 +++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index cb78361074a9..2cd23f70ec39 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,2 +1,3 @@
 DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563
 DIST hashcat-6.2.4.tar.gz 6269444 BLAKE2B 15d774253841350710e89bb6358f5fd615ef6e0645f271507d5bfc3e814be1533f78b83b90c11b24c7088ac60f2bb9098cf3410c4bedb5d53b0ccff4d840664c SHA512 bb18646794e168616e6f018b41c1a17c26bb0d8625aaeec0bd0d734efbc331008f432efde7b3d08e8838c995c771a406670812edaf7d605e7fdff9ef001aa954
+DIST hashcat-6.2.5.tar.gz 6341872 BLAKE2B e55a0aac0cb28041f92fc6685fb004058744e150d84d9b690bdb16bb7f4612edd12b987debcfc5d39d0c4e87bdd799148cae6974d47904c1e3d2953ceb32f076 SHA512 2b881146c625172c91cb74b33851473155dcde2421fba1b4acfba28116499b9cff832a62c4dbc24e16df06a827494f30699a7d0e5195d5ed107704f525255383

diff --git a/app-crypt/hashcat/hashcat-6.2.5.ebuild b/app-crypt/hashcat/hashcat-6.2.5.ebuild
new file mode 100644
index 000000000000..1adb6223b74a
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-6.2.5.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils toolchain-funcs
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+LICENSE="MIT"
+SLOT="0"
+if [ "${PV}" = "9999" ]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+IUSE="brain video_cards_nvidia"
+DEPEND="
+	app-arch/lzma
+	app-arch/unrar
+	sys-libs/zlib[minizip]
+	brain? ( dev-libs/xxhash )
+	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
+						|| ( dev-util/nvidia-cuda-toolkit
+							virtual/opencl )
+						)
+	!video_cards_nvidia? ( virtual/opencl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	# remove bundled stuff
+	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
+	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
+	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
+	#rm -r deps || die "Failed to remove bundled deps"
+
+	# do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile
+	# do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+	# respect CC, CXX, AR
+	sed -i \
+		-e 's/:= gcc/:= $(CC)/' \
+		-e 's/:= g++/:= $(CXX)/' \
+		-e 's/:= ar/:= $(AR)/' \
+		src/Makefile || die
+
+	export PREFIX="${EPREFIX}"/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
+
+	default
+}
+
+src_compile() {
+	tc-export CC CXX AR
+
+	# Use bundled unrar for now, bug #792720
+	emake \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=0 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}"
+
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+		if [ ! -w /dev/nvidia0 ]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	#elif use vidia_cards_fglrx; then
+	#	addwrite /dev/ati
+	fi
+	#this always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}
+
+src_install() {
+	emake \
+		DESTDIR="${ED}" \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}" \
+		install
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2021-12-03  3:19 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-12-03  3:19 UTC (permalink / raw
  To: gentoo-commits

commit:     aaf6f70da273ecc94072fe163561d7fbc674b5b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  3 03:19:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 03:19:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf6f70d

app-crypt/hashcat: update EAPI 7 -> 8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/hashcat/hashcat-6.2.5.ebuild | 45 ++++++++++++++++++++--------------
 1 file changed, 26 insertions(+), 19 deletions(-)

diff --git a/app-crypt/hashcat/hashcat-6.2.5.ebuild b/app-crypt/hashcat/hashcat-6.2.5.ebuild
index 1adb6223b74a..c0d476c28a7e 100644
--- a/app-crypt/hashcat/hashcat-6.2.5.ebuild
+++ b/app-crypt/hashcat/hashcat-6.2.5.ebuild
@@ -1,15 +1,13 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit pax-utils toolchain-funcs
 
 DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
-LICENSE="MIT"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
 else
@@ -17,33 +15,42 @@ else
 	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
 
+LICENSE="MIT"
+SLOT="0"
 IUSE="brain video_cards_nvidia"
-DEPEND="
-	app-arch/lzma
+
+DEPEND="app-arch/lzma
 	app-arch/unrar
 	sys-libs/zlib[minizip]
 	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
-						|| ( dev-util/nvidia-cuda-toolkit
-							virtual/opencl )
-						)
+	video_cards_nvidia? (
+		>x11-drivers/nvidia-drivers-440.64
+		|| (
+			dev-util/nvidia-cuda-toolkit
+			virtual/opencl
+		)
+	)
 	!video_cards_nvidia? ( virtual/opencl )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	# remove bundled stuff
+	# Remove bundled stuff
 	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
 	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+
 	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
 	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
 	#rm -r deps || die "Failed to remove bundled deps"
 
-	# do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	# do not add random CFLAGS
+	# Do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile || die
+
+	# Do not add random CFLAGS
 	sed -i "s/-O2//" src/Makefile || die
+
 	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	# respect CC, CXX, AR
+
+	# Respect CC, CXX, AR
 	sed -i \
 		-e 's/:= gcc/:= $(CC)/' \
 		-e 's/:= g++/:= $(CXX)/' \
@@ -80,14 +87,14 @@ src_test() {
 		addwrite /dev/nvidia0
 		addwrite /dev/nvidiactl
 		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
+
+		if [[ ! -w /dev/nvidia0 ]]; then
 			einfo "To run these tests, portage likely must be in the video group."
 			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
 		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
 	fi
-	#this always exits with 255 despite success
+
+	# This always exits with 255 despite success
 	#./hashcat -b -m 2500 || die "Test failed"
 	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
 }


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2022-12-03  1:37 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2022-12-03  1:37 UTC (permalink / raw
  To: gentoo-commits

commit:     3e375a111c38c92562fac2c068d688a19798fc38
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Fri Dec  2 23:06:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 01:35:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e375a11

app-crypt/hashcat: add 6.2.6

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://bugs.gentoo.org/878083
Closes: https://github.com/gentoo/gentoo/pull/28517
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/hashcat/Manifest             |   1 +
 app-crypt/hashcat/hashcat-6.2.6.ebuild | 115 +++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index 2cd23f70ec39..a5e40cd9d819 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,3 +1,4 @@
 DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563
 DIST hashcat-6.2.4.tar.gz 6269444 BLAKE2B 15d774253841350710e89bb6358f5fd615ef6e0645f271507d5bfc3e814be1533f78b83b90c11b24c7088ac60f2bb9098cf3410c4bedb5d53b0ccff4d840664c SHA512 bb18646794e168616e6f018b41c1a17c26bb0d8625aaeec0bd0d734efbc331008f432efde7b3d08e8838c995c771a406670812edaf7d605e7fdff9ef001aa954
 DIST hashcat-6.2.5.tar.gz 6341872 BLAKE2B e55a0aac0cb28041f92fc6685fb004058744e150d84d9b690bdb16bb7f4612edd12b987debcfc5d39d0c4e87bdd799148cae6974d47904c1e3d2953ceb32f076 SHA512 2b881146c625172c91cb74b33851473155dcde2421fba1b4acfba28116499b9cff832a62c4dbc24e16df06a827494f30699a7d0e5195d5ed107704f525255383
+DIST hashcat-6.2.6.tar.gz 14234640 BLAKE2B fbbebc0a35b920442d4e1fb5822a8b9867db62bcc2404fba514fe1f06f0aa859a116cbe204eed71d340ad826dcfffffadca6963e5eec875ae2fee59068968b61 SHA512 b5e4f40fb5ed0a47977243e1f95bf1deae0b04bd5ca26338395305c42573fe5b17557835f6f5d8b7402812e8eadda2b260d6b927ce99429fd1b87eb26f002f8a

diff --git a/app-crypt/hashcat/hashcat-6.2.6.ebuild b/app-crypt/hashcat/hashcat-6.2.6.ebuild
new file mode 100644
index 000000000000..42350637c144
--- /dev/null
+++ b/app-crypt/hashcat/hashcat-6.2.6.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils toolchain-funcs
+
+DESCRIPTION="World's fastest and most advanced password recovery utility"
+HOMEPAGE="https://github.com/hashcat/hashcat"
+if [[ ${PV} == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="brain video_cards_nvidia"
+
+DEPEND="app-arch/lzma
+	app-arch/unrar
+	sys-libs/zlib[minizip]
+	brain? ( dev-libs/xxhash )
+	video_cards_nvidia? (
+		>x11-drivers/nvidia-drivers-440.64
+		|| (
+			dev-util/nvidia-cuda-toolkit
+			virtual/opencl
+		)
+	)
+	!video_cards_nvidia? ( virtual/opencl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	# Remove bundled stuff
+	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
+	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+
+	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
+	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
+	#rm -r deps || die "Failed to remove bundled deps"
+
+	# Do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile || die
+
+	# Do not add random CFLAGS
+	sed -i "s/-O2//" src/Makefile || die
+
+	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
+
+	# Respect CC, CXX, AR
+	sed -i \
+		-e 's/:= gcc/:= $(CC)/' \
+		-e 's/:= g++/:= $(CXX)/' \
+		-e 's/:= ar/:= $(AR)/' \
+		src/Makefile || die
+
+	export PREFIX="${EPREFIX}"/usr
+	export LIBRARY_FOLDER="/usr/$(get_libdir)"
+	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
+
+	default
+}
+
+src_compile() {
+	tc-export CC CXX AR
+
+	# Use bundled unrar for now, bug #792720
+	emake \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=0 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}"
+
+	pax-mark -mr hashcat
+}
+
+src_test() {
+	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
+		addwrite /dev/nvidia-uvm
+
+		if [[ ! -w /dev/nvidia0 ]]; then
+			einfo "To run these tests, portage likely must be in the video group."
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
+		fi
+	fi
+
+	# This always exits with 255 despite success
+	#./hashcat -b -m 2500 || die "Test failed"
+	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
+}
+
+src_install() {
+	emake \
+		DESTDIR="${ED}" \
+		SHARED=1 \
+		PRODUCTION=1 \
+		ENABLE_BRAIN=$(usex brain 1 0) \
+		USE_SYSTEM_LZMA=0 \
+		USE_SYSTEM_OPENCL=1 \
+		USE_SYSTEM_UNRAR=1 \
+		USE_SYSTEM_ZLIB=1 \
+		USE_SYSTEM_XXHASH=1 \
+		VERSION_PURE="${PV}" \
+		install
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2023-08-19 22:40 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2023-08-19 22:40 UTC (permalink / raw
  To: gentoo-commits

commit:     8b6731cea6f8c4971781a877565919a718af13b1
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 22:16:28 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 22:40:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6731ce

app-crypt/hashcat: sync live

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/hashcat-9999.ebuild | 47 ++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 20 deletions(-)

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
index 1adb6223b74a..add467bdd498 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit pax-utils toolchain-funcs
 
 DESCRIPTION="World's fastest and most advanced password recovery utility"
 HOMEPAGE="https://github.com/hashcat/hashcat"
-LICENSE="MIT"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
 else
@@ -17,33 +15,42 @@ else
 	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
 
+LICENSE="MIT"
+SLOT="0"
 IUSE="brain video_cards_nvidia"
-DEPEND="
-	app-arch/lzma
+
+DEPEND="app-arch/lzma
 	app-arch/unrar
 	sys-libs/zlib[minizip]
 	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
-						|| ( dev-util/nvidia-cuda-toolkit
-							virtual/opencl )
-						)
+	video_cards_nvidia? (
+		>x11-drivers/nvidia-drivers-440.64
+		|| (
+			dev-util/nvidia-cuda-toolkit
+			virtual/opencl
+		)
+	)
 	!video_cards_nvidia? ( virtual/opencl )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	# remove bundled stuff
+	# Remove bundled stuff
 	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
 	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
+
 	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
 	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
 	#rm -r deps || die "Failed to remove bundled deps"
 
-	# do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	# do not add random CFLAGS
+	# Do not strip
+	sed -i "/LFLAGS                  += -s/d" src/Makefile || die
+
+	# Do not add random CFLAGS
 	sed -i "s/-O2//" src/Makefile || die
+
 	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	# respect CC, CXX, AR
+
+	# Respect CC, CXX, AR
 	sed -i \
 		-e 's/:= gcc/:= $(CC)/' \
 		-e 's/:= g++/:= $(CXX)/' \
@@ -80,14 +87,14 @@ src_test() {
 		addwrite /dev/nvidia0
 		addwrite /dev/nvidiactl
 		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
+
+		if [[ ! -w /dev/nvidia0 ]]; then
 			einfo "To run these tests, portage likely must be in the video group."
 			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
 		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
 	fi
-	#this always exits with 255 despite success
+
+	# This always exits with 255 despite success
 	#./hashcat -b -m 2500 || die "Test failed"
 	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
 }


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2023-08-19 22:40 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2023-08-19 22:40 UTC (permalink / raw
  To: gentoo-commits

commit:     ad168022d96a17b2669d6351de000e75cffa73f4
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 22:13:08 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 22:40:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad168022

app-crypt/hashcat: drop 6.2.1-r1, 6.2.4, 6.2.4-r1, 6.2.5

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/Manifest                |   3 -
 app-crypt/hashcat/hashcat-6.2.1-r1.ebuild | 108 ----------------------------
 app-crypt/hashcat/hashcat-6.2.4-r1.ebuild | 113 -----------------------------
 app-crypt/hashcat/hashcat-6.2.4.ebuild    | 112 -----------------------------
 app-crypt/hashcat/hashcat-6.2.5.ebuild    | 115 ------------------------------
 5 files changed, 451 deletions(-)

diff --git a/app-crypt/hashcat/Manifest b/app-crypt/hashcat/Manifest
index a5e40cd9d819..526ecd2eb137 100644
--- a/app-crypt/hashcat/Manifest
+++ b/app-crypt/hashcat/Manifest
@@ -1,4 +1 @@
-DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563
-DIST hashcat-6.2.4.tar.gz 6269444 BLAKE2B 15d774253841350710e89bb6358f5fd615ef6e0645f271507d5bfc3e814be1533f78b83b90c11b24c7088ac60f2bb9098cf3410c4bedb5d53b0ccff4d840664c SHA512 bb18646794e168616e6f018b41c1a17c26bb0d8625aaeec0bd0d734efbc331008f432efde7b3d08e8838c995c771a406670812edaf7d605e7fdff9ef001aa954
-DIST hashcat-6.2.5.tar.gz 6341872 BLAKE2B e55a0aac0cb28041f92fc6685fb004058744e150d84d9b690bdb16bb7f4612edd12b987debcfc5d39d0c4e87bdd799148cae6974d47904c1e3d2953ceb32f076 SHA512 2b881146c625172c91cb74b33851473155dcde2421fba1b4acfba28116499b9cff832a62c4dbc24e16df06a827494f30699a7d0e5195d5ed107704f525255383
 DIST hashcat-6.2.6.tar.gz 14234640 BLAKE2B fbbebc0a35b920442d4e1fb5822a8b9867db62bcc2404fba514fe1f06f0aa859a116cbe204eed71d340ad826dcfffffadca6963e5eec875ae2fee59068968b61 SHA512 b5e4f40fb5ed0a47977243e1f95bf1deae0b04bd5ca26338395305c42573fe5b17557835f6f5d8b7402812e8eadda2b260d6b927ce99429fd1b87eb26f002f8a

diff --git a/app-crypt/hashcat/hashcat-6.2.1-r1.ebuild b/app-crypt/hashcat/hashcat-6.2.1-r1.ebuild
deleted file mode 100644
index 1adb6223b74a..000000000000
--- a/app-crypt/hashcat/hashcat-6.2.1-r1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils toolchain-funcs
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-LICENSE="MIT"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-IUSE="brain video_cards_nvidia"
-DEPEND="
-	app-arch/lzma
-	app-arch/unrar
-	sys-libs/zlib[minizip]
-	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
-						|| ( dev-util/nvidia-cuda-toolkit
-							virtual/opencl )
-						)
-	!video_cards_nvidia? ( virtual/opencl )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	# remove bundled stuff
-	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
-	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
-	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
-	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
-	#rm -r deps || die "Failed to remove bundled deps"
-
-	# do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	# do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	# respect CC, CXX, AR
-	sed -i \
-		-e 's/:= gcc/:= $(CC)/' \
-		-e 's/:= g++/:= $(CXX)/' \
-		-e 's/:= ar/:= $(AR)/' \
-		src/Makefile || die
-
-	export PREFIX="${EPREFIX}"/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
-
-	default
-}
-
-src_compile() {
-	tc-export CC CXX AR
-
-	# Use bundled unrar for now, bug #792720
-	emake \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=0 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}"
-
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}
-
-src_install() {
-	emake \
-		DESTDIR="${ED}" \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=1 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}" \
-		install
-}

diff --git a/app-crypt/hashcat/hashcat-6.2.4-r1.ebuild b/app-crypt/hashcat/hashcat-6.2.4-r1.ebuild
deleted file mode 100644
index 8d00e75fa192..000000000000
--- a/app-crypt/hashcat/hashcat-6.2.4-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils toolchain-funcs
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-LICENSE="MIT"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-IUSE="brain video_cards_nvidia"
-DEPEND="
-	app-arch/lzma
-	app-arch/unrar
-	sys-libs/zlib[minizip]
-	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
-						|| ( dev-util/nvidia-cuda-toolkit
-							virtual/opencl )
-						)
-	!video_cards_nvidia? ( virtual/opencl )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-6.2.4-brainless.patch
-	"${FILESDIR}"/${PN}-6.2.4-pocl-quoting-include.patch
-)
-
-src_prepare() {
-	# remove bundled stuff
-	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
-	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
-	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
-	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
-	#rm -r deps || die "Failed to remove bundled deps"
-
-	# do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	# do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	# respect CC, CXX, AR
-	sed -i \
-		-e 's/:= gcc/:= $(CC)/' \
-		-e 's/:= g++/:= $(CXX)/' \
-		-e 's/:= ar/:= $(AR)/' \
-		src/Makefile || die
-
-	export PREFIX="${EPREFIX}"/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
-
-	default
-}
-
-src_compile() {
-	tc-export CC CXX AR
-
-	# Use bundled unrar for now, bug #792720
-	emake \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=0 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}"
-
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}
-
-src_install() {
-	emake \
-		DESTDIR="${ED}" \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=1 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}" \
-		install
-}

diff --git a/app-crypt/hashcat/hashcat-6.2.4.ebuild b/app-crypt/hashcat/hashcat-6.2.4.ebuild
deleted file mode 100644
index 4a204caae634..000000000000
--- a/app-crypt/hashcat/hashcat-6.2.4.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils toolchain-funcs
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-LICENSE="MIT"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-IUSE="brain video_cards_nvidia"
-DEPEND="
-	app-arch/lzma
-	app-arch/unrar
-	sys-libs/zlib[minizip]
-	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64
-						|| ( dev-util/nvidia-cuda-toolkit
-							virtual/opencl )
-						)
-	!video_cards_nvidia? ( virtual/opencl )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-6.2.4-brainless.patch
-)
-
-src_prepare() {
-	# remove bundled stuff
-	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
-	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
-	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
-	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
-	#rm -r deps || die "Failed to remove bundled deps"
-
-	# do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile
-	# do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-	# respect CC, CXX, AR
-	sed -i \
-		-e 's/:= gcc/:= $(CC)/' \
-		-e 's/:= g++/:= $(CXX)/' \
-		-e 's/:= ar/:= $(AR)/' \
-		src/Makefile || die
-
-	export PREFIX="${EPREFIX}"/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
-
-	default
-}
-
-src_compile() {
-	tc-export CC CXX AR
-
-	# Use bundled unrar for now, bug #792720
-	emake \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=0 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}"
-
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-		if [ ! -w /dev/nvidia0 ]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	#elif use vidia_cards_fglrx; then
-	#	addwrite /dev/ati
-	fi
-	#this always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}
-
-src_install() {
-	emake \
-		DESTDIR="${ED}" \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=1 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}" \
-		install
-}

diff --git a/app-crypt/hashcat/hashcat-6.2.5.ebuild b/app-crypt/hashcat/hashcat-6.2.5.ebuild
deleted file mode 100644
index c0d476c28a7e..000000000000
--- a/app-crypt/hashcat/hashcat-6.2.5.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit pax-utils toolchain-funcs
-
-DESCRIPTION="World's fastest and most advanced password recovery utility"
-HOMEPAGE="https://github.com/hashcat/hashcat"
-if [[ ${PV} == "9999" ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="brain video_cards_nvidia"
-
-DEPEND="app-arch/lzma
-	app-arch/unrar
-	sys-libs/zlib[minizip]
-	brain? ( dev-libs/xxhash )
-	video_cards_nvidia? (
-		>x11-drivers/nvidia-drivers-440.64
-		|| (
-			dev-util/nvidia-cuda-toolkit
-			virtual/opencl
-		)
-	)
-	!video_cards_nvidia? ( virtual/opencl )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	# Remove bundled stuff
-	rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
-	rm -r deps/xxHash || die "Failed to remove bundled xxHash"
-
-	# TODO: Gentoo's app-arch/lzma doesn't install the needed files
-	#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
-	#rm -r deps || die "Failed to remove bundled deps"
-
-	# Do not strip
-	sed -i "/LFLAGS                  += -s/d" src/Makefile || die
-
-	# Do not add random CFLAGS
-	sed -i "s/-O2//" src/Makefile || die
-
-	#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
-
-	# Respect CC, CXX, AR
-	sed -i \
-		-e 's/:= gcc/:= $(CC)/' \
-		-e 's/:= g++/:= $(CXX)/' \
-		-e 's/:= ar/:= $(AR)/' \
-		src/Makefile || die
-
-	export PREFIX="${EPREFIX}"/usr
-	export LIBRARY_FOLDER="/usr/$(get_libdir)"
-	export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
-
-	default
-}
-
-src_compile() {
-	tc-export CC CXX AR
-
-	# Use bundled unrar for now, bug #792720
-	emake \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=0 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}"
-
-	pax-mark -mr hashcat
-}
-
-src_test() {
-	if use video_cards_nvidia; then
-		addwrite /dev/nvidia0
-		addwrite /dev/nvidiactl
-		addwrite /dev/nvidia-uvm
-
-		if [[ ! -w /dev/nvidia0 ]]; then
-			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
-		fi
-	fi
-
-	# This always exits with 255 despite success
-	#./hashcat -b -m 2500 || die "Test failed"
-	LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
-}
-
-src_install() {
-	emake \
-		DESTDIR="${ED}" \
-		SHARED=1 \
-		PRODUCTION=1 \
-		ENABLE_BRAIN=$(usex brain 1 0) \
-		USE_SYSTEM_LZMA=0 \
-		USE_SYSTEM_OPENCL=1 \
-		USE_SYSTEM_UNRAR=1 \
-		USE_SYSTEM_ZLIB=1 \
-		USE_SYSTEM_XXHASH=1 \
-		VERSION_PURE="${PV}" \
-		install
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/
@ 2023-08-24  2:12 Rick Farina
  0 siblings, 0 replies; 24+ messages in thread
From: Rick Farina @ 2023-08-24  2:12 UTC (permalink / raw
  To: gentoo-commits

commit:     1eab86228911911ec6c4efdd2f79adfb3f24090f
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 24 02:12:12 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Aug 24 02:12:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eab8622

app-crypt/hashcat: restrict test

Closes: https://bugs.gentoo.org/744463
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 app-crypt/hashcat/hashcat-6.2.6.ebuild | 3 ++-
 app-crypt/hashcat/hashcat-9999.ebuild  | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/hashcat/hashcat-6.2.6.ebuild b/app-crypt/hashcat/hashcat-6.2.6.ebuild
index 42350637c144..d2c503812e53 100644
--- a/app-crypt/hashcat/hashcat-6.2.6.ebuild
+++ b/app-crypt/hashcat/hashcat-6.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,6 +18,7 @@ fi
 LICENSE="MIT"
 SLOT="0"
 IUSE="brain video_cards_nvidia"
+RESTRICT=test
 
 DEPEND="app-arch/lzma
 	app-arch/unrar

diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild
index add467bdd498..d2c503812e53 100644
--- a/app-crypt/hashcat/hashcat-9999.ebuild
+++ b/app-crypt/hashcat/hashcat-9999.ebuild
@@ -18,6 +18,7 @@ fi
 LICENSE="MIT"
 SLOT="0"
 IUSE="brain video_cards_nvidia"
+RESTRICT=test
 
 DEPEND="app-arch/lzma
 	app-arch/unrar


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-08-24  2:12 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-19 22:40 [gentoo-commits] repo/gentoo:master commit in: app-crypt/hashcat/ Rick Farina
  -- strict thread matches above, loose matches on Subject: below --
2023-08-24  2:12 Rick Farina
2023-08-19 22:40 Rick Farina
2022-12-03  1:37 Sam James
2021-12-03  3:19 Sam James
2021-12-03  3:19 Sam James
2021-05-29  7:02 Sam James
2021-05-18 15:12 Rick Farina
2021-05-18 15:12 Rick Farina
2020-06-16 19:21 Rick Farina
2020-04-01 21:15 Marek Szuba
2019-01-07 19:45 Rick Farina
2018-11-08 15:56 Rick Farina
2018-11-05 20:06 Richard Farina
2018-10-23 20:22 Richard Farina
2018-08-03 20:30 Richard Farina
2018-02-23 17:30 Richard Farina
2017-12-07 16:08 Richard Farina
2017-11-24  6:06 Matt Turner
2017-10-04  7:47 Michał Górny
2017-03-03 16:44 Richard Farina
2017-01-18 17:59 Richard Farina
2016-09-03 21:32 Richard Farina
2016-09-02  4:05 Richard Farina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox