hashcat: update to 6.2.1.
This commit is contained in:
parent
72ae564844
commit
850f65d5f6
|
@ -1,16 +1,21 @@
|
||||||
# Template file for 'hashcat'
|
# Template file for 'hashcat'
|
||||||
pkgname=hashcat
|
pkgname=hashcat
|
||||||
version=6.1.1
|
version=6.2.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="PREFIX=/usr
|
make_build_args="
|
||||||
USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1
|
PREFIX=/usr
|
||||||
|
ENABLE_UNRAR=$(vopt_if unrar 1 0)
|
||||||
|
USE_SYSTEM_OPENCL=1
|
||||||
|
USE_SYSTEM_XXHASH=1
|
||||||
|
USE_SYSTEM_ZLIB=1
|
||||||
DEPS_OPENCL_PATH=${XBPS_CROSS_BASE}/usr/include
|
DEPS_OPENCL_PATH=${XBPS_CROSS_BASE}/usr/include
|
||||||
DEPS_XXHASH_PATH=${XBPS_CROSS_BASE}/usr/include
|
DEPS_XXHASH_PATH=${XBPS_CROSS_BASE}/usr/include
|
||||||
|
DEPS_ZLIB_PATH=${XBPS_CROSS_BASE}/usr/include
|
||||||
SHARED_FOLDER=/usr/lib/hashcat"
|
SHARED_FOLDER=/usr/lib/hashcat"
|
||||||
make_use_env=yes
|
make_use_env=yes
|
||||||
make_install_args="$make_build_args"
|
make_install_args="$make_build_args"
|
||||||
makedepends="opencl2-headers xxHash-devel"
|
makedepends="opencl2-headers xxHash-devel minizip-devel zlib-devel"
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
short_desc="Advanced CPU-based password recovery utility"
|
short_desc="Advanced CPU-based password recovery utility"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
|
@ -18,14 +23,20 @@ license="MIT"
|
||||||
homepage="https://hashcat.net/hashcat/"
|
homepage="https://hashcat.net/hashcat/"
|
||||||
changelog="https://raw.githubusercontent.com/hashcat/hashcat/master/docs/changes.txt"
|
changelog="https://raw.githubusercontent.com/hashcat/hashcat/master/docs/changes.txt"
|
||||||
distfiles="https://hashcat.net/files/hashcat-${version}.tar.gz"
|
distfiles="https://hashcat.net/files/hashcat-${version}.tar.gz"
|
||||||
checksum=39c140bbb3c0bdb1564bfa9b9a1cff49115a42f4c9c19e9b066b617aea309f80
|
checksum=4994e9ee8ef050881d5c7986b2b95a3abf2114f79e4dbaa28a537f8e2ad5c93b
|
||||||
|
|
||||||
|
build_options="unrar"
|
||||||
|
desc_option_unrar="Enable support for unrar"
|
||||||
|
|
||||||
|
# unrar option disabled by default because of license issues
|
||||||
|
build_options_default=""
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||||
broken="Not supported on big endian"
|
broken="Not supported on big endian"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
vsed '/^CC/d' -i src/Makefile
|
vsed '/^\(CC\|CXX\)/d' -i src/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in New Issue