Hello community,

here is the log from the commit of package aide for openSUSE:Factory checked in 
at 2019-07-12 11:59:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aide (Old)
 and      /work/SRC/openSUSE:Factory/.aide.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aide"

Fri Jul 12 11:59:59 2019 rev:30 rq:714657 version:0.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/aide/aide.changes        2019-03-26 
15:43:44.156198087 +0100
+++ /work/SRC/openSUSE:Factory/.aide.new.4615/aide.changes      2019-07-12 
12:00:01.136172276 +0200
@@ -1,0 +2,6 @@
+Thu Jul 11 13:03:25 UTC 2019 -  <abergm...@suse.com>
+
+- Remove not available gcrypt algorithm 7 DB_HAVAL (bsc#1098360).
+  Add aide-define_hash_use_gcrypt.patch
+
+-------------------------------------------------------------------

New:
----
  aide-define_hash_use_gcrypt.patch

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

Other differences:
------------------
++++++ aide.spec ++++++
--- /var/tmp/diff_new_pack.dGsiCA/_old  2019-07-12 12:00:02.260172310 +0200
+++ /var/tmp/diff_new_pack.dGsiCA/_new  2019-07-12 12:00:02.260172310 +0200
@@ -32,6 +32,7 @@
 Patch1:         aide-0.16.1-as-needed.patch
 Patch3:         aide-xattr-in-libc.patch
 Patch4:         aide-dynamic.patch
+Patch5:         aide-define_hash_use_gcrypt.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  curl-devel
@@ -57,6 +58,7 @@
 %patch1 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 autoreconf -fiv


++++++ aide-define_hash_use_gcrypt.patch ++++++
diff -Nur aide-0.16/include/md.h aide-0.16.new/include/md.h
--- aide-0.16/include/md.h      2016-07-25 22:56:55.000000000 +0200
+++ aide-0.16.new/include/md.h  2018-11-21 14:07:01.347479021 +0100
@@ -48,7 +48,7 @@
 #define HASH_GCRYPT_COUNT GCRY_MD_CRC32
 #ifndef WITH_MHASH
 #define HASH_USE_GCRYPT (DB_MD5|DB_SHA1|DB_RMD160|DB_TIGER|DB_CRC32|\
-                         DB_HAVAL|DB_CRC32|DB_SHA256|DB_SHA512)
+                         DB_CRC32B|DB_SHA256|DB_SHA512)
 #endif
 #endif
 
diff -Nur aide-0.16/src/md.c aide-0.16.new/src/md.c
--- aide-0.16/src/md.c  2016-07-25 22:56:55.000000000 +0200
+++ aide-0.16.new/src/md.c      2018-11-21 14:06:05.602295496 +0100
@@ -55,10 +55,12 @@
     r=DB_TIGER;
     break;
   }
+/* until libgcrypt-1.8.4 not implemented yet, see doc/gcrypt.info-1
   case GCRY_MD_HAVAL: {
     r=DB_HAVAL;
     break;
   }
+*/
   case GCRY_MD_SHA256: {
     r=DB_SHA256;
     break;
@@ -219,7 +221,7 @@
                        if(gcry_md_enable(md->mdh,i)==GPG_ERR_NO_ERROR){
                                md->calc_attr|=h;
                        } else {
-                               error(0,"gcry_md_enable %i failed",i);
+                               error(0,"gcry_md_enable %i failed, see 
/usr/include/gcrypt.h enum gcry_md_algos",i);
                                md->todo_attr&=~h;
                        }
                }


Reply via email to