I've sat on this for a while because a) my email setup broke when I
upgraded my mail client, and b) while I was dealing with that I got a
message from the upstream author indicating that he's incorporating my
patch, which makes the diff included below an awful lot smaller.

On balance, saying that a package called pledge uses pledge seems a bit
redundant, but them's the rules.

Cheers,

Matthew

diff -urN /tmp/empty/Makefile ./Makefile
--- /tmp/empty/Makefile Thu Jan  1 03:00:00 1970
+++ ./Makefile  Wed May  1 12:28:30 2019
@@ -0,0 +1,14 @@
+COMMENT=               call pledge(2) and unveil(2) from perl
+
+CPAN_AUTHOR=           REF
+MODULES=               cpan
+
+DISTNAME=              Unix-Pledge-0.006
+CATEGORIES=            sysutils
+# uses pledge()
+
+TEST_DEPENDS=          devel/p5-BSD-Resource
+
+PERMIT_PACKAGE_CDROM=  Yes
+
+.include <bsd.port.mk>
diff -urN /tmp/empty/distinfo ./distinfo
--- /tmp/empty/distinfo Thu Jan  1 03:00:00 1970
+++ ./distinfo  Wed May  1 12:19:38 2019
@@ -0,0 +1,2 @@
+SHA256 (Unix-Pledge-0.006.tar.gz) = 
bWpXSFZd1K24lJIOV8B7GjWFaBSGDXKJI6KzEJvPklA=
+SIZE (Unix-Pledge-0.006.tar.gz) = 5609
diff -urN /tmp/empty/pkg/DESCR ./pkg/DESCR
--- /tmp/empty/pkg/DESCR        Thu Jan  1 03:00:00 1970
+++ ./pkg/DESCR Thu Apr 18 19:28:41 2019
@@ -0,0 +1 @@
+Call pledge(2) and unveil(2) from perl using Unix::Pledge.
diff -urN /tmp/empty/pkg/PLIST ./pkg/PLIST
--- /tmp/empty/pkg/PLIST        Thu Jan  1 03:00:00 1970
+++ ./pkg/PLIST Fri Apr 19 08:00:08 2019
@@ -0,0 +1,3 @@
+${P5ARCH}/Unix/Pledge.pm
+${P5ARCH}/auto/Unix/Pledge/Pledge.so
+@man man/man3p/Unix::Pledge.3p

Reply via email to