Bug 208747

Summary: [new port] sysutils/cronic: small shim shell script for wrapping cron jobs
Product: Ports & Packages Reporter: David Harrigan <dharrigan>
Component: Individual Port(s)Assignee: Bartek Rutkowski <robak>
Status: Closed FIXED    
Severity: Affects Only Me CC: robak
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
SHAR file
dharrigan: maintainer-approval+
Poudriere Test Run
none
SHAR file
dharrigan: maintainer-approval+
SHAR file
dharrigan: maintainer-approval+
Poudriere Test Run none

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