commit libjcat for openSUSE:Factory

2024-01-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2024-01-30 18:23:53

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


Package is "libjcat"

Tue Jan 30 18:23:53 2024 rev:14 rq:1142253 version:0.2.1

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2024-01-12 
23:45:01.709723245 +0100
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1815/libjcat.changes
2024-01-30 18:23:54.918695703 +0100
@@ -1,0 +2,8 @@
+Mon Jan 22 07:46:55 UTC 2024 - Dominique Leuenberger 
+
+- Update to version 0.2.1:
+  + Do not dedupe sig and sig-of-checksum when loading.
+  + Fix the installed tests.
+  + Show the sig-of-checksum results clearer on the CLI.
+
+---

Old:

  libjcat-0.2.0.tar.gz

New:

  libjcat-0.2.1.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.LjnVm2/_old  2024-01-30 18:23:55.678723122 +0100
+++ /var/tmp/diff_new_pack.LjnVm2/_new  2024-01-30 18:23:55.682723266 +0100
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.2.0
+Version:0.2.1
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.2.0.tar.gz -> libjcat-0.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.0/NEWS new/libjcat-0.2.1/NEWS
--- old/libjcat-0.2.0/NEWS  2024-01-02 11:14:30.0 +0100
+++ new/libjcat-0.2.1/NEWS  2024-01-20 16:28:52.0 +0100
@@ -1,3 +1,12 @@
+Version 0.2.1
+~
+Released: 2024-01-20
+
+Bugfixes:
+ - Do not dedupe sig and sig-of-checksum when loading (Richard Hughes)
+ - Fix the installed tests (Mario Limonciello)
+ - Show the sig-of-checksum results clearer on the CLI (Richard Hughes)
+
 Version 0.2.0
 ~
 Released: 2024-01-02
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.0/README.md new/libjcat-0.2.1/README.md
--- old/libjcat-0.2.0/README.md 2024-01-02 11:14:30.0 +0100
+++ new/libjcat-0.2.1/README.md 2024-01-20 16:28:52.0 +0100
@@ -157,6 +157,11 @@
 firmware.bin:
 PASSED pkcs7: O=ACME Corp.,CN=ACME CA
 
+NOTE: Only JCat v2.0.0 and newer supports the *checksum of the payload* 
functionality, and you
+should also add signatures **without** using `--target` if you need to support 
older versions.
+Additionally, older JCat versions deduplicate the blobs by just the blob kind, 
so you want to make
+sure that the signature added with `--target` is added **before** the 
signature added without.
+
 Testing
 ===
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.2.0/RELEASE new/libjcat-0.2.1/RELEASE
--- old/libjcat-0.2.0/RELEASE   2024-01-02 11:14:30.0 +0100
+++ new/libjcat-0.2.1/RELEASE   2024-01-20 16:28:52.0 +0100
@@ -2,9 +2,9 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.1.14.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.2.0.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.2.0
+Version 0.2.1
 ~
 Released: 2024-xx-xx
 
@@ -15,7 +15,7 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.2.0"
+export release_ver="0.2.1"
 
 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.0/data/tests/colorhug/meson.build 
new/libjcat-0.2.1/data/tests/colorhug/meson.build
--- old/libjcat-0.2.0/data/tests/colorhug/meson.build   2024-01-02 
11:14:30.0 +0100
+++ new/libjcat-0.2.1/data/tests/colorhug/meson.build   2024-01-20 
16:28:52.0 +0100
@@ -4,7 +4,7 @@
 'firmware.bin.ed25519',
 'firmware.bin.p7b',
   ],
-  install_dir: join_paths(installed_test_bindir, 'colorhug'),
+  install_dir: join_paths(installed_test_datadir, 'colorhug'),
 )
 
 if get_option('pkcs7')
@@ -19,7 +19,7 @@
 '--infile', '@INPUT@',
 '--outfile', '@OUTPUT@'],
 install: true,
-install_dir: join_paths(installed_test_bindir, 'colorhug'),
+install_dir: join_paths(installed_test_datadir, 'colorhug'),
   )
 
   # generate self-signed detached signature *of the checksum*
@@ -33,7 +33,7 @@
 '--infile', '@INPUT@',
 '--outfile', '@OUTPUT@'],
 install: tru

commit libjcat for openSUSE:Factory

2024-01-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2024-01-12 23:44:44

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


Package is "libjcat"

Fri Jan 12 23:44:44 2024 rev:13 rq:1138193 version:0.2.0

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2024-01-07 
21:39:13.957684502 +0100
+++ /work/SRC/openSUSE:Factory/.libjcat.new.21961/libjcat.changes   
2024-01-12 23:45:01.709723245 +0100
@@ -1,0 +2,7 @@
+Wed Jan 10 09:17:52 UTC 2024 - Dominique Leuenberger 
+
+- Do not install test files: pass -Dtest=false to meson instead of
+  Dtest=true (aids with reproducible build, boo#1218715).
+- Add check section and run meson test.
+
+---



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.fYmeRt/_old  2024-01-12 23:45:02.325745792 +0100
+++ /var/tmp/diff_new_pack.fYmeRt/_new  2024-01-12 23:45:02.325745792 +0100
@@ -87,14 +87,15 @@
 %meson \
-Dgtkdoc=true \
-Dintrospection=true \
-   -Dtests=true \
+   -Dtests=false \
%{nil}
 %meson_build
 
 %install
 %meson_install
-# remove unreproducible signature file to make package build reproducible
-rm -f 
%{buildroot}%{_libexecdir}/installed-tests/libjcat/colorhug/firmware.bin.p7c
+
+%check
+%meson_test
 
 %post -n %{name}%{sover} -p /sbin/ldconfig
 %postun -n %{name}%{sover} -p /sbin/ldconfig
@@ -110,8 +111,6 @@
 %doc NEWS README.md
 %{_bindir}/jcat-tool
 %{_mandir}/man1/jcat-tool.1.gz
-%{_libexecdir}/installed-tests/
-%{_datadir}/installed-tests/
 
 %files devel
 %doc %{_datadir}/gtk-doc/html/%{name}


commit libjcat for openSUSE:Factory

2024-01-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2024-01-07 21:39:09

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


Package is "libjcat"

Sun Jan  7 21:39:09 2024 rev:12 rq:1137266 version:0.2.0

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2023-06-29 
17:27:25.385941151 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.28375/libjcat.changes   
2024-01-07 21:39:13.957684502 +0100
@@ -1,0 +2,13 @@
+Thu Jan  4 16:39:57 UTC 2024 - Dominique Leuenberger 
+
+- Update to version 0.2.0:
+  + New Features:
+- Add support for verifying firmware transparency checkpoints
+- Add various bitcounting functions for future use
+- Allow creating and validating SHA512 checksums
+- Allow verifying the checksum of a payload
+  + Bugfixes:
+- Sprinkle attribute((nonnull)) to give a little more
+   compile-time safety
+
+---

Old:

  libjcat-0.1.14.tar.gz

New:

  libjcat-0.2.0.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.prL7Ci/_old  2024-01-07 21:39:14.381699926 +0100
+++ /var/tmp/diff_new_pack.prL7Ci/_new  2024-01-07 21:39:14.385700071 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libjcat
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 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.1.14
+Version:0.2.0
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.14.tar.gz -> libjcat-0.2.0.tar.gz ++
 2360 lines of diff (skipped)


commit libjcat for openSUSE:Factory

2023-06-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2023-06-29 17:27:23

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


Package is "libjcat"

Thu Jun 29 17:27:23 2023 rev:11 rq:1095697 version:0.1.14

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2023-05-03 
12:56:25.315530950 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.13546/libjcat.changes   
2023-06-29 17:27:25.385941151 +0200
@@ -1,0 +2,8 @@
+Tue Jun 27 14:54:31 UTC 2023 - Dirk Müller 
+
+- update to 0.1.14:
+  * Fix header includes (Daisuke Fujimura)
+  * Fix prefix of LIBJCAT_CHECK_VERSION (Richard Hughes)
+  * Use project_source_root to fix building as a subproject
+
+---

Old:

  libjcat-0.1.13.tar.gz

New:

  libjcat-0.1.14.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.I4cabh/_old  2023-06-29 17:27:27.249952069 +0200
+++ /var/tmp/diff_new_pack.I4cabh/_new  2023-06-29 17:27:27.253952093 +0200
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.13
+Version:0.1.14
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.13.tar.gz -> libjcat-0.1.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.13/NEWS new/libjcat-0.1.14/NEWS
--- old/libjcat-0.1.13/NEWS 2023-02-22 17:09:42.0 +0100
+++ new/libjcat-0.1.14/NEWS 2023-06-08 20:45:05.0 +0200
@@ -1,3 +1,12 @@
+Version 0.1.14
+~~
+Released: 2023-06-08
+
+Bugfixes:
+ - Fix header includes (Daisuke Fujimura)
+ - Fix prefix of LIBJCAT_CHECK_VERSION (Richard Hughes)
+ - Use project_source_root to fix building as a subproject (Richard Hughes)
+
 Version 0.1.13
 ~~
 Released: 2023-02-22
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.13/RELEASE new/libjcat-0.1.14/RELEASE
--- old/libjcat-0.1.13/RELEASE  2023-02-22 17:09:42.0 +0100
+++ new/libjcat-0.1.14/RELEASE  2023-06-08 20:45:05.0 +0200
@@ -2,9 +2,9 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.1.12.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.1.13.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.1.13
+Version 0.1.14
 ~~
 Released: 2023-xx-xx
 
@@ -15,7 +15,7 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.1.13"
+export release_ver="0.1.14"
 
 git commit -a -m "Release libjcat ${release_ver}"
 git tag -s -f -m "Release libjcat ${release_ver}" "${release_ver}"
@@ -23,7 +23,8 @@
 gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
 git push --tags
 git push
-scp meson-dist/libjcat-${release_ver}.tar.* 
hughsi...@people.freedesktop.org:~/public_html/releases
+
+Upload release artifacts via https://github.com/hughsie/libjcat/tags
 
 Do post release version bump in meson.build
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.13/contrib/libjcat.spec.in 
new/libjcat-0.1.14/contrib/libjcat.spec.in
--- old/libjcat-0.1.13/contrib/libjcat.spec.in  2023-02-22 17:09:42.0 
+0100
+++ new/libjcat-0.1.14/contrib/libjcat.spec.in  2023-06-08 20:45:05.0 
+0200
@@ -7,9 +7,9 @@
 Name:  libjcat
 Version:   #VERSION#
 Release:   0.#BUILD#%{?alphatag}%{?dist}
-License:   LGPLv2+
-URL:   https://github.com/hughsie/libjcat
-Source0:   
https://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
+License:   LGPL-2.1-or-later
+URL:   https://github.com/hughsie/%{name}
+Source0:   
https://github.com/hughsie/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
 
 BuildRequires: gtk-doc
 BuildRequires: meson
@@ -44,7 +44,7 @@
 Executable and data files for installed tests.
 
 %prep
-%setup -q
+%autosetup -p0
 
 %build
 
@@ -90,6 +90,5 @@
 %dir %{_datadir}/installed-tests/libjcat
 
 %changelog
-* #LONGDATE# Richard Hughes  #VERSION#-0.#BUILD##ALPHATAG#
-- Update from git
+%autochangelog
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.13/libjcat/jcat-ed25519-engine.c 
new/libjcat-0.1.14/libjcat/jcat-ed25519-engine.c
--- old/libjcat-0.1.13/libjcat/jcat-ed25519-engine.c2023-02-22 
17:09:42.0 +0100
+++ new/libjcat-0.1.14/libjcat/jcat-ed25519-engine.c2023-06-08 
20:45:05.0 +0200
@@ -6,6 +6,8 @@
 
 #include "config.h"
 
+#inc

commit libjcat for openSUSE:Factory

2023-05-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2023-05-03 12:56:21

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


Package is "libjcat"

Wed May  3 12:56:21 2023 rev:10 rq:1083980 version:0.1.13

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2022-10-12 
18:22:57.745405283 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1533/libjcat.changes
2023-05-03 12:56:25.315530950 +0200
@@ -1,0 +2,10 @@
+Thu Apr 27 22:31:13 UTC 2023 - Dirk Müller 
+
+- update to 0.1.13:
+  * Add support for SHA512 checksums (Richard Hughes)
+  * Add the ability to add and remove support for blob types
+  * Fix header includes for clang-tidy (Richard Hughes)
+  * Show the expected SHA checksum in the error (Richard
+Hughes)
+
+---

Old:

  libjcat-0.1.12.tar.gz

New:

  libjcat-0.1.13.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.vg7g0b/_old  2023-05-03 12:56:25.839534029 +0200
+++ /var/tmp/diff_new_pack.vg7g0b/_new  2023-05-03 12:56:25.859534146 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libjcat
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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.1.12
+Version:0.1.13
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.12.tar.gz -> libjcat-0.1.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.12/.clang-tidy 
new/libjcat-0.1.13/.clang-tidy
--- old/libjcat-0.1.12/.clang-tidy  1970-01-01 01:00:00.0 +0100
+++ new/libjcat-0.1.13/.clang-tidy  2023-02-22 17:09:42.0 +0100
@@ -0,0 +1,42 @@
+---
+Checks: "-*,\
+bugprone-*,\
+-bugprone-assignment-in-if-condition,\
+-bugprone-easily-swappable-parameters,\
+-bugprone-implicit-widening-of-multiplication-result,\
+-bugprone-macro-parentheses,\
+-bugprone-misplaced-widening-cast,\
+-bugprone-narrowing-conversions,\
+-bugprone-reserved-identifier,\
+-bugprone-too-small-loop-variable,\
+-bugprone-unchecked-optional-access,\
+misc-*,\
+-misc-confusable-identifiers,\
+-misc-const-correctness,\
+-misc-non-private-member-variables-in-classes,\
+-misc-no-recursion,\
+-misc-static-assert,\
+-misc-unused-parameters,\
+modernize-*,\
+-modernize-macro-to-enum,\
+-modernize-use-trailing-return-type,\
+-modernize-use-transparent-functors,\
+performance-*,\
+-performance-inefficient-vector-operation,\
+-performance-no-int-to-ptr,\
+readability-*,\
+-readability-avoid-const-params-in-decls,\
+-readability-braces-around-statements,\
+-readability-function-cognitive-complexity,\
+-readability-identifier-length,\
+-readability-identifier-naming,\
+-readability-implicit-bool-conversion,\
+-readability-isolate-declaration,\
+-readability-magic-numbers,\
+-readability-non-const-parameter,\
+-readability-qualified-auto,\
+-readability-redundant-declaration,\
+-readability-suspicious-call-argument,\
+-readability-uppercase-literal-suffix,\
+"
+...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.12/NEWS new/libjcat-0.1.13/NEWS
--- old/libjcat-0.1.12/NEWS 2022-09-11 12:28:47.0 +0200
+++ new/libjcat-0.1.13/NEWS 2023-02-22 17:09:42.0 +0100
@@ -1,3 +1,15 @@
+Version 0.1.13
+~~
+Released: 2023-02-22
+
+New Features:
+ - Add support for SHA512 checksums (Richard Hughes)
+ - Add the ability to add and remove support for blob types (#72) (Richard 
Hughes)
+
+Bugfixes:
+ - Fix header includes for clang-tidy (Richard Hughes)
+ - Show the expected SHA checksum in the error (Richard Hughes)
+
 Version 0.1.12
 ~~
 Released: 2022-09-11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.12/README.md new/libjcat-0.1.13/README.md
--- old/libjcat-0.1.12/README.md2022-09-11 12:28:47.0 +0200
+++ new/libjcat-0.1.13/README.md2023-02-22 17:09:42.0 +0100
@@ -131,7 +131,7 @@
 
 Lets create a Jcat file with a single checksum:
 
-$ jcat-tool sign test.jcat firmware.bin sha256
+$ jcat-tool self-sign test.jcat firmware.bin --kind sha256
 $ jcat-tool info test.jcat
 JcatFile:
   Version:   0.1
diff -urN '--exclude=CVS' '--exclude=.cvsign

commit libjcat for openSUSE:Factory

2022-10-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2022-10-12 18:22:46

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


Package is "libjcat"

Wed Oct 12 18:22:46 2022 rev:9 rq:1009654 version:0.1.12

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2022-04-26 
20:17:02.456707857 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.2275/libjcat.changes
2022-10-12 18:22:57.745405283 +0200
@@ -1,0 +2,8 @@
+Fri Oct  7 12:16:53 UTC 2022 - Dirk M??ller 
+
+- update to 0.1.12:
+  * Correctly export the AliasIds in all cases (Richard Hughes)
+  * Install installed-test firmware.bin.ed25519 (Jan Tojnar)
+  * Predate test cert activation date by 1 day (David Bonner)
+
+---

Old:

  libjcat-0.1.11.tar.gz

New:

  libjcat-0.1.12.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.oXfzxr/_old  2022-10-12 18:22:58.161406322 +0200
+++ /var/tmp/diff_new_pack.oXfzxr/_new  2022-10-12 18:22:58.165406332 +0200
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.11
+Version:0.1.12
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.11.tar.gz -> libjcat-0.1.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.11/NEWS new/libjcat-0.1.12/NEWS
--- old/libjcat-0.1.11/NEWS 2022-03-22 15:22:22.0 +0100
+++ new/libjcat-0.1.12/NEWS 2022-09-11 12:28:47.0 +0200
@@ -1,3 +1,12 @@
+Version 0.1.12
+~~
+Released: 2022-09-11
+
+Bugfixes:
+ - Correctly export the AliasIds in all cases (Richard Hughes)
+ - Install installed-test firmware.bin.ed25519 (Jan Tojnar)
+ - Predate test cert activation date by 1 day (David Bonner)
+
 Version 0.1.11
 ~~
 Released: 2022-03-22
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.11/RELEASE new/libjcat-0.1.12/RELEASE
--- old/libjcat-0.1.11/RELEASE  2022-03-22 15:22:22.0 +0100
+++ new/libjcat-0.1.12/RELEASE  2022-09-11 12:28:47.0 +0200
@@ -2,9 +2,9 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.1.10.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.1.11.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.1.11
+Version 0.1.12
 ~~
 Released: 2022-xx-xx
 
@@ -15,7 +15,7 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.1.11"
+export release_ver="0.1.12"
 
 git commit -a -m "Release libjcat ${release_ver}"
 git tag -s -f -m "Release libjcat ${release_ver}" "${release_ver}"
@@ -23,9 +23,6 @@
 gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
 git push --tags
 git push
-
-Upload tarball:
-
 scp meson-dist/libjcat-${release_ver}.tar.* 
hughsi...@people.freedesktop.org:~/public_html/releases
 
 Do post release version bump in meson.build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.11/contrib/build-certs.py 
new/libjcat-0.1.12/contrib/build-certs.py
--- old/libjcat-0.1.11/contrib/build-certs.py   2022-03-22 15:22:22.0 
+0100
+++ new/libjcat-0.1.12/contrib/build-certs.py   2022-09-11 12:28:47.0 
+0200
@@ -11,7 +11,7 @@
 def _build_certs():
 
 # expire in 7 days to avoid people using these in production
-dt_activation = datetime.utcnow().isoformat()
+dt_activation = (datetime.utcnow() - timedelta(days=1)).isoformat()
 dt_expiration = (datetime.utcnow() + timedelta(days=7)).isoformat()
 
 # certificate authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.11/data/tests/colorhug/meson.build 
new/libjcat-0.1.12/data/tests/colorhug/meson.build
--- old/libjcat-0.1.11/data/tests/colorhug/meson.build  2022-03-22 
15:22:22.0 +0100
+++ new/libjcat-0.1.12/data/tests/colorhug/meson.build  2022-09-11 
12:28:47.0 +0200
@@ -1,6 +1,7 @@
 install_data([
 'firmware.bin',
 'firmware.bin.asc',
+'firmware.bin.ed25519',
 'firmware.bin.p7b',
   ],
   install_dir: join_paths(installed_test_bindir, 'colorhug'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.11/libjcat/jcat-item.c 
new/libjcat-0.1.12/libjcat/jcat-item.c
--- old/libjcat-0.1.11/libjcat/jcat-item.c  2022-03-22 15:22:22.0 
+0100
+++ new/libjcat-0.1.12/libjcat/jcat-item.c

commit libjcat for openSUSE:Factory

2022-04-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2022-04-26 20:15:01

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


Package is "libjcat"

Tue Apr 26 20:15:01 2022 rev:8 rq:972476 version:0.1.11

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2022-04-22 
21:53:08.206729596 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1538/libjcat.changes
2022-04-26 20:17:02.456707857 +0200
@@ -1,0 +2,7 @@
+Thu Apr 21 07:25:09 UTC 2022 - Dirk M??ller 
+
+- update to 0.1.11:
+  - Allow the user to get the runtime library version (Richard Hughes)
+  - Fix incorrect certtool being called on macOS (Richard Hughes)
+
+---

Old:

  libjcat-0.1.10.tar.gz

New:

  libjcat-0.1.11.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.4rqmAd/_old  2022-04-26 20:17:02.828708307 +0200
+++ /var/tmp/diff_new_pack.4rqmAd/_new  2022-04-26 20:17:02.836708317 +0200
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.10
+Version:0.1.11
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.10.tar.gz -> libjcat-0.1.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/NEWS new/libjcat-0.1.11/NEWS
--- old/libjcat-0.1.10/NEWS 2022-02-16 16:55:31.0 +0100
+++ new/libjcat-0.1.11/NEWS 2022-03-22 15:22:22.0 +0100
@@ -1,3 +1,13 @@
+Version 0.1.11
+~~
+Released: 2022-03-22
+
+New Features:
+ - Allow the user to get the runtime library version (Richard Hughes)
+
+Bugfixes:
+ - Fix incorrect certtool being called on macOS (Richard Hughes)
+
 Version 0.1.10
 ~~
 Released: 2022-02-16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/RELEASE new/libjcat-0.1.11/RELEASE
--- old/libjcat-0.1.10/RELEASE  2022-02-16 16:55:31.0 +0100
+++ new/libjcat-0.1.11/RELEASE  2022-03-22 15:22:22.0 +0100
@@ -2,11 +2,11 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.1.9.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.1.10.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.1.10
+Version 0.1.11
 ~~
-Released: 202-xx-xx
+Released: 2022-xx-xx
 
 New Features:
 Bugfixes:
@@ -15,18 +15,15 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.1.10"
+export release_ver="0.1.11"
 
 git commit -a -m "Release libjcat ${release_ver}"
 git tag -s -f -m "Release libjcat ${release_ver}" "${release_ver}"
 ninja dist
+gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
 git push --tags
 git push
 
-Generate the additional verification metadata
-
-gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
-
 Upload tarball:
 
 scp meson-dist/libjcat-${release_ver}.tar.* 
hughsi...@people.freedesktop.org:~/public_html/releases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/data/tests/meson.build 
new/libjcat-0.1.11/data/tests/meson.build
--- old/libjcat-0.1.10/data/tests/meson.build   2022-02-16 16:55:31.0 
+0100
+++ new/libjcat-0.1.11/data/tests/meson.build   2022-03-22 15:22:22.0 
+0100
@@ -7,7 +7,8 @@
 )
 
 # generate private PKCS7 key
-certtool = find_program('certtool')
+certtool = find_program('gnutls-certtool', 'certtool')
+
 pkcs7_privkey = custom_target('test-privkey.pem',
   output: 'test-privkey.pem',
   command: [certtool, '--generate-privkey', '--outfile', '@OUTPUT@'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat-ed25519-engine.c 
new/libjcat-0.1.11/libjcat/jcat-ed25519-engine.c
--- old/libjcat-0.1.10/libjcat/jcat-ed25519-engine.c2022-02-16 
16:55:31.0 +0100
+++ new/libjcat-0.1.11/libjcat/jcat-ed25519-engine.c2022-03-22 
15:22:22.0 +0100
@@ -6,8 +6,8 @@
 
 #include "config.h"
 
-#include 
 #include 
+#include 
 
 #include "jcat-common-private.h"
 #include "jcat-ed25519-engine.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.10/libjcat/jcat-self-test.c 
new/libjcat-0.1.11/libjcat/jcat-self-test.c
--- old/libjcat-0.1.10/libjcat/jcat-self-test.c 2022-02-16 16:55:31.0 
+0100
+++ new/libjcat-0.1.11/libjcat/jcat-self-test.c 2022-03-22 15:22:22.0 
+0100
@@ -579,8 +579,6 @@
g

commit libjcat for openSUSE:Factory

2022-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2022-04-22 21:52:44

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


Package is "libjcat"

Fri Apr 22 21:52:44 2022 rev:7 rq:970783 version:0.1.10

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2022-01-05 
13:39:28.829512741 +0100
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1538/libjcat.changes
2022-04-22 21:53:08.206729596 +0200
@@ -1,0 +2,10 @@
+Sun Apr 10 13:27:31 UTC 2022 - Dirk M??ller 
+
+- update to 0.1.10:
+  - Add ED25519 support (Richard Hughes)
+  - Define three more types used for the firmware transparency log (Richard 
Hughes)
+  - Include the pkgconfig variables in the subproject dependency (Richard 
Hughes)
+  - Drop the use of setuptools in the test script for regenerating ld version 
file (Eli Schwartz)
+  - Use the correct lookup method for the python3 script interpreter (Eli 
Schwartz)
+
+---

Old:

  libjcat-0.1.9.tar.gz

New:

  libjcat-0.1.10.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.wpUQxk/_old  2022-04-22 21:53:08.714730175 +0200
+++ /var/tmp/diff_new_pack.wpUQxk/_new  2022-04-22 21:53:08.718730179 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libjcat
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 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.1.9
+Version:0.1.10
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.9.tar.gz -> libjcat-0.1.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.9/NEWS new/libjcat-0.1.10/NEWS
--- old/libjcat-0.1.9/NEWS  2021-11-28 16:58:08.0 +0100
+++ new/libjcat-0.1.10/NEWS 2022-02-16 16:55:31.0 +0100
@@ -1,3 +1,16 @@
+Version 0.1.10
+~~
+Released: 2022-02-16
+
+New Features:
+ - Add ED25519 support (Richard Hughes)
+ - Define three more types used for the firmware transparency log (Richard 
Hughes)
+
+Bugfixes:
+ - Include the pkgconfig variables in the subproject dependency (Richard 
Hughes)
+ - Drop the use of setuptools in the test script for regenerating ld version 
file (Eli Schwartz)
+ - Use the correct lookup method for the python3 script interpreter (Eli 
Schwartz)
+
 Version 0.1.9
 ~
 Released: 2021-11-28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.9/RELEASE new/libjcat-0.1.10/RELEASE
--- old/libjcat-0.1.9/RELEASE   2021-11-28 16:58:08.0 +0100
+++ new/libjcat-0.1.10/RELEASE  2022-02-16 16:55:31.0 +0100
@@ -2,11 +2,11 @@
 
 1. Write NEWS entries for libjcat in the same format as usual.
 
-git shortlog 0.1.8.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog 0.1.9.. | grep -i -v trivial | grep -v Merge > NEWS.new
 
-Version 0.1.9
-~
-Released: 2021-xx-xx
+Version 0.1.10
+~~
+Released: 202-xx-xx
 
 New Features:
 Bugfixes:
@@ -15,17 +15,14 @@
 Commit changes to git:
 
 # MAKE SURE THESE ARE CORRECT
-export release_ver="0.1.9"
+export release_ver="0.1.10"
 
 git commit -a -m "Release libjcat ${release_ver}"
 git tag -s -f -m "Release libjcat ${release_ver}" "${release_ver}"
+ninja dist
 git push --tags
 git push
 
-Generate the tarball:
-
-ninja dist
-
 Generate the additional verification metadata
 
 gpg -b -a meson-dist/libjcat-${release_ver}.tar.xz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libjcat-0.1.9/contrib/generate-version-script.py 
new/libjcat-0.1.10/contrib/generate-version-script.py
--- old/libjcat-0.1.9/contrib/generate-version-script.py2021-11-28 
16:58:08.0 +0100
+++ new/libjcat-0.1.10/contrib/generate-version-script.py   2022-02-16 
16:55:31.0 +0100
@@ -6,15 +6,19 @@
 # SPDX-License-Identifier: LGPL-2.1+
 
 import sys
+import argparse
 import xml.etree.ElementTree as ET
 
-from pkg_resources import parse_version
+XMLNS = "{http://www.gtk.org/introspection/core/1.0}";
+XMLNS_C = "{http://www.gtk.org/introspection/c/1.0}";
+
+
+def parse_version(ver):
+return tuple(map(int, ver.split(".")))
 
-XMLNS = '{http://www.gtk.org/introspection/core/1.0}'
-XMLNS_C = '{http://www.gtk.org/introspection/c/1.0}'
 
 def usage(return_code)

commit libjcat for openSUSE:Factory

2022-01-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2022-01-05 13:39:15

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


Package is "libjcat"

Wed Jan  5 13:39:15 2022 rev:6 rq:943564 version:0.1.9

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2021-11-15 
15:27:47.461846866 +0100
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1896/libjcat.changes
2022-01-05 13:39:28.829512741 +0100
@@ -1,0 +2,9 @@
+Mon Dec 20 22:03:58 UTC 2021 - Dirk M??ller 
+
+- update to 0.1.9:
+  * Set which backends are supported in the pkgconfig file
+  * Use -Dcli=false to reduce the install size
+  * Return an error if we try to self-sign no bytes of data
+  * Show a more accurate output when not all engines are enabled
+
+---

Old:

  libjcat-0.1.8.tar.gz

New:

  libjcat-0.1.9.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.uxc7Nz/_old  2022-01-05 13:39:29.357513156 +0100
+++ /var/tmp/diff_new_pack.uxc7Nz/_new  2022-01-05 13:39:29.361513159 +0100
@@ -19,7 +19,7 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.8
+Version:0.1.9
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later

++ libjcat-0.1.8.tar.gz -> libjcat-0.1.9.tar.gz ++
 8321 lines of diff (skipped)


commit libjcat for openSUSE:Factory

2021-11-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libjcat for openSUSE:Factory checked 
in at 2021-11-15 15:26:13

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


Package is "libjcat"

Mon Nov 15 15:26:13 2021 rev:5 rq:931244 version:0.1.8

Changes:

--- /work/SRC/openSUSE:Factory/libjcat/libjcat.changes  2020-08-06 
17:31:22.501083913 +0200
+++ /work/SRC/openSUSE:Factory/.libjcat.new.1890/libjcat.changes
2021-11-15 15:27:47.461846866 +0100
@@ -1,0 +2,14 @@
+Sat Nov 13 11:57:00 UTC 2021 - Dirk M??ller 
+
+- update to 0.1.8:
+  * Fix a warning when used in a subproject
+  * Fix compilation on FreeBSD
+  * Do not use help2man to build manual pages
+  * Fall back to the AliasId for validation
+  * Fix jcat_context_verify_blob() to use self verify for checksums
+  * Allow verifying expired certificates with an additional argument
+  * Allow compiling json-glib as a subproject
+  * Export the old JCatEngine property to preserve internal ABI
+  * Do not fail verification if compiled without an engine
+
+---

Old:

  _service
  _servicedata
  libjcat-0.1.3.tar.xz

New:

  libjcat-0.1.8.tar.gz



Other differences:
--
++ libjcat.spec ++
--- /var/tmp/diff_new_pack.zAcr22/_old  2021-11-15 15:27:47.969847008 +0100
+++ /var/tmp/diff_new_pack.zAcr22/_new  2021-11-15 15:27:47.973847009 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libjcat
 #
-# 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
@@ -19,13 +19,13 @@
 %define sover 1
 
 Name:   libjcat
-Version:0.1.3
+Version:0.1.8
 Release:0
 Summary:Library for reading and writing gzip-compressed JSON catalog 
files
 License:LGPL-2.1-or-later
 Group:  System/Libraries
 URL:https://github.com/hughsie/libjcat
-Source: %{name}-%{version}.tar.xz
+Source: 
https://github.com/hughsie/libjcat/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # for certtool
 BuildRequires:  gnutls
 BuildRequires:  gpgme-devel