pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jan  5 12:44:55 UTC 2026

Modified Files:
        pkgsrc/devel/gdbus-codegen: distinfo
        pkgsrc/devel/glib2: Makefile Makefile.common PLIST distinfo
        pkgsrc/devel/glib2/patches: patch-glib_gatomic.c

Log Message:
glib2 glib2-tools gdbus-codegen: updated to 2.86.3

Overview of changes in GLib 2.86.3, 2025-12-08

* Fix several security vulnerabilities of varying severity (see below for
  details)

* Bugs fixed:
  - (CVE-2025-13601) (#YWH-PGM9867-134) Incorrect calculation of buffer
    size in g_escape_uri_string() (Philip Withnall)
  - (#YWH-PGM9867-145) Buffer underflow on Glib through glib/gvariant via
    bytestring_parse() or string_parse() leads to OOB Write (Philip Withnall)
  - GIO: Integer overflow in file attribute escaping (Philip Withnall)
  - Backport !4901 “Issue 3819: G_FILE_MONITOR_WATCH_HARD_LINK does not
    monitor files on Windows.” to glib-2-86
  - Backport !4914 “gconvert: Error out if g_escape_uri_string() would
    overflow” to glib-2-86
  - Backport !4933 “gvariant-parser: Fix potential integer overflow
    parsing (byte)strings” to glib-2-86
  - Backport !4935 “gfileattribute: Fix integer overflow calculating
    escaping for byte strings” to glib-2-86

Overview of changes in GLib 2.86.2, 2025-11-18

* Fix tests when run against pcre2 10.47 (3809, work by Marco Trevisan and
  others)

* Bugs fixed:
  - GRegex tests fail with pcre2 10.47: different error for ^(a)\g{3
    (Marco Trevisan (Treviño))
  - g_get_user_special_dir doesn't strip trailing slash from $HOME/
    (Tobias Stoeckmann)
  - Backport "gresolver: Fix loopback detection of IPv6 addresses"
  - Backport !4884 “gregex: Handle PCRE2_ERROR_MISSING_NUMBER_TERMINATOR
    if defined” to glib-2-86
  - Backport !4860 “Fix g_memory_monitor_base_query_mem_ratio on Solaris”
    to glib-2-86
  - Backport !4886 “gutils: Strip all trailing slashes” to glib-2-86

Overview of changes in GLib 2.86.1, 2025-10-21

* Bugs fixed:
  - GIRepository: union fields offsets for compiled typelibs all have
    offset 0xffff (unknown) (Philip Chimento)
  - `gio/tests/socket-listener` requires dlsym
  - GLib.OptionContext's get_help() includes width of invisible options
    (FeRD (Frank Dana))
  - [CI] Pipeline on 'main' failed for commit c31c4a52 (Tobias Stoeckmann)
  - Memory leak related to g_get_home_dir (Michael Catanzaro)
  - Gio.AppInfo.launch_default_for_uri_async crashes with non-existent
    paths (Philip Withnall)
  - GNetworkMonitor's netlink backend doesn't notify connectivity change
    (Philip Withnall)
  - https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/
  - ghash: Fix entry_is_big for CHERI architecture
  - ghash: Handle all table sizes in iterator
  - gbookmarkfile: Escape icon href and mime-type
  - docs: Add Luca Bacci as a co-maintainer of the Windows code
  - Update Ukrainian translation
  - Update Catalan translation
  - Update Lithuanian translation
  - tests: Fix clang compilation warnings
  - gmem: Replace SIZE_OVERFLOWS with g_size_checked_mul
  - Update Brazilian Portuguese translation
  - Update eu translation
  - Update Korean translation
  - Update Japanese translation
  - Update Galician translations
  - Update Hungarian translation
  - gstrfuncs: Check string length in g_strescape
  - gutils: Improve load_user_special_dirs' user-dirs.dirs parser
  - Update Turkish translation
  - Trivial backport of "gutils: Handle singletons in unlocked functions"
    to glib-2-86 branch
  - Backport translation updates to glib-2-86
  - Backport !4820 “gio/tests: Fix a race condition in
    /gdbus/connection/flush” to glib-2-86
  - Backport !4827 “ghostutils: Treat 0x80 (and above) as non-ASCII” to
    glib-2-86
  - Backport !4810 and !4819, various fixes to user-dirs.dirs handling in
    gutils
  - Backport !4835 “Update Portuguese translation” to glib-2-86
  - Update Romanian translation
  - Backport "girnode: Fix computation of union member offsets" to
    glib-2-86
  - Update British English translation (2.86)
  - Backport !4859 “gopenuriportal: Fix a crash when the file can’t be
    opened” to glib-2-86
  - Backport !4792 “gtype: Use transfer none for types (un)ref functions”
    to glib-2-86
  - Fix macOS and msys2 CI builds on glib-2-86 branch
  - Backport !4871 “gnetworkmonitorbase: Add missing notify::connectivity
    signal” to glib-2-86

* Translation updates:
  - Basque (Asier Saratsua Garmendia)
  - Catalan (Jordi Mas)
  - English (United Kingdom) (Bruce Cowan)
  - Esperanto (Kristjan ESPERANTO)
  - Galician (Fran Dieguez)
  - Hungarian (Balázs Úr)
  - Japanese (Makoto Sakaguchi)
  - Korean (Changwoo Ryu)
  - Lithuanian (Aurimas Černius)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Rafael Fontenelle)
  - Romanian (Antonio Marin)
  - Serbian (Милош Поповић)
  - Turkish (Sabri Ünal)
  - Ukrainian (Yuri Chornoivan)

Overview of changes in GLib 2.86.0, 2025-09-05

* Rework how platform-specific introspected GIO APIs have to be imported to fix
  problems with backwards-compatibility provision for it, by removing duplicate
  platform-specific symbols from `Gio-2.0`. Users of platform-specific GIO APIs
  should be unaffected, as `GIRepository` will now automatically import
  `GioWin32-2.0` or `GioUnix-2.0` when asked to import `Gio-2.0`. However,
  projects generating introspection data which depends on types from either of
  those platform-specific GIRs must make sure they depend on those GIRs
  explicitly, rather than just transitively depending on them through `Gio-2.0`
  (3744, work by Emmanuele Bassi, Marco Trevisan, Florian Müllner, and others)

* Fix file existence queries on Solaris, broken due to unexpected flags handling
  within `faccessat()` (3770, work by Niveditha Rau)

* Bugs fixed:
  - GDesktopAppInfo API disappeared after girepository-2.0 port (Emmanuele
    Bassi)
  - g_test_trap_subprocess does not check G_TEST_SUBPROCESS_INHERIT_STDIN
    (Philip Withnall)
  - gtestutils: Fix a slightly broken example in a doc comment
  - Update Polish translation 250825
  - Update Swedish translation
  - gio: gmemorymonitorpsi: Replace GRegex with g_str_has_prefix()
  - girepository: Add an assertion to help scan-build
  - glocalfile: Disable faccessat()-based query_exists on Solaris
  - gmessages: Fix win32_keep_fatal_message regression
  - docs: Fix typos
  - Update Chinese translation
  - Update Georgian translation
  - po: Update Persian translation.

* Translation updates:
  - Chinese (China) (lumingzh)
  - Georgian (NorwayFun)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Swedish (Anders Jonsson)


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/devel/gdbus-codegen/distinfo
cvs rdiff -u -r1.310 -r1.311 pkgsrc/devel/glib2/Makefile
cvs rdiff -u -r1.126 -r1.127 pkgsrc/devel/glib2/Makefile.common
cvs rdiff -u -r1.164 -r1.165 pkgsrc/devel/glib2/PLIST
cvs rdiff -u -r1.338 -r1.339 pkgsrc/devel/glib2/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/glib2/patches/patch-glib_gatomic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gdbus-codegen/distinfo
diff -u pkgsrc/devel/gdbus-codegen/distinfo:1.57 pkgsrc/devel/gdbus-codegen/distinfo:1.58
--- pkgsrc/devel/gdbus-codegen/distinfo:1.57    Sun Aug 10 19:04:30 2025
+++ pkgsrc/devel/gdbus-codegen/distinfo Mon Jan  5 12:44:55 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.57 2025/08/10 19:04:30 adam Exp $
+$NetBSD: distinfo,v 1.58 2026/01/05 12:44:55 adam Exp $
 
-BLAKE2s (glib-2.84.4.tar.xz) = b3cda559d32185953a99f150a33531518f526089173f5aa33f4e31a380fdb129
-SHA512 (glib-2.84.4.tar.xz) = 2de9b2f7376c0e5f6ee585087090675d597c474199a10d04aad18df688b6ca77d17e93a86ec07482898663f51c82121992272496318138f77ca5ad2c340a4bd3
-Size (glib-2.84.4.tar.xz) = 5618200 bytes
+BLAKE2s (glib-2.86.3.tar.xz) = 00968c1eb262247f7a30491ca95924bcb56b7e515386afc0e27654541f38c8b2
+SHA512 (glib-2.86.3.tar.xz) = 2b53aba22eef2d21cb40334fe55715bf0ca5009e5e105c462cdedfb45da96cca35e7edc95af27022893832feb5bfc0b0ee554382c8c8f55a2a777b864cfc53ba
+Size (glib-2.86.3.tar.xz) = 5674820 bytes
 SHA1 (patch-meson.build) = 03229e9f8302c09907e7b5f6366f16505efc3ad5

Index: pkgsrc/devel/glib2/Makefile
diff -u pkgsrc/devel/glib2/Makefile:1.310 pkgsrc/devel/glib2/Makefile:1.311
--- pkgsrc/devel/glib2/Makefile:1.310   Thu Oct 23 20:36:19 2025
+++ pkgsrc/devel/glib2/Makefile Mon Jan  5 12:44:55 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.310 2025/10/23 20:36:19 wiz Exp $
+# $NetBSD: Makefile,v 1.311 2026/01/05 12:44:55 adam Exp $
 
-PKGREVISION= 1
 .include "Makefile.common"
 
 CATEGORIES=    devel gnome

Index: pkgsrc/devel/glib2/Makefile.common
diff -u pkgsrc/devel/glib2/Makefile.common:1.126 pkgsrc/devel/glib2/Makefile.common:1.127
--- pkgsrc/devel/glib2/Makefile.common:1.126    Sun Aug 10 19:04:30 2025
+++ pkgsrc/devel/glib2/Makefile.common  Mon Jan  5 12:44:55 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.126 2025/08/10 19:04:30 adam Exp $
+# $NetBSD: Makefile.common,v 1.127 2026/01/05 12:44:55 adam Exp $
 # used by devel/gdbus-codegen/Makefile
 # used by devel/glib2/Makefile
 # used by devel/glib2-tools/Makefile
 
-DISTNAME=      glib-2.84.4
+DISTNAME=      glib-2.86.3
 PKGNAME=       ${DISTNAME:S/glib/glib2/}
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/devel/glib2/PLIST
diff -u pkgsrc/devel/glib2/PLIST:1.164 pkgsrc/devel/glib2/PLIST:1.165
--- pkgsrc/devel/glib2/PLIST:1.164      Sun Aug 10 19:04:30 2025
+++ pkgsrc/devel/glib2/PLIST    Mon Jan  5 12:44:55 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.164 2025/08/10 19:04:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.165 2026/01/05 12:44:55 adam Exp $
 ${PLIST.nococoa}bin/gapplication
 bin/gdbus
 bin/gi-compile-repository
@@ -323,22 +323,22 @@ include/glib-2.0/gobject/gvaluetypes.h
 lib/glib-2.0/include/glibconfig.h
 lib/libgio-2.0.so
 lib/libgio-2.0.so.0
-lib/libgio-2.0.so.0.8400.4
+lib/libgio-2.0.so.0.8600.3
 lib/libgirepository-2.0.so
 lib/libgirepository-2.0.so.0
-lib/libgirepository-2.0.so.0.8400.4
+lib/libgirepository-2.0.so.0.8600.3
 lib/libglib-2.0.so
 lib/libglib-2.0.so.0
-lib/libglib-2.0.so.0.8400.4
+lib/libglib-2.0.so.0.8600.3
 lib/libgmodule-2.0.so
 lib/libgmodule-2.0.so.0
-lib/libgmodule-2.0.so.0.8400.4
+lib/libgmodule-2.0.so.0.8600.3
 lib/libgobject-2.0.so
 lib/libgobject-2.0.so.0
-lib/libgobject-2.0.so.0.8400.4
+lib/libgobject-2.0.so.0.8600.3
 lib/libgthread-2.0.so
 lib/libgthread-2.0.so.0
-lib/libgthread-2.0.so.0.8400.4
+lib/libgthread-2.0.so.0.8600.3
 lib/pkgconfig/gio-2.0.pc
 lib/pkgconfig/gio-unix-2.0.pc
 lib/pkgconfig/girepository-2.0.pc
@@ -352,8 +352,8 @@ ${PLIST.nococoa}libexec/gio-launch-deskt
 share/aclocal/glib-2.0.m4
 share/aclocal/glib-gettext.m4
 share/aclocal/gsettings.m4
-share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.8400.4-gdb.py
-share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.8400.4-gdb.py
+share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.8600.3-gdb.py
+share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.8600.3-gdb.py
 share/gettext/its/gschema.its
 share/gettext/its/gschema.loc
 share/glib-2.0/dtds/gresource.dtd

Index: pkgsrc/devel/glib2/distinfo
diff -u pkgsrc/devel/glib2/distinfo:1.338 pkgsrc/devel/glib2/distinfo:1.339
--- pkgsrc/devel/glib2/distinfo:1.338   Sun Aug 10 19:04:30 2025
+++ pkgsrc/devel/glib2/distinfo Mon Jan  5 12:44:55 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.338 2025/08/10 19:04:30 adam Exp $
+$NetBSD: distinfo,v 1.339 2026/01/05 12:44:55 adam Exp $
 
-BLAKE2s (glib-2.84.4.tar.xz) = b3cda559d32185953a99f150a33531518f526089173f5aa33f4e31a380fdb129
-SHA512 (glib-2.84.4.tar.xz) = 2de9b2f7376c0e5f6ee585087090675d597c474199a10d04aad18df688b6ca77d17e93a86ec07482898663f51c82121992272496318138f77ca5ad2c340a4bd3
-Size (glib-2.84.4.tar.xz) = 5618200 bytes
+BLAKE2s (glib-2.86.3.tar.xz) = 00968c1eb262247f7a30491ca95924bcb56b7e515386afc0e27654541f38c8b2
+SHA512 (glib-2.86.3.tar.xz) = 2b53aba22eef2d21cb40334fe55715bf0ca5009e5e105c462cdedfb45da96cca35e7edc95af27022893832feb5bfc0b0ee554382c8c8f55a2a777b864cfc53ba
+Size (glib-2.86.3.tar.xz) = 5674820 bytes
 SHA1 (patch-gio_gcredentialsprivate.h) = f719ae41a9eb1d2f04d866b246fa5176543f2df9
 SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 9bd0befe0dd547f6f2d818e52bee14e31a017ac7
 SHA1 (patch-gio_glib-compile-schemas.c) = 4fc8e8ba62bef01762007ebf21569053374808d0
@@ -12,7 +12,7 @@ SHA1 (patch-gio_gunixmounts.c) = c5d6f75
 SHA1 (patch-gio_inotify_inotify-kernel.c) = 78544b4c32ef3b44e8721b1c07407f46a9e8c8a4
 SHA1 (patch-gio_meson.build) = 818a1edffec511e70e4b71e639d349816d6b009e
 SHA1 (patch-gio_tests_meson.build) = 864fb2e438c4537e37c2c2e39388d0d0e1795c8c
-SHA1 (patch-glib_gatomic.c) = deb2e74010523ad41ce141aa2f49b807ba2672e6
+SHA1 (patch-glib_gatomic.c) = 5d08e19cc1c2557a5c007af8b368968217ce65b0
 SHA1 (patch-glib_gatomic.h) = d1c39c3594a5c89d196349e5eafb5512795f55f8
 SHA1 (patch-glib_genviron.c) = 45e382a4b5412c69b310fd26482eff6faffa2c0d
 SHA1 (patch-glib_gspawn-posix.c) = ac7536dbb14662d9a8ea27fb32ca911a3b4ab43d

Index: pkgsrc/devel/glib2/patches/patch-glib_gatomic.c
diff -u pkgsrc/devel/glib2/patches/patch-glib_gatomic.c:1.2 pkgsrc/devel/glib2/patches/patch-glib_gatomic.c:1.3
--- pkgsrc/devel/glib2/patches/patch-glib_gatomic.c:1.2 Wed Mar  4 15:11:48 2020
+++ pkgsrc/devel/glib2/patches/patch-glib_gatomic.c     Mon Jan  5 12:44:55 2026
@@ -1,11 +1,11 @@
-$NetBSD: patch-glib_gatomic.c,v 1.2 2020/03/04 15:11:48 wiz Exp $
+$NetBSD: patch-glib_gatomic.c,v 1.3 2026/01/05 12:44:55 adam Exp $
 
 Ignore __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 as is already done
 for android and linux. PR pkg/54298
 
---- glib/gatomic.c.orig        2020-02-27 16:12:52.000000000 +0000
+--- glib/gatomic.c.orig        2025-12-08 15:46:06.000000000 +0000
 +++ glib/gatomic.c
-@@ -94,8 +94,6 @@
+@@ -53,8 +53,6 @@
   * implement the atomic operations in a lock-free manner.
   */
  
@@ -13,8 +13,8 @@ for android and linux. PR pkg/54298
 -
  /**
   * g_atomic_int_get:
-  * @atomic: a pointer to a #gint or #guint
-@@ -658,14 +656,6 @@ gsize
+  * @atomic: (type gconstpointer): a pointer to a #gint or #guint
+@@ -836,14 +834,6 @@ guintptr
    return InterlockedXor (atomic, val);
  #endif
  }



Home | Main Index | Thread Index | Old Index