Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package john for openSUSE:Factory checked in 
at 2021-03-15 10:55:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/john (Old)
 and      /work/SRC/openSUSE:Factory/.john.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "john"

Mon Mar 15 10:55:04 2021 rev:36 rq:878770 version:1.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/john/john.changes        2020-10-07 
14:18:45.769498873 +0200
+++ /work/SRC/openSUSE:Factory/.john.new.2401/john.changes      2021-03-15 
10:55:05.477235348 +0100
@@ -1,0 +2,6 @@
+Sat Mar 13 10:10:12 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- enable ztex support (fix usb dependency): 
+  add john-1.9.0-jumbo-gcc10.patch to fix fcommon related build failures
+
+-------------------------------------------------------------------

New:
----
  john-1.9.0-jumbo-gcc10.patch

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

Other differences:
------------------
++++++ john.spec ++++++
--- /var/tmp/diff_new_pack.xi9neO/_old  2021-03-15 10:55:06.225236497 +0100
+++ /var/tmp/diff_new_pack.xi9neO/_new  2021-03-15 10:55:06.229236503 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package john
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,14 +35,15 @@
 Source9:        https://www.openwall.com/john/k/%{jumboversion}.tar.xz.sign
 # PATCH-FIX-UPSTREAM cl-device.patch gh#openwall/john#4331
 Patch0:         cl-device.patch
+Patch1:         john-1.9.0-jumbo-gcc10.patch
 BuildRequires:  dos2unix
 BuildRequires:  gmp-devel
 BuildRequires:  libpcap-devel
-BuildRequires:  libusb-devel
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(OpenCL)
 BuildRequires:  pkgconfig(bzip2)
+BuildRequires:  pkgconfig(libusb-1.0)
 BuildRequires:  pkgconfig(openssl)
 
 %description
@@ -56,6 +57,7 @@
 cd ..
 rm -r %{jumboversion}
 %patch0 -p1
+%patch1 -p1
 # adapt the configs
 perl -pi -e "s#Wordlist = (.*)#Wordlist = %{johndir}/password.lst#g" 
$RPM_BUILD_DIR/%{name}-%{version}/run/john.conf
 perl -pi -e 's#^(\#define JOHN_SYSTEMWIDE_EXEC)\s.+$#$1\t\"%{johndir}\"#g' 
$RPM_BUILD_DIR/%{name}-%{version}/src/params.h
@@ -71,6 +73,7 @@
 %configure --with-systemwide \
            --disable-openmp \
            --enable-fuzz \
+          --enable-ztex=yes \
            --enable-experimental-code \
            --enable-pkg-config \
 %ifarch x86_64


++++++ john-1.9.0-jumbo-gcc10.patch ++++++
--- john-1.9.0-jumbo-1/src/ztex/pkt_comm/word_gen.h
+++ john-1.9.0-jumbo-1/src/ztex/pkt_comm/word_gen.h
@@ -32,7 +32,7 @@
        //unsigned char magic;  // 0xBB <- added by pkt_word_gen_new()
 };
 
-struct word_gen word_gen_words_pass_by;
+extern struct word_gen word_gen_words_pass_by;
 
 struct pkt *pkt_word_gen_new(struct word_gen *word_gen);
 
--- john-1.9.0-jumbo-1/src/ztex/ztex.h
+++ john-1.9.0-jumbo-1/src/ztex/ztex.h
@@ -159,7 +159,6 @@
 int ztex_reset_cpu(struct ztex_device *dev, int r);
 
 // firmware image loaded from an ihx (Intel Hex format) file.
-const int IHX_SIZE_MAX;
 struct ihx_data {
        short *data;
 };

Reply via email to