head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.05.03.09.51.11;	author vins;	state Exp;
branches;
next	;
commitid	cNoZOlxjiDUGSlEG;


desc
@@


1.1
log
@security/gcri4: import gcr4-4.4.0.1 from wip

This package installs gcr4/gck2, which is a major version bump
after gcr3 with several API and ABI breaks.

GCR-4 can be installed alongside security/gcr. The rationale for keeping
gcr-3 in repo and offering gcr-4 as a separate package, is that a lot of
software still looks for and/or depends on gcr-3, while some other has
moved over gcr-4 already and won't accept any GCR version below.

-----------------------------------------------------------------------

GCR is a library for displaying certificates, and crypto UI, accessing
key stores. It also provides the viewer for crypto files on the GNOME
desktop.

GCK is a library for accessing PKCS#11 modules like smart cards, in a
(G)object oriented way.

-----------------------------------------------------------------------

Changes between the last 3.x point release and the most recent 4.4.0.1
are listed below:

gcr 4.4.0.1:
- meson: Fix gck vesion

gcr 4.4.0:
- gcr: Add OID for Extended Key Usage
- gcr: Avoid g_strv_builder_unref_to_strv() [GNOME/gcr!167]
- gck: Disable parallel tests using gck-mock module [GNOME/gcr!165]
- meson: Do a stricter check on GLib version [GNOME/gcr!166]
- gcr: Support parsing ed25519 SSH public keys [GNOME/gcr!164]
- Updated translations

gcr 4.3.91:
- Several updates to the CI
- gcr: Implement Certificate Policies extension [GNOME/gcr!153]
- gcr: Implement Authority Information Access (AIA) extension [GNOME/gcr!159]
- gcr: Implement Authority Key Identifier extension [GNOME/gcr!161]
- gcr: Implement CRL Distribution Points extension [GNOME/gcr!163]
- gcr: Add GcrGeneralNames helper object [GNOME/gcr!162]
- gck: Add missing finish-func annotation to gck_slot_open_session_full_async
- Migrate away from g_assert() in some unit tests
- Updated translations

gcr 4.3.90:
- gcr: Add new GcrCertificateExtension API [GNOME/gcr!150]
- gcr: Vala override for CertificateField.get_value [GNOME/gcr!144]
- Fix meson test failures in FIPS mode [GNOME/gcr!145]
- doap: Remove invalid maintainer entry [GNOME/gcr!147]
- tests: Replace echo -n by printf [GNOME/gcr!148]
- build: Avoid redundant libegg linking into gck tests [GNOME/gcr!149]
- build: Fix some GLib/GTK deprecation warnings [GNOME/gcr!151]
- ssh-agent: Request rsa-sha2-256 signature in tests [GNOME/gcr!154]
- Updated translations

gcr 4.3.0:
- certificate: Add API to retrieve version [GNOME/gcr!135]
- Bump required GnuTLS version to 3.8.5 [GNOME/gcr!142]
- Avoid potential integer overflow spotted by UBSan [GNOME/gcr!141]
- Support GnuTLS as an alternative crypto backend [GNOME/gcr!140]
- Updated translations

gcr 4.2.1:
- gcr-ssh-agent: set `SSH_AUTH_SOCK` [GNOME/gcr!137]
- gcr-ssh-agent: port avoid deadlock fix [GNOME/gcr!136]
- Updated translations

gcr 4.2.0:
- gcr-ssh-agent: add command line options to gcr-ssh-agent [GNOME/gcr!129]
- gcr-ssh-agent: Fix memory leak spotted by ASan [GNOME/gcr!133]
- gcr-ssh-agent: Port memory safety fixes from gnome-keyring ssh-agent [GNOME/gcr!128]
- Updated translations

gcr 4.1.0:
- The soversion is now properly set to 4.
- certificate: Print dates in ISO8601 format [GNOME/gcr!125]
- viewer: Support certificates read from PKCS#11 store [GNOME/gcr!116]
- gcr: Add means to construct GcrCertificate from PKCS#11 URI [GNOME/gcr!117]
- Several smaller fixes found with ASAN
- Stop using GSlice [GNOME/gcr!118]
- a11y: Improve reading of certificate info by screen readers [GNOME/gcr!112]
- Updated translations

gcr 4.0.0:
- `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
- 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
@
text
@# $NetBSD$

BUILDLINK_TREE+=	gcr4

.if !defined(GCR4_BUILDLINK3_MK)
GCR4_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.gcr4+=	gcr4>=4.4.0
BUILDLINK_PKGSRCDIR.gcr4?=	../../security/gcr4

.include "../../devel/glib2/buildlink3.mk"
.include "../../security/libsecret/buildlink3.mk"
.include "../../security/p11-kit/buildlink3.mk"

pkgbase :=      gcr4
.include "../../mk/pkg-build-options.mk"

.if ${PKG_BUILD_OPTIONS.gcr4:Mgtk4}
.  include "../../x11/gtk4/buildlink3.mk"
.endif

.if ${PKG_BUILD_OPTIONS.gcr4:Mintrospection}
.  include "../../devel/gobject-introspection/buildlink3.mk"
.endif

.if ${PKG_BUILD_OPTIONS.gcr4:Mlibgcrypt}
.  include "../../security/libgcrypt/buildlink3.mk"
.elif ${PKG_BUILD_OPTIONS.gcr4:Mgnutls}
.  include "../../security/gnutls/buildlink3.mk"
.endif

.endif	# GCR4_BUILDLINK3_MK

BUILDLINK_TREE+=	-gcr4
@
