Sync from SUSE:SLFO:Main gcr revision 9a30a1ac1ff04ad7305fc71ca21af531

This commit is contained in:
Adrian Schröter 2024-05-03 12:44:05 +02:00
commit 5872a22268
6 changed files with 1047 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

6
baselibs.conf Normal file
View File

@ -0,0 +1,6 @@
libgcr-4-4
libgcr-devel
requires "libgcr-4-4-<targettype>"
libgck-2-2
libgck-devel
requires "libgck-2-2-<targettype>"

BIN
gcr-4.1.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
diff --git a/egg/egg-libgcrypt.c b/egg/egg-libgcrypt.c
index 0ba84fe..cca36f1 100644
--- a/egg/egg-libgcrypt.c
+++ b/egg/egg-libgcrypt.c
@@ -71,11 +71,6 @@ egg_libgcrypt_initialize (void)
gcry_set_log_handler (log_handler, NULL);
gcry_set_outofcore_handler (no_mem_handler, NULL);
gcry_set_fatalerror_handler (fatal_handler, NULL);
- gcry_set_allocation_handler ((gcry_handler_alloc_t)g_malloc,
- (gcry_handler_alloc_t)egg_secure_alloc,
- egg_secure_check,
- (gcry_handler_realloc_t)egg_secure_realloc,
- egg_secure_free);
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
}

743
gcr.changes Normal file
View File

@ -0,0 +1,743 @@
-------------------------------------------------------------------
Mon Mar 6 11:36:46 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.1.0:
+ The soversion is now properly set to 4.
+ certificate: Print dates in ISO8601 format
+ viewer: Support certificates read from PKCS#11 store
+ gcr: Add means to construct GcrCertificate from PKCS#11 URI
+ Several smaller fixes found with ASAN
+ Stop using GSlice
+ a11y: Improve reading of certificate info by screen readers
+ Updated translations.
- Rename sub-packages following upstreams correction of soversion.
libgcr-4-0_0_0 is now libgcr-4-4, and libgck-2-0_0_0 is now
libgck-2-2.
-------------------------------------------------------------------
Thu Oct 13 08:25:58 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.0.0:
+ This the first stable release of gcr4 and gck2.
+ Updated translations.
-------------------------------------------------------------------
Mon Sep 5 13:07:46 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.92.0:
+ This is the beta release of gcr4, which is a major version bump
after gcr3 with several API and ABI breaks.
+ `GcrCertificateSection` and `GcrCertificateField` have been
added, which now allow consumers to more easily create their
own GcrCertificate-based UIs.
+ gcr4 will no longer ship UI libraries, i.e. gcr-gtk3 or
gcr-gtk4.
+ `GcrComparable` and `GckList` have been removed.
- Drop pkgconfig(gtk+-3.0) BuildRequires, no longer needed, nor
supported. Following upstream changes, stop passing gtk3=true to
meson.
- Drop sub-package typelib-1_0-GcrUi-3, it was already gone since
3.90.0 release.
-------------------------------------------------------------------
Wed Aug 3 12:34:45 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.90.0:
+ The "gcr" pkgconfig package now no longer contains the UI
widgets (i.e. the former "gcr-base" package)..
+ "gcr-ui" no longer exists. There is now "gcr-gtk3" and
"gcr-gtk4" for the GTK3 and GTK4 versions respectively. These
might be removed from by the beta release however, in favor of
widgets for each DE (e.g. libadwaita or libgranite or ...).
+ All deprecated API has been removed, as well as most UI-related
code. This includes most widgets, GcrColumn and any icons.
+ Most GObject-based code has been updated to use modern
constructs like the `G_DECLARE_*` macros.
+ "pkcs11.h" and "pkcs11.vapi" have been removed. If you used
"pcks11.h", this is provided by the p11-kit package. If you
used pkcs11.vapi, you'll have to copy it directly in your
repository.
+ The org.gnome.crypto.pgp schema is no longer shipped. The
options provided in it are part of GPG configuration files.
+ The minimally required version of Meson is now 0.59.
+ All `GcrCollection` based APIs are now ported to `GListModel`.
+ Added lookup of trust assertions for distrusted certs.
+ Updated translations.
- Drop b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch: fixed
upstream.
-------------------------------------------------------------------
Mon Jul 18 10:01:59 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.41.1:
+ meson: Fix unknown kw argument in gnome.generate_gir.
+ gcr: Add G_SPAWN_CLOEXEC_PIPES flag to all the g_spawn
commands.
+ docs: Port from gtk-doc to gi-docgen.
+ Unbreak build without systemd.
+ Several CI fixes.
+ Updated translations.
- Drop b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch: Fixed
upstream.
- Replace gtk-doc with pkgconfig(gi-docgen) BuildRequires following
upstreams port.
- Use ldconfig_scriptlets macro for post(un) handling.
- Split out doc subpackage.
- Add fdupes BuildRequires and macro, remove duplicate files.
- Build data and doc sub-packages as noarch.
-------------------------------------------------------------------
Tue Feb 1 13:47:46 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Add b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch: Fix build
with meson 060.0 and newer.
-------------------------------------------------------------------
Tue Oct 5 08:18:33 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.41.0:
+ Port ssh-agent from gnome-keyring.
+ build: Fix parallel build failure due to missing marshal
dependency.
+ Fix warnings by dropping `volatile` for g_once_init_inter
locations.
+ tests: More robust against GTask unref race condition.
+ Updated translations.
- Add pkgconfig(libsecret-1), pkgconfig(libsystemd),
pkgconfig(systemd) and openssh-clients BuildRequires: Build new
standalone ssh-agent, and split it out in own sub-package.
-------------------------------------------------------------------
Sat Apr 17 12:46:53 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.40.0:
+ FEATURE: add hkps://keys.openpgp.org to keyserver defaults.
+ gcr/key-mechanism: Port to GTask.
+ GckCall: Simplify the code by using GTask based implementation.
+ Updated translations.
- Make use of the new gpg_path meson option by passing
%{_bindir}/gpg2 as value to it: We know that openSUSE installs
gpg2 to this path. Allows to drop gpg2 BuildRequires.
- Drop pkgconfig(gtk+-x11-3.0) BuildRequires: no longer needed.
-------------------------------------------------------------------
Wed Jan 13 07:58:16 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.38.1:
+ ui: Set "use-underline" for GcrImportButton.
+ Updated translations.
-------------------------------------------------------------------
Mon Oct 5 15:45:08 UTC 2020 - dimstar@opensuse.org
- Update to version 3.38.0:
+ No changes from 3.37.91.
- Changes from version 3.37.91:
+ meson: missing dependency on generated oids header.
+ Correct display of key usage extensions.
+ meson: Correctly set internal vapi dependencies.
+ Cleanup GType boilerplate.
+ gck: Fixed test failures.
+ Updated translations.
-------------------------------------------------------------------
Wed Apr 29 20:43:24 UTC 2020 - Michael Gorse <mgorse@suse.com>
- Enable FIPS patch on Leap (jsc#SLE-11855).
-------------------------------------------------------------------
Wed Mar 11 10:43:15 UTC 2020 - bjorn.lie@gmail.com
- Update to version 3.36.0:
+ gcr: Update gtk-doc get_der_data() vfunc.
+ Updated translations.
-------------------------------------------------------------------
Tue Feb 18 16:41:52 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.35.91:
+ Mark deprecated functions with G_DEPRECATED.
+ egg-oid: Add comments for translators for new abbrevations.
+ Updated translations.
-------------------------------------------------------------------
Wed Feb 12 17:54:13 CET 2020 - dimstar@opensuse.org
- Update to version 3.35.90:
+ Add support for "NEW CERTIFICATE REQUEST" header.
+ Add support for GOST certificates.
+ Rework handling of ASN.1 standard types.
+ Fix a few regressions in the Meson build.
+ Add support for g_autoptr.
+ Fixed some compiler warnings.
- Changes from version 3.35.1:
+ gcr-certificate: Add (virtual) annotation.
+ Always use G_PARAM_STATIC_STRINGS.
+ Support Meson build system.
+ Avoid potential 64-bit pointer aliasing alignment issues.
+ Update README to mention correct environment variables.
+ build: Use sed for .desktop variables substitution.
+ Updated translations.
- Switch to meson buildsystem: replace configure/make/make_install
macros with the meson/meson_build/meson_install counterparts.
-------------------------------------------------------------------
Sat Jan 25 14:07:55 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- No longer recommend -lang: supplements are in use
-------------------------------------------------------------------
Thu Nov 28 09:57:41 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix usage of libexecdir instead of prefix/lib where applicable.
-------------------------------------------------------------------
Mon Oct 14 16:40:55 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.34.0:
+ gcr-prompt-dialog: Allow the use of mnemonics in the choice
label (glgo#GNOME/gcr!22).
+ Use python3 shebang in ui/icons/render-icons.py
(glgo#GNOME/gcr!21).
+ configure: Use PKG_PROG_PKG_CONFIG instead of reinventing it
(glgo#GNOME/gcr!20).
+ Replace tap-gtester with one that relies on GLib 2.38+ TAP
output (glgo#GNOME/gcr!19).
+ Remove SKS network from keyserver defaults (glgo#GNOME/gcr!18).
+ Updated translations.
-------------------------------------------------------------------
Sat Aug 31 20:04:28 CDT 2019 - mgorse@suse.com
- Update to version 3.33.4:
+ Move from intltool to gettext.
+ Fix parameter type for signal handler causing stack smashing on
ppc64le.
+ cleanup: Don't use deprecated g_type_class_add_private()
anymore.
+ Fix GIR annotations.
+ Fix hashtable ordering assumptions.
+ build: Fix gcr-trust symbols not appearing in GIR, and hence
also VAPI.
+ Update gcr_pkcs11_get_trust_{store|lookup}_slot URI checks.
+ build: Update tap scripts for Python 3 compat.
+ Updated translations.
- Drop intltool dependency, and add gettext.
-------------------------------------------------------------------
Fri Jan 18 19:44:17 UTC 2019 - bjorn.lie@gmail.com
- Update to version 3.28.1:
+ system-prompter: Fix use of g_hash_table_lookup_extended.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 12 15:10:21 UTC 2018 - dimstar@opensuse.org
- Update to version 3.28.0:
+ Fix year 2038 workaround in ASN.1 decoder (bgo#787963).
+ Fix test errors when ssh-keygen is not found.
+ Updated translations.
-------------------------------------------------------------------
Sun Mar 11 09:16:50 UTC 2018 - dimstar@opensuse.org
- Supplement the new gcr-ssh-askpass for gpg2 and gnome-shell:
GNOME users want to have this available to enter the ssh key
passwords.
-------------------------------------------------------------------
Fri Mar 9 16:42:27 UTC 2018 - jengelh@inai.de
- Fix SRPM group. Update package summaries.
-------------------------------------------------------------------
Mon Mar 5 19:05:27 UTC 2018 - dimstar@opensuse.org
- Update to version 3.27.92:
+ Provide API for reliably calling ssh programs (bgo#735873).
+ Updated translations.
- Split new subpackage gcr-ssh-askpass, recommended by the main
library.
-------------------------------------------------------------------
Wed Feb 28 16:25:51 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Tue Feb 27 04:27:04 UTC 2018 - luc14n0@linuxmail.org
- Update to version 3.27.4:
+ Fixes:
- Encoding of EC parameters (bgo#785234).
- Hang in certificate export dialog (bgo#789804).
- Failure case in gcr_secure_memory_try_realloc() (bgo#775685).
+ Switch to using GLib resources.
+ Build fixes: bgo#771052, bgo#775685, bgo#775966, bgo#774312,
bgo#774311, bgo#764562, bgo#764569.
+ Updated translations.
- Drop %desktop_database_*, %mime_database_*, %icon_theme_cache_*
and %glib2_gsettings_schema_* post/postun scriptlets and
%glib2_gsettings_schema_requires macro: they're no longer needed
since RPM File Triggers cover their functionality now.
- Drop shared-mime-info BuildRequires: it's no longer needed now
that its macros are not used anymore.
- Drop pkgconfig(libtasn1) BuildRequires: it's no longer needed nor
used anymore.
- Adopt the use of %make_build macro rather than raw make command,
following the best practices.
- Add gtk-doc BuildRequires and pass enable-gtk-doc to configure as
the API's documentation is desired.
- Add pkgconfig(gtk+-x11-3.0) BuildRequires: it was being pulled
by gtk+-3.0 pkgconfig module and used already, since both of them
lives in gtk3-devel package.
- Rebase gcr-bsc932232-use-libgcrypt-allocators.patch.
-------------------------------------------------------------------
Tue Feb 27 04:05:25 UTC 2018 - dimstar@opensuse.org
- Use SPDX3.0 license tags and package COPYING as %license.
-------------------------------------------------------------------
Mon Feb 26 20:11:42 UTC 2018 - crrodriguez@opensuse.org
- Add explicit pkgconfig(pango) and pkgconfig(cairo) BuildRequires:
closer alignment with what configure checks for.
-------------------------------------------------------------------
Wed Aug 31 08:09:34 UTC 2016 - fezhang@suse.com
- Add openSUSE conditional macro and description tag for existing
patches in specfile.
-------------------------------------------------------------------
Fri Apr 15 20:21:06 CEST 2016 - hpj@suse.com
- Update to GNOME 3.20 -- Fate#318572.
-------------------------------------------------------------------
Fri Mar 25 15:10:44 UTC 2016 - zaitor@opensuse.org
- Update to version 3.20.0:
+ Build fixes (bgo#763488, bgo#766301).
+ Updated translations.
-------------------------------------------------------------------
Tue Jan 19 13:07:06 UTC 2016 - dimstar@opensuse.org
- Update to version 3.19.4:
+ Build fixes (bgo#756235, bgo#755873).
+ Updated translations.
-------------------------------------------------------------------
Thu Nov 26 02:54:47 CET 2015 - hpj@suse.com
- Add gcr-bsc932232-use-libgcrypt-allocators.patch (bsc#932232).
-------------------------------------------------------------------
Tue Sep 29 10:05:20 UTC 2015 - zaitor@opensuse.org
- Update to version 3.18.0:
+ Updated translations.
-------------------------------------------------------------------
Tue Aug 4 09:52:14 UTC 2015 - zaitor@opensuse.org
- Update to version 3.17.4:
+ Bump up the GTK+ deps.
+ Build fixes.
+ Updated translations.
-------------------------------------------------------------------
Tue May 12 18:56:11 UTC 2015 - zaitor@opensuse.org
- Update to version 3.16.0:
+ No changes from 3.15.92.
-------------------------------------------------------------------
Wed Mar 18 08:25:03 UTC 2015 - dimstar@opensuse.org
- Update to version 3.15.92:
+ Build fixes (bgo#745629).
+ Updated translations.
-------------------------------------------------------------------
Wed Feb 25 22:26:51 UTC 2015 - dimstar@opensuse.org
- Update to version 3.15.90:
+ Fix memory leaks (bgo#738508, bgo#739239).
+ Build fixes (bgo#743201, bgo#739449, #bgo737622).
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 23 09:26:33 UTC 2014 - dimstar@opensuse.org
- Update to version 3.14.0:
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 9 18:42:06 UTC 2014 - dimstar@opensuse.org
- Update to version 3.13.91:
+ Add support for parsing EC keys (bgo#672137).
+ Add support for EC keys to key renderer.
+ Parser support for PEM 'PUBLIC KEY' files.
+ Parser support for parsing ECDSA OpenSSH keys.
+ Fix use of libgcrypt 1.6+.
+ Fix for deprecations in Gtk 3.13.x.
+ Use g_debug() instead of our own debug wrappers.
+ Bump required GLib version to 2.38.x.
+ Don't include deprecated library in our pkg-config file
(bgo#732082).
+ Don't use non-portable 'sed -i' shell command (bgo#728506).
+ Change CVS to Git in error message (bgo#730340).
+ Build fixes.
+ Updated translations.
-------------------------------------------------------------------
Sat May 17 07:37:48 UTC 2014 - zaitor@opensuse.org
- Update to version 3.12.2:
+ Updated translations.
-------------------------------------------------------------------
Thu Apr 3 20:02:05 UTC 2014 - dimstar@opensuse.org
- Require typelib-1_0-Gck-1 by typelib-1_0-Gcr-3: this is a work-
around for upstreams broken files, which results in Gcr having
internally the version '3.broken' instead of '3' (bgo#725501).
-------------------------------------------------------------------
Sun Mar 23 09:24:21 UTC 2014 - zaitor@opensuse.org
- Update to version 3.12.0:
+ Use /usr/bin/env to find python (bgo#726909).
+ Updated translations.
-------------------------------------------------------------------
Fri Mar 7 08:12:00 UTC 2014 - dimstar@opensuse.org
- Update to version 3.11.91:
+ Parallel tests, non-recursive Makefile, and TAP.
+ Add gck_enumerator_set_object_type_full() function.
+ Add an accessor for GckAttribute raw value data.
+ Add gcr_certificate_get_markup() function.
+ Store imported key filename in GcrParsed & GcrParser
(bg#705225).
+ Allow using GBytes with GcrParser (bgo#708736).
+ Lots of VAPI and GIR fixes (bgo#720504 and others).
+ Deprecation fixes.
- Add xsltproc BuildRequires: new dependency.
-------------------------------------------------------------------
Thu Oct 17 06:34:41 UTC 2013 - dimstar@opensuse.org
- Update to version 3.10.1:
+ Updated translations.
-------------------------------------------------------------------
Mon Sep 23 19:44:57 UTC 2013 - zaitor@opensuse.org
- Update to version 3.10.0:
+ Fix annotations (bgo#705225).
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 3 09:18:01 UTC 2013 - dimstar@opensuse.org
- Update to version 3.9.91:
+ Bugs fixed: bgo#707077, bgo#707078.
+ Updated translations.
-------------------------------------------------------------------
Mon Aug 26 17:04:58 UTC 2013 - dimstar@opensuse.org
- Update to version 3.9.90:
+ GcrCertificateWidget: inherit from GtkBin, not GtkWidget
(bgo#701048).
+ Made gcr-certificate-renderer close the dialog when clicking
okay (bgo#699543).
+ Port to new p11-kit managed style functions.
+ Testing fixes (bgo#705139).
+ Build fixes (bgo#695973).
-------------------------------------------------------------------
Wed May 1 08:16:19 UTC 2013 - dimstar@opensuse.org
- Update to version 3.9.1:
+ Vapi bindings (bgo#689685).
+ Don't import to 'xdg' module in the importer.
+ Add appropriate icon for p11-kit trust module.
+ Handle cases where no certificate data is available.
+ Build fixes.
- Add vala BuildRequires: new dependency for the vapi bindings.
-------------------------------------------------------------------
Tue Apr 16 08:40:13 UTC 2013 - dimstar@opensuse.org
- Update to version 3.8.1:
+ Fix erroneously cancelled prompts.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 25 11:40:54 UTC 2013 - dimstar@opensuse.org
- Update to version 3.8.0:
+ Fix crash when hashing an unsupported attributes (bgo#696305).
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 18 08:40:41 UTC 2013 - dimstar@opensuse.org
- Update to version 3.7.92:
+ Have the gcr-prompter replace the running prompter.
+ Fix segfault when prompt is dismissed immediately.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 4 19:12:25 UTC 2013 - dimstar@opensuse.org
- Update to version 3.7.91:
+ Bugs fixed: bgo#687980, bgo#692536, bgo#693440, bgo#693591.
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 4 22:29:06 UTC 2013 - dimstar@opensuse.org
- Update to version 3.7.5:
+ Separate the base and ui parts of the Gcr library more
thoroughly.
+ Fix crasher in armor parsing code.
+ Build fixes.
+ Updated translations.
- Create new sub-package typelib-1_0-GcrUi-3, following upstreams
split of the Ui part of the library.
-------------------------------------------------------------------
Wed Dec 26 23:14:21 UTC 2012 - dimstar@opensuse.org
- Update to version 3.7.2:
+ Fix corner case in DER parsing.
+ Fix crash when parsing invalid DER.
+ More complete test coverage.
+ Other minor fixes.
+ Build fixes.
-------------------------------------------------------------------
Mon Dec 26 22:04:21 UTC 2012 - dimstar@opensuse.org
- Update to version 3.7.1:
+ Allow system prompts to be cancelled while in 'checking' state.
+ Cancel system prompts when the prompter goes away.
+ Use gnome-common code coverage macros.
+ Build fixes.
+ Updated translations.
-------------------------------------------------------------------
Sun Dec 9 14:38:06 UTC 2012 - dimstar@opensuse.org
- Add baselibs.conf in order to provide these -32bit packages:
+ libgck-1-0.
+ libgck-devel.
+ libgcr-3-1 (Needed by libgdata13-32bit).
+ libgcr-devel.
-------------------------------------------------------------------
Tue Nov 13 12:07:41 UTC 2012 - dimstar@opensuse.org
- Update to version 3.6.2:
+ Updated translations.
-------------------------------------------------------------------
Mon Oct 15 21:37:26 UTC 2012 - dimstar@opensuse.org
- Update to version 3.6.1:
+ Clear and focus password entry in gcr-viewer when invalid
password.
+ Keep enumerating if getting info about one slot fails.
+ Testing fixes.
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 25 15:31:42 UTC 2012 - dimstar@opensuse.org
- Update to version 3.6.0:
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 18 19:43:57 UTC 2012 - zaitor@opensuse.org
- Enable parallel building again.
-------------------------------------------------------------------
Tue Sep 18 13:29:01 UTC 2012 - dimstar@opensuse.org
- Update to version 3.5.92:
+ Updated translations.
-------------------------------------------------------------------
Mon Aug 20 16:57:41 UTC 2012 - dimstar@opensuse.org
- Update to version 3.5.90:
+ Don't fail preconditions when pkcs11 isn't initialized in gcr.
+ Fix regression in ASN.1 parsing.
+ Build fixes.
+ Updated translations.
-------------------------------------------------------------------
Mon Aug 6 19:20:19 UTC 2012 - dimstar@opensuse.org
- Update to version 3.5.5:
+ Use p11-kit/pkcs11.h instead of shipping a copy with gck.
+ Documentation fixes.
+ Updated translations.
-------------------------------------------------------------------
Wed Jul 18 08:11:52 UTC 2012 - dimstar@opensuse.org
- Update to version 3.5.4:
+ Add debug output to GcrSecretExchange
+ Fix invalid warning when sending a secret exchange
+ Remove support code for old glib versions
+ Documentation fixes
+ Updated translations.
-------------------------------------------------------------------
Mon Jun 25 19:49:50 UTC 2012 - dimstar@opensuse.org
- Update to version 3.5.3:
+ Rework DER parsing so we can parse odd PKCS#12 files.
+ Use GBytes, bump glib dependency.
+ Enable gnome2 keyring storage.
+ Documentation fixes.
+ Updated translations.
-------------------------------------------------------------------
Tue Apr 17 05:59:13 UTC 2012 - vuntz@opensuse.org
- Update to version 3.4.1:
+ Fix more issues disabling grabs during password prompts
+ More debug messages to GcrSystemPrompter
+ Fix up GCR_DEBUG and GCK_DEBUG environment variables
+ Build fixes
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 26 13:20:40 UTC 2012 - vuntz@opensuse.org
- Update to version 3.4.0:
+ No changes.
-------------------------------------------------------------------
Mon Mar 19 19:03:30 UTC 2012 - zaitor@opensuse.org
- Update to version 3.3.92:
+ Fix up copyright headers.
+ Build fix.
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 1 16:44:43 UTC 2012 - vuntz@opensuse.org
- Update to version 3.3.90:
+ Expose the secure memory API
- Remove xz BuildRequires now that it comes for free in the build
system.
-------------------------------------------------------------------
Fri Feb 10 17:01:44 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.5:
+ Add way to specify button labels for a GcrPrompt.
+ Reenable grabs for password prompts.
-------------------------------------------------------------------
Mon Jan 16 16:50:36 UTC 2012 - vuntz@opensuse.org
- Update to version 3.3.4:
+ Display an appropriate title in gcr-viewer
+ Include GcrPrompt documentation
+ Add 'new-prompt' signal to GcrSystemPrompter for use with
javascript
+ Fix build for glib 2.31 deprecations
+ Build fixes
-------------------------------------------------------------------
Wed Dec 21 13:51:49 UTC 2011 - vuntz@opensuse.org
- Update to version 3.3.3.1:
+ Fix build issues
-------------------------------------------------------------------
Mon Dec 19 12:39:15 UTC 2011 - vuntz@opensuse.org
- Update to version 3.3.3:
+ Add support for parsing PKCS#10 and SPKAC formats in GcrParser
+ Add support for viewing certificate requests in GcrViewer
+ Support for dynamically loading private key data from PKCS#11
+ Add GcrCertificateRequest class for requesting certificates
+ Add function to retrieve basic constraints from a certificate
+ Show import errors in an info bar under the viewer
+ Don't show empty dates in gnupg key renderer
+ Make secure memory pool shared across modules
+ Add GckBuilder as a mutable attribute set
+ Add floating references to GckAttributes
+ Rename GckObjectAttributes to GckObjectCache
+ Expose GcrSecureEntryBuffer as a public class
+ Add system prompt and prompter
+ Expose uri in GcrImporter
+ Fix build for glib 2.31 deprecations
+ Licensing fixes
+ Build fixes, internal bug fixes, documentation, etc.
- Add dbus-1 BuildRequires: needed for directory ownership.
- Add pkgconfig(gio-unix-2.0) BuildRequires: new dependency.
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Create a gcr-prompter subpackage for the new gcr-prompter binary.
As it is required by libgcr for some uses, add a Requires for it
to libgcr-3-1.
- Add a gcr Provides to libgcr-3-1 to make the lang subpackage
installable.
- Add a gck Provides to libgck-1-0, as a helper for gnome-keyring
where we want an explicit Requires on this library package.
-------------------------------------------------------------------
Thu Dec 8 11:29:40 UTC 2011 - dimstar@opensuse.org
- Split typelib files into their own subpackages: typelib-1_0-Gcr-3
and typelib-1_0-Gck-1.
- Add typelib-1_0-Gcr-3 Requires to libgcr-devel and
typelib-1_0-Gck-1 Requires to libgck-devel.
-------------------------------------------------------------------
Tue Nov 22 22:07:39 UTC 2011 - dimstar@opensuse.org
- Update to version 3.3.2.1:
+ Fix build issues
- Drop gcr-glib-includes.patch: fixed upstream.
-------------------------------------------------------------------
Mon Nov 21 13:39:59 UTC 2011 - dimstar@opensuse.org
- Update to version 3.3.2:
+ Allow changing collection on a GcrCollectionModel, add
tree/list mode to GcrCollectionModel
+ Allow chaining of GckEnumerator objects, so that when objects
from one is listed, then chained enumerator is enumerated.
+ Integrate GTlsInteraction into libgck for logging in or key
auth.
+ Refactor internal DER parsing to use reference counted memory
using the prototyped GBytes API.
+ Build fixes, documentation fixes, testing fixes, memory leak
fixes.
- Add gcr-glib-includes.patch: Don't include internal glib headers.
- Re-add gobject-introspection-devel BuildRequires to re-enable
introspection support.
- Add gpg2 BuildRequires as configure is looking for the binary.
-------------------------------------------------------------------
Thu Oct 27 12:58:03 UTC 2011 - dimstar@opensuse.org
- Initial package, library has been split out of gnome-keyring.

256
gcr.spec Normal file
View File

@ -0,0 +1,256 @@
#
# spec file for package gcr
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gcr
Version: 4.1.0
Release: 0
# FIXME: Verify if the requires in typelib-1_0-Gcr-4 is still correct and required (see bgo#725501).
Summary: Library for Crypto UI related tasks
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
URL: http://www.gnome.org
Source0: https://download.gnome.org/sources/gcr/4.1/%{name}-%{version}.tar.xz
Source1: baselibs.conf
# PATCH-FIX-SLE gcr-bsc932232-use-libgcrypt-allocators.patch bsc#932232 hpj@suse.com -- use libgcrypt allocators for FIPS mode
Patch1: gcr-bsc932232-use-libgcrypt-allocators.patch
# For directory ownership
BuildRequires: dbus-1
BuildRequires: fdupes
BuildRequires: gettext >= 0.19.8
BuildRequires: gobject-introspection-devel >= 1.34
# configure is looking for the gpg2 path
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: libgcrypt-devel >= 1.4.5
BuildRequires: meson >= 0.59
BuildRequires: openssh-clients
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.18.0.22
BuildRequires: xsltproc
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(gmodule-no-export-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(p11-kit-1) >= 0.19.0
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(systemd)
%description
GCR is a library for displaying certificates, and crypto UI, accessing
key stores.
GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.
%package viewer
Summary: Viewer for Crypto Files
Group: Productivity/Security
%description viewer
This packages provides the viewer for crypto files on the GNOME desktop.
key stores.
GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.
%package ssh-askpass
Summary: SSH password callback helper for gcr
Group: System/Libraries
Supplements: (gpg2 and gnome-shell)
%description ssh-askpass
gcr-ssh-askpass allows an ssh command to callback for a password.
%package ssh-agent
Summary: SSH agent binary for gcr
Group: System/Libraries
Supplements: (gpg2 and gnome-shell)
%description ssh-agent
gcr-ssh-agent as a standalone binary, so that it can easily be
managed through systemd.
%package -n libgcr-4-4
Summary: Library for Crypto UI related tasks
Group: System/Libraries
Recommends: %{name}-ask-pass
Recommends: %{name}-ssh-agent
Recommends: %{name}-viewer = %{version}
# To make lang package installable
Provides: %{name} = %{version}
%description -n libgcr-4-4
GCR is a library for displaying certificates, and crypto UI, accessing
key stores.
%package -n typelib-1_0-Gcr-4
Summary: Introspection bindings for gcr, a library for crypto UI related tasks
# Due to broken typelib files, this one cannot be automatically inspected
Group: System/Libraries
Requires: typelib-1_0-Gck-2
%description -n typelib-1_0-Gcr-4
GCR is a library for displaying certificates, and crypto UI, accessing
key stores.
This package provides the GObject Introspection bindings for GCR.
%package -n libgcr-devel
Summary: Development files for gcr, a library for crypto UI related tasks
Group: Development/Libraries/GNOME
Requires: libgcr-4-4 = %{version}
Requires: typelib-1_0-Gcr-4 = %{version}
%description -n libgcr-devel
GCR is a library for displaying certificates, and crypto UI, accessing
key stores.
%package -n libgck-2-2
Summary: GObject library to access PKCS#11 modules
# Small hack, to help gnome-keyring subpackage containing gck
# modules have a proper dependency, without having to care about
# the soname.
Group: System/Libraries
Provides: gck = %{version}
%description -n libgck-2-2
GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.
%package -n typelib-1_0-Gck-2
Summary: Introspection bindings for gck, a GObject library to access PKCS#11 modules
Group: System/Libraries
%description -n typelib-1_0-Gck-2
GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.
This package provides the GObject Introspection bindings for GCK.
%package -n libgck-devel
Summary: Development files for gck, a GObject library to access PKCS#11 modules
Group: Development/Libraries/GNOME
Requires: libgck-2-2 = %{version}
Requires: typelib-1_0-Gck-2 = %{version}
%description -n libgck-devel
GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.
%package doc
Summary: Documentation for gcr
BuildArch: noarch
%description doc
This packages provides the documentation for various gcr packages.
%lang_package
%prep
%setup -q -n gcr-%{version}
%if 0%{?sle_version}
%patch1 -p1
%endif
%build
%meson \
-Dgpg_path=%{_bindir}/gpg2 \
-Dgtk4=true \
%nil
%meson_build
%install
%meson_install
%find_lang gcr-4
# Make default docdir ref openSUSE standard
mkdir -p %{buildroot}%{_docdir}
# Move docs from upstream docdir to openSUSE docdir standard
mv %{buildroot}%{_datadir}/doc/gcr-4* %{buildroot}%{_docdir}
mv %{buildroot}%{_datadir}/doc/gck-2* %{buildroot}%{_docdir}
%fdupes %{buildroot}%{_docdir}
%ldconfig_scriptlets -n libgcr-4-4
%ldconfig_scriptlets -n libgck-2-2
%post -n %{name}-ssh-agent
%systemd_user_post gcr-ssh-agent.service
%preun -n %{name}-ssh-agent
%systemd_user_preun gcr-ssh-agent.service
%files viewer
%license COPYING
%doc NEWS
%{_bindir}/gcr-viewer-gtk4
%files ssh-askpass
%{_libexecdir}/gcr4-ssh-askpass
%files ssh-agent
%{_libexecdir}/gcr-ssh-agent
%{_userunitdir}/gcr-ssh-agent.service
%{_userunitdir}/gcr-ssh-agent.socket
%files -n libgcr-4-4
%license COPYING
%doc NEWS
%{_libdir}/libgcr-4*.so.*
%files -n typelib-1_0-Gcr-4
%{_libdir}/girepository-1.0/Gcr-4.typelib
%files -n libgcr-devel
%{_libdir}/libgcr-4*.so
%{_libdir}/pkgconfig/gcr-4.pc
%{_includedir}/gcr-4/
%{_datadir}/gir-1.0/Gcr-4.gir
%{_datadir}/vala/vapi/gcr-4.deps
%{_datadir}/vala/vapi/gcr-4.vapi
%files -n libgck-2-2
%license COPYING
%doc NEWS
%{_libdir}/libgck-2.so.*
%files -n typelib-1_0-Gck-2
%{_libdir}/girepository-1.0/Gck-2.typelib
%files -n libgck-devel
%{_libdir}/libgck-2.so
%{_libdir}/pkgconfig/gck-2.pc
%{_includedir}/gck-2/
%{_datadir}/gir-1.0/Gck-2.gir
%{_datadir}/vala/vapi/gck-2.deps
%{_datadir}/vala/vapi/gck-2.vapi
%files lang -f gcr-4.lang
%files doc
%doc %{_docdir}/gcr-4*
%doc %{_docdir}/gck-2*
%changelog