[arch-commits] Commit in hashcat/repos (6 files)
Levente Polyak
anthraxx at archlinux.org
Wed Dec 7 00:25:06 UTC 2016
Date: Wednesday, December 7, 2016 @ 00:25:05
Author: anthraxx
Revision: 198228
archrelease: copy trunk to community-i686, community-x86_64
Added:
hashcat/repos/community-i686/PKGBUILD
(from rev 198227, hashcat/trunk/PKGBUILD)
hashcat/repos/community-i686/fix-make-flags.patch
(from rev 198227, hashcat/trunk/fix-make-flags.patch)
hashcat/repos/community-x86_64/PKGBUILD
(from rev 198227, hashcat/trunk/PKGBUILD)
hashcat/repos/community-x86_64/fix-make-flags.patch
(from rev 198227, hashcat/trunk/fix-make-flags.patch)
Deleted:
hashcat/repos/community-i686/PKGBUILD
hashcat/repos/community-x86_64/PKGBUILD
---------------------------------------+
/PKGBUILD | 74 ++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 30 ------------
community-i686/fix-make-flags.patch | 40 +++++++++++++++++
community-x86_64/PKGBUILD | 30 ------------
community-x86_64/fix-make-flags.patch | 40 +++++++++++++++++
5 files changed, 154 insertions(+), 60 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-12-07 00:24:52 UTC (rev 198227)
+++ community-i686/PKGBUILD 2016-12-07 00:25:05 UTC (rev 198228)
@@ -1,30 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sam Stuewe <halosghost at archlinux dot info>
-
-pkgname=hashcat
-pkgver=3.20
-pkgrel=1
-pkgdesc='Multithreaded advanced password recovery utility'
-url='https://hashcat.net/hashcat'
-arch=('i686' 'x86_64')
-depends=('gmp' 'opencl-icd-loader')
-optdepends=('libxnvctrl: NVIDIA X driver configuration support')
-makedepends=('opencl-headers')
-license=('MIT')
-source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
-sha512sums=('2d227b6d73eeb06461dba995368cad2e1b0df9ab5c60a6aec101a30cca213ff50424576b1e6674d362e258bb8fd2158ca6c19925d781f9fefcaa8024217460af'
- 'SKIP')
-validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing at hashcat.net>
-
-build() {
- cd ${pkgname}-${pkgver}
- make PREFIX=/usr
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" PREFIX=/usr install
- install -Dm 644 docs/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: hashcat/repos/community-i686/PKGBUILD (from rev 198227, hashcat/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-12-07 00:25:05 UTC (rev 198228)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sam Stuewe <halosghost at archlinux dot info>
+
+pkgname=hashcat
+pkgver=3.20
+pkgrel=2
+pkgdesc='Multithreaded advanced password recovery utility'
+url='https://hashcat.net/hashcat'
+arch=('i686' 'x86_64')
+depends=('gmp' 'opencl-icd-loader')
+optdepends=('libxnvctrl: NVIDIA X driver configuration support')
+makedepends=('opencl-headers')
+license=('MIT')
+source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc}
+ fix-make-flags.patch)
+sha512sums=('2d227b6d73eeb06461dba995368cad2e1b0df9ab5c60a6aec101a30cca213ff50424576b1e6674d362e258bb8fd2158ca6c19925d781f9fefcaa8024217460af'
+ '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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -Dm 644 docs/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
Copied: hashcat/repos/community-i686/fix-make-flags.patch (from rev 198227, hashcat/trunk/fix-make-flags.patch)
===================================================================
--- community-i686/fix-make-flags.patch (rev 0)
+++ community-i686/fix-make-flags.patch 2016-12-07 00:25:05 UTC (rev 198228)
@@ -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
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-12-07 00:24:52 UTC (rev 198227)
+++ community-x86_64/PKGBUILD 2016-12-07 00:25:05 UTC (rev 198228)
@@ -1,30 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sam Stuewe <halosghost at archlinux dot info>
-
-pkgname=hashcat
-pkgver=3.20
-pkgrel=1
-pkgdesc='Multithreaded advanced password recovery utility'
-url='https://hashcat.net/hashcat'
-arch=('i686' 'x86_64')
-depends=('gmp' 'opencl-icd-loader')
-optdepends=('libxnvctrl: NVIDIA X driver configuration support')
-makedepends=('opencl-headers')
-license=('MIT')
-source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc})
-sha512sums=('2d227b6d73eeb06461dba995368cad2e1b0df9ab5c60a6aec101a30cca213ff50424576b1e6674d362e258bb8fd2158ca6c19925d781f9fefcaa8024217460af'
- 'SKIP')
-validpgpkeys=('A70833229D040B4199CC00523C17DA8B8A16544F') # Hashcat signing key <signing at hashcat.net>
-
-build() {
- cd ${pkgname}-${pkgver}
- make PREFIX=/usr
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" PREFIX=/usr install
- install -Dm 644 docs/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: hashcat/repos/community-x86_64/PKGBUILD (from rev 198227, hashcat/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-12-07 00:25:05 UTC (rev 198228)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sam Stuewe <halosghost at archlinux dot info>
+
+pkgname=hashcat
+pkgver=3.20
+pkgrel=2
+pkgdesc='Multithreaded advanced password recovery utility'
+url='https://hashcat.net/hashcat'
+arch=('i686' 'x86_64')
+depends=('gmp' 'opencl-icd-loader')
+optdepends=('libxnvctrl: NVIDIA X driver configuration support')
+makedepends=('opencl-headers')
+license=('MIT')
+source=(https://hashcat.net/files/${pkgname}-${pkgver}.tar.gz{,.asc}
+ fix-make-flags.patch)
+sha512sums=('2d227b6d73eeb06461dba995368cad2e1b0df9ab5c60a6aec101a30cca213ff50424576b1e6674d362e258bb8fd2158ca6c19925d781f9fefcaa8024217460af'
+ '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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -Dm 644 docs/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
Copied: hashcat/repos/community-x86_64/fix-make-flags.patch (from rev 198227, hashcat/trunk/fix-make-flags.patch)
===================================================================
--- community-x86_64/fix-make-flags.patch (rev 0)
+++ community-x86_64/fix-make-flags.patch 2016-12-07 00:25:05 UTC (rev 198228)
@@ -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