Lines 17-26
Link Here
|
17 |
SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
17 |
SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
18 |
fi |
18 |
fi |
19 |
|
19 |
|
20 |
IUSE="brain video_cards_nvidia" |
20 |
IUSE="brain video_cards_nvidia +system-unrar +system-zlib" |
21 |
DEPEND=" |
21 |
DEPEND=" |
22 |
app-arch/lzma |
22 |
app-arch/lzma |
23 |
app-arch/unrar |
23 |
app-arch/unrar |
|
|
24 |
system-unrar? ( >=app-arch/unrar-6.0.7 ) |
24 |
sys-libs/zlib[minizip] |
25 |
sys-libs/zlib[minizip] |
25 |
brain? ( dev-libs/xxhash ) |
26 |
brain? ( dev-libs/xxhash ) |
26 |
video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64 |
27 |
video_cards_nvidia? ( >x11-drivers/nvidia-drivers-440.64 |
Lines 60-74
Link Here
|
60 |
src_compile() { |
61 |
src_compile() { |
61 |
tc-export CC CXX AR |
62 |
tc-export CC CXX AR |
62 |
|
63 |
|
63 |
# Use bundled unrar for now, bug #792720 |
64 |
# Use bundled unrar for <unrar-6.0.7 now, bug #792720 |
64 |
emake \ |
65 |
emake \ |
65 |
SHARED=1 \ |
66 |
SHARED=1 \ |
66 |
PRODUCTION=1 \ |
67 |
PRODUCTION=1 \ |
67 |
ENABLE_BRAIN=$(usex brain 1 0) \ |
68 |
ENABLE_BRAIN=$(usex brain 1 0) \ |
68 |
USE_SYSTEM_LZMA=0 \ |
69 |
USE_SYSTEM_LZMA=0 \ |
69 |
USE_SYSTEM_OPENCL=1 \ |
70 |
USE_SYSTEM_OPENCL=1 \ |
70 |
USE_SYSTEM_UNRAR=0 \ |
71 |
USE_SYSTEM_UNRAR=$(usex system-unrar 1 0) \ |
71 |
USE_SYSTEM_ZLIB=1 \ |
72 |
USE_SYSTEM_ZLIB=$(usex system-zlib 1 0) \ |
72 |
USE_SYSTEM_XXHASH=1 \ |
73 |
USE_SYSTEM_XXHASH=1 \ |
73 |
VERSION_PURE="${PV}" |
74 |
VERSION_PURE="${PV}" |
74 |
|
75 |
|
Lines 84-90
Link Here
|
84 |
einfo "To run these tests, portage likely must be in the video group." |
85 |
einfo "To run these tests, portage likely must be in the video group." |
85 |
einfo "Please run \"gpasswd -a portage video\" if the tests will fail" |
86 |
einfo "Please run \"gpasswd -a portage video\" if the tests will fail" |
86 |
fi |
87 |
fi |
87 |
#elif use vidia_cards_fglrx; then |
88 |
#elif use video_cards_fglrx; then |
88 |
# addwrite /dev/ati |
89 |
# addwrite /dev/ati |
89 |
fi |
90 |
fi |
90 |
#this always exits with 255 despite success |
91 |
#this always exits with 255 despite success |