git: 780bdacd97a4 - main - sysutils/conmon: new port

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Wed, 16 Nov 2022 12:46:39 UTC
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=780bdacd97a480633443458b5ceb576fbbf35353

commit 780bdacd97a480633443458b5ceb576fbbf35353
Author:     Doug Rabson <dfr@FreeBSD.org>
AuthorDate: 2022-11-16 12:46:30 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2022-11-16 12:46:30 +0000

    sysutils/conmon: new port
    
    OCI container runtime monitor
    
    PR:             267184
    Reviewed by:    arrowd
    Reviewed by:    dch
    Sponsored by:   SkunkWerks, GmbH
    Differential Revision:  https://reviews.freebsd.org/D37324
---
 sysutils/Makefile         |  1 +
 sysutils/conmon/Makefile  | 19 +++++++++++++++++++
 sysutils/conmon/distinfo  |  3 +++
 sysutils/conmon/pkg-descr |  3 +++
 sysutils/conmon/pkg-plist |  2 ++
 5 files changed, 28 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 45f8226b9b1b..7c9480e7f776 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -212,6 +212,7 @@
     SUBDIR += conky
     SUBDIR += conky-awesome
     SUBDIR += conman
+    SUBDIR += conmon
     SUBDIR += consolehm
     SUBDIR += containers-common
     SUBDIR += consolekit2
diff --git a/sysutils/conmon/Makefile b/sysutils/conmon/Makefile
new file mode 100644
index 000000000000..d62580ef8178
--- /dev/null
+++ b/sysutils/conmon/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	conmon
+DISTVERSION=	2.1.4
+CATEGORIES=	sysutils
+
+MAINTAINER=	dfr@FreeBSD.org
+COMMENT=	OCI container runtime monitor
+WWW=		https://github.com/containers
+
+LICENSE=	GPLv2
+
+BUILD_DEPENDS=	bash:shells/bash
+LIB_DEPENDS=	libglib-2.0.so:devel/glib20
+
+USES=		gmake go:no_targets pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	containers
+GH_TAGNAME=	1df3e90
+
+.include <bsd.port.mk>
diff --git a/sysutils/conmon/distinfo b/sysutils/conmon/distinfo
new file mode 100644
index 000000000000..0c0ab4b00895
--- /dev/null
+++ b/sysutils/conmon/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666527539
+SHA256 (containers-conmon-2.1.4-1df3e90_GH0.tar.gz) = 06cf4af13ea5c3098e084cd5280e14d4966289f4408d5df31fa3f02d1c2e1ed5
+SIZE (containers-conmon-2.1.4-1df3e90_GH0.tar.gz) = 160805
diff --git a/sysutils/conmon/pkg-descr b/sysutils/conmon/pkg-descr
new file mode 100644
index 000000000000..24bfb007f566
--- /dev/null
+++ b/sysutils/conmon/pkg-descr
@@ -0,0 +1,3 @@
+conmon is a command-line program for monitoring and managing the
+lifecycle of containers that follow the Open Container Initiative
+(OCI) format.
diff --git a/sysutils/conmon/pkg-plist b/sysutils/conmon/pkg-plist
new file mode 100644
index 000000000000..ff5aa844151b
--- /dev/null
+++ b/sysutils/conmon/pkg-plist
@@ -0,0 +1,2 @@
+bin/conmon
+share/man/man8/conmon.8.gz