Bug 205247 - [NEW PORT] sysutils/p5-Schedule-Cron-Events: Schedule::Cron:Events
Summary: [NEW PORT] sysutils/p5-Schedule-Cron-Events: Schedule::Cron:Events
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords: feature, needs-patch, patch
Depends on:
Blocks: 205867
  Show dependency treegraph
 
Reported: 2015-12-11 14:49 UTC by Andrey
Modified: 2016-02-22 10:16 UTC (History)
1 user (show)

See Also:


Attachments
new port for perl module Schedule::Cron:Events (3.12 KB, application/x-shar)
2015-12-11 14:49 UTC, Andrey
no flags Details
version with fixed issues (2.81 KB, text/plain)
2016-01-02 12:09 UTC, Andrey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2015-12-11 14:49:29 UTC
Created attachment 164118 [details]
new port for perl module Schedule::Cron:Events

New port for perl module Schedule::Cron:Events ( http://search.cpan.org/~kohts/Schedule-Cron-Events-1.9/lib/Schedule/Cron/Events.pm )

This port is necessary to correctly run the otrs scheduler.
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-01-01 13:59:59 UTC
It seems that your submission is based on sysutils/p5-Schedule-Cron.

There are some problem in this shar file:
- The header of new port should be as follows:

# Created by: YOUR_NAME <akuz84@gmail.com>
# $FreeBSD$

- There should be no PORTREVISION for new port.
- It would be better to have a meaningful COMMENT, not just the module name.
- Please add LICENSE knobs.
- This port only requires devel/p5-Set-Crontab.
- Please provide correct pkg-descr. The submitted one is identical to sysutils/p5-Schedule-Cron/pkg-descr.
Comment 2 Andrey 2016-01-02 12:09:43 UTC
Created attachment 164952 [details]
version with fixed issues
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-01-03 17:51:35 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Jan  3 17:50:34 UTC 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>

Changes:
  head/sysutils/Makefile
  head/sysutils/p5-Schedule-Cron-Events/
  head/sysutils/p5-Schedule-Cron-Events/Makefile
  head/sysutils/p5-Schedule-Cron-Events/distinfo
  head/sysutils/p5-Schedule-Cron-Events/pkg-descr
  head/sysutils/p5-Schedule-Cron-Events/pkg-plist
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-01-03 17:54:25 UTC
Committed. Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-02-22 10:16:28 UTC
A commit references this bug:

Author: rakuco
Date: Mon Feb 22 10:16:19 UTC 2016
New revision: 409327
URL: https://svnweb.freebsd.org/changeset/ports/409327

Log:
  MFH: r405175

  [Backporting this change is necessary after r409158 introduced a requirement
  on this port in the 2016Q1 branch]

  - 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>

  PR:		205867
  Approved by:	portmgr (antoine)

Changes:
_U  branches/2016Q1/
  branches/2016Q1/sysutils/Makefile
  branches/2016Q1/sysutils/p5-Schedule-Cron-Events/