Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 17:50:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405175 - in head/sysutils: . p5-Schedule-Cron-Events
Message-ID:  <201601031750.u03HoXX3085294@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan  3 17:50:33 2016
New Revision: 405175
URL: https://svnweb.freebsd.org/changeset/ports/405175

Log:
  - Add p5-Schedule-Cron-Events 1.94
  - While I'm here, add NO_ARCH
  
  Given a line from a crontab, tells you the time at which cron will next run the
  line, or when the last event occurred, relative to any date you choose. The
  object keeps that reference date internally, and updates it when you call
  nextEvent() or previousEvent() - such that successive calls will give you a
  sequence of events going forward, or backwards, in time.
  
  Use setCounterToNow() to reset this reference time to the current date on your
  system, or use setCounterToDate() to set the reference to any arbitrary time, or
  resetCounter() to take the object back to the date you constructed it with.
  
  This module uses Set::Crontab to understand the date specification, so we should
  be able to handle all forms of cron entries.
  
  WWW: http://search.cpan.org/dist/Schedule-Cron-Events/
  
  PR:		205247
  Submitted by:	Andrey Kuzmin <akuz84@gmail.com>

Added:
  head/sysutils/p5-Schedule-Cron-Events/
  head/sysutils/p5-Schedule-Cron-Events/Makefile   (contents, props changed)
  head/sysutils/p5-Schedule-Cron-Events/distinfo   (contents, props changed)
  head/sysutils/p5-Schedule-Cron-Events/pkg-descr   (contents, props changed)
  head/sysutils/p5-Schedule-Cron-Events/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sun Jan  3 17:50:28 2016	(r405174)
+++ head/sysutils/Makefile	Sun Jan  3 17:50:33 2016	(r405175)
@@ -653,6 +653,7 @@
     SUBDIR += p5-Samba-SIDhelper
     SUBDIR += p5-Schedule-At
     SUBDIR += p5-Schedule-Cron
+    SUBDIR += p5-Schedule-Cron-Events
     SUBDIR += p5-Schedule-Load
     SUBDIR += p5-Schedule-Match
     SUBDIR += p5-Shell-Command

Added: head/sysutils/p5-Schedule-Cron-Events/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Schedule-Cron-Events/Makefile	Sun Jan  3 17:50:33 2016	(r405175)
@@ -0,0 +1,23 @@
+# Created by: Andrey Kuzmin <akuz84@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	Schedule-Cron-Events
+PORTVERSION=	1.94
+CATEGORIES=	sysutils perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	akuz84@gmail.com
+COMMENT=	Take a line from a crontab and find out when events will occur
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Set-Crontab>=0:${PORTSDIR}/devel/p5-Set-Crontab
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+NO_ARCH=	yes
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>

Added: head/sysutils/p5-Schedule-Cron-Events/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Schedule-Cron-Events/distinfo	Sun Jan  3 17:50:33 2016	(r405175)
@@ -0,0 +1,2 @@
+SHA256 (Schedule-Cron-Events-1.94.tar.gz) = 97c544533f617ee4ed7dc4fdc36f72339949432dad7b309f4ed7860cb5de8797
+SIZE (Schedule-Cron-Events-1.94.tar.gz) = 11245

Added: head/sysutils/p5-Schedule-Cron-Events/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Schedule-Cron-Events/pkg-descr	Sun Jan  3 17:50:33 2016	(r405175)
@@ -0,0 +1,14 @@
+Given a line from a crontab, tells you the time at which cron will next run the
+line, or when the last event occurred, relative to any date you choose. The
+object keeps that reference date internally, and updates it when you call
+nextEvent() or previousEvent() - such that successive calls will give you a
+sequence of events going forward, or backwards, in time.
+
+Use setCounterToNow() to reset this reference time to the current date on your
+system, or use setCounterToDate() to set the reference to any arbitrary time, or
+resetCounter() to take the object back to the date you constructed it with.
+
+This module uses Set::Crontab to understand the date specification, so we should
+be able to handle all forms of cron entries.
+
+WWW: http://search.cpan.org/dist/Schedule-Cron-Events/

Added: head/sysutils/p5-Schedule-Cron-Events/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Schedule-Cron-Events/pkg-plist	Sun Jan  3 17:50:33 2016	(r405175)
@@ -0,0 +1,4 @@
+bin/cron_event_predict.plx
+%%SITE_PERL%%/Schedule/Cron/Events.pm
+%%PERL5_MAN1%%/cron_event_predict.plx.1.gz
+%%PERL5_MAN3%%/Schedule::Cron::Events.3.gz



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