pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-IPC-Shareable Update to 1.05
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae6fc18d95a2
branches: trunk
changeset: 456398:ae6fc18d95a2
user: wen <wen%pkgsrc.org@localhost>
date: Wed Jul 28 03:41:00 2021 +0000
description:
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)
diffstat:
devel/p5-IPC-Shareable/Makefile | 9 ++++-----
devel/p5-IPC-Shareable/distinfo | 10 +++++-----
2 files changed, 9 insertions(+), 10 deletions(-)
diffs (46 lines):
diff -r 0653797b6d80 -r ae6fc18d95a2 devel/p5-IPC-Shareable/Makefile
--- a/devel/p5-IPC-Shareable/Makefile Wed Jul 28 03:29:40 2021 +0000
+++ b/devel/p5-IPC-Shareable/Makefile Wed Jul 28 03:41:00 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2021/05/24 19:50:54 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2021/07/28 03:41:00 wen Exp $
-DISTNAME= IPC-Shareable-0.61
+DISTNAME= IPC-Shareable-1.05
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 7
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IPC/}
@@ -11,14 +10,14 @@
COMMENT= Tie a variable to shared memory
LICENSE= gnu-gpl-v2
-#DEPENDS+= p5-Storable>=1.0.14:../../devel/p5-Storable
+DEPENDS+= p5-String-CRC32>=0:../../textproc/p5-String-CRC32
PERL5_PACKLIST= auto/IPC/Shareable/.packlist
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
-# The tests hang on NetBSD 3.0, both as unprivileged user and as root.
+# The tests hang on NetBSD 9.2, both as unprivileged user and as root.
# The last words are:
#
# t/25ipc.......Could not create semaphore set: No space left on device
diff -r 0653797b6d80 -r ae6fc18d95a2 devel/p5-IPC-Shareable/distinfo
--- a/devel/p5-IPC-Shareable/distinfo Wed Jul 28 03:29:40 2021 +0000
+++ b/devel/p5-IPC-Shareable/distinfo Wed Jul 28 03:41:00 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:28:22 agc Exp $
+$NetBSD: distinfo,v 1.5 2021/07/28 03:41:00 wen Exp $
-SHA1 (IPC-Shareable-0.61.tar.gz) = e0271069d6ad0210947c0ea488d981a30300bcf8
-RMD160 (IPC-Shareable-0.61.tar.gz) = 2b99ac4d042914013a3647441f690e2824a64f22
-SHA512 (IPC-Shareable-0.61.tar.gz) = cc55053bbdb73868bd40d4c3d83e0929107c84fe2ff07c82235e7617eb0a3c204d4569ddbd16468732cd9d3a0c4cac3672f1f1ca1178d975f4a69ed7b96b75e9
-Size (IPC-Shareable-0.61.tar.gz) = 29730 bytes
+SHA1 (IPC-Shareable-1.05.tar.gz) = 94235de80cfdb950c4997806aaabb79fdbe5ad46
+RMD160 (IPC-Shareable-1.05.tar.gz) = 9de87e7be7f8a6b0eb9fc30c53dc2bcdfd6cbd7a
+SHA512 (IPC-Shareable-1.05.tar.gz) = 2a5360a5b50d98f92099444c6a0de47f13544f457edee39bf8aa0986467a5c112542ac02c620ebad768607e3b4fde687fd2044a5936893f3c1e81915d8cf33d5
+Size (IPC-Shareable-1.05.tar.gz) = 42813 bytes
Home |
Main Index |
Thread Index |
Old Index