mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
5fa4ad2b76
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>
34 lines
627 B
Makefile
34 lines
627 B
Makefile
# $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 <bsd.port.mk>
|