git: 2f62e65f08c1 - main - sysutils/pot: Update to 0.15.0

From: Luca Pizzamiglio <pizzamig_at_FreeBSD.org>
Date: Mon, 12 Sep 2022 19:28:36 UTC
The branch main has been updated by pizzamig:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f62e65f08c1a5b85ead3776eb8dc1ceeee7a97b

commit 2f62e65f08c1a5b85ead3776eb8dc1ceeee7a97b
Author:     Luca Pizzamiglio <pizzamig@FreeBSD.org>
AuthorDate: 2022-09-12 19:27:23 +0000
Commit:     Luca Pizzamiglio <pizzamig@FreeBSD.org>
CommitDate: 2022-09-12 19:27:23 +0000

    sysutils/pot: Update to 0.15.0
    
    While here, configure the TEST framework
    Changelog: https://github.com/bsdpot/pot/releases/tag/0.15.0
---
 sysutils/pot/Makefile  | 8 +++++++-
 sysutils/pot/distinfo  | 6 +++---
 sysutils/pot/pkg-plist | 5 +++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/sysutils/pot/Makefile b/sysutils/pot/Makefile
index 14d63762bfa7..11cb1b3dfebd 100644
--- a/sysutils/pot/Makefile
+++ b/sysutils/pot/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pot
-DISTVERSION=	0.14.0
+DISTVERSION=	0.15.0
 PORTREVISION=	0
 CATEGORIES=	sysutils
 
@@ -13,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	potnet:sysutils/potnet \
 	ncat:security/nmap \
 	freebsd-release-manifests>0:misc/freebsd-release-manifests
+TEST_DEPENDS=	flock:sysutils/flock
 
 USE_RC_SUBR=	pot pot_early
 
@@ -28,6 +29,8 @@ ZSH_DESC=	Zsh Autocompletion support
 OPTIONS_DEFAULT=	ZSH
 OPTIONS_SUB=	yes
 
+TEST_WRKSRC=	${WRKSRC}/tests
+
 PORTDOCS=	*
 
 do-install:
@@ -53,6 +56,9 @@ do-install:
 do-install-ZSH-on:
 	( cd ${WRKSRC}/share/zsh && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/zsh)
 
+do-test:
+	( cd ${TEST_WRKSRC} && ./test-suite.sh )
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/share/doc/pot/Installation.md \
diff --git a/sysutils/pot/distinfo b/sysutils/pot/distinfo
index 7ec33c91afbb..7f375559bb18 100644
--- a/sysutils/pot/distinfo
+++ b/sysutils/pot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635680287
-SHA256 (pizzamig-pot-0.14.0_GH0.tar.gz) = 44c3b5b2787651ef176ee8c720fa8c19b6fba2e9b71b8783e57df3c78ac143ae
-SIZE (pizzamig-pot-0.14.0_GH0.tar.gz) = 163035
+TIMESTAMP = 1663010105
+SHA256 (pizzamig-pot-0.15.0_GH0.tar.gz) = 1e406962b826a53b3fca32294c8462c4e151b68ee8088bdd582b85449f005d0e
+SIZE (pizzamig-pot-0.15.0_GH0.tar.gz) = 173045
diff --git a/sysutils/pot/pkg-plist b/sysutils/pot/pkg-plist
index 1eff6f9ac86f..6334d7f70824 100644
--- a/sysutils/pot/pkg-plist
+++ b/sysutils/pot/pkg-plist
@@ -19,6 +19,7 @@ bin/pot
 %%DATADIR%%/create.sh
 %%DATADIR%%/de-init.sh
 %%DATADIR%%/destroy.sh
+%%DATADIR%%/exec.sh
 %%DATADIR%%/export.sh
 %%DATADIR%%/export-ports.sh
 %%DATADIR%%/get-attribute.sh
@@ -27,8 +28,10 @@ bin/pot
 %%DATADIR%%/import.sh
 %%DATADIR%%/info.sh
 %%DATADIR%%/init.sh
+%%DATADIR%%/last-run-stats.sh
 %%DATADIR%%/list.sh
 %%DATADIR%%/mount-in.sh
+%%DATADIR%%/mount-out.sh
 %%DATADIR%%/network.sh
 %%DATADIR%%/prepare.sh
 %%DATADIR%%/prune.sh
@@ -42,7 +45,9 @@ bin/pot
 %%DATADIR%%/set-hook.sh
 %%DATADIR%%/set-hosts.sh
 %%DATADIR%%/set-rss.sh
+%%DATADIR%%/set-status.sh
 %%DATADIR%%/show.sh
+%%DATADIR%%/signal.sh
 %%DATADIR%%/snapshot.sh
 %%DATADIR%%/start.sh
 %%DATADIR%%/stop.sh