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 @@