From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 18 17:50:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77500106566C for ; Fri, 18 Dec 2009 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE608FC1F for ; Fri, 18 Dec 2009 17:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBIHo49f060315 for ; Fri, 18 Dec 2009 17:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBIHo4Qi060314; Fri, 18 Dec 2009 17:50:04 GMT (envelope-from gnats) Resent-Date: Fri, 18 Dec 2009 17:50:04 GMT Resent-Message-Id: <200912181750.nBIHo4Qi060314@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, "Zane C.B." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 426991065670 for ; Fri, 18 Dec 2009 17:48:05 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id D011B8FC17 for ; Fri, 18 Dec 2009 17:48:04 +0000 (UTC) Received: from vixen42.vulpes (unknown [192.168.14.1]) (Authenticated sender: vvelox) by vulpes.vvelox.net (Postfix) with ESMTP id E5019B842 for ; Fri, 18 Dec 2009 11:47:35 -0600 (CST) Message-Id: <1261158619.29033@vixen42.vulpes> Date: Fri, 18 Dec 2009 11:50:19 -0600 From: "Zane C.B." To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/141754: New port: devel/p5-Dir-Watch Check for file/dir additions/removals to the current working directory. 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, 18 Dec 2009 17:50:04 -0000 >Number: 141754 >Category: ports >Synopsis: New port: devel/p5-Dir-Watch Check for file/dir additions/removals to the current working directory. >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 Dec 18 17:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Zane C.B. >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD 7.2-STABLE #2: Tue Sep 22 17:59:50 CDT 2009 root@vixen42.vulpes:/usr/obj/usr/src/sys/GENERIC >Description: NAME Dir::Watch - Watches the current directory for file additions or removals. VERSION Version 0.0.0 SYNOPSIS use Dir::Watch; $dirwatch=Dir::Watch->new; if($dirwatch->check){ print "There are new items\n"; } METHODS new This initiates the object. $dirwatch=Dir::Watch->new; check This checks for a new directories or files. If any thing has been added or removed, true is returned. If nothing has been added or removed, false is returned. if(!$dirwatch->check){ print "There have been either files/directories added or removed.\n"; } >How-To-Repeat: >Fix: --- p5-Dir-Watch.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-Dir-Watch/ # p5-Dir-Watch/distinfo # p5-Dir-Watch/Makefile # p5-Dir-Watch/pkg-descr # p5-Dir-Watch/pkg-plist # echo c - p5-Dir-Watch/ mkdir -p p5-Dir-Watch/ > /dev/null 2>&1 echo x - p5-Dir-Watch/distinfo sed 's/^X//' >p5-Dir-Watch/distinfo << '2cb74ae0aef6d37f732b7b01a8deb5b1' XMD5 (Dir-Watch-0.0.0.tar.gz) = ee137c33f2e8768ed09561da3436e251 XSHA256 (Dir-Watch-0.0.0.tar.gz) = c00125f7aa4a7a14391176fc74e39f89f6adf129c44ea34e6a54dcbf51220ff9 XSIZE (Dir-Watch-0.0.0.tar.gz) = 3462 2cb74ae0aef6d37f732b7b01a8deb5b1 echo x - p5-Dir-Watch/Makefile sed 's/^X//' >p5-Dir-Watch/Makefile << '6b15a5cb0f781b6db2f42c293def29ac' X# New ports collection makefile for: devel/p5-Dir-Watch X# Date created: 2009-12-18 X# Whom: Zane C, Bowers X# X# $FreeBSD$ X# X XPORTNAME= Dir-Watch XPORTVERSION= 0.0.0 XCATEGORIES= devel XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= ../../authors/id/V/VV/VVELOX XPKGNAMEPREFIX= p5- X XMAINTAINER= vvelox@vvelox.net XCOMMENT= Watches the current directory for file/dir additions or removals X XPERL_CONFIGURE= yes X XMAN3= Dir::Watch.3 X X.include 6b15a5cb0f781b6db2f42c293def29ac echo x - p5-Dir-Watch/pkg-descr sed 's/^X//' >p5-Dir-Watch/pkg-descr << '28b7faca109cb76e0b404b708e562209' XChecks for dir/file addition/removals in the current directory. X Xuse Dir::Watch; Xmy $dirwatch=Dir::Watch->new; Xif($dirwatch->check){ X print "There are new items\n"; X} X XWWW: http://search.cpan.org/dist/Dir-Watch/ 28b7faca109cb76e0b404b708e562209 echo x - p5-Dir-Watch/pkg-plist sed 's/^X//' >p5-Dir-Watch/pkg-plist << '1bee9d9c7f50b85f3dfb6ea526bb042b' X%%SITE_PERL%%/Dir/Watch.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir/Watch/.packlist X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/ZDir/Watch X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir X@dirrmtry %%SITE_PERL%%/Dir/ 1bee9d9c7f50b85f3dfb6ea526bb042b exit --- p5-Dir-Watch.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: