From owner-freebsd-ports Thu Jul 25 1:30:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F47E37B400 for ; Thu, 25 Jul 2002 01:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8391643E67 for ; Thu, 25 Jul 2002 01:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6P8U2JU000750 for ; Thu, 25 Jul 2002 01:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6P8U2CE000749; Thu, 25 Jul 2002 01:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1920137B400 for ; Thu, 25 Jul 2002 01:27:11 -0700 (PDT) Received: from guineapig.pil.dk (guineapig.pil.dk [193.162.142.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 479DC43E65 for ; Thu, 25 Jul 2002 01:27:10 -0700 (PDT) (envelope-from root@guineapig.pil.dk) Received: from guineapig.pil.dk (guineapig.pil.dk [193.162.142.153]) by guineapig.pil.dk (8.12.3/8.12.3) with ESMTP id g6P8R83b022986 for ; Thu, 25 Jul 2002 10:27:08 +0200 (CEST) (envelope-from root@guineapig.pil.dk) Received: (from root@localhost) by guineapig.pil.dk (8.12.3/8.12.3/Submit) id g6P8R8BF022985; Thu, 25 Jul 2002 10:27:08 +0200 (CEST) Message-Id: <200207250827.g6P8R8BF022985@guineapig.pil.dk> Date: Thu, 25 Jul 2002 10:27:08 +0200 (CEST) From: Erwin Lansing Reply-To: Erwin Lansing To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40968: New port: Mail::RBL - Perl extension to access RBL-style host verification services Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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 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