Wed Jul 28 03:41:00 2021 UTC ()
Update to 1.05
Update DEPENDS

Upstream changes:
1.05    2021-07-16
    - Bump prereq version of Test::SharedFork to 0.35
    - Added ability to use JSON as the serializer
    - Added ipcs()
    - Added test to ensure we croak if data size is greater than segment size
    - Added 'tidy' attribute, removes unneeded nested structure segments
    - In SharedMem, added _key attribute, and added set/get methods
    - Changed key generation from using padding, pack and unpack to using
      String::CRC32's crc32(), which allows arbitrary, unpadded strings
    - Added attributes() allows fetching one, or all of the object's atttributes
    - Added 'limit' attribute, by setting false, allows a user to set a segment
      size larger than our internal 1GB default
    - Cleaned up exception throwing (particularly if seg size eats up all
      memory, we throw an appropriate message)
    - Display proper exception if we try to exhaust all available shared memory
      segments (fixes #3)

1.04    2021-06-28
    - Skip unspawn tests for perls with -Duselongdouble, as Storable is not
      compatible storing/retrieving such numbers (closes #5)

1.03    2021-06-25
    - Add newline to singleton() warn so that it doesn't print out trace info

1.02    2021-06-25
    - Remove erroneous listing from MANIFEST
    - Work around issue in t/65-seg_size.t where MacOS and FreeBSD don't have
      the -i flag to ipcs (thanks for the PR, Roland Walker!)
    - Added singleton(), ensures that only a single instance of a script can
      run at any given time
    - Added tests to ensure we croak() if create is not set and the segment
      doesn't yet exist
    - Fix POD issue where we stated exclusive returns undef instead of croaking
      (fixes #10)
    - Change 'perl' shell call to $^X in t/71-unspawn.t (fixes #6)

1.01    2021-06-24
    - Added 'graceful' flag option. With exclusive, if a second process
      attempts to tie an exclusive segment, we exit gracefully instead of
      croaking

1.00    2021-06-09
    - Project adopted by Steve Bertrand
    - Added global_register() and process_register() to return the
      registries of active segments and semaphores
    - Added seg() and sem() methods, returns the structure of a shared
      memory segment and a sempahore respectively
    - Added initial "persist" hash variables. Separate processes (even
      multiple files in multiple windows) can share a variable, and it'll
      remain available even after all processes exit. The variable will be
      re-attached if the same shared segment key is used in subsequent runs
    - Reversed order of Changes file
    - Removed trace() and debug() code for ease of reading
    - Improved exception/error messages, added exception testing, reduced
      and minimized the number of exceptions actually uncaught
    - Significant POD cleanup
    - 100% rewrite of all test files, and added a slew of new ones, all
      using Test::More
    - Add build requirement of Test::SharedFork to handle the out of
      sequence fork() tests in t/35-clean.t and t/30-lock_operations
    - Major POD updates
    - Added tests to prove that RT 123057 isn't really an issue (ie. segment
      size parameter works correctly)


(wen)
diff -r1.31 -r1.32 pkgsrc/devel/p5-IPC-Shareable/Makefile
diff -r1.4 -r1.5 pkgsrc/devel/p5-IPC-Shareable/distinfo

cvs diff -r1.31 -r1.32 pkgsrc/devel/p5-IPC-Shareable/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-IPC-Shareable/Makefile 2021/05/24 19:50:54 1.31
+++ pkgsrc/devel/p5-IPC-Shareable/Makefile 2021/07/28 03:41:00 1.32
@@ -1,30 +1,29 @@ @@ -1,30 +1,29 @@
1# $NetBSD: Makefile,v 1.31 2021/05/24 19:50:54 wiz Exp $ 1# $NetBSD: Makefile,v 1.32 2021/07/28 03:41:00 wen Exp $
2 2
3DISTNAME= IPC-Shareable-0.61 3DISTNAME= IPC-Shareable-1.05
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 7 
6CATEGORIES= devel perl5 5CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IPC/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IPC/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://metacpan.org/release/IPC-Shareable 9HOMEPAGE= https://metacpan.org/release/IPC-Shareable
11COMMENT= Tie a variable to shared memory 10COMMENT= Tie a variable to shared memory
12LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
13 12
14#DEPENDS+= p5-Storable>=1.0.14:../../devel/p5-Storable 13DEPENDS+= p5-String-CRC32>=0:../../textproc/p5-String-CRC32
15 14
16PERL5_PACKLIST= auto/IPC/Shareable/.packlist 15PERL5_PACKLIST= auto/IPC/Shareable/.packlist
17 16
18.include "../../mk/bsd.prefs.mk" 17.include "../../mk/bsd.prefs.mk"
19 18
20.if ${OPSYS} == "NetBSD" 19.if ${OPSYS} == "NetBSD"
21# The tests hang on NetBSD 3.0, both as unprivileged user and as root. 20# The tests hang on NetBSD 9.2, both as unprivileged user and as root.
22# The last words are: 21# The last words are:
23# 22#
24# t/25ipc.......Could not create semaphore set: No space left on device 23# t/25ipc.......Could not create semaphore set: No space left on device
25# at t/25ipc.t line 37 24# at t/25ipc.t line 37
26TEST_TARGET= # disabled 25TEST_TARGET= # disabled
27.endif 26.endif
28 27
29.include "../../lang/perl5/module.mk" 28.include "../../lang/perl5/module.mk"
30.include "../../mk/bsd.pkg.mk" 29.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/devel/p5-IPC-Shareable/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-IPC-Shareable/distinfo 2015/11/03 03:28:22 1.4
+++ pkgsrc/devel/p5-IPC-Shareable/distinfo 2021/07/28 03:41:00 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2015/11/03 03:28:22 agc Exp $ 1$NetBSD: distinfo,v 1.5 2021/07/28 03:41:00 wen Exp $
2 2
3SHA1 (IPC-Shareable-0.61.tar.gz) = e0271069d6ad0210947c0ea488d981a30300bcf8 3SHA1 (IPC-Shareable-1.05.tar.gz) = 94235de80cfdb950c4997806aaabb79fdbe5ad46
4RMD160 (IPC-Shareable-0.61.tar.gz) = 2b99ac4d042914013a3647441f690e2824a64f22 4RMD160 (IPC-Shareable-1.05.tar.gz) = 9de87e7be7f8a6b0eb9fc30c53dc2bcdfd6cbd7a
5SHA512 (IPC-Shareable-0.61.tar.gz) = cc55053bbdb73868bd40d4c3d83e0929107c84fe2ff07c82235e7617eb0a3c204d4569ddbd16468732cd9d3a0c4cac3672f1f1ca1178d975f4a69ed7b96b75e9 5SHA512 (IPC-Shareable-1.05.tar.gz) = 2a5360a5b50d98f92099444c6a0de47f13544f457edee39bf8aa0986467a5c112542ac02c620ebad768607e3b4fde687fd2044a5936893f3c1e81915d8cf33d5
6Size (IPC-Shareable-0.61.tar.gz) = 29730 bytes 6Size (IPC-Shareable-1.05.tar.gz) = 42813 bytes