Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 712092 Details for
Bug 792720
app-crypt/hashcat-6.2.1: /usr/share/hashcat/modules/module_23800.so: undefined symbol: hc_decompress_rar
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-crypt/hashcat-6.2.1.ebuild: compile with built-in unrar (USE_SYSTEM_UNRAR=0)
hashcat-6.2.1.ebuild (text/plain), 2.66 KB, created by
mehw
on 2021-05-29 01:42:59 UTC
(
hide
)
Description:
app-crypt/hashcat-6.2.1.ebuild: compile with built-in unrar (USE_SYSTEM_UNRAR=0)
Filename:
MIME Type:
Creator:
mehw
Created:
2021-05-29 01:42:59 UTC
Size:
2.66 KB
patch
obsolete
># 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 > 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 > > 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=0 \ > USE_SYSTEM_ZLIB=1 \ > USE_SYSTEM_XXHASH=1 \ > VERSION_PURE="${PV}" \ > install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 792720
: 712092 |
712095