summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Safe-Hole/Makefile22
-rw-r--r--security/p5-Safe-Hole/distinfo1
-rw-r--r--security/p5-Safe-Hole/pkg-comment1
-rw-r--r--security/p5-Safe-Hole/pkg-descr12
-rw-r--r--security/p5-Safe-Hole/pkg-plist6
6 files changed, 43 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index c1fb5377034a..e9064da389b1 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -177,6 +177,7 @@
SUBDIR += p5-Net-SSLeay
SUBDIR += p5-PGP
SUBDIR += p5-PGP-Sign
+ SUBDIR += p5-Safe-Hole
SUBDIR += p5-Tie-EncryptedHash
SUBDIR += pad
SUBDIR += pam-mysql
diff --git a/security/p5-Safe-Hole/Makefile b/security/p5-Safe-Hole/Makefile
new file mode 100644
index 000000000000..6f0010845128
--- /dev/null
+++ b/security/p5-Safe-Hole/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Safe-Hole
+# Date created: 3 July 2002
+# Whom: Seth Kingsley <sethk@meowfishies.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Safe-Hole
+PORTVERSION= 0.08
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Safe
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sethk@meowfishies.com
+
+PERL_CONFIGURE= yes
+
+MAN3= Safe::Hole.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/security/p5-Safe-Hole/distinfo b/security/p5-Safe-Hole/distinfo
new file mode 100644
index 000000000000..ba321a788f95
--- /dev/null
+++ b/security/p5-Safe-Hole/distinfo
@@ -0,0 +1 @@
+MD5 (Safe-Hole-0.08.tar.gz) = 220f2924e736af120e03cb137075ffd8
diff --git a/security/p5-Safe-Hole/pkg-comment b/security/p5-Safe-Hole/pkg-comment
new file mode 100644
index 000000000000..779f754c829a
--- /dev/null
+++ b/security/p5-Safe-Hole/pkg-comment
@@ -0,0 +1 @@
+Make a hole to the original main compartment in the Safe compartment
diff --git a/security/p5-Safe-Hole/pkg-descr b/security/p5-Safe-Hole/pkg-descr
new file mode 100644
index 000000000000..09fd876d43c3
--- /dev/null
+++ b/security/p5-Safe-Hole/pkg-descr
@@ -0,0 +1,12 @@
+ We can call outside defined subroutines from the Safe
+compartment using share(), and call methods through the object that is
+copied into the Safe compartment using varglob(). However, these
+subroutines and methods are still executed in the Safe compartment, so
+they cannot call other subroutines that are dynamically qualified with
+the package name, such as class methods.
+
+ Through Safe::Hole, we can execute outside defined subroutines
+in the original main compartment from the Safe compartment.
+
+- Seth
+sethk@meowfishies.com
diff --git a/security/p5-Safe-Hole/pkg-plist b/security/p5-Safe-Hole/pkg-plist
new file mode 100644
index 000000000000..bf05c989882e
--- /dev/null
+++ b/security/p5-Safe-Hole/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/Hole.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/Hole.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Safe/Hole.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Safe/Hole/