aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Authen-Libwrap
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-06 11:37:06 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-06 11:37:06 +0000
commitc0184bdf7db994685f307a2c7ccd6a4da33ce5de (patch)
tree4644b84727af3f4c8ec14aa8e495022c4ab5f411 /security/p5-Authen-Libwrap
parent0913d68d1703ff114b6823e98200fa22b5948f78 (diff)
downloadports-c0184bdf7db994685f307a2c7ccd6a4da33ce5de.tar.gz
ports-c0184bdf7db994685f307a2c7ccd6a4da33ce5de.zip
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 PR: ports/92855 Submitted by: Zach Thompson <hideo@lastamericanempire.com>
Notes
Notes: svn path=/head/; revision=155313
Diffstat (limited to 'security/p5-Authen-Libwrap')
-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
5 files changed, 74 insertions, 0 deletions
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