* [gentoo-commits] gentoo-x86 commit in app-crypt/oclhashcat-lite-bin: oclhashcat-lite-bin-0.15.ebuild ChangeLog
@ 2013-04-29 17:40 Richard Farina (zerochaos)
0 siblings, 0 replies; 2+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-29 17:40 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/04/29 17:40:09
Modified: oclhashcat-lite-bin-0.15.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.2 app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild?r1=1.1&r2=1.2
Index: oclhashcat-lite-bin-0.15.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- oclhashcat-lite-bin-0.15.ebuild 23 Apr 2013 02:49:26 -0000 1.1
+++ oclhashcat-lite-bin-0.15.ebuild 29 Apr 2013 17:40:09 -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-lite-bin/oclhashcat-lite-bin-0.15.ebuild,v 1.1 2013/04/23 02:49:26 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild,v 1.2 2013/04/29 17:40:09 zerochaos Exp $
EAPI=5
@@ -32,28 +32,7 @@
RESTRICT="strip"
QA_PREBUILT="*Hashcat-lite*.bin"
-src_test() {
- printf "%02x" ${PV#0.} > "${S}"/eula.accepted
- 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"
- fi
- ./cudaExample0.sh || die
- ./cudaExample400.sh || die
- ./cudaExample500.sh || die
- fi
- if use video_cards_fglrx; then
- ./oclExample0.sh || die
- ./oclExample400.sh || die
- ./oclExample500.sh || die
- fi
- rm "${S}"/eula.accepted
-}
-
-src_install() {
- dodoc docs/*
- rm -r "${S}"/*.exe "${S}"/*.cmd "${S}"/docs || die
+src_prepare() {
if use x86; then
rm oclHashcat-lite64.bin || die
rm cudaHashcat-lite64.bin || die
@@ -71,8 +50,39 @@
rm cudaHashcat-lite*.bin || die
fi
use virtualcl || { rm vclHashcat-lite* || die; }
- #I assume this is needed but I didn't check
- pax-mark m *Hashcat-lite*.bin
+
+ pax-mark r *Hashcat-lite*.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 \"passwd -a portage video\" if the tests will fail"
+ fi
+ if use amd64; then
+ ./cudaHashcat-lite64.bin 6fc33db981c6c55189bbda9625eacd6d
+ elif use x86; then
+ ./cudaHashcat-lite32.bin 6fc33db981c6c55189bbda9625eacd6d
+ fi
+ fi
+ if use video_cards_fglrx; then
+ addwrite /dev/ati
+ if use amd64; then
+ ./oclHashcat-lite64.bin 6fc33db981c6c55189bbda9625eacd6d
+ elif use x86; then
+ ./oclHashcat-lite32.bin 6fc33db981c6c55189bbda9625eacd6d
+ fi
+ fi
+ rm eula.accepted cudaHashcat-lite.restore
+}
+
+src_install() {
+ dodoc docs/*
+ rm -r "${S}"/*.exe "${S}"/*.cmd "${S}"/docs || die
insinto /opt/${PN}
doins -r "${S}"/*
@@ -125,7 +135,8 @@
done
fperms +x /opt/bin/oclhashcat-lite
- fowners root:video /opt/${PN}
+ fowners -R root:video /opt/${PN}
+ fperms g+w /opt/${PN}
einfo "oclhashcat-lite can be run as user if you are in the video group"
}
1.8 app-crypt/oclhashcat-lite-bin/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog?r1=1.7&r2=1.8
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog 23 Apr 2013 02:49:26 -0000 1.7
+++ ChangeLog 29 Apr 2013 17:40:09 -0000 1.8
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/oclhashcat-lite-bin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v 1.7 2013/04/23 02:49:26 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v 1.8 2013/04/29 17:40:09 zerochaos Exp $
+
+ 29 Apr 2013; Rick Farina <zerochaos@gentoo.org>
+ oclhashcat-lite-bin-0.15.ebuild:
+ ebuild cleanup, fix tests, fix running as user
*oclhashcat-lite-bin-0.15 (23 Apr 2013)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-crypt/oclhashcat-lite-bin: oclhashcat-lite-bin-0.15.ebuild ChangeLog
@ 2013-08-24 18:29 Richard Farina (zerochaos)
0 siblings, 0 replies; 2+ messages in thread
From: Richard Farina (zerochaos) @ 2013-08-24 18:29 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/08/24 18:29:58
Modified: oclhashcat-lite-bin-0.15.ebuild ChangeLog
Log:
newer ati-drivers can be used with --force so we allow it
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.3 app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild?r1=1.2&r2=1.3
Index: oclhashcat-lite-bin-0.15.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- oclhashcat-lite-bin-0.15.ebuild 29 Apr 2013 17:40:09 -0000 1.2
+++ oclhashcat-lite-bin-0.15.ebuild 24 Aug 2013 18:29:58 -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-lite-bin/oclhashcat-lite-bin-0.15.ebuild,v 1.2 2013/04/29 17:40:09 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.15.ebuild,v 1.3 2013/08/24 18:29:58 zerochaos Exp $
EAPI=5
@@ -23,7 +23,7 @@
RDEPEND="sys-libs/zlib
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-310.32 )
- video_cards_fglrx? ( =x11-drivers/ati-drivers-13.1 )"
+ video_cards_fglrx? ( >=x11-drivers/ati-drivers-13.1 )"
DEPEND="${RDEPEND}
app-arch/p7zip"
1.9 app-crypt/oclhashcat-lite-bin/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog?r1=1.8&r2=1.9
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog 29 Apr 2013 17:40:09 -0000 1.8
+++ ChangeLog 24 Aug 2013 18:29:58 -0000 1.9
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/oclhashcat-lite-bin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v 1.8 2013/04/29 17:40:09 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/ChangeLog,v 1.9 2013/08/24 18:29:58 zerochaos Exp $
+
+ 24 Aug 2013; Rick Farina <zerochaos@gentoo.org>
+ oclhashcat-lite-bin-0.15.ebuild:
+ newer ati-drivers can be used with --force so we allow it
29 Apr 2013; Rick Farina <zerochaos@gentoo.org>
oclhashcat-lite-bin-0.15.ebuild:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-24 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29 17:40 [gentoo-commits] gentoo-x86 commit in app-crypt/oclhashcat-lite-bin: oclhashcat-lite-bin-0.15.ebuild ChangeLog Richard Farina (zerochaos)
-- strict thread matches above, loose matches on Subject: below --
2013-08-24 18:29 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