[arch-commits] Commit in hashcat/trunk (PKGBUILD fix-make-flags.patch)
Levente Polyak
anthraxx at archlinux.org
Wed Dec 7 00:24:53 UTC 2016
Date: Wednesday, December 7, 2016 @ 00:24:52
Author: anthraxx
Revision: 198227
upgpkg: hashcat 3.20-2 (fix march and flags)
Added:
hashcat/trunk/fix-make-flags.patch
Modified:
hashcat/trunk/PKGBUILD
----------------------+
PKGBUILD | 13 ++++++++++---
fix-make-flags.patch | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-07 00:01:17 UTC (rev 198226)
+++ PKGBUILD 2016-12-07 00:24:52 UTC (rev 198227)
@@ -3,7 +3,7 @@
pkgname=hashcat
pkgver=3.20
-pkgrel=1
+pkgrel=2
pkgdesc='Multithreaded advanced password recovery utility'
url='https://hashcat.net/hashcat'
arch=('i686' 'x86_64')
@@ -11,11 +11,18 @@
optdepends=('libxnvctrl: NVIDIA X driver configuration support')
makedepends=('opencl-headers')
license=('MIT')
-source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
+source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc}
+ fix-make-flags.patch)
sha512sums=('2d227b6d73eeb06461dba995368cad2e1b0df9ab5c60a6aec101a30cca213ff50424576b1e6674d362e258bb8fd2158ca6c19925d781f9fefcaa8024217460af'
- 'SKIP')
+ 'SKIP'
+ '04d86c0480c221f3e781534b0a9a50950a376a8c798ebee8042446f5d2e11f78677f7c670deb5f132fcf38c962ea13c64ac522e2a18712efbad559a5077dc211')
validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing at hashcat.net>
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 < "${srcdir}/fix-make-flags.patch"
+}
+
build() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr
Added: fix-make-flags.patch
===================================================================
--- fix-make-flags.patch (rev 0)
+++ fix-make-flags.patch 2016-12-07 00:24:52 UTC (rev 198227)
@@ -0,0 +1,40 @@
+From 62fc436a4f2b1ed3adbab920cf3b1572a5c53e9b Mon Sep 17 00:00:00 2001
+From: anthraxx <levente at 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
+
More information about the arch-commits
mailing list