Date: Thu, 25 Jul 2002 10:27:08 +0200 (CEST) From: Erwin Lansing <erwin@lansing.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40968: New port: Mail::RBL - Perl extension to access RBL-style host verification services Message-ID: <200207250827.g6P8R8BF022985@guineapig.pil.dk>
next in thread | raw e-mail | index | archive | help
>Number: 40968 >Category: ports >Synopsis: New port: Mail::RBL - Perl extension to access RBL-style host verification services >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 25 01:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Erwin Lansing >Release: FreeBSD 4.6-RELEASE-p1 i386 >Organization: pil.dk >Environment: System: FreeBSD guineapig.pil.dk 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #10: Thu Jun 27 12:30:28 CEST 2002 root@prison.pil.dk:/usr/obj/usr/src/sys/PRISON i386 >Description: New port: Mail::RBL Perl extension to access RBL-style host verification services >How-To-Repeat: >Fix: --- p5-Mail-RBL.shar 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-Mail-RBL/ # p5-Mail-RBL/Makefile # p5-Mail-RBL/pkg-comment # p5-Mail-RBL/pkg-descr # p5-Mail-RBL/distinfo # p5-Mail-RBL/files # p5-Mail-RBL/files/patch-Makefile.PL # p5-Mail-RBL/pkg-plist # echo c - p5-Mail-RBL/ mkdir -p p5-Mail-RBL/ > /dev/null 2>&1 echo x - p5-Mail-RBL/Makefile sed 's/^X//' >p5-Mail-RBL/Makefile << 'END-of-p5-Mail-RBL/Makefile' X# New ports collection makefile for: p5-Mail-RBL X# Date created: July 24th 2002 X# Whom: Erwin Lansing <erwin@lansing.dk> X# X# $FreeBSD$ X# X XPORTNAME= Mail-RBL XPORTVERSION= 1.00 XCATEGORIES= mail perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Mail XPKGNAMEPREFIX= p5- X XMAINTAINER= erwin@lansing.dk X XPERL_CONFIGURE= yes X XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} XMAN3= Mail::RBL.3 X XFILES= Makefile.PL test.pl RBL.pm X Xpre-patch: X.for i in ${FILES} X @${PERL} -pi -e 's/\r//' ${WRKSRC}/${i} X.endfor X @${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ X -e '$$_="" if /require 5/;' \ X -e '$$_="" if /use warnings/;' \ X ${WRKSRC}/RBL.pm X X.include <bsd.port.mk> END-of-p5-Mail-RBL/Makefile echo x - p5-Mail-RBL/pkg-comment sed 's/^X//' >p5-Mail-RBL/pkg-comment << 'END-of-p5-Mail-RBL/pkg-comment' XPerl extension to access RBL-style host verification services END-of-p5-Mail-RBL/pkg-comment echo x - p5-Mail-RBL/pkg-descr sed 's/^X//' >p5-Mail-RBL/pkg-descr << 'END-of-p5-Mail-RBL/pkg-descr' XThis module eases the task of checking if a given host is in the list. XThe methods available are described below: X X`->new(suffix)' X Creates a list handle. The `suffix' parameter is mandatory and X specifies which suffix to append to the queries. X X`->check($host)' X `$host' can be either a hostname or an IP address. In the case of an X IP Address, any trailing netmask (anything after a '/' character) X will be ignored. In the case of a hostname, all the IP addresses X will be looked up and checked against the list. If any of the X addresses is in the list, the host will be considered in the list as X a whole. X XAUTHOR: Luis E. Munoz <lem@cantv.net> XWWW: http://search.cpan.org/search?dist=Mail-RBL END-of-p5-Mail-RBL/pkg-descr echo x - p5-Mail-RBL/distinfo sed 's/^X//' >p5-Mail-RBL/distinfo << 'END-of-p5-Mail-RBL/distinfo' XMD5 (Mail-RBL-1.00.tar.gz) = ad7efa148982ac264dc5dcb08feef8d4 END-of-p5-Mail-RBL/distinfo echo c - p5-Mail-RBL/files mkdir -p p5-Mail-RBL/files > /dev/null 2>&1 echo x - p5-Mail-RBL/files/patch-Makefile.PL sed 's/^X//' >p5-Mail-RBL/files/patch-Makefile.PL << 'END-of-p5-Mail-RBL/files/patch-Makefile.PL' X--- Makefile.PL.orig Thu Jul 25 10:12:25 2002 X+++ Makefile.PL Thu Jul 25 10:12:25 2002 X@@ -3,6 +3,6 @@ X # the contents of the Makefile that is written. X WriteMakefile( X 'NAME' => 'Mail::RBL', X- 'VERSION_FROM' => 'RBL.pm', # finds $VERSION X+ 'VERSION' => '1.00', X 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 X ); END-of-p5-Mail-RBL/files/patch-Makefile.PL echo x - p5-Mail-RBL/pkg-plist sed 's/^X//' >p5-Mail-RBL/pkg-plist << 'END-of-p5-Mail-RBL/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/Mail/RBL.pm X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Mail 2>/dev/null || true END-of-p5-Mail-RBL/pkg-plist exit --- p5-Mail-RBL.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207250827.g6P8R8BF022985>