From owner-svn-ports-head@freebsd.org Tue Oct 2 22:12:20 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5E9F10AEECC; Tue, 2 Oct 2018 22:12:20 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 692F97F56C; Tue, 2 Oct 2018 22:12:20 +0000 (UTC) (envelope-from dteske@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4A42A6228; Tue, 2 Oct 2018 22:12:20 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w92MCKcg022021; Tue, 2 Oct 2018 22:12:20 GMT (envelope-from dteske@FreeBSD.org) Received: (from dteske@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w92MCJtF022013; Tue, 2 Oct 2018 22:12:19 GMT (envelope-from dteske@FreeBSD.org) Message-Id: <201810022212.w92MCJtF022013@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dteske set sender to dteske@FreeBSD.org using -f From: Devin Teske Date: Tue, 2 Oct 2018 22:12:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481138 - in head/sysutils: . dwatch-json X-SVN-Group: ports-head X-SVN-Commit-Author: dteske X-SVN-Commit-Paths: in head/sysutils: . dwatch-json X-SVN-Commit-Revision: 481138 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 22:12:21 -0000 Author: dteske Date: Tue Oct 2 22:12:18 2018 New Revision: 481138 URL: https://svnweb.freebsd.org/changeset/ports/481138 Log: [New Port] sysutils/dwatch-json: FreeBSD dwatch profiles to produce JSON logs DTrace module for FreeBSD dwatch(1) to produce JSON logs. JSON (JavaScript Object Notation) is easily consumed by log aggregators such as Kafka and Telegraf and visualizers like Vizceral. With these modules you can get data out of the kernel/userland for use in such aggregators/visualizers. Reviewed by: mat (previous version) Approved by: mat (mentor) Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D17316 Added: head/sysutils/dwatch-json/ head/sysutils/dwatch-json/Makefile (contents, props changed) head/sysutils/dwatch-json/distinfo (contents, props changed) head/sysutils/dwatch-json/pkg-descr (contents, props changed) head/sysutils/dwatch-json/pkg-plist (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Oct 2 22:06:22 2018 (r481137) +++ head/sysutils/Makefile Tue Oct 2 22:12:18 2018 (r481138) @@ -296,6 +296,7 @@ SUBDIR += dvtm SUBDIR += dwatch SUBDIR += dwatch-gource + SUBDIR += dwatch-json SUBDIR += dwatch-pwsnoop SUBDIR += e2fsprogs SUBDIR += ec2-scripts Added: head/sysutils/dwatch-json/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dwatch-json/Makefile Tue Oct 2 22:12:18 2018 (r481138) @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= dwatch-json +DISTVERSION= 0.4.1 +CATEGORIES= sysutils + +MAINTAINER= dteske@FreeBSD.org +COMMENT= FreeBSD dwatch profiles to produce JSON logs + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= FrauBSD + +NO_ARCH= yes +NO_BUILD= yes + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +.include + +.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065) +IGNORE= requires dwatch available in recent FreeBSD 11 or 12 +.endif + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch + ${INSTALL_DATA} ${WRKSRC}/json-* ${STAGEDIR}${PREFIX}/libexec/dwatch + ${INSTALL_DATA} ${WRKSRC}/dwatch-json-net.conf ${STAGEDIR}${PREFIX}/etc/dwatch-json-net.conf.sample + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include Added: head/sysutils/dwatch-json/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dwatch-json/distinfo Tue Oct 2 22:12:18 2018 (r481138) @@ -0,0 +1,3 @@ +TIMESTAMP = 1538436525 +SHA256 (FrauBSD-dwatch-json-0.4.1_GH0.tar.gz) = 49e5f6ca8a2254f61a64b30d629b1f858cd6c2cd757ae22c996343dde048f6fd +SIZE (FrauBSD-dwatch-json-0.4.1_GH0.tar.gz) = 9000 Added: head/sysutils/dwatch-json/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dwatch-json/pkg-descr Tue Oct 2 22:12:18 2018 (r481138) @@ -0,0 +1,6 @@ +DTrace module for FreeBSD dwatch(1) to produce JSON logs. JSON (JavaScript +Object Notation) is easily consumed by log aggregators such as Kafka and +Telegraf and visualizers like Vizceral. With these modules you can get +data out of the kernel/userland for use in such aggregators/visualizers. + +WWW: https://fraubsd.org/dwatch-json/ Added: head/sysutils/dwatch-json/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dwatch-json/pkg-plist Tue Oct 2 22:12:18 2018 (r481138) @@ -0,0 +1,7 @@ +etc/dwatch-json-net.conf.sample +libexec/dwatch/json-net +libexec/dwatch/json-net-config +libexec/dwatch/json-net-config-raw +libexec/dwatch/json-net-raw +libexec/dwatch/json-net-top +libexec/dwatch/json-net-top-raw