From 6ba3d778aa1d36b9617f3ad0f50c04bde8e8b81d Mon Sep 17 00:00:00 2001 From: mef Date: Sun, 17 Dec 2023 03:41:36 +0000 Subject: [PATCH] (devel/p5-IPC-Shareable) Updated 1.06 to 1.13 1.13 2022-10-11 - In singleton(), do a check whether class was sent in. There was a shifting issue if called with IPC::Shareable::singleton() as opposed to IPC::Shareable->singleton() - When an exclusive collision occurs and both 'graceful' and 'warn' are set, the warning thrown now includes the segment/semaphore key in use. This makes it easier to clean things up with 'ipcrm' 1.12 2022-03-13 - Add tests in t/07-new.t to test how using tied() against a dereferenced variable returned from new() allows access to the underlying IPC::Shareable object - Reworked how spawn() and unspawn() manage things internally - POD updates, fixes and clarifications - Removed spawn() and unspawn(). There's really no need for these as one can simply create but not destroy 1.11 2022-03-07 - Fix certain tests so they don't throw if we bail early 1.10 2022-03-07 - Fix issue where if segments were created underneath of a parent by an external process other than the process that created the parent, the global register wasn't being updated, therefore those segments weren't being removed when calling clean_up_all() - All test files now check number of segments before and after the entire script has run, verifying that all segments were cleaned up ok - The test suite itself in its entirety makes sure that all segments created during the suite run are cleaned up properly - Added CI_TESTING=1 to coverage CI tests 1.09 2022-03-06 - Made 81-fork_dup_rand_keys.t developer only (but still need to figure out why it only fails on FreeBSD) 1.08 2022-03-04 - Added 'protected' option and clean_up_protected(). If set, the cleanup methods, nor the automatic 'destroy' functionality will remove the segment the option was set in, nor any children created underneath of it. A call to clean_up_protected() is required to remove them - Updated attribute tests to include all available options - _shm_key_rand() now checks EXCLUSIVE_CHECK_LIMIT times to find a key for a free segment. It croaks if not - Added _shm_key_rand_int() so we can mock it to test the dup random key checks - Added build prereq of Mock::Sub to test the random key function 1.07 2022-03-04 - When running in forked environments, _shm_key_rand() was consistently returning the same 'random' key to each forked process. We've fixed this issue, and added tests for it (fixed by adding a call to srand() before rand) - Move $SIG{CHLD} handlers to spawn() and unspawn() instead of having them global (fixes #15) - t/65-seg_size.t fails on 32-bit perls; Add a check and bail if we're on a perl < 64-bit (fixes #14) --- devel/p5-IPC-Shareable/Makefile | 5 ++--- devel/p5-IPC-Shareable/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/devel/p5-IPC-Shareable/Makefile b/devel/p5-IPC-Shareable/Makefile index 7900459e64d1..e9cc95f65aea 100644 --- a/devel/p5-IPC-Shareable/Makefile +++ b/devel/p5-IPC-Shareable/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.35 2023/07/06 09:39:23 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2023/12/17 03:41:36 mef Exp $ -DISTNAME= IPC-Shareable-1.06 +DISTNAME= IPC-Shareable-1.13 PKGNAME= p5-${DISTNAME} -PKGREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IPC/} diff --git a/devel/p5-IPC-Shareable/distinfo b/devel/p5-IPC-Shareable/distinfo index 187d30e90217..5e040aa5a6e1 100644 --- a/devel/p5-IPC-Shareable/distinfo +++ b/devel/p5-IPC-Shareable/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.8 2021/10/26 10:16:48 nia Exp $ +$NetBSD: distinfo,v 1.9 2023/12/17 03:41:36 mef Exp $ -BLAKE2s (IPC-Shareable-1.06.tar.gz) = b1c5e5d5e5e0dd00239de89053bb706cafe6df6ec53902a3bd58b5e2a8350de9 -SHA512 (IPC-Shareable-1.06.tar.gz) = 85fcdd0398cc03b6e7d19f907feb9a4b776c0a42f28e485338076da2bbafcd5da1784e6290dbacab8bf908230b4a0c8e731dff7255683a973955b3dfdfb9ee59 -Size (IPC-Shareable-1.06.tar.gz) = 43989 bytes +BLAKE2s (IPC-Shareable-1.13.tar.gz) = 9b1759e1da92bc0b77970eaee45a852c7f8f493b2e2e6bc8f826cb257045351d +SHA512 (IPC-Shareable-1.13.tar.gz) = c7559f41131b27da31bf0acba0ac0b2bb4424c516325b2e65892dff89d9b8362367e5e74edc93ac2df370a2ab74c8397e83eb73c4144ab25baf1997c4d76651b +Size (IPC-Shareable-1.13.tar.gz) = 51682 bytes