commit hashcat for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package hashcat for openSUSE:Factory checked 
in at 2020-09-25 16:31:26

Comparing /work/SRC/openSUSE:Factory/hashcat (Old)
 and  /work/SRC/openSUSE:Factory/.hashcat.new.4249 (New)


Package is "hashcat"

Fri Sep 25 16:31:26 2020 rev:4 rq:834619 version:6.1.1

Changes:

--- /work/SRC/openSUSE:Factory/hashcat/hashcat.changes  2019-03-26 
15:42:50.348229629 +0100
+++ /work/SRC/openSUSE:Factory/.hashcat.new.4249/hashcat.changes
2020-09-25 16:31:42.547899689 +0200
@@ -1,0 +2,8 @@
+Tue Sep  8 08:47:27 UTC 2020 - Jan Engelhardt 
+
+- Update to release 6.1.1
+  * new hash-mode plugin interface, new backend API interface,
+new algorithms
+- Add system-libs.patch
+
+---

Old:

  v5.1.0.tar.gz

New:

  system-libs.patch
  v6.1.1.tar.gz



Other differences:
--
++ hashcat.spec ++
--- /var/tmp/diff_new_pack.RGyyjb/_old  2020-09-25 16:31:46.751903420 +0200
+++ /var/tmp/diff_new_pack.RGyyjb/_new  2020-09-25 16:31:46.755903423 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hashcat
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,41 +17,97 @@
 
 
 Name:   hashcat
-Version:5.1.0
+%define lname  libhashcat6_1_1
+Version:6.1.1
 Release:0
 Summary:CPU-based password recovery utility
 License:MIT AND GPL-2.0-or-later
 Group:  Productivity/Security
-Url:https://hashcat.net/
+URL:https://hashcat.net/
 
-#Git-Clone:git://github.com/hashcat/hashcat
 Source: https://github.com/hashcat/hashcat/archive/v%version.tar.gz
+Patch1: system-libs.patch
 BuildRequires:  fdupes
 BuildRequires:  gmp-devel
-BuildRequires:  opencl-headers
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  xxhash-devel
+BuildRequires:  pkgconfig(clzma)
+BuildRequires:  pkgconfig(minizip)
+BuildRequires:  pkgconfig(zlib)
 ExclusiveArch:  %ix86 x86_64
 
 %description
-Hashcat is an advanced CPU-based password recovery utility,
-supporting seven unique modes of testing for over 100 optimized
-hashing algorithms.
+Hashcat is a password recovery utility, supporting seven
+unique modes of testing for over 100 optimized hashing algorithms.
+
+GPU Driver requirements:
+
+ * AMD GPUs on Linux require "RadeonOpenCompute (ROCm)" Software
+   Platform (3.1 or later)
+ * AMD GPUs on Windows require "AMD Radeon Adrenalin 2020
+   Edition" (20.2.2 or later)
+ * Intel and AMD CPUs require "OpenCL Runtime for Intel Core and
+   Intel Xeon Processors" (16.1.1 or later)
+ * NVIDIA GPUs require "NVIDIA Driver" (440.64 or later) and
+   "CUDA Toolkit" (9.0 or later)
+
+%package -n %lname
+Summary:Implementation of the hashcat engine
+Group:  System/Libraries
+
+%description -n %lname
+Hashcat is a password recovery utility, supporting seven
+unique modes of testing for over 100 optimized hashing algorithms.
+
+%package devel
+Summary:Header files for making hashcat plugins
+Group:  Development/Libraries/C and C++
+Requires:   %lname = %version
+
+%description devel
+Hashcat is a password recovery utility, supporting seven
+unique modes of testing for over 100 optimized hashing algorithms.
+
+This subpackage contains the header files.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-make %{?_smp_mflags} COMPTIME=0 our_CFLAGS="%optflags" PREFIX="%_prefix"
+%global margs DOCUMENT_FOLDER="%_docdir/%name" our_CFLAGS="%optflags" 
LIBRARY_FOLDER="%_libdir"
+%make_build %margs
 
 %install
-%make_install PREFIX="%_prefix" DOCUMENT_FOLDER="%_docdir/%name"
+%make_install %margs
+b="%buildroot"
+ln -s libhashcat.so.%version "$b/%_libdir/libhashcat.so"
+# fix stupid placement of arch-dep files
+mkdir "$b/%_libdir/%name"
+mv "$b/%_datadir/%name/modules" "$b/%_libdir/%name/"
+ln -s "%_libdir/%name/modules" "$b/%_datadir/%name/"
 %fdupes %buildroot/%_prefix
 
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
+
 %files
-%defattr(-,root,root)
 %doc README.md
 %_bindir/hashcat
-%_datadir/%name/
 %_docdir/%name/
+%_libdir/%name/
+%dir %_datadir/%name/
+%_datadir/%name/modules
+%_datadir/%name/hashcat.hcstat2
+%_datadir/%name/hashcat.hctune
+%dir %_datadir/%name/OpenCL/
+%_datadir/%name/OpenCL/*.cl
+
+%files -n %lname
+%_libdir/libhashcat.so.%version
+
+%files devel
+%_includedir/hashcat/
+%_libdir/libhashcat.so
+%dir %_datadir/%name/
+%_datadir/%name/OpenCL/*.h
 
 %changelog

++ system-libs.patch ++
From: Jan Engelhardt 
Date: 

commit hashcat for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package hashcat for openSUSE:Factory checked 
in at 2019-03-26 15:41:36

Comparing /work/SRC/openSUSE:Factory/hashcat (Old)
 and  /work/SRC/openSUSE:Factory/.hashcat.new.25356 (New)


Package is "hashcat"

Tue Mar 26 15:41:36 2019 rev:3 rq:685166 version:5.1.0

Changes:

--- /work/SRC/openSUSE:Factory/hashcat/hashcat.changes  2016-07-14 
09:48:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.hashcat.new.25356/hashcat.changes   
2019-03-26 15:42:50.348229629 +0100
@@ -1,0 +2,19 @@
+Thu Mar 14 21:29:33 UTC 2019 - Jan Engelhardt 
+
+- Update license field.
+
+---
+Wed Feb  6 09:21:50 UTC 2019 - Jan Engelhardt 
+
+- Add fdupes call.
+- License file was shipped twice, ditch one copy.
+
+---
+Wed Jan 16 16:05:58 UTC 2019 - Robert Frohl 
+
+- hashcat v5.1.0:
+  This release is mostly about expanding support for new algorithms and fixing 
bugs.
+  Full changelog: https://hashcat.net/forum/thread-7983.html
+- Remove flags.diff
+
+---

Old:

  flags.diff
  v3.00.tar.gz

New:

  v5.1.0.tar.gz



Other differences:
--
++ hashcat.spec ++
--- /var/tmp/diff_new_pack.DalOve/_old  2019-03-26 15:42:52.904228167 +0100
+++ /var/tmp/diff_new_pack.DalOve/_new  2019-03-26 15:42:52.904228167 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hashcat
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,21 +12,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   hashcat
-Version:3.00
+Version:5.1.0
 Release:0
 Summary:CPU-based password recovery utility
-License:MIT
+License:MIT AND GPL-2.0-or-later
 Group:  Productivity/Security
 Url:https://hashcat.net/
 
 #Git-Clone:git://github.com/hashcat/hashcat
 Source: https://github.com/hashcat/hashcat/archive/v%version.tar.gz
-Patch1: flags.diff
+BuildRequires:  fdupes
 BuildRequires:  gmp-devel
 BuildRequires:  opencl-headers
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -39,17 +39,17 @@
 
 %prep
 %setup -q
-%patch -P 1 -p1
 
 %build
 make %{?_smp_mflags} COMPTIME=0 our_CFLAGS="%optflags" PREFIX="%_prefix"
 
 %install
 %make_install PREFIX="%_prefix" DOCUMENT_FOLDER="%_docdir/%name"
+%fdupes %buildroot/%_prefix
 
 %files
 %defattr(-,root,root)
-%doc README.md docs/license.txt
+%doc README.md
 %_bindir/hashcat
 %_datadir/%name/
 %_docdir/%name/

++ v3.00.tar.gz -> v5.1.0.tar.gz ++
 968807 lines of diff (skipped)




commit hashcat for openSUSE:Factory

2016-07-14 Thread h_root
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.0 +0100
+++ /work/SRC/openSUSE:Factory/.hashcat.new/hashcat.changes 2016-07-14 
09:48:52.0 +0200
@@ -1,0 +2,7 @@
+Thu Jun 30 19:49:34 UTC 2016 - jeng...@inai.de
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.xD9i8K/_new  2016-07-14 09:48:54.0 +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