Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 17:23:36 -0500
From:      "Zane C.B." <vvelox@vvelox.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/124962: New port: sysutil/zccron A cron like tool that performs a single pass on a crontab stored in ZConf.
Message-ID:  <1214346216.76854@vixen42.vulpes>
Resent-Message-ID: <200806242230.m5OMU1F2076577@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1214346216.76854>