aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Authen-Libwrap/Makefile25
-rw-r--r--security/p5-Authen-Libwrap/distinfo3
-rw-r--r--security/p5-Authen-Libwrap/files/patch-Build-PL34
-rw-r--r--security/p5-Authen-Libwrap/pkg-descr6
-rw-r--r--security/p5-Authen-Libwrap/pkg-plist6
6 files changed, 75 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index d1164a57db01..3b9f4f48ff7b 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -282,6 +282,7 @@
SUBDIR += p5-Authen-CyrusSASL
SUBDIR += p5-Authen-Htpasswd
SUBDIR += p5-Authen-Krb5
+ SUBDIR += p5-Authen-Libwrap
SUBDIR += p5-Authen-PAM
SUBDIR += p5-Authen-Radius
SUBDIR += p5-Authen-SASL
diff --git a/security/p5-Authen-Libwrap/Makefile b/security/p5-Authen-Libwrap/Makefile
new file mode 100644
index 000000000000..02990b40aaee
--- /dev/null
+++ b/security/p5-Authen-Libwrap/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: security/p5-Authen-Libwrap
+# Date created: 05 February 2006
+# Whom: Zach Thompson <hideo@lastamericanempire.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Authen-Libwrap
+PORTVERSION= 0.20
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Authen
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= hideo@lastamericanempire.com
+COMMENT= Authen::Libwrap - access to TCP Wrappers library
+
+BUILD_DEPENDS= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Authen::Libwrap.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Authen-Libwrap/distinfo b/security/p5-Authen-Libwrap/distinfo
new file mode 100644
index 000000000000..763c82d663c9
--- /dev/null
+++ b/security/p5-Authen-Libwrap/distinfo
@@ -0,0 +1,3 @@
+MD5 (Authen-Libwrap-0.20.tar.gz) = 53ed4e4e362f13e15d646e06c9d62232
+SHA256 (Authen-Libwrap-0.20.tar.gz) = f72b945addce7102a5f2d3483432045a59bbe351e03b955148a0404b42597359
+SIZE (Authen-Libwrap-0.20.tar.gz) = 16810
diff --git a/security/p5-Authen-Libwrap/files/patch-Build-PL b/security/p5-Authen-Libwrap/files/patch-Build-PL
new file mode 100644
index 000000000000..62948a48334e
--- /dev/null
+++ b/security/p5-Authen-Libwrap/files/patch-Build-PL
@@ -0,0 +1,34 @@
+Patch to automate linking against libwrap
+
+--- Build.PL Tue Dec 16 20:39:54 2003
++++ Build.PL Sun Feb 5 11:22:27 2006
+@@ -28,13 +28,8 @@
+ for my $libname( qw|libwrap.so libwrap.a| ) {
+ my $candidate = File::Spec->catfile( $prefix, 'lib', $libname );
+ if( -e $candidate && -f _ && -r _ ) {
+- my $y_n = Module::Build->y_n(
+- "do you want to link against $candidate?", "y"
+- );
+- if( $y_n ) {
+- $lib_dir = File::Spec->catdir( $prefix, 'lib' );
+- last;
+- }
++ $lib_dir = File::Spec->catdir( $prefix, 'lib' );
++ last;
+ }
+ }
+ }
+@@ -43,13 +38,8 @@
+ for my $prefix( @prefixes ) {
+ my $candidate = File::Spec->catfile( $prefix, 'include', 'tcpd.h' );
+ if( -e $candidate && -f _ && -r _ ) {
+- my $y_n = Module::Build->y_n(
+- "do you want to use $candidate as your header?", "y"
+- );
+- if( $y_n ) {
+ $inc_dir = File::Spec->catdir( $prefix, 'include' );
+ last;
+- }
+ }
+ }
+
diff --git a/security/p5-Authen-Libwrap/pkg-descr b/security/p5-Authen-Libwrap/pkg-descr
new file mode 100644
index 000000000000..8d3c2bc4a753
--- /dev/null
+++ b/security/p5-Authen-Libwrap/pkg-descr
@@ -0,0 +1,6 @@
+The Authen::Libwrap module allows you to access the hosts_ctl()
+function from the popular TCP Wrappers security package. This
+allows validation of network access from perl programs against
+the system-wide hosts.allow file.
+
+WWW: http://search.cpan.org/dist/Authen-Libwrap
diff --git a/security/p5-Authen-Libwrap/pkg-plist b/security/p5-Authen-Libwrap/pkg-plist
new file mode 100644
index 000000000000..256c93dfd96d
--- /dev/null
+++ b/security/p5-Authen-Libwrap/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Libwrap/Libwrap.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Libwrap/Libwrap.so
+%%SITE_PERL%%/%%PERL_ARCH%%/Authen/Libwrap.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Libwrap
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Authen