From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 14 22:20:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A808716A4DD for ; Fri, 14 Jul 2006 22:20:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF0CB43D46 for ; Fri, 14 Jul 2006 22:20:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6EMKHca032813 for ; Fri, 14 Jul 2006 22:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6EMKHrh032812; Fri, 14 Jul 2006 22:20:17 GMT (envelope-from gnats) Resent-Date: Fri, 14 Jul 2006 22:20:17 GMT Resent-Message-Id: <200607142220.k6EMKHrh032812@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D8CB16A4DF for ; Fri, 14 Jul 2006 22:20:06 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0D2E43D49 for ; Fri, 14 Jul 2006 22:20:05 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 4BB64306; Sat, 15 Jul 2006 06:20:04 +0800 (CST) Message-Id: <20060714222004.4BB64306@netnews.NCTU.edu.tw> Date: Sat, 15 Jul 2006 06:20:04 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/100314: [NEW PORT] devel/p5-File-Find-Object: An object oriented File::Find replacement X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 22:20:18 -0000 >Number: 100314 >Category: ports >Synopsis: [NEW PORT] devel/p5-File-Find-Object: An object oriented File::Find replacement >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: Fri Jul 14 22:20:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: - Tinderbox log: http://tb.gslin.org/logs/4.11-FreeBSD-Perl5/p5-File-Find-Object-0.0.3.log http://tb.gslin.org/logs/4.11-FreeBSD-Perl58/p5-File-Find-Object-0.0.3.log http://tb.gslin.org/logs/5.5-FreeBSD/p5-File-Find-Object-0.0.3.log http://tb.gslin.org/logs/6-STABLE/p5-File-Find-Object-0.0.3.log File::Find::Object does same job as File::Find but works like an object and with an iterator. As File::Find is not object oriented, one cannot perform multiple searches in the same application. The second problem of File::Find is its file processing: after starting its main loop, one cannot easilly wait for another event an so get the next result. With File::Find::Object you can get the next file by calling the next() function, but setting a callback is still possible. WWW: http://search.cpan.org/dist/File-Find-Object/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-File-Find-Object-0.0.3.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-File-Find-Object # p5-File-Find-Object/pkg-descr # p5-File-Find-Object/Makefile # p5-File-Find-Object/pkg-plist # p5-File-Find-Object/distinfo # echo c - p5-File-Find-Object mkdir -p p5-File-Find-Object > /dev/null 2>&1 echo x - p5-File-Find-Object/pkg-descr sed 's/^X//' >p5-File-Find-Object/pkg-descr << 'END-of-p5-File-Find-Object/pkg-descr' XFile::Find::Object does same job as File::Find but works like an Xobject and with an iterator. As File::Find is not object oriented, one Xcannot perform multiple searches in the same application. The second Xproblem of File::Find is its file processing: after starting its main Xloop, one cannot easilly wait for another event an so get the next Xresult. X XWith File::Find::Object you can get the next file by calling the Xnext() function, but setting a callback is still possible. X XWWW: http://search.cpan.org/dist/File-Find-Object/ END-of-p5-File-Find-Object/pkg-descr echo x - p5-File-Find-Object/Makefile sed 's/^X//' >p5-File-Find-Object/Makefile << 'END-of-p5-File-Find-Object/Makefile' X# New ports collection makefile for: p5-File-Find-Object X# Date created: 2006-07-15 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= File-Find-Object XPORTVERSION= 0.0.3 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= File XPKGNAMEPREFIX= p5- X XMAINTAINER= gslin@gslin.org XCOMMENT= An object oriented File::Find replacement X XPERL_CONFIGURE= yes X XMAN3= File::Find::Object.3 X X.include X X.if ${PERL_LEVEL} < 500600 XIGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 then try again X.endif X X.include END-of-p5-File-Find-Object/Makefile echo x - p5-File-Find-Object/pkg-plist sed 's/^X//' >p5-File-Find-Object/pkg-plist << 'END-of-p5-File-Find-Object/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Find/Object/.packlist X%%SITE_PERL%%/File/Find/Object.pm X%%SITE_PERL%%/File/Find/Object/internal.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Find/Object X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Find X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File X@dirrmtry %%SITE_PERL%%/File/Find/Object X@dirrmtry %%SITE_PERL%%/File/Find X@dirrmtry %%SITE_PERL%%/File END-of-p5-File-Find-Object/pkg-plist echo x - p5-File-Find-Object/distinfo sed 's/^X//' >p5-File-Find-Object/distinfo << 'END-of-p5-File-Find-Object/distinfo' XMD5 (File-Find-Object-0.0.3.tar.gz) = ab82a462226eaef4296bdb4306846231 XSHA256 (File-Find-Object-0.0.3.tar.gz) = d284d131fb1e2ff5c6b2b458399b57c7058cf7938f9b553da7e00ce89e67c6b5 XSIZE (File-Find-Object-0.0.3.tar.gz) = 6595 END-of-p5-File-Find-Object/distinfo exit --- p5-File-Find-Object-0.0.3.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: