diff options
author | anthraxx | 2016-12-07 01:24:15 +0100 |
---|---|---|
committer | anthraxx | 2016-12-07 01:24:15 +0100 |
commit | aae5220fc0a9bacf256b8a3b7cd49e8ea1b9703f (patch) | |
tree | 3dc75b167f5b6c611b36e3436b44bfc0f6e2d75f | |
parent | 6c0da458499cbec876aad738073526fd78aa1a82 (diff) | |
download | aur-aae5220fc0a9bacf256b8a3b7cd49e8ea1b9703f.tar.gz |
upgpkg: hashcat-git 3.20.2949.2039e2c-1 (fix march and flags)
upstream release
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | fix-make-flags.patch | 40 |
3 files changed, 56 insertions, 13 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Tue Jul 5 10:14:38 UTC 2016 pkgbase = hashcat-git pkgdesc = Multithreaded advanced password recovery utility - pkgver = 3.00.1214.69e3e39 + pkgver = 3.20.2949.2039e2c pkgrel = 1 url = https://hashcat.net/hashcat arch = i686 @@ -11,14 +9,14 @@ pkgbase = hashcat-git makedepends = git makedepends = opencl-headers depends = gmp - depends = libcl + depends = opencl-icd-loader optdepends = libxnvctrl: NVIDIA X driver configuration support - optdepends = opencl-nvidia: OpenCL support for NVIDIA - optdepends = opencl-mesa: OpenCL support for AMD/ATI Radeon mesa drivers provides = hashcat conflicts = hashcat source = hashcat-git::git+https://github.com/hashcat/hashcat + source = fix-make-flags.patch sha512sums = SKIP + sha512sums = 04d86c0480c221f3e781534b0a9a50950a376a8c798ebee8042446f5d2e11f78677f7c670deb5f132fcf38c962ea13c64ac522e2a18712efbad559a5077dc211 pkgname = hashcat-git @@ -2,21 +2,26 @@ # Contributor: Sam Stuewe <halosghost at archlinux dot info> pkgname=hashcat-git -pkgver=3.00.1214.69e3e39 +pkgver=3.20.2949.2039e2c pkgrel=1 pkgdesc='Multithreaded advanced password recovery utility' url='https://hashcat.net/hashcat' arch=('i686' 'x86_64') -depends=('gmp' 'libcl') -optdepends=('libxnvctrl: NVIDIA X driver configuration support' - 'opencl-nvidia: OpenCL support for NVIDIA' - 'opencl-mesa: OpenCL support for AMD/ATI Radeon mesa drivers') +depends=('gmp' 'opencl-icd-loader') +optdepends=('libxnvctrl: NVIDIA X driver configuration support') makedepends=('git' 'opencl-headers') license=('MIT') provides=('hashcat') conflicts=('hashcat') -source=(${pkgname}::git+https://github.com/hashcat/hashcat) -sha512sums=('SKIP') +source=(${pkgname}::git+https://github.com/hashcat/hashcat + fix-make-flags.patch) +sha512sums=('SKIP' + '04d86c0480c221f3e781534b0a9a50950a376a8c798ebee8042446f5d2e11f78677f7c670deb5f132fcf38c962ea13c64ac522e2a18712efbad559a5077dc211') + +prepare() { + cd ${pkgname} + patch -p1 < "${srcdir}/fix-make-flags.patch" +} pkgver() { cd ${pkgname} diff --git a/fix-make-flags.patch b/fix-make-flags.patch new file mode 100644 index 000000000000..ed704d612b91 --- /dev/null +++ b/fix-make-flags.patch @@ -0,0 +1,40 @@ +From 62fc436a4f2b1ed3adbab920cf3b1572a5c53e9b Mon Sep 17 00:00:00 2001 +From: anthraxx <levente@leventepolyak.net> +Date: Tue, 6 Dec 2016 20:39:04 +0100 +Subject: [PATCH] extend global CFLAGS and LDFLAGS to aid distro packaging + +This preserves globally defined CFLAGS and LDFLAGS and simply +extends those variables to aid distro based packaging toolchains +and predefined distro wide defaults like SSP, relro etc. + +this re-fixes 7f8aaf74302816d03fbff62dab5c987d498acdde after it was +somehow undone ;) +--- + src/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 308ad41..e7d8307 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -101,7 +101,7 @@ BINARY_NATIVE := $(PROG_NAME) + ## General compiler and linker options + ## + +-CFLAGS := -pipe -std=c99 -Iinclude/ -IOpenCL/ ++CFLAGS += -pipe -std=c99 -Iinclude/ -IOpenCL/ + CFLAGS += -W + CFLAGS += -Wall + CFLAGS += -Wextra +@@ -137,7 +137,7 @@ CFLAGS += -ftrapv + + #CFLAGS += -Wstack-usage=524288 + +-LFLAGS := ++LFLAGS := $(LDFLAGS) + + ifndef DEBUG + CFLAGS += -O2 +-- +2.10.2 + |