Date: Sun, 5 Feb 2006 11:52:54 -0700 (MST) From: hideo <hideo@lastamericanempire.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92855: [New Port] security/p5-Authen-Libwrap - Access to TCP Wrappers Message-ID: <20060205185254.9870C33C22@darwin.lastamericanempire.com> Resent-Message-ID: <200602051900.k15J0F8U023418@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92855 >Category: ports >Synopsis: [New Port] security/p5-Authen-Libwrap - Access to TCP Wrappers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 05 19:00:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: hideo >Release: FreeBSD 7.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD darwin.lastamericanempire.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Jan 30 18:59:36 MST 2006 hideo@darwin.lastamericanempire.com:/usr/obj/usr/src/sys/darwin amd64 >Description: Authen::Libwrap provides access to TCP Wrappers via Perl. >How-To-Repeat: >Fix: --- p5-Authen-Libwrap begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Authen-Libwrap # p5-Authen-Libwrap/Makefile # p5-Authen-Libwrap/distinfo # p5-Authen-Libwrap/pkg-plist # p5-Authen-Libwrap/pkg-descr # p5-Authen-Libwrap/files # p5-Authen-Libwrap/files/patch-Build-PL # echo c - p5-Authen-Libwrap mkdir -p p5-Authen-Libwrap > /dev/null 2>&1 echo x - p5-Authen-Libwrap/Makefile sed 's/^X//' >p5-Authen-Libwrap/Makefile << 'END-of-p5-Authen-Libwrap/Makefile' X# New ports collection makefile for: security/p5-Authen-Libwrap X# Date created: 05 February 2006 X# Whom: Zach Thompson <hideo@lastamericanempire.com> X# X# $FreeBSD$ X# X XPORTNAME= Authen-Libwrap XPORTVERSION= 0.20 XCATEGORIES= security perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Authen XPKGNAMEPREFIX= p5- X XMAINTAINER= hideo@lastamericanempire.com XCOMMENT= Authen::Libwrap - access to TCP Wrappers library X XBUILD_DEPENDS= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_MODBUILD= yes X XMAN3= Authen::Libwrap.3 X X.include <bsd.port.mk> END-of-p5-Authen-Libwrap/Makefile echo x - p5-Authen-Libwrap/distinfo sed 's/^X//' >p5-Authen-Libwrap/distinfo << 'END-of-p5-Authen-Libwrap/distinfo' XMD5 (Authen-Libwrap-0.20.tar.gz) = 53ed4e4e362f13e15d646e06c9d62232 XSHA256 (Authen-Libwrap-0.20.tar.gz) = f72b945addce7102a5f2d3483432045a59bbe351e03b955148a0404b42597359 XSIZE (Authen-Libwrap-0.20.tar.gz) = 16810 END-of-p5-Authen-Libwrap/distinfo echo x - p5-Authen-Libwrap/pkg-plist sed 's/^X//' >p5-Authen-Libwrap/pkg-plist << 'END-of-p5-Authen-Libwrap/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Libwrap/Libwrap.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Libwrap/Libwrap.so X%%SITE_PERL%%/%%PERL_ARCH%%/Authen/Libwrap.pm X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Libwrap X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Authen END-of-p5-Authen-Libwrap/pkg-plist echo x - p5-Authen-Libwrap/pkg-descr sed 's/^X//' >p5-Authen-Libwrap/pkg-descr << 'END-of-p5-Authen-Libwrap/pkg-descr' XThe Authen::Libwrap module allows you to access the hosts_ctl() Xfunction from the popular TCP Wrappers security package. This Xallows validation of network access from perl programs against Xthe system-wide hosts.allow file. X XWWW: http://search.cpan.org/dist/Authen-Libwrap END-of-p5-Authen-Libwrap/pkg-descr echo c - p5-Authen-Libwrap/files mkdir -p p5-Authen-Libwrap/files > /dev/null 2>&1 echo x - p5-Authen-Libwrap/files/patch-Build-PL sed 's/^X//' >p5-Authen-Libwrap/files/patch-Build-PL << 'END-of-p5-Authen-Libwrap/files/patch-Build-PL' XPatch to automate linking against libwrap X X--- Build.PL Tue Dec 16 20:39:54 2003 X+++ Build.PL Sun Feb 5 11:22:27 2006 X@@ -28,13 +28,8 @@ X for my $libname( qw|libwrap.so libwrap.a| ) { X my $candidate = File::Spec->catfile( $prefix, 'lib', $libname ); X if( -e $candidate && -f _ && -r _ ) { X- my $y_n = Module::Build->y_n( X- "do you want to link against $candidate?", "y" X- ); X- if( $y_n ) { X- $lib_dir = File::Spec->catdir( $prefix, 'lib' ); X- last; X- } X+ $lib_dir = File::Spec->catdir( $prefix, 'lib' ); X+ last; X } X } X } X@@ -43,13 +38,8 @@ X for my $prefix( @prefixes ) { X my $candidate = File::Spec->catfile( $prefix, 'include', 'tcpd.h' ); X if( -e $candidate && -f _ && -r _ ) { X- my $y_n = Module::Build->y_n( X- "do you want to use $candidate as your header?", "y" X- ); X- if( $y_n ) { X $inc_dir = File::Spec->catdir( $prefix, 'include' ); X last; X- } X } X } X END-of-p5-Authen-Libwrap/files/patch-Build-PL exit --- p5-Authen-Libwrap ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060205185254.9870C33C22>