From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 24 22:30:02 2008 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 231CC106567B for ; Tue, 24 Jun 2008 22:30:02 +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 0DE298FC1C for ; Tue, 24 Jun 2008 22:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OMU1wU076580 for ; Tue, 24 Jun 2008 22:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5OMU1F2076577; Tue, 24 Jun 2008 22:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 24 Jun 2008 22:30:01 GMT Resent-Message-Id: <200806242230.m5OMU1F2076577@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 7CCED1065701 for ; Tue, 24 Jun 2008 22:23:19 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.NET [74.200.198.26]) by mx1.freebsd.org (Postfix) with ESMTP id 537FF8FC15 for ; Tue, 24 Jun 2008 22:23:19 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vixen42.vulpes (c-67-173-22-216.hsd1.il.comcast.net [67.173.22.216]) (Authenticated sender: vvelox) by vulpes.vvelox.net (Postfix) with ESMTP id 07A0DB855 for ; Tue, 24 Jun 2008 17:25:30 -0500 (CDT) Message-Id: <1214346216.76854@vixen42.vulpes> Date: Tue, 24 Jun 2008 17:23:36 -0500 From: "Zane C.B." To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/124962: New port: sysutil/zccron A cron like tool that performs a single pass on a crontab stored in ZConf. 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: Tue, 24 Jun 2008 22:30:02 -0000 >Number: 124962 >Category: ports >Synopsis: New port: sysutil/zccron A cron like tool that performs a single pass on a crontab stored in ZConf. >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 Jun 24 22:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Zane C.B. >Release: FreeBSD 6.3-STABLE i386 >Organization: >Environment: System: FreeBSD 6.3-STABLE #3: Mon May 26 17:37:16 CDT 2008 root@vixen42.vulpes:/usr/obj/usr/src/sys/SMP >Description: Does the same thing as ZConf, but stores the tabs in ZConf. This does require ports/124958, in which ZConf was submitted for inclusion. >How-To-Repeat: 1: unshar 2: 3: take a look at ports/124958 4: install and enjoy >Fix: --- zccron.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: # # sysutils/zccron/ # sysutils/zccron/Makefile # sysutils/zccron/distinfo # sysutils/zccron/pkg-descr # echo c - sysutils/zccron/ mkdir -p sysutils/zccron/ > /dev/null 2>&1 echo x - sysutils/zccron/Makefile sed 's/^X//' >sysutils/zccron/Makefile << 'END-of-sysutils/zccron/Makefile' X# New ports collection makefile for: zccron X# Date created: 24 June 2008 X# Whom: Zane C. Bowers X# X# $FreeBSD$ X# X XPORTNAME= zccron XPORTVERSION= 0.0.0 XCATEGORIES= sysutils deskutils XDISTNAME= ${PORTNAME}-${PORTVERSION}.pl XEXTRACT_SUFX= XEXTRACT_ONLY= X XMAINTAINER= vvelox@vvelox.net XCOMMENT= A cron like tool that performs a single pass on a crontab stored in ZConf. X XRUN_DEPENDS= ${SITE_PERL}/DateTime/Event/Cron.pm:${PORTSDIR}/devel/p5-DateTime-Event-Cron \ X ${SITE_PERL}/${PERL_ARCH}/DateTime/Duration.pm:${PORTSDIR}/devel/p5-DateTime \ X ${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \ X ${SITE_PERL}/ZConf.pm:${PORTSDIR}/devel/p5-ZConf X XUSE_PERL5= yes X XNO_WRKSUBDIR= yes X XMASTER_SITES= http://cpan.org/authors/id/V/VV/VVELOX/ X XMAN1= ${PORTNAME}.1 X XPLIST_FILES= bin/${PORTNAME} X Xpost-extract: X @${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC} X X#nothing to configure Xdo-configure: X @${ECHO} -n X Xdo-build: X @${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1 X Xdo-install: X @${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} X @${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1 X @${CHMOD} +x ${PREFIX}/bin/${PORTNAME} X X.include END-of-sysutils/zccron/Makefile echo x - sysutils/zccron/distinfo sed 's/^X//' >sysutils/zccron/distinfo << 'END-of-sysutils/zccron/distinfo' XMD5 (zccron-0.0.0.pl) = ef921509b137f377237e2715ca14bdf4 XSHA256 (zccron-0.0.0.pl) = 4ba1aec97dc55e23b9dd27abde48f73a014d985b26a068101c1d1323522135d5 XSIZE (zccron-0.0.0.pl) = 7322 END-of-sysutils/zccron/distinfo echo x - sysutils/zccron/pkg-descr sed 's/^X//' >sysutils/zccron/pkg-descr << 'END-of-sysutils/zccron/pkg-descr' XThis is like comiccron, but stores the tabs in ZConf. For it to run the Xcommand, the last or next time it will be will have to be within a minute Xand 15 seconds. For most usages, you will want to have the hour and minute Xset to *. This allows a user to do something how ever many times they want Xany time during the period it is active. X XAfter running through every entry in the crontab, it then exits. X XWhy not cron? X XYou can have cron open opera or the like on a specific display by either Xswitch or enviromental options, but it will always open it. This allows Xyou to open it any time along the point it is active. END-of-sysutils/zccron/pkg-descr exit --- zccron.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: