svn commit: r414100 - in head/sysutils: . cronic
Bartek Rutkowski
robak at FreeBSD.org
Wed Apr 27 11:15:44 UTC 2016
Author: robak
Date: Wed Apr 27 11:15:42 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 at gmail.com>
Added:
head/sysutils/cronic/
head/sysutils/cronic/Makefile (contents, props changed)
head/sysutils/cronic/distinfo (contents, props changed)
head/sysutils/cronic/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Wed Apr 27 11:07:21 2016 (r414099)
+++ head/sysutils/Makefile Wed Apr 27 11:15:42 2016 (r414100)
@@ -177,6 +177,7 @@
SUBDIR += cramfs
SUBDIR += crashme
SUBDIR += createrepo
+ SUBDIR += cronic
SUBDIR += cronolog
SUBDIR += cronolog-devel
SUBDIR += curly
Added: head/sysutils/cronic/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/cronic/Makefile Wed Apr 27 11:15:42 2016 (r414100)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= cronic
+PORTVERSION= 3
+CATEGORIES= sysutils
+MASTER_SITES= http://habilis.net/cronic/
+DISTNAME= ${PORTNAME}-v${PORTVERSION}
+EXTRACT_SUFX=
+
+MAINTAINER= dharrigan at gmail.com
+COMMENT= Shell script that handles cron error detection
+
+LICENSE= CC0-1.0
+
+RUN_DEPENDS= bash:shells/bash
+
+USES= shebangfix
+NO_WRKSUBDIR= yes
+NO_ARCH= yes
+NO_BUILD= yes
+
+SHEBANG_FILES= ${PORTNAME}-v${PORTVERSION}
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
Added: head/sysutils/cronic/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/cronic/distinfo Wed Apr 27 11:15:42 2016 (r414100)
@@ -0,0 +1,2 @@
+SHA256 (cronic-v3) = 25d9772e142ebdcaa72433431e26d855ae82b085709faf0d2169b3bda867aeac
+SIZE (cronic-v3) = 854
Added: head/sysutils/cronic/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/cronic/pkg-descr Wed Apr 27 11:15:42 2016 (r414100)
@@ -0,0 +1,7 @@
+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
More information about the svn-ports-all
mailing list