From 0dfd3346a68dcc55165fd656dfca79cf89e300c8 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Mon, 28 May 2018 16:38:29 +0000 Subject: [PATCH] sysutils/dwatch-gource: Update to 0.7 + Network visualizer added (supports TCP4/6 and UDP4/6) + Process visualizer: + Add support for jails + Fix file descriptor flushing + Fix detection of process exit + Syscall visualizer: + Remove probemod from end of nodes + All visualizations (gwatch changes): + Allow override of GOURCE_OPTIONS (base gource flags) + This is separate from GOURCEOPT which is used for adding options to the base gource flags + Allow override of the profile-specific gource flags + Add DWATCHOPT as a variable to send custom flags to dwatch + RCS-style keywords updated to include git repository name Reviewed by: mat (mentor) Approved by: mat (mentor) Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D15593 --- sysutils/dwatch-gource/Makefile | 16 +++++++++++++++- sysutils/dwatch-gource/distinfo | 6 +++--- sysutils/dwatch-gource/pkg-plist | 2 ++ 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sysutils/dwatch-gource/Makefile b/sysutils/dwatch-gource/Makefile index dd6bfce940b4..b77b219c205b 100644 --- a/sysutils/dwatch-gource/Makefile +++ b/sysutils/dwatch-gource/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= dwatch-gource -DISTVERSION= 0.4 +DISTVERSION= 0.7 CATEGORIES= sysutils MAINTAINER= dteske@FreeBSD.org @@ -19,6 +19,20 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS +.include + +SUPPORTED= no +.if ${OPSYS} == FreeBSD +.if ${OSVERSION} >= 1101516 && ${OSVERSION} < 1200000 +SUPPORTED= yes +.elif ${OSVERSION} >= 1200064 +SUPPORTED= yes +.endif +.endif +.if ${SUPPORTED} == no +IGNORE= Requires dwatch available in recent FreeBSD 11 or 12 +.endif + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gwatch ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch diff --git a/sysutils/dwatch-gource/distinfo b/sysutils/dwatch-gource/distinfo index f21a7d71c5f4..feaa3167779d 100644 --- a/sysutils/dwatch-gource/distinfo +++ b/sysutils/dwatch-gource/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1526225519 -SHA256 (FrauBSD-dwatch-gource-0.4_GH0.tar.gz) = 519533cd1e886dc46c02dd6f46ac3a4107925bda5fc9f2b6903e9461786a047b -SIZE (FrauBSD-dwatch-gource-0.4_GH0.tar.gz) = 10482 +TIMESTAMP = 1527486735 +SHA256 (FrauBSD-dwatch-gource-0.7_GH0.tar.gz) = 73061a73c27694c6152f934b538e10fc5c638bfab43aa56f932ca494f12ce24e +SIZE (FrauBSD-dwatch-gource-0.7_GH0.tar.gz) = 12450 diff --git a/sysutils/dwatch-gource/pkg-plist b/sysutils/dwatch-gource/pkg-plist index 71f3754b5629..fe915cbfb5c9 100644 --- a/sysutils/dwatch-gource/pkg-plist +++ b/sysutils/dwatch-gource/pkg-plist @@ -1,4 +1,6 @@ sbin/gwatch +libexec/dwatch/gource-net +libexec/dwatch/gource-net-raw libexec/dwatch/gource-open libexec/dwatch/gource-open-raw libexec/dwatch/gource-proc