Date: Wed, 29 Oct 2003 15:09:50 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@tiger2.net Subject: ports/58674: New port: mail/p5-Mail-Mbox-MessageParser Message-ID: <20031029070950.5675C15725@mail.dragon2.net> Resent-Message-ID: <200310290710.h9T7AJtC086949@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58674 >Category: ports >Synopsis: New port: mail/p5-Mail-Mbox-MessageParser >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: Tue Oct 28 23:10:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386 >Description: New port: Mail::Mbox::MessageParser is a feature-poor but very fast mbox parser. It uses the best of three strategies for parsing a mailbox: either using cached folder information, GNU grep, or highly optimized Perl. >How-To-Repeat: >Fix: # 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-Mbox-MessageParser/ # p5-Mail-Mbox-MessageParser/files # p5-Mail-Mbox-MessageParser/files/patch-Makefile.PL # p5-Mail-Mbox-MessageParser/Makefile # p5-Mail-Mbox-MessageParser/distinfo # p5-Mail-Mbox-MessageParser/pkg-descr # p5-Mail-Mbox-MessageParser/pkg-plist # echo c - p5-Mail-Mbox-MessageParser/ mkdir -p p5-Mail-Mbox-MessageParser/ > /dev/null 2>&1 echo c - p5-Mail-Mbox-MessageParser/files mkdir -p p5-Mail-Mbox-MessageParser/files > /dev/null 2>&1 echo x - p5-Mail-Mbox-MessageParser/files/patch-Makefile.PL sed 's/^X//' >p5-Mail-Mbox-MessageParser/files/patch-Makefile.PL << 'END-of-p5-Mail-Mbox-MessageParser/files/patch-Makefile.PL' X--- Makefile.PL.orig Wed Oct 22 11:08:40 2003 X+++ Makefile.PL Wed Oct 29 14:52:36 2003 X@@ -208,14 +208,6 @@ X X return %programs if grep {/^(DIFF|GREP|TZIP|GZIP|BZIP2?)=/} @args; X X- print<<EOF; X-You must now specify the location of external programs for decompressing X-compressed folders. You must specify the full path--otherwise you may X-accidentally execute a trojan version of the decompression program. You can X-enter "none" to disable support for decompressing files of a given type. X- X-EOF X- X my @path = split /$Config{path_sep}/, $ENV{PATH}; X X foreach my $program (sort keys %programs) X@@ -227,8 +219,7 @@ X X $full_path = 'none' if !defined $full_path || $full_path eq ''; X X- my $choice = ExtUtils::MakeMaker::prompt( X- "Where can I find your \"$program\" executable?" => $full_path); X+ my $choice = $full_path; X X $programs{$program} = undef, next if $choice eq 'none'; X END-of-p5-Mail-Mbox-MessageParser/files/patch-Makefile.PL echo x - p5-Mail-Mbox-MessageParser/Makefile sed 's/^X//' >p5-Mail-Mbox-MessageParser/Makefile << 'END-of-p5-Mail-Mbox-MessageParser/Makefile' X# New ports collection makefile for: mail/p5-Mail-Mbox-MessageParser X# Date created: Oct 28 2003 X# Whom: Cheng-Lung Sung <clsung@dragon2.net> X# X# $FreeBSD$ X# X XPORTNAME= Mail-Mbox-MessageParser XPORTVERSION= 1.12 XCATEGORIES= mail perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Mail X XMAINTAINER= clsung@dragon2.net XCOMMENT= A fast and simple mbox folder reader X XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ X ${SITE_PERL}/FileHandle/Unget.pm:${PORTSDIR}/devel/p5-FileHandle-Unget XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Mail::Mbox::MessageParser.3 \ X Mail::Mbox::MessageParser::Cache.3 \ X Mail::Mbox::MessageParser::Grep.3 \ X Mail::Mbox::MessageParser::Perl.3 X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} < 500601 XBUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec XRUN_DEPENDS+= ${BUILD_DEPENDS} X.endif X X.include <bsd.port.post.mk> END-of-p5-Mail-Mbox-MessageParser/Makefile echo x - p5-Mail-Mbox-MessageParser/distinfo sed 's/^X//' >p5-Mail-Mbox-MessageParser/distinfo << 'END-of-p5-Mail-Mbox-MessageParser/distinfo' XMD5 (Mail-Mbox-MessageParser-1.12.tar.gz) = 2c09b48d8e6283dc16c41f9d25763f13 END-of-p5-Mail-Mbox-MessageParser/distinfo echo x - p5-Mail-Mbox-MessageParser/pkg-descr sed 's/^X//' >p5-Mail-Mbox-MessageParser/pkg-descr << 'END-of-p5-Mail-Mbox-MessageParser/pkg-descr' XMail::Mbox::MessageParser is a feature-poor but very fast mbox parser. It uses Xthe best of three strategies for parsing a mailbox: either using cached folder Xinformation, GNU grep, or highly optimized Perl. X XWWW: http://m-m-msgparser.sourceforge.net/ X XAuthor: David Coppit <david@coppit.org> END-of-p5-Mail-Mbox-MessageParser/pkg-descr echo x - p5-Mail-Mbox-MessageParser/pkg-plist sed 's/^X//' >p5-Mail-Mbox-MessageParser/pkg-plist << 'END-of-p5-Mail-Mbox-MessageParser/pkg-plist' X%%SITE_PERL%%/Mail/Mbox/MessageParser.pm X%%SITE_PERL%%/Mail/Mbox/MessageParser/Cache.pm X%%SITE_PERL%%/Mail/Mbox/MessageParser/Grep.pm X%%SITE_PERL%%/Mail/Mbox/MessageParser/Perl.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/Mbox/MessageParser/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto//Mail/Mbox/MessageParser X@dirrm %%SITE_PERL%%/Mail/Mbox/MessageParser X@dirrm %%SITE_PERL%%/Mail/Mbox/ X@unexec rmdir %D/%%SITE_PERL%%/Mail/Mbox/MessageParser 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Mail/Mbox 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/Mbox/MessageParser 2>/dev/null || true END-of-p5-Mail-Mbox-MessageParser/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031029070950.5675C15725>