public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/oclhashcat-plus-bin: oclhashcat-plus-bin-0.14.ebuild ChangeLog
@ 2013-04-28  2:17 Richard Farina (zerochaos)
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-28  2:17 UTC (permalink / raw
  To: gentoo-commits

zerochaos    13/04/28 02:17:02

  Modified:             oclhashcat-plus-bin-0.14.ebuild ChangeLog
  Log:
  typo fix
  
  (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

Revision  Changes    Path
1.2                  app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild?r1=1.1&r2=1.2

Index: oclhashcat-plus-bin-0.14.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- oclhashcat-plus-bin-0.14.ebuild	23 Apr 2013 02:36:57 -0000	1.1
+++ oclhashcat-plus-bin-0.14.ebuild	28 Apr 2013 02:17:02 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild,v 1.1 2013/04/23 02:36:57 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild,v 1.2 2013/04/28 02:17:02 zerochaos Exp $
 
 EAPI=5
 
@@ -37,7 +37,7 @@
 	if use video_cards_nvidia; then
 		if [ ! -w /dev/nvidia0 ]; then
 			einfo "To run these tests, portage likely must be in the video group."
-			einfo "Please run \"passwd -a portage video\" if the tests will fail"
+			einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
 		fi
 		./cudaExample0.sh || die
 		./cudaExample400.sh || die



1.10                 app-crypt/oclhashcat-plus-bin/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	23 Apr 2013 02:36:58 -0000	1.9
+++ ChangeLog	28 Apr 2013 02:17:02 -0000	1.10
@@ -1,6 +1,10 @@
 # ChangeLog for app-crypt/oclhashcat-plus-bin
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.9 2013/04/23 02:36:58 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.10 2013/04/28 02:17:02 zerochaos Exp $
+
+  28 Apr 2013; Rick Farina <zerochaos@gentoo.org>
+  oclhashcat-plus-bin-0.14.ebuild:
+  typo fix
 
 *oclhashcat-plus-bin-0.14 (23 Apr 2013)
 





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

* [gentoo-commits] gentoo-x86 commit in app-crypt/oclhashcat-plus-bin: oclhashcat-plus-bin-0.14.ebuild ChangeLog
@ 2013-04-29 16:06 Richard Farina (zerochaos)
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-29 16:06 UTC (permalink / raw
  To: gentoo-commits

zerochaos    13/04/29 16:06:38

  Modified:             oclhashcat-plus-bin-0.14.ebuild ChangeLog
  Log:
  ebuild cleanup, fix tests, fix running as user
  
  (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

Revision  Changes    Path
1.3                  app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild?r1=1.2&r2=1.3

Index: oclhashcat-plus-bin-0.14.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- oclhashcat-plus-bin-0.14.ebuild	28 Apr 2013 02:17:02 -0000	1.2
+++ oclhashcat-plus-bin-0.14.ebuild	29 Apr 2013 16:06:38 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild,v 1.2 2013/04/28 02:17:02 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.14.ebuild,v 1.3 2013/04/29 16:06:38 zerochaos Exp $
 
 EAPI=5
 
@@ -32,41 +32,53 @@
 RESTRICT="strip"
 QA_PREBUILT="*Hashcat-plus*.bin"
 
+src_prepare() {
+	use x86 && rm *Hashcat-plus64*
+	use amd64 && rm *Hashcat-plus32*
+	use virtualcl || rm vclHashcat-plus*
+
+	if ! use video_cards_fglrx; then
+		rm -r kernels/4098 || die
+		rm oclHashcat-plus*.bin || die
+	fi
+	if ! use video_cards_nvidia; then
+		rm -r kernels/4318 || die
+		rm cudaHashcat-plus*.bin || die
+	fi
+
+	#paxmark goes here so test and install works
+	pax-mark r *Hashcat-plus*.bin
+}
+
 src_test() {
 	printf "%02x" ${PV#0.} > "${S}"/eula.accepted
 	if use video_cards_nvidia; then
+		addwrite /dev/nvidia0
+		addwrite /dev/nvidiactl
 		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
-		./cudaExample0.sh || die
-		./cudaExample400.sh || die
-		./cudaExample500.sh || die
+		if use amd64; then
+			./cudaHashcat-plus64.bin -a 3 -m 1500 nQCk49SiErOgk || die
+		elif use x86; then
+			./cudaHashcat-plus32.bin -a 3 -m 1500 nQCk49SiErOgk || die
+		fi
 	fi
 	if use video_cards_fglrx; then
-		./oclExample0.sh || die
-		./oclExample400.sh || die
-		./oclExample500.sh || die
+		addwrite /dev/ati
+		if use amd64; then
+			./oclHashcat-plus64.bin -a 3 -m 1500 nQCk49SiErOgk || die
+		elif use x86; then
+			./oclHashcat-plus32.bin -a 3 -m 1500 nQCk49SiErOgk || die
+		fi
 	fi
-	rm "${S}"/eula.accepted
+	rm eula.accepted hashcat.pot hashcat.dictstat
 }
 
 src_install() {
 	dodoc docs/*
 	rm -r "${S}"/*.exe "${S}"/*.cmd "${S}"/docs || die
-	use x86 && rm *Hashcat-plus64*
-	use amd64 && rm *Hashcat-plus32*
-	use virtualcl || { rm vclHashcat-plus* || die; }
-
-	if ! use video_cards_fglrx; then
-		rm -r kernels/4098 || die
-		rm oclHashcat-plus*.bin || die
-	fi
-	if ! use video_cards_nvidia; then
-		rm -r kernels/4318 || die
-		rm cudaHashcat-plus*.bin || die
-	fi
-	pax-mark m *Hashcat-plus*.bin
 
 	insinto /opt/${PN}
 	doins -r "${S}"/* || die "Copy files failed"
@@ -119,7 +131,8 @@
 	done
 
 	fperms +x /opt/bin/oclhashcat-plus
-	fowners root:video /opt/${PN}
+	fowners -R root:video /opt/${PN}
+	fperms g+w /opt/${PN}
 	einfo "oclhashcat-plus can be run as user if you are in the video group"
 }
 



1.11                 app-crypt/oclhashcat-plus-bin/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	28 Apr 2013 02:17:02 -0000	1.10
+++ ChangeLog	29 Apr 2013 16:06:38 -0000	1.11
@@ -1,6 +1,10 @@
 # ChangeLog for app-crypt/oclhashcat-plus-bin
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.10 2013/04/28 02:17:02 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/ChangeLog,v 1.11 2013/04/29 16:06:38 zerochaos Exp $
+
+  29 Apr 2013; Rick Farina <zerochaos@gentoo.org>
+  oclhashcat-plus-bin-0.14.ebuild:
+  ebuild cleanup, fix tests, fix running as user
 
   28 Apr 2013; Rick Farina <zerochaos@gentoo.org>
   oclhashcat-plus-bin-0.14.ebuild:





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

end of thread, other threads:[~2013-04-29 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-28  2:17 [gentoo-commits] gentoo-x86 commit in app-crypt/oclhashcat-plus-bin: oclhashcat-plus-bin-0.14.ebuild ChangeLog Richard Farina (zerochaos)
  -- strict thread matches above, loose matches on Subject: below --
2013-04-29 16:06 Richard Farina (zerochaos)

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