pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Overload-FileCheck



Module Name:    pkgsrc
Committed By:   wen
Date:           Thu Oct 29 11:32:02 UTC 2026

Modified Files:
        pkgsrc/devel/p5-Overload-FileCheck: Makefile distinfo

Log Message:
Update to 0.015

Upstream changes:
0.015     2026-04-26 09:46:08+02:00 Europe/Vienna
  [New features]
  - feat: add mock_file_check_guard() for scope-based cleanup
  - feat: add stat_as_fifo() helper for named pipe mocking
  - feat: support CHECK_IS_NULL return from mock callbacks (treats target as non-existent)
  [Bug fixes - errno preservation]
  - fix: preserve errno through XS scope cleanup in stat/file-check paths
  - fix: preserve errno through pp_overload_ft_int (-s handler)
  - fix: preserve errno through pp_overload_ft_nv (-M, -A, -C handlers)
  - fix: auto-set errno (ENOENT) for int ops returning CHECK_IS_FALSE
  [Bug fixes - operator behavior]
  - fix: enable -T, -B and other uppercase file-test operators
  - fix: eliminate -B double-dispatch through the mock system
  - fix: return CHECK_IS_NULL for -B/-T on non-existent mock files to avoid double-dispatch
  - fix: restore @stat guard in -B handler to prevent undef warning
  - fix: correct -e false negative for stat results with mode 0
  - fix: use stat (not lstat) for -p/-S/-b/-c in _check_from_stat
  - fix: use stat (not lstat) for -u, -g, -k in mock_all_from_stat
  - fix: resolve -1 sentinel collision for NV ops (-M, -C, -A)
  - fix: handle non-numeric SV types in pp_overload_ft_nv
  - fix: CHECK_IS_FALSE now returns a defined false value instead of undef
  [Bug fixes - input validation / API hardening]
  - fix: croak on trailing dash-option without CODE ref in import list
  - fix: croak on unknown options in stat_as_* helpers
  - fix: croak on unknown user/group names in stat helpers
  - fix: accept bare (non-st_) keys in hash stat mocks
  - fix: accept string-encoded numbers in stat array validation
  - fix: add missing dev/ino/nlink/rdev defaults to stat_as_* helpers
  - fix: preserve original key when looking up stat slot in _stat_for
  - refactor: use Carp::croak instead of die in public API
  [Bug fixes - thread / re-entrancy safety]
  - fix: isolate gl_overload_ft per interpreter via MY_CXT for ithreads safety
  - fix: make _check() re-entrant safe for nested mock callbacks
  - fix: replace assert() with runtime croak for gl_overload_ft null checks
  - fix: release SV refcount in pp_overload_ft_nv before all return paths
  - fix: save original count before drain loop in _overload_ft_ops_nv croak
  [Internals / cleanup]
  - refactor: extract LEAVE_PRESERVING_ERRNO macro for errno-safe scope exits
  - refactor: extract _resolve_check / _normalize_and_validate_check helpers
  - refactor: replace _check_from_stat if/elsif chain with a dispatch table
  - refactor: build %REVERSE_MAP eagerly at module load
  - cleanup: remove debug printfs, dead code, and stale TODOs from XS
  - cleanup: remove unused offset field from OverloadFTOps struct
  - refactor: update stale GitHub URLs from CpanelInc to cpan-authors
  - fix: remove stale docs and fix POD typo
0.014     2026-02-22 10:19:05-07:00 America/Denver
- fix: prevent filehandle reference leak in $_last_call_for
- fix: spelling typos


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/p5-Overload-FileCheck/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/p5-Overload-FileCheck/distinfo

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

Modified files:

Index: pkgsrc/devel/p5-Overload-FileCheck/Makefile
diff -u pkgsrc/devel/p5-Overload-FileCheck/Makefile:1.4 pkgsrc/devel/p5-Overload-FileCheck/Makefile:1.5
--- pkgsrc/devel/p5-Overload-FileCheck/Makefile:1.4     Thu Jul 16 19:03:02 2026
+++ pkgsrc/devel/p5-Overload-FileCheck/Makefile Thu Oct 29 11:32:02 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2026/07/16 19:03:02 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2026/10/29 11:32:02 wen Exp $
 
-DISTNAME=      Overload-FileCheck-0.013
+DISTNAME=      Overload-FileCheck-0.015
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   3
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AT/ATOOMIC/}
 
@@ -11,6 +10,8 @@ HOMEPAGE=     https://metacpan.org/pod/Overl
 COMMENT=       Override/mock perl file check -X
 LICENSE=       ${PERL5_LICENSE}
 
+TEST_DEPENDS+= p5-Test2-Tools-Explain>=0:../../devel/p5-Test2-Tools-Explain
+
 PERL5_PACKLIST=        auto/Overload/FileCheck/.packlist
 
 .include "../../lang/perl5/module.mk"

Index: pkgsrc/devel/p5-Overload-FileCheck/distinfo
diff -u pkgsrc/devel/p5-Overload-FileCheck/distinfo:1.1 pkgsrc/devel/p5-Overload-FileCheck/distinfo:1.2
--- pkgsrc/devel/p5-Overload-FileCheck/distinfo:1.1     Sat Feb 10 01:14:51 2024
+++ pkgsrc/devel/p5-Overload-FileCheck/distinfo Thu Oct 29 11:32:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2024/02/10 01:14:51 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2026/10/29 11:32:02 wen Exp $
 
-BLAKE2s (Overload-FileCheck-0.013.tar.gz) = 467e6bd7970e79699ff1c72956e03cc9e3d065564be25a743f03932483b4d7ca
-SHA512 (Overload-FileCheck-0.013.tar.gz) = 496751019cb4354801f146e1d95e87095625d29bc2ec350cad4ea83b3bc771e214dbbe46a6d5e9d0b18dc6237e08cfb850747df5f57074919f262a9433845611
-Size (Overload-FileCheck-0.013.tar.gz) = 165752 bytes
+BLAKE2s (Overload-FileCheck-0.015.tar.gz) = 8eccb836b0230a9710a04b437344949ae403e3d68301e00218fc29f96cdd8e50
+SHA512 (Overload-FileCheck-0.015.tar.gz) = 6ca664a8ff908cb6846412104bbc55352c077124aae48cef5dd66431ebdacd88aeabd739760bced758c0b11283b5eea81be45a6defb89753a9850a4f20a53fe2
+Size (Overload-FileCheck-0.015.tar.gz) = 180551 bytes



Home | Main Index | Thread Index | Old Index