Hello community,

here is the log from the commit of package hashcat for openSUSE:Factory checked 
in at 2016-07-14 09:48:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hashcat (Old)
 and      /work/SRC/openSUSE:Factory/.hashcat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hashcat"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hashcat/hashcat.changes  2015-12-27 
02:00:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.hashcat.new/hashcat.changes     2016-07-14 
09:48:52.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jun 30 19:49:34 UTC 2016 - [email protected]
+
+- Update to new upstream release oclhashcat-3.00
+- Drop 0001-fixes-issue-10-compiler-warning-for-possible-memory-.patch
+  (no longer applicable), add flags.diff.
+
+-------------------------------------------------------------------

Old:
----
  0001-fixes-issue-10-compiler-warning-for-possible-memory-.patch
  2.00.tar.gz

New:
----
  flags.diff
  v3.00.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hashcat.spec ++++++
--- /var/tmp/diff_new_pack.xD9i8K/_old  2016-07-14 09:48:54.000000000 +0200
+++ /var/tmp/diff_new_pack.xD9i8K/_new  2016-07-14 09:48:54.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hashcat
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           hashcat
-Version:        2.00
+Version:        3.00
 Release:        0
 Summary:        CPU-based password recovery utility
 License:        MIT
@@ -25,9 +25,10 @@
 Url:            https://hashcat.net/
 
 #Git-Clone:    git://github.com/hashcat/hashcat
-Source:         https://github.com/hashcat/hashcat/archive/%version.tar.gz
-Patch1:         0001-fixes-issue-10-compiler-warning-for-possible-memory-.patch
+Source:         https://github.com/hashcat/hashcat/archive/v%version.tar.gz
+Patch1:         flags.diff
 BuildRequires:  gmp-devel
+BuildRequires:  opencl-headers
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64
 
@@ -41,25 +42,16 @@
 %patch -P 1 -p1
 
 %build
-make %{?_smp_mflags} CFLAGS="%optflags -Iinclude" LIBGMP_POSIX32="%_prefix" \
-       LIBGMP_POSIX64="%_prefix" \
-%ifarch x86_64
-       posix64
-%else
-       posix32
-%endif
+make %{?_smp_mflags} COMPTIME=0 our_CFLAGS="%optflags" PREFIX="%_prefix"
 
 %install
-%ifarch x86_64
-install -Dpm 0755 hashcat-cli64.bin "%buildroot/%_bindir/hashcat"
-%endif
-%ifarch %ix86
-install -Dpm 0755 hashcat-cli32.bin "%buildroot/%_bindir/hashcat"
-%endif
+%make_install PREFIX="%_prefix" DOCUMENT_FOLDER="%_docdir/%name"
 
 %files
 %defattr(-,root,root)
 %doc README.md docs/license.txt
 %_bindir/hashcat
+%_datadir/%name/
+%_docdir/%name/
 
 %changelog

++++++ flags.diff ++++++
---
 src/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: hashcat-3.00/src/Makefile
===================================================================
--- hashcat-3.00.orig/src/Makefile
+++ hashcat-3.00/src/Makefile
@@ -87,7 +87,7 @@ VERSION_TAG              := $(shell test
 ## Compiler flags
 ##
 
-CFLAGS                   := -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ 
-I$(OPENCL_HEADERS_KHRONOS)/
+CFLAGS                   := ${our_CFLAGS} -pipe -W -Wall -std=c99 -Iinclude/ 
-IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/
 
 ifndef DEBUG
 CFLAGS                   += -O2

Reply via email to