Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2025-02-11 21:20:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libjcat (Old)
 and      /work/SRC/openSUSE:Factory/.libjcat.new.19470 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libjcat"

Tue Feb 11 21:20:24 2025 rev:16 rq:1244634 version:0.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2024-10-22 
14:51:14.643700490 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.19470/libjcat.changes       
2025-02-11 21:20:39.332412490 +0100
@@ -1,0 +2,8 @@
+Mon Feb  3 14:15:01 UTC 2025 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Update to version 0.2.3:
+  + Do not close the base stream when using
+    jcat_file_import_stream().
+  + Skip ed25519 part of a test with -Ded25519=false.
+
+-------------------------------------------------------------------

Old:
----
  libjcat-0.2.2.tar.gz

New:
----
  libjcat-0.2.3.tar.gz

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

Other differences:
------------------
++++++ libjcat.spec ++++++
--- /var/tmp/diff_new_pack.pPBTXy/_old  2025-02-11 21:20:41.204489716 +0100
+++ /var/tmp/diff_new_pack.pPBTXy/_new  2025-02-11 21:20:41.224490540 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libjcat
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:           libjcat
-Version:        0.2.2
+Version:        0.2.3
 Release:        0
 Summary:        Library for reading and writing gzip-compressed JSON catalog 
files
 License:        LGPL-2.1-or-later

++++++ libjcat-0.2.2.tar.gz -> libjcat-0.2.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/.github/workflows/ccpp.yml 
new/libjcat-0.2.3/.github/workflows/ccpp.yml
--- old/libjcat-0.2.2/.github/workflows/ccpp.yml        2024-10-14 
14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/.github/workflows/ccpp.yml        2025-02-03 
15:10:02.000000000 +0100
@@ -10,7 +10,7 @@
   gcc:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v4.2.1
+    - uses: actions/checkout@v4.2.2
     - uses: actions/setup-python@v5
     - name: deps
       run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/.github/workflows/scorecard.yml 
new/libjcat-0.2.3/.github/workflows/scorecard.yml
--- old/libjcat-0.2.2/.github/workflows/scorecard.yml   2024-10-14 
14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/.github/workflows/scorecard.yml   2025-02-03 
15:10:02.000000000 +0100
@@ -32,7 +32,7 @@
 
     steps:
       - name: "Checkout code"
-        uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 
v4.2.1
+        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 
v4.2.2
         with:
           persist-credentials: false
 
@@ -59,7 +59,7 @@
       # Upload the results as artifacts (optional). Commenting out will 
disable uploads of run results in SARIF
       # format to the repository Actions tab.
       - name: "Upload artifact"
-        uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 
# v4.4.3
+        uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 
# v4.6.0
         with:
           name: SARIF file
           path: results.sarif
@@ -68,6 +68,6 @@
       # Upload the results to GitHub's code scanning dashboard (optional).
       # Commenting out will disable upload of results to your repo's Code 
Scanning dashboard
       - name: "Upload to code-scanning"
-        uses: 
github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # 
v3.26.12
+        uses: 
github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # 
v3.28.8
         with:
           sarif_file: results.sarif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/NEWS new/libjcat-0.2.3/NEWS
--- old/libjcat-0.2.2/NEWS      2024-10-14 14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/NEWS      2025-02-03 15:10:02.000000000 +0100
@@ -1,3 +1,11 @@
+Version 0.2.3
+~~~~~~~~~~~~~
+Released: 2025-02-03
+
+Bugfixes:
+ - Do not close the base stream when using jcat_file_import_stream() (Richard 
Hughes)
+ - Skip ed25519 part of a test with -Ded25519=false (Heiko Becker)
+
 Version 0.2.2
 ~~~~~~~~~~~~~
 Released: 2024-10-14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/RELEASE new/libjcat-0.2.3/RELEASE
--- old/libjcat-0.2.2/RELEASE   2024-10-14 14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/RELEASE   2025-02-03 15:10:02.000000000 +0100
@@ -2,11 +2,11 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.2.1.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.2.2.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.2.2
+Version 0.2.3
 ~~~~~~~~~~~~~
-Released: 2024-xx-xx
+Released: 2025-xx-xx
 
 New Features:
 Bugfixes:
@@ -15,7 +15,7 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.2.2"
+export release_ver="0.2.3"
 
 git commit -a -m "Release libjcat ${release_ver}"
 git tag -s -f -m "Release libjcat ${release_ver}" "${release_ver}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/libjcat/jcat-common-private.h 
new/libjcat-0.2.3/libjcat/jcat-common-private.h
--- old/libjcat-0.2.2/libjcat/jcat-common-private.h     2024-10-14 
14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/libjcat/jcat-common-private.h     2025-02-03 
15:10:02.000000000 +0100
@@ -15,7 +15,8 @@
 gboolean
 jcat_mkdir_parent(const gchar *filename, GError **error) G_GNUC_NON_NULL(1);
 gboolean
-jcat_set_contents_bytes(const gchar *filename, GBytes *bytes, gint mode, 
GError **error) G_GNUC_NON_NULL(1, 2);
+jcat_set_contents_bytes(const gchar *filename, GBytes *bytes, gint mode, 
GError **error)
+    G_GNUC_NON_NULL(1, 2);
 GBytes *
 jcat_get_contents_bytes(const gchar *filename, GError **error) 
G_GNUC_NON_NULL(1);
 void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/libjcat/jcat-common.c 
new/libjcat-0.2.3/libjcat/jcat-common.c
--- old/libjcat-0.2.2/libjcat/jcat-common.c     2024-10-14 14:40:12.000000000 
+0200
+++ new/libjcat-0.2.3/libjcat/jcat-common.c     2025-02-03 15:10:02.000000000 
+0100
@@ -40,7 +40,7 @@
        }
        data = g_bytes_get_data(bytes, &size);
        g_debug("writing %s with %" G_GSIZE_FORMAT " bytes", filename, size);
-#if GLIB_CHECK_VERSION(2,66,0)
+#if GLIB_CHECK_VERSION(2, 66, 0)
        return g_file_set_contents_full(filename,
                                        data,
                                        size,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/libjcat/jcat-ed25519-engine.c 
new/libjcat-0.2.3/libjcat/jcat-ed25519-engine.c
--- old/libjcat-0.2.2/libjcat/jcat-ed25519-engine.c     2024-10-14 
14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/libjcat/jcat-ed25519-engine.c     2025-02-03 
15:10:02.000000000 +0100
@@ -56,7 +56,7 @@
        gint rc;
        gnutls_datum_t x = {NULL, 0};
 
-       x.data = g_bytes_get_data(blob, NULL);
+       x.data = (guchar *)g_bytes_get_data(blob, NULL);
        x.size = g_bytes_get_size(blob);
 
        rc = gnutls_pubkey_import_ecc_raw(pubkey, GNUTLS_ECC_CURVE_ED25519, &x, 
NULL);
@@ -100,10 +100,10 @@
        gnutls_datum_t x = {NULL, 0};
        gnutls_datum_t k = {NULL, 0};
 
-       x.data = g_bytes_get_data(blob_public, NULL);
+       x.data = (guchar *)g_bytes_get_data(blob_public, NULL);
        x.size = g_bytes_get_size(blob_public);
 
-       k.data = g_bytes_get_data(blob_privkey, NULL);
+       k.data = (guchar *)g_bytes_get_data(blob_privkey, NULL);
        k.size = g_bytes_get_size(blob_privkey);
 
        rc = gnutls_privkey_import_ecc_raw(privkey, GNUTLS_ECC_CURVE_ED25519, 
&x, NULL, &k);
@@ -180,9 +180,9 @@
                gnutls_datum_t data = {NULL, 0};
                gnutls_datum_t sig = {NULL, 0};
 
-               data.data = g_bytes_get_data(blob, NULL);
+               data.data = (guchar *)g_bytes_get_data(blob, NULL);
                data.size = g_bytes_get_size(blob);
-               sig.data = g_bytes_get_data(blob_signature, NULL);
+               sig.data = (guchar *)g_bytes_get_data(blob_signature, NULL);
                sig.size = g_bytes_get_size(blob_signature);
                rc = gnutls_pubkey_verify_data2(pubkey, 
GNUTLS_SIGN_EDDSA_ED25519, 0, &data, &sig);
                if (rc == GNUTLS_E_SUCCESS)
@@ -229,7 +229,7 @@
                return NULL;
 
        /* sign */
-       data.data = g_bytes_get_data(blob, NULL);
+       data.data = (guchar *)g_bytes_get_data(blob, NULL);
        data.size = g_bytes_get_size(blob);
        rc = gnutls_privkey_sign_data2(privkey, GNUTLS_SIGN_EDDSA_ED25519, 0, 
&data, &sig);
        if (rc < 0) {
@@ -275,9 +275,9 @@
        if (!jcat_ed25519_pubkey_from_bytes(blob_pubkey, pubkey, error))
                return NULL;
 
-       data.data = g_bytes_get_data(blob, NULL);
+       data.data = (guchar *)g_bytes_get_data(blob, NULL);
        data.size = g_bytes_get_size(blob);
-       sig.data = g_bytes_get_data(blob_signature, NULL);
+       sig.data = (guchar *)g_bytes_get_data(blob_signature, NULL);
        sig.size = g_bytes_get_size(blob_signature);
        rc = gnutls_pubkey_verify_data2(pubkey, GNUTLS_SIGN_EDDSA_ED25519, 0, 
&data, &sig);
        if (rc < 0) {
@@ -376,7 +376,7 @@
                        return NULL;
        }
 
-       data.data = g_bytes_get_data(blob, NULL);
+       data.data = (guchar *)g_bytes_get_data(blob, NULL);
        data.size = g_bytes_get_size(blob);
        rc = gnutls_privkey_sign_data2(privkey, GNUTLS_SIGN_EDDSA_ED25519, 0, 
&data, &sig);
        if (rc < 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/libjcat/jcat-file.c 
new/libjcat-0.2.3/libjcat/jcat-file.c
--- old/libjcat-0.2.2/libjcat/jcat-file.c       2024-10-14 14:40:12.000000000 
+0200
+++ new/libjcat-0.2.3/libjcat/jcat-file.c       2025-02-03 15:10:02.000000000 
+0100
@@ -209,6 +209,8 @@
 
        conv = 
G_CONVERTER(g_zlib_decompressor_new(G_ZLIB_COMPRESSOR_FORMAT_GZIP));
        istream_uncompressed = g_converter_input_stream_new(istream, conv);
+       
g_filter_input_stream_set_close_base_stream(G_FILTER_INPUT_STREAM(istream_uncompressed),
+                                                   FALSE);
        if (!json_parser_load_from_stream(parser, istream_uncompressed, 
cancellable, error))
                return FALSE;
        return jcat_file_import_parser(self, parser, flags, error);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/libjcat/jcat-self-test.c 
new/libjcat-0.2.3/libjcat/jcat-self-test.c
--- old/libjcat-0.2.2/libjcat/jcat-self-test.c  2024-10-14 14:40:12.000000000 
+0200
+++ new/libjcat-0.2.3/libjcat/jcat-self-test.c  2025-02-03 15:10:02.000000000 
+0100
@@ -1142,6 +1142,7 @@
        g_assert_no_error(error);
        g_assert_nonnull(btcheckpoint);
 
+#ifdef ENABLE_ED25519
        /* get engine */
        engine = jcat_context_get_engine(context, JCAT_BLOB_KIND_ED25519, 
&error);
        g_assert_no_error(error);
@@ -1162,6 +1163,7 @@
                                           &error);
        g_assert_no_error(error);
        g_assert_nonnull(result);
+#endif
 }
 
 int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.2/meson.build 
new/libjcat-0.2.3/meson.build
--- old/libjcat-0.2.2/meson.build       2024-10-14 14:40:12.000000000 +0200
+++ new/libjcat-0.2.3/meson.build       2025-02-03 15:10:02.000000000 +0100
@@ -1,5 +1,5 @@
 project('libjcat', 'c',
-  version : '0.2.2',
+  version : '0.2.3',
   license : 'LGPL-2.1+',
   meson_version : '>=0.56.0',
   default_options : ['warning_level=2', 'c_std=c99'],

Reply via email to