hashcat: update to 4.0.0.

This commit is contained in:
Duncaen 2017-10-28 15:33:30 +02:00
parent 51f3b056de
commit 6d48fe8354
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,6 @@
# Template file for 'hashcat' # Template file for 'hashcat'
pkgname=hashcat pkgname=hashcat
reverts="3.10_1 3.20_1 3.30_1 3.40_1" version=4.0.0
version=3.6.0
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="LFLAGS=$LDFLAGS PREFIX=/usr" make_build_args="LFLAGS=$LDFLAGS PREFIX=/usr"
@ -11,12 +10,13 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT" license="MIT"
homepage="https://hashcat.net/hashcat/" homepage="https://hashcat.net/hashcat/"
distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz" distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
checksum=f85b13d7563382690775bc8b1800190cbe133770ba8354ccbcf31f6a12e73bf0 checksum=e14c169d6966830e7b7423e17e678f3333e074ec50dae50bdde40e8e0e8658be
CFLAGS="-W -Wall -std=c99 -Iinclude/ -Iinclude/lzma_sdk/ -IOpenCL/" CFLAGS="-W -Wall -std=c99 -Iinclude/ -Iinclude/lzma_sdk/ -IOpenCL/"
pre_build() { pre_build() {
sed -i \ sed -i \
-e 's|tag: \(.*\)$|\1|' \
-e 's|-ldl|-ldl $(LDFLAGS)|g' \ -e 's|-ldl|-ldl $(LDFLAGS)|g' \
-e 's| -s$||g' \ -e 's| -s$||g' \
-e '/-march=native/d' \ -e '/-march=native/d' \