From owner-svn-ports-all@freebsd.org Wed Apr 27 11:15:44 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 152E2B1DF1E; Wed, 27 Apr 2016 11:15:44 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF01C1205; Wed, 27 Apr 2016 11:15:43 +0000 (UTC) (envelope-from robak@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3RBFhZf006157; Wed, 27 Apr 2016 11:15:43 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3RBFgwX006153; Wed, 27 Apr 2016 11:15:42 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201604271115.u3RBFgwX006153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Wed, 27 Apr 2016 11:15:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414100 - in head/sysutils: . cronic X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 11:15:44 -0000 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 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@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 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