hashcat: update to 5.1.0.
This commit is contained in:
parent
db588e1f93
commit
e6dc943796
1 changed files with 13 additions and 16 deletions
|
@ -1,29 +1,26 @@
|
||||||
# Template file for 'hashcat'
|
# Template file for 'hashcat'
|
||||||
pkgname=hashcat
|
pkgname=hashcat
|
||||||
version=4.2.1
|
version=5.1.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="LFLAGS=${LDFLAGS} PREFIX=/usr"
|
make_build_args="PREFIX=/usr
|
||||||
makedepends="gmp-devel opencl2-headers"
|
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"
|
short_desc="Advanced CPU-based password recovery utility"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="MIT"
|
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://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
|
distfiles="https://hashcat.net/files/hashcat-${version}.tar.gz"
|
||||||
checksum=7dad73c3406e66756b19e15ae8bcc482a52a422e8fb905feb6db4d2eb32e5320
|
checksum=283beaa68e1eab41de080a58bb92349c8e47a2bb1b93d10f36ea30f418f1e338
|
||||||
|
|
||||||
CFLAGS="-W -Wall -std=c99 -Iinclude/ -Ideps/lzma_sdk/ -IOpenCL/"
|
post_extract() {
|
||||||
|
sed '/^CC/d' -i src/Makefile
|
||||||
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_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
||||||
vlicense docs/license.txt
|
vlicense docs/license.txt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue