File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --- a/src/bridges/bridge_argon2id_reference.mk
2+ +++ b/src/bridges/bridge_argon2id_reference.mk
3+ @@ -10,8 +10,6 @@ ifeq ($(UNAME),Darwin)
4+ ifeq ($(IS_APPLE_SILICON),0)
5+ ARGON2_REFERENCE_CFLAGS += -mavx2
6+ endif
7+ - else
8+ - ARGON2_REFERENCE_CFLAGS += -march=native
9+ endif
10+ endif
11+ endif
12+ --- a/src/bridges/bridge_scrypt_jane.mk
13+ +++ b/src/bridges/bridge_scrypt_jane.mk
14+ @@ -10,8 +10,6 @@ ifeq ($(UNAME),Darwin)
15+ ifeq ($(IS_APPLE_SILICON),0)
16+ SCRYPT_JANE_CFLAGS += -mavx2
17+ endif
18+ - else
19+ - SCRYPT_JANE_CFLAGS += -march=native
20+ endif
21+ endif
22+ endif
23+ --- a/src/bridges/bridge_scrypt_yescrypt.mk
24+ +++ b/src/bridges/bridge_scrypt_yescrypt.mk
25+ @@ -10,8 +10,6 @@ ifeq ($(UNAME),Darwin)
26+ ifeq ($(IS_APPLE_SILICON),0)
27+ SCRYPT_YESCRYPT_CFLAGS += -mavx2
28+ endif
29+ - else
30+ - SCRYPT_YESCRYPT_CFLAGS += -march=native
31+ endif
32+ endif
33+ endif
Original file line number Diff line number Diff line change 11# Template file for 'hashcat'
22pkgname=hashcat
3- version=6.2.6
3+ version=7.1.2
44revision=1
55build_style=gnu-makefile
6+ build_helper=rust
67make_build_args="ENABLE_UNRAR=$(vopt_if unrar 1 0) USE_SYSTEM_OPENCL=1
78 USE_SYSTEM_XXHASH=1 USE_SYSTEM_ZLIB=1 DEPS_OPENCL_PATH=${XBPS_CROSS_BASE}/usr/include
89 DEPS_XXHASH_PATH=${XBPS_CROSS_BASE}/usr/include DEPS_ZLIB_PATH=${XBPS_CROSS_BASE}/usr/include
910 SHARED_FOLDER=/usr/lib/hashcat"
1011make_use_env=yes
1112make_install_args="$make_build_args"
12- makedepends="OpenCL-Headers xxHash-devel minizip-devel zlib-devel"
13+ hostmakedepends="rust cargo python3 python3-pybind11"
14+ makedepends="OpenCL-Headers xxHash-devel minizip-devel zlib-devel rust-std
15+ python3-devel"
1316checkdepends="perl"
1417short_desc="Advanced CPU-based password recovery utility"
1518maintainer="Duncaen <duncaen@voidlinux.org>"
1619license="MIT"
1720homepage="https://hashcat.net/hashcat/"
1821changelog="https://raw.githubusercontent.com/hashcat/hashcat/master/docs/changes.txt"
1922distfiles="https://hashcat.net/files/hashcat-${version}.tar.gz"
20- checksum=b25e1077bcf34908cc8f18c1a69a2ec98b047b2cbcf0f51144dcf3ba1e0b7b2a
23+ checksum=9546a6326d747530b44fcc079babad40304a87f32d3c9080016d58b39cfc8b96
2124
2225python_version=3
2326
@@ -29,6 +32,13 @@ if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
2932 broken="Not supported on big endian"
3033fi
3134
35+ case "$XBPS_TARGET_MACHINE" in
36+ aarch64*)
37+ make_build_args+=" IS_ARM=1"
38+ ;;
39+ esac
40+ make_install_args="$make_build_args"
41+
3242post_extract() {
3343 vsed '/^\(CC\|CXX\)/d' -i src/Makefile
3444}
You can’t perform that action at this time.
0 commit comments