Bug 208747 - [new port] sysutils/cronic: small shim shell script for wrapping cron jobs
Summary: [new port] sysutils/cronic: small shim shell script for wrapping cron jobs
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: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 16:43 UTC by David Harrigan
Modified: 2016-04-27 12:47 UTC (History)
1 user (show)

See Also:


Attachments
SHAR file (1.97 KB, application/x-shar)
2016-04-12 16:43 UTC, David Harrigan
dharrigan: maintainer-approval+
Details
Poudriere Test Run (11.92 KB, text/x-log)
2016-04-12 16:43 UTC, David Harrigan
no flags Details
SHAR file (1.92 KB, application/x-shar)
2016-04-12 17:31 UTC, David Harrigan
dharrigan: maintainer-approval+
Details
SHAR file (1.96 KB, application/x-shar)
2016-04-12 21:10 UTC, David Harrigan
dharrigan: maintainer-approval+
Details
Poudriere Test Run (12.14 KB, text/x-log)
2016-04-12 21:11 UTC, David Harrigan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Harrigan 2016-04-12 16:43:33 UTC
Created attachment 169245 [details]
SHAR file

Hi,

Please find attached the shar file for a new port 'cronic'. 

From the website (http://habilis.net/cronic):

Cronic is a small shim shell script for wrapping cron jobs so that cron only sends email when an error has occurred. Cronic defines an error as any non-trace error output or a non-zero result code. Cronic filters Bash execution traces (or anything matching PS4) from the error output, so jobs can be run with execution tracing to aid forensic debugging. Cronic has no options, it simply executes its arguments.

Attached also is the Poudriere test run associated with this port.

Please can this port be tested and included within the Ports tree.

Thank you.

-=david=-
Comment 1 David Harrigan 2016-04-12 16:43:51 UTC
Created attachment 169246 [details]
Poudriere Test Run
Comment 2 David Harrigan 2016-04-12 17:31:39 UTC
Created attachment 169250 [details]
SHAR file

Update comment to be < 70 characters.
Comment 3 David Harrigan 2016-04-12 21:10:30 UTC
Created attachment 169263 [details]
SHAR file

Updated SHAR file containing a versioned "cronic" sh file - namely cronic-v3. The author of cronic has kindly provided a versioned file for use.
Comment 4 David Harrigan 2016-04-12 21:11:10 UTC
Created attachment 169264 [details]
Poudriere Test Run

Updated Poudriere test run based upon the versioned cronic (cronic-v3) file.
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-04-27 11:15:58 UTC
A commit references this bug:

Author: robak
Date: Wed Apr 27 11:15:43 UTC 2016
New revision: 414100
URL: https://svnweb.freebsd.org/changeset/ports/414100

Log:
  sysutils/cronic: NEW PORT - Shell script that handles cron error detection

  Cronic is a small shim shell script for wrapping cron jobs so that cron only
  sends email when an error has occurred. Cronic defines an error as any
  non-trace error output or a non-zero result code. Cronic filters Bash
  execution traces (or anything matching PS4) from the error output, so jobs can
  be run with execution tracing to aid forensic debugging.

  WWW: http://habilis.net/cronic

  PR:		208747
  Submitted by:	David Harrigan <dharrigan@gmail.com>

Changes:
  head/sysutils/Makefile
  head/sysutils/cronic/
  head/sysutils/cronic/Makefile
  head/sysutils/cronic/distinfo
  head/sysutils/cronic/pkg-descr
Comment 6 Bartek Rutkowski freebsd_committer freebsd_triage 2016-04-27 11:16:31 UTC
Committed, with minor changes, thanks for your work!
Comment 7 David Harrigan 2016-04-27 12:47:05 UTC
Thanks! :-)

-=david=-