diff options
author | garga <garga@FreeBSD.org> | 2006-02-06 19:37:06 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-02-06 19:37:06 +0800 |
commit | 82f3f159e27750032f664f9afd947f283593285f (patch) | |
tree | 4ba21eb6bd081536979af92402cb2e2dfcd3ba64 /security/p5-Authen-Libwrap | |
parent | 73c30bc44fd0dc603549f1b3307a4a10465a6638 (diff) | |
download | freebsd-ports-gnome-82f3f159e27750032f664f9afd947f283593285f.tar.gz freebsd-ports-gnome-82f3f159e27750032f664f9afd947f283593285f.tar.zst freebsd-ports-gnome-82f3f159e27750032f664f9afd947f283593285f.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>
Diffstat (limited to 'security/p5-Authen-Libwrap')
-rw-r--r-- | security/p5-Authen-Libwrap/Makefile | 25 | ||||
-rw-r--r-- | security/p5-Authen-Libwrap/distinfo | 3 | ||||
-rw-r--r-- | security/p5-Authen-Libwrap/files/patch-Build-PL | 34 | ||||
-rw-r--r-- | security/p5-Authen-Libwrap/pkg-descr | 6 | ||||
-rw-r--r-- | security/p5-Authen-Libwrap/pkg-plist | 6 |
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 |