[arch-commits] Commit in hashcat/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat May 15 17:11:07 UTC 2021


    Date: Saturday, May 15, 2021 @ 17:11:07
  Author: anthraxx
Revision: 934729

upgpkg: hashcat 1:6.2.0-1

Modified:
  hashcat/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-15 16:50:08 UTC (rev 934728)
+++ PKGBUILD	2021-05-15 17:11:07 UTC (rev 934729)
@@ -2,18 +2,18 @@
 # Contributor: Sam Stuewe <halosghost at archlinux dot info>
 
 pkgname=hashcat
-pkgver=6.1.1
+pkgver=6.2.0
 pkgrel=1
 epoch=1
 pkgdesc='Multithreaded advanced password recovery utility'
 url='https://hashcat.net/hashcat'
 arch=('x86_64')
-depends=('ocl-icd' 'xxhash')
+depends=('ocl-icd' 'xxhash' 'zlib' 'minizip')
 makedepends=('opencl-headers')
 provides=('libhashcat.so')
 license=('MIT')
 source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
-sha512sums=('788539b488ba55684d6d93ce18f3b05fa822a8cbfcdbcde9c2b54001d8927580dca253e0e9ff9a19f4278045046d732e104054fc743c39f47952ca24d2e93724'
+sha512sums=('43f3ab257709d00f12fbc8e68c64c6cb064b20369e36ab04c9b7d58d20fa6678fbb9757520c696fdb2b841b829c744971231d17161badecff3105cb5328e44a0'
             'SKIP')
 validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing at hashcat.net>
 
@@ -20,11 +20,14 @@
 build() {
   cd ${pkgname}-${pkgver}
   rm -rf deps/{OpenCL-Headers,xxHash}
+  export CFLAGS+=" ${CPPFLAGS}"
+  export CXXFLAGS+=" ${CPPFLAGS}"
   make \
     PREFIX=/usr \
     SHARED=1 \
     USE_SYSTEM_XXHASH=1 \
-    USE_SYSTEM_OPENCL=1
+    USE_SYSTEM_OPENCL=1 \
+    USE_SYSTEM_ZLIB=1
 }
 
 package() {
@@ -35,6 +38,7 @@
     SHARED=1 \
     USE_SYSTEM_XXHASH=1 \
     USE_SYSTEM_OPENCL=1 \
+    USE_SYSTEM_ZLIB=1 \
     install
   install -Dm 644 docs/license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list