pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libuuid



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Sep 12 11:49:22 UTC 2026

Modified Files:
        pkgsrc/devel/libuuid: Makefile.common distinfo
        pkgsrc/devel/libuuid/patches: patch-Makefile.in patch-lib_ismounted.c

Log Message:
libuuid, libblkid, mcookie: update to 2.42.3.

util-linux 2.41 Release Notes
=============================

libuuid:
    - Now supports RFC9562 UUIDs.

libblkid:
    - Made many changes to improve detection, including exfat, GPT, LUKS2, bitlocker, etc.

util-linux 2.42 Release Notes
=============================

libblkid:
    - dos validate EBR data and links within extended partition (by Karel Zak)
    - fix stale comment in version.c (by Karel Zak)
    - add LIBBLKID_VERSION to blkid.h, remove redundant config.h versions (by Karel Zak)
    - add debug message for private DM device skip (by Karel Zak)
    - check for private DM device before open (by Zdenek Kabelac)
    - guard loop device code with __linux__ in cache (by Karel Zak, Samuel Thibault)
    - (probe) Account for IO bias when retrieving buffer from parent (by Thomas Weißschuh)
    - fix integer overflows in HFS+ offset calculations (by Karel Zak)
    - fix integer overflow in linux_raid checksum size (by Karel Zak)
    - fix integer overflow in nvidia_raid size check (by Karel Zak)
    - iso9660 validate root directory to reduce false positives (by Karel Zak)
    - remove empty loop devices from cache when garbage collecting (by Christian Goeschel Ndjomouo)
    - (btrfs) use BTRFS_NR_SB_LOG_ZONES and rep->zones (by Karel Zak)
    - zfs fix unaligned memory access on SPARC (by Ameer Hamza)
    - (bcachefs) fix LABEL_SUB probing (by Nikita Ofitserov)
    - (bcachefs) add new bcachefs_sb_member fields (by Nikita Ofitserov)
    - (bcachefs) add members_v2 parsing support (by Nikita Ofitserov)
    - Keep NTFS name unmodified and mount driver independent (by Karel Zak)
    - fix const qualifier warning in blkid_parse_tag_string (by Karel Zak)
    - use snprintf() instead of sprintf() (by Karel Zak)
    - Fix probe_ioctl_tp assigning BLKGETDISKSEQ as physical sector size (by Sam Fink)
    - (ext) reduce false positive (by 胡玮文)
    - improve UUID_SUB= description (by Karel Zak)
    - Add scoutfs filesystem. (by Auke Kok)
    - Fix crash while parsing config with libeconf (by Stanislav Brabec)
    - befs fix underflow (by Milan Broz)
    - avoid strcasecmp() for ASCII-only strings (by Karel Zak)
    - ddf_read validate header checksum (by Thomas Weißschuh)
    - ddf_raid drop little-endian handling (by Thomas Weißschuh)
    - ddf_raid respect constness of buffer (by Thomas Weißschuh)

libblkid/libmount:
    - ntfs return filesystem type 'ntfs3' (by Johannes Schneider)

libblkid/src/topology/dm:
    - fix fscanf return value check to match expected number of parsed items (by Mingjie Shen)

libuuid:
    - reset initial cont-clock time on service start (by Michael Trapp)
    - fix timestamp overflow for pre-1970 dates (by Kiran Rangoon)
    - refactor gregorian_to_unix to populate timeval directly (by Kiran Rangoon)
    - simplify gregorian-to-unix offset calculation (by Kiran Rangoon)
    - fix uuid_time on macOS without attribute((alias)) (by Eugene Gershnik)

util-linux v2.42.1 Release Notes
================================

libblkid:
    - Fix typo in probe_zfs (by Tobias Stoeckmann)
    - Fix type access in zfs_extract_guid_name (by Tobias Stoeckmann)
    - Fix debug OOB read in zfs_process_value (by Tobias Stoeckmann)
    - Fix parse_dev debug output (by Tobias Stoeckmann)
    - Ignore secondary LUKS2 header in blkid_do_safeprobe() (by silentcreek)
    - reiserfs add block size validation for reiser4 (by Karel Zak)
    - erofs validate blkszbits before checksum calculation (by Karel Zak)
    - exfs avoid 32-bit overflow in rextsize validation (by Karel Zak)
    - solaris use 64-bit for partition offset calculations (by Karel Zak)
    - bsd use 64-bit for partition offset calculations (by Karel Zak)
    - mac use 64-bit for partition offset calculations (by Karel Zak)
    - dos use 64-bit for partition offset calculations (by Karel Zak)
    - udf avoid 32-bit overflow in offset calculations (by Karel Zak)
    - vfat avoid 32-bit overflow in offset calculations (by Karel Zak)
    - ubi fix probe return values (by Karel Zak)
    - f2fs tighten log_blocksize validation (by Karel Zak)
    - nilfs fix byte order and block size validation (by Karel Zak)
    - gpt fix wiper offset to use sector size (by Karel Zak)
    - udf cap descriptor sequence iteration count (by Karel Zak)
    - bcache add missing NULL check (by Karel Zak)
    - bsd read enough data to cover disklabel struct (by Karel Zak)
    - befs improve bounds checking in B+ tree search (by Karel Zak)
    - ntfs improve integer overflow checks (by Karel Zak)
    - introduce sysfs_devno_is_dm_hidden() for pre-open check (by Zdenek Kabelac)

util-linux 2.42.2 Release Notes
===============================

 CVE-2026-13595 - libblkid: use-after-free in nested partition probing.
   The partitions list stores partitions in a contiguous array grown by
   reallocarray().  When the array is reallocated, all existing
   blkid_partition pointers become dangling.
   Reported-by: Thai Duong

util-linux 2.42.3 Release Notes
===============================

libblkid:
    - befs fix possible load of misaligned address (by Milan Broz)
    - befs fix possible too large shift (by Milan Broz)
    - dos fix 32-bit overflow in partition start/size [coverity CID 503517, 503518] (by Karel Zak)
    - (iso9660) fix out-of-bounds read of root dir record (by Aizal Khan)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/libuuid/Makefile.common
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/libuuid/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/libuuid/patches/patch-Makefile.in
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libuuid/patches/patch-lib_ismounted.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/libuuid/Makefile.common
diff -u pkgsrc/devel/libuuid/Makefile.common:1.14 pkgsrc/devel/libuuid/Makefile.common:1.15
--- pkgsrc/devel/libuuid/Makefile.common:1.14   Sun Sep 14 11:08:51 2025
+++ pkgsrc/devel/libuuid/Makefile.common        Sat Sep 12 11:49:21 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.14 2025/09/14 11:08:51 wiz Exp $
+# $NetBSD: Makefile.common,v 1.15 2026/09/12 11:49:21 wiz Exp $
 # used by devel/libblkid/Makefile
 # used by devel/libuuid/Makefile
 # used by x11/mcookie/Makefile
 
-DISTNAME=      util-linux-2.40.2
+DISTNAME=      util-linux-2.42.3
 MASTER_SITES=  https://www.kernel.org/pub/linux/utils/util-linux/v${PKGVERSION_NOREV:R}/
 EXTRACT_SUFX=  .tar.xz
 EXTRACT_USING= bsdtar

Index: pkgsrc/devel/libuuid/distinfo
diff -u pkgsrc/devel/libuuid/distinfo:1.29 pkgsrc/devel/libuuid/distinfo:1.30
--- pkgsrc/devel/libuuid/distinfo:1.29  Thu Dec 18 21:11:16 2025
+++ pkgsrc/devel/libuuid/distinfo       Sat Sep 12 11:49:21 2026
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.29 2025/12/18 21:11:16 maya Exp $
+$NetBSD: distinfo,v 1.30 2026/09/12 11:49:21 wiz Exp $
 
-BLAKE2s (util-linux-2.40.2.tar.xz) = e83f6b7f6b202ca27e8829ed7d70c4a37054925652f72de810908c4590f9ae68
-SHA512 (util-linux-2.40.2.tar.xz) = ffe20b915a518a150401d429b0338bc7022190e4ca0ef91a6d9eea345db8c1e11ad01784163b8fcf978506f3f5cad473f29d5d4ef93a4c66a5ae0ebd9fb0c8f2
-Size (util-linux-2.40.2.tar.xz) = 8854820 bytes
-SHA1 (patch-Makefile.in) = 0d581288a8415719722cd095e71cf36a3d8cbf6a
+BLAKE2s (util-linux-2.42.3.tar.xz) = ba8e35d640d0322e480f823bfbee292359534d7100a4a007f32680dcf3236994
+SHA512 (util-linux-2.42.3.tar.xz) = 2a307943d4fbb34ac02131e10ff7260f181dd706b21e68a891d25d6eb30476a612bcc19b674bb2256283c9c716146e0d79909f37324efc9aa9d45a44e0d58988
+Size (util-linux-2.42.3.tar.xz) = 10716216 bytes
+SHA1 (patch-Makefile.in) = db628b1b3161360cda1f995c9c13e44d775b7fa1
 SHA1 (patch-configure) = 578db2e08fa28066732079d4efff3aa97837a7e5
 SHA1 (patch-include_strutils.h) = e993e6a5665b759c596bd1a46217f4c05fdcb120
 SHA1 (patch-include_ttyutils.h) = 6807e1ed50fef80cd9fc139b08f92fdce9a0779e
 SHA1 (patch-lib_canonicalize.c) = 1eee2273016ed673f062f38e80f8a30f1304a7d5
-SHA1 (patch-lib_ismounted.c) = ee9b3ea5dc4173790e3fc5207f860e8b6fbc29d5
+SHA1 (patch-lib_ismounted.c) = de8edeb3b2368da53431c4ca32f26a8844099a58
 SHA1 (patch-lib_mangle.c) = cad7b1fbb51205b973f963b9c372f0884b882db7
 SHA1 (patch-lib_signames.c) = 51b09ef417d96534849f34b97b4057c286ceeca7
 SHA1 (patch-lib_sysfs.c) = d981fb4418197cb2cc9b9fb2a706935827ae9893
@@ -18,5 +18,4 @@ SHA1 (patch-libfdisk_docs_Makefile.in) =
 SHA1 (patch-libmount_docs_Makefile.in) = cba6e071e4b26896ca6bae47ae47ebe662b2da4a
 SHA1 (patch-libsmartcols_docs_Makefile.in) = c3a77d42252be62b979467f0ad84ed0f44ef6f30
 SHA1 (patch-libuuid_src_gen__uuid.c) = 05dd91d2fe44f4cfd82120e52a7be1dab80d0ea2
-SHA1 (patch-libuuid_src_uuid__time.c) = 7a876b6bb2f4f043c34bfbfdbea1760435442fb8
 SHA1 (patch-tools_config-gen) = f36e05c517d625e5b0b3fce1d5a8b3f2b02c7def

Index: pkgsrc/devel/libuuid/patches/patch-Makefile.in
diff -u pkgsrc/devel/libuuid/patches/patch-Makefile.in:1.5 pkgsrc/devel/libuuid/patches/patch-Makefile.in:1.6
--- pkgsrc/devel/libuuid/patches/patch-Makefile.in:1.5  Sat Dec 28 14:10:23 2024
+++ pkgsrc/devel/libuuid/patches/patch-Makefile.in      Sat Sep 12 11:49:21 2026
@@ -1,20 +1,20 @@
-$NetBSD: patch-Makefile.in,v 1.5 2024/12/28 14:10:23 wiz Exp $
+$NetBSD: patch-Makefile.in,v 1.6 2026/09/12 11:49:21 wiz Exp $
 
 Do not install terminal-colors.d.5.
 Fix unportable test(1) operator.
 
---- Makefile.in.orig   2024-07-04 08:01:08.682964852 +0000
+--- Makefile.in.orig   2026-09-01 12:59:13.637395808 +0000
 +++ Makefile.in
-@@ -5782,7 +5782,7 @@ ADOCFILES_COMMON = man-common/bugreports
-       man-common/footer-lib.adoc man-common/help-version.adoc \
+@@ -6109,7 +6109,7 @@ ADOCFILES_COMMON = man-common/annotate.adoc man-common
+       man-common/help-version.adoc man-common/hyperlink.adoc \
        man-common/in-bytes.adoc man-common/manpage-stub.adoc \
-       man-common/translation.adoc
--MANPAGES = lib/terminal-colors.d.5 $(am__append_21) $(am__append_32) \
-+MANPAGES = $(am__append_21) $(am__append_32) \
-       $(am__append_56) $(am__append_90) $(am__append_107) \
-       $(am__append_110) $(am__append_113) $(am__append_116) \
-       $(am__append_119) $(am__append_122) $(am__append_125) \
-@@ -19005,7 +19005,7 @@ checklibdoc:
+       man-common/env-smartcols.adoc man-common/translation.adoc
+-MANPAGES = lib/terminal-colors.d.5 $(am__append_18) $(am__append_29) \
++MANPAGES = $(am__append_18) $(am__append_29) \
+       $(am__append_53) $(am__append_88) $(am__append_105) \
+       $(am__append_108) $(am__append_111) $(am__append_114) \
+       $(am__append_117) $(am__append_120) $(am__append_123) \
+@@ -19777,7 +19777,7 @@ $(CHANGELOG_FILE):
        echo $(VERSION) > $@-t && mv $@-t $@
  
  $(CHANGELOG_FILE):

Index: pkgsrc/devel/libuuid/patches/patch-lib_ismounted.c
diff -u pkgsrc/devel/libuuid/patches/patch-lib_ismounted.c:1.2 pkgsrc/devel/libuuid/patches/patch-lib_ismounted.c:1.3
--- pkgsrc/devel/libuuid/patches/patch-lib_ismounted.c:1.2      Sat Dec 28 14:10:24 2024
+++ pkgsrc/devel/libuuid/patches/patch-lib_ismounted.c  Sat Sep 12 11:49:22 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-lib_ismounted.c,v 1.2 2024/12/28 14:10:24 wiz Exp $
+$NetBSD: patch-lib_ismounted.c,v 1.3 2026/09/12 11:49:22 wiz Exp $
 
 Fix build on NetBSD.
 
---- lib/ismounted.c.orig       2024-01-31 10:02:15.456811591 +0000
+--- lib/ismounted.c.orig       2026-08-04 10:59:56.351680370 +0000
 +++ lib/ismounted.c
-@@ -215,7 +215,11 @@ static int check_mntent(const char *file
+@@ -215,7 +215,11 @@ static int check_getmntinfo(const char *file, int *mou
  static int check_getmntinfo(const char *file, int *mount_flags,
                                  char *mtpt, int mtlen)
  {
@@ -13,6 +13,6 @@ Fix build on NetBSD.
 +#else
        struct statfs *mp;
 +#endif
-         int    len, n;
-         const  char   *s1;
+       int    len, n;
+       const  char   *s1;
        char    *s2;



Home | Main Index | Thread Index | Old Index