Hi, ports@:
Here is a patch for devel/p5-IPC-Shareable to update to 1.13 and
add missing RUN_D and TEST_D.
It build well and pass all tests on amd64-current system.
One port depends on devel/p5-IPC-Shareable, net/inetsim
build well and run well(should adjust kern.seminfo.semmni=20)
with this patch, no test defined.
Cheers!
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-IPC-Shareable/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 11 Mar 2022 18:51:37 -0000 1.10
+++ Makefile 8 Dec 2023 06:25:16 -0000
@@ -2,11 +2,17 @@ COMMENT = share Perl variables between p
MODULES = cpan
PKG_ARCH = *
-DISTNAME = IPC-Shareable-0.61
+DISTNAME = IPC-Shareable-1.13
CATEGORIES = devel
-REVISION = 1
# GPLv2
PERMIT_PACKAGE = Yes
+
+RUN_DEPENDS = converters/p5-JSON \
+ devel/p5-String-CRC32
+TEST_DEPENDS = devel/p5-Mock-Sub \
+ devel/p5-Test-SharedFork
+
+MAKE_ENV += TEST_POD=1 RELEASE_TESTING=1
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-IPC-Shareable/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 14 Apr 2014 14:02:43 -0000 1.2
+++ distinfo 8 Dec 2023 06:25:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (IPC-Shareable-0.61.tar.gz) =
wv+lu9oHas2fwbfZ2rHOZwfzRcWoM0MbWo7g+HRHIMQ=
-SIZE (IPC-Shareable-0.61.tar.gz) = 29730
+SHA256 (IPC-Shareable-1.13.tar.gz) =
RW5mX3Kj+3ulqOcOMhz8nIJZ3vsxEbUZQK0IyrnADms=
+SIZE (IPC-Shareable-1.13.tar.gz) = 51682
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-IPC-Shareable/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 11 Mar 2022 18:51:37 -0000 1.2
+++ pkg/PLIST 8 Dec 2023 06:25:16 -0000
@@ -2,5 +2,6 @@ ${P5SITE}/IPC/
${P5SITE}/IPC/Shareable/
${P5SITE}/IPC/Shareable.pm
${P5SITE}/IPC/Shareable/SharedMem.pm
+${P5SITE}/IPC/ipc.pl
@man man/man3p/IPC::Shareable.3p
@man man/man3p/IPC::Shareable::SharedMem.3p