hashcat: update to 5.1.0.
This commit is contained in:
parent
db588e1f93
commit
e6dc943796
|
@ -1,29 +1,26 @@
|
|||
# Template file for 'hashcat'
|
||||
pkgname=hashcat
|
||||
version=4.2.1
|
||||
revision=2
|
||||
version=5.1.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_args="LFLAGS=${LDFLAGS} PREFIX=/usr"
|
||||
makedepends="gmp-devel opencl2-headers"
|
||||
make_build_args="PREFIX=/usr
|
||||
USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1
|
||||
DEPS_OPENCL_PATH=${XBPS_CROSS_BASE}/usr/include
|
||||
DEPS_XXHASH_PATH=${XBPS_CROSS_BASE}/usr/include"
|
||||
make_use_env=yes
|
||||
makedepends="gmp-devel opencl2-headers xxHash-devel"
|
||||
checkdepends="perl"
|
||||
short_desc="Advanced CPU-based password recovery utility"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="https://hashcat.net/hashcat/"
|
||||
changelog="https://raw.githubusercontent.com/hashcat/hashcat/master/docs/changes.txt"
|
||||
distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
|
||||
checksum=7dad73c3406e66756b19e15ae8bcc482a52a422e8fb905feb6db4d2eb32e5320
|
||||
distfiles="https://hashcat.net/files/hashcat-${version}.tar.gz"
|
||||
checksum=283beaa68e1eab41de080a58bb92349c8e47a2bb1b93d10f36ea30f418f1e338
|
||||
|
||||
CFLAGS="-W -Wall -std=c99 -Iinclude/ -Ideps/lzma_sdk/ -IOpenCL/"
|
||||
|
||||
pre_build() {
|
||||
sed -i \
|
||||
-e 's|tag: \(.*\)$|\1|' \
|
||||
-e 's|-ldl|-ldl $(LDFLAGS)|g' \
|
||||
-e 's| -s$||g' \
|
||||
-e '/-march=native/d' \
|
||||
src/Makefile
|
||||
post_extract() {
|
||||
sed '/^CC/d' -i src/Makefile
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
||||
vlicense docs/license.txt
|
||||
|
|
Loading…
Reference in New Issue