commit libjcat for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2020-08-06 17:30:51

Comparing /work/SRC/openSUSE:Factory/libjcat (Old)
 and  /work/SRC/openSUSE:Factory/.libjcat.new.3399 (New)


Package is "libjcat"

Thu Aug  6 17:30:51 2020 rev:4 rq:824397 version:0.1.3

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2020-07-02 
23:54:55.388591391 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.3399/libjcat.changes
2020-08-06 17:31:22.501083913 +0200
@@ -1,0 +2,7 @@
+Thu Jul 30 15:30:18 UTC 2020 - dims...@opensuse.org
+
+- Update to version 0.1.3:
+  * Export the JcatBlobKind and JcatBlobMethod on the result
+  * trivial: source the version header when including 
+
+---

Old:

  libjcat-0.1.2+3.tar.xz

New:

  libjcat-0.1.3.tar.xz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.s0zoqd/_old  2020-08-06 17:31:24.277084329 +0200
+++ /var/tmp/diff_new_pack.s0zoqd/_new  2020-08-06 17:31:24.285084331 +0200
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.2+3
+Version:0.1.3
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ _service ++
--- /var/tmp/diff_new_pack.s0zoqd/_old  2020-08-06 17:31:24.337084342 +0200
+++ /var/tmp/diff_new_pack.s0zoqd/_new  2020-08-06 17:31:24.341084343 +0200
@@ -6,7 +6,7 @@
 (.*)\+0
 \1
 enable
-master
+0.1.3
   
   
 *.tar

++ _servicedata ++
--- /var/tmp/diff_new_pack.s0zoqd/_old  2020-08-06 17:31:24.377084352 +0200
+++ /var/tmp/diff_new_pack.s0zoqd/_new  2020-08-06 17:31:24.377084352 +0200
@@ -1,4 +1,4 @@
 
 
 https://github.com/hughsie/libjcat.git
-  839b89f45a38b2373bf5836337a33f450aaab72e
\ No newline at end of file
+  3c120a9132a36b100366cfe3d658ae31e6f4b7e9
\ No newline at end of file

++ libjcat-0.1.2+3.tar.xz -> libjcat-0.1.3.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.2+3/NEWS new/libjcat-0.1.3/NEWS
--- old/libjcat-0.1.2+3/NEWS2020-06-05 12:10:55.0 +0200
+++ new/libjcat-0.1.3/NEWS  2020-06-16 15:18:33.0 +0200
@@ -1,3 +1,13 @@
+Version 0.1.3
+~
+Released: 2020-06-16
+
+New Features:
+ - Export the JcatBlobKind and JcatBlobMethod on the result (Richard Hughes)
+
+Bugfixes:
+ - Validate that gpgme_op_verify_result() returned at least one signature 
(Richard Hughes)
+
 Version 0.1.2
 ~
 Released: 2020-04-27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.2+3/libjcat/jcat-blob.h 
new/libjcat-0.1.3/libjcat/jcat-blob.h
--- old/libjcat-0.1.2+3/libjcat/jcat-blob.h 2020-06-05 12:10:55.0 
+0200
+++ new/libjcat-0.1.3/libjcat/jcat-blob.h   2020-06-16 15:18:33.0 
+0200
@@ -33,6 +33,22 @@
 } JcatBlobKind;
 
 /**
+ * JcatBlobMethod:
+ * @JCAT_BLOB_METHOD_UNKNOWN:  Unknown
+ * @JCAT_BLOB_METHOD_CHECKSUM: Checksum
+ * @JCAT_BLOB_METHOD_SIGNATURE:Signature
+ *
+ * The blob verification method.
+ **/
+typedef enum {
+   JCAT_BLOB_METHOD_UNKNOWN,
+   JCAT_BLOB_METHOD_CHECKSUM,
+   JCAT_BLOB_METHOD_SIGNATURE,
+   /*< private >*/
+   JCAT_BLOB_METHOD_LAST
+} JcatBlobMethod;
+
+/**
  * JcatBlobFlags:
  * @JCAT_BLOB_FLAG_NONE:   Generic binary data
  * @JCAT_BLOB_FLAG_IS_UTF8:ASCII text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.2+3/libjcat/jcat-context.c 
new/libjcat-0.1.3/libjcat/jcat-context.c
--- old/libjcat-0.1.2+3/libjcat/jcat-context.c  2020-06-05 12:10:55.0 
+0200
+++ new/libjcat-0.1.3/libjcat/jcat-context.c2020-06-16 15:18:33.0 
+0200
@@ -235,7 +235,7 @@
  * @error: #GError, or %NULL
  *
  * Verifies a #JcatItem using the public keys added to the context. All
- * `verify_kind=CHECKSUM` engines (e.g. SHA256) must verify correctly,
+ * `verify=CHECKSUM` engines (e.g. SHA256) must verify correctly,
  * but only one non-checksum signature has to verify.
  *
  * Returns: (transfer container) (element-type JcatResult): array of 
#JcatResult, or %NULL for failed
@@ -267,7 +267,7 @@
return NULL;
}
 
-   /* all verify_kind engines must verify */
+   /* all checksum engines must verify */
for (guint i = 0; i < blobs->len; i++) {
JcatBlob *blob = g_ptr_array_index (blobs, i);
g_autoptr(JcatEngine) engine = NULL;
@@ -277,7 +277,7 @@

commit libjcat for openSUSE:Factory

2020-07-02 Thread root
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2020-07-02 23:54:49

Comparing /work/SRC/openSUSE:Factory/libjcat (Old)
 and  /work/SRC/openSUSE:Factory/.libjcat.new.3060 (New)


Package is "libjcat"

Thu Jul  2 23:54:49 2020 rev:3 rq:818031 version:0.1.2+3

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2020-06-11 
14:43:28.641168446 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.3060/libjcat.changes
2020-07-02 23:54:55.388591391 +0200
@@ -1,0 +2,5 @@
+Thu Jun 25 09:16:15 UTC 2020 - Bernhard Wiedemann 
+
+- remove unreproducible signature file to make package build reproducible
+
+---



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.YhPDcK/_old  2020-07-02 23:54:58.432601482 +0200
+++ /var/tmp/diff_new_pack.YhPDcK/_new  2020-07-02 23:54:58.436601496 +0200
@@ -93,6 +93,8 @@
 
 %install
 %meson_install
+# remove unreproducible signature file to make package build reproducible
+rm -f 
%{buildroot}%{_libexecdir}/installed-tests/libjcat/colorhug/firmware.bin.p7c
 
 %post -n %{name}%{sover} -p /sbin/ldconfig
 %postun -n %{name}%{sover} -p /sbin/ldconfig




commit libjcat for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2020-06-11 14:42:45

Comparing /work/SRC/openSUSE:Factory/libjcat (Old)
 and  /work/SRC/openSUSE:Factory/.libjcat.new.3606 (New)


Package is "libjcat"

Thu Jun 11 14:42:45 2020 rev:2 rq:813060 version:0.1.2+3

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2020-06-04 
17:53:43.164500266 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.3606/libjcat.changes
2020-06-11 14:43:28.641168446 +0200
@@ -1,0 +2,7 @@
+Tue Jun 09 15:08:08 UTC 2020 - dims...@opensuse.org
+
+- Update to version 0.1.2+3:
+  * Validate that gpgme_op_verify_result() returned at least one
+signature (CVE-2020-10759).
+
+---

Old:

  libjcat-0.1.2.tar.xz

New:

  libjcat-0.1.2+3.tar.xz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.cTLOZc/_old  2020-06-11 14:43:29.585171197 +0200
+++ /var/tmp/diff_new_pack.cTLOZc/_new  2020-06-11 14:43:29.589171208 +0200
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.2
+Version:0.1.2+3
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ _service ++
--- /var/tmp/diff_new_pack.cTLOZc/_old  2020-06-11 14:43:29.613171278 +0200
+++ /var/tmp/diff_new_pack.cTLOZc/_new  2020-06-11 14:43:29.613171278 +0200
@@ -2,9 +2,11 @@
   
 https://github.com/hughsie/libjcat.git
 git
-@PARENT_TAG@
+@PARENT_TAG@+@TAG_OFFSET@
+(.*)\+0
+\1
 enable
-0.1.2
+master
   
   
 *.tar

++ _servicedata ++
--- /var/tmp/diff_new_pack.cTLOZc/_old  2020-06-11 14:43:29.633171337 +0200
+++ /var/tmp/diff_new_pack.cTLOZc/_new  2020-06-11 14:43:29.633171337 +0200
@@ -1,4 +1,4 @@
 
 
 https://github.com/hughsie/libjcat.git
-  1a509ac60b7446254c3bd1f45ea53e6cffba30ac
\ No newline at end of file
+  839b89f45a38b2373bf5836337a33f450aaab72e
\ No newline at end of file