ports/109120: New port: sysutils/comiccron A cron like tool that performs a single pass on a cronfile

kitsune v.velox at vvelox.net
Tue Feb 13 06:30:05 UTC 2007


>Number:         109120
>Category:       ports
>Synopsis:       New port: sysutils/comiccron    A cron like tool that performs a single pass on a cronfile
>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 Feb 13 06:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     kitsune
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.2-STABLE #0: Mon Feb  5 17:17:56 CST 2007
    kitsune at vixen42.vulpes:/usr/obj/usr/src/sys/vixen42-2



>Description:


This will act on any cronfile it is pointed at. For it to run the command,
the last or next time it will be will have to be within a minute and 15
seconds. For most usages, you will want to have the hour and minute set
to *. This allows a user to do something how ever many times they want any
time during the period it is active.

After running through every entry in the crontab, it then exits.

Why not cron?

You can have cron open opera or the like on a specific display by either
switch or enviromental options, but it will always open it. This allows
you to open it any time along the point it is active.


>How-To-Repeat:


-notice how much cron sucks for viewing webcomics at any random time of the day you wish
-install this
-read the man and enjoy ^_^


>Fix:


--- comiccron.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/comiccron/
#	sysutils/comiccron/Makefile
#	sysutils/comiccron/distinfo
#	sysutils/comiccron/pkg-descr
#
echo c - sysutils/comiccron/
mkdir -p sysutils/comiccron/ > /dev/null 2>&1
echo x - sysutils/comiccron/Makefile
sed 's/^X//' >sysutils/comiccron/Makefile << 'END-of-sysutils/comiccron/Makefile'
X# New ports collection makefile for: comiccron
X# Date created:        12 February 2007
X# Whom:                Zane C. Bowers
X#
X# $FreeBSD$
X#
X
XPORTNAME=	comiccron
XPORTVERSION=	1.0.0
XCATEGORIES=	sysutils deskutils
XDISTNAME=	comiccron-${PORTVERSION}.pl
XEXTRACT_SUFX=
XEXTRACT_ONLY=
X
XMAINTAINER=	vvelox at vvelox.net
XCOMMENT=	A cron like tool that performs a single pass on a cronfile
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
XUSE_PERL5_RUN=	yes
X
XNO_WRKSUBDIR=	yes
X
XMASTER_SITES=	http://cpan.org/authors/id/V/VV/VVELOX/
X
XMAN1=		comiccron.1
X
XPLIST_FILES=	bin/comiccron
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=comiccron --center="comiccron user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
X
Xdo-install:
X	@${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/comiccron
X	@${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
X	@${CHMOD} +x ${PREFIX}/bin/comiccron
X
X.include <bsd.port.mk>
END-of-sysutils/comiccron/Makefile
echo x - sysutils/comiccron/distinfo
sed 's/^X//' >sysutils/comiccron/distinfo << 'END-of-sysutils/comiccron/distinfo'
XMD5 (comiccron-1.0.0.pl) = f4d21cbfe3c6788a613d14a414df2656
XSHA256 (comiccron-1.0.0.pl) = bd98c9ed814296f7b2e8bd5c05b18400f72c405eedf97d32a9a93e5f0fd46a56
XSIZE (comiccron-1.0.0.pl) = 6969
END-of-sysutils/comiccron/distinfo
echo x - sysutils/comiccron/pkg-descr
sed 's/^X//' >sysutils/comiccron/pkg-descr << 'END-of-sysutils/comiccron/pkg-descr'
XThis will act on any cronfile it is pointed at. For it to run the command,
Xthe last or next time it will be will have to be within a minute and 15
Xseconds. For most usages, you will want to have the hour and minute set 
Xto *. This allows a user to do something how ever many times they want any
Xtime 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/comiccron/pkg-descr
exit

--- comiccron.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list