git: 55abb82a5813 - main - net/slurm: Revive port: Update to 0.4.4

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 22 Jan 2023 23:12:44 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55abb82a5813067ca9e61ad921e45aaecad6e428

commit 55abb82a5813067ca9e61ad921e45aaecad6e428
Author:     Vidar Karlsen <vidar@karlsen.tech>
AuthorDate: 2023-01-22 23:09:23 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-01-22 23:12:22 +0000

    net/slurm: Revive port: Update to 0.4.4
    
    - Submitter becomes maintainer
    
    WWW:            https://github.com/mattthias/slurm/wiki/
    PR:             269101
---
 MOVED               |  1 -
 net/Makefile        |  1 +
 net/slurm/Makefile  | 26 ++++++++++++++++++++++++++
 net/slurm/distinfo  |  3 +++
 net/slurm/pkg-descr |  6 ++++++
 net/slurm/pkg-plist |  6 ++++++
 6 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 8850a082d02f..8da8f381e598 100644
--- a/MOVED
+++ b/MOVED
@@ -14667,7 +14667,6 @@ net/rtpbreak||2020-05-05|Has expired: Broken for more than 6 months
 net/s3ql||2020-05-05|Has expired: Broken for more than 6 months
 net/scnc||2020-05-05|Has expired: Broken for more than 6 months
 net/sip_scenario||2020-05-05|Has expired: Broken for more than 6 months
-net/slurm||2020-05-05|Has expired: Broken for more than 6 months
 net/ssmping||2020-05-05|Has expired: Broken for more than 6 months
 net/tcpdstat||2020-05-05|Has expired: Broken for more than 6 months
 net/uplog||2020-05-05|Has expired: Broken for more than 6 months
diff --git a/net/Makefile b/net/Makefile
index 3cab3a106599..ee630ece3f1d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1428,6 +1428,7 @@
     SUBDIR += skstream
     SUBDIR += sl2tps
     SUBDIR += slackcat
+    SUBDIR += slurm
     SUBDIR += smb4k
     SUBDIR += smbldap-tools
     SUBDIR += smcroute
diff --git a/net/slurm/Makefile b/net/slurm/Makefile
new file mode 100644
index 000000000000..37139b3ac926
--- /dev/null
+++ b/net/slurm/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	slurm
+DISTVERSION=	0.4.4
+CATEGORIES=	net
+
+MAINTAINER=	vidar@karlsen.tech
+COMMENT=	Generic network load monitor
+WWW=		https://github.com/mattthias/slurm/wiki/
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		meson
+USE_GITHUB=	yes
+GH_ACCOUNT=	mattthias
+GH_TAGNAME=	upstream/${DISTVERSION}
+
+PORTDOCS=	AUTHORS COPYING COPYRIGHT ChangeLog FAQ KEYS README.md \
+		THANKS THEMES.txt TODO
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/net/slurm/distinfo b/net/slurm/distinfo
new file mode 100644
index 000000000000..9e4ffc81ef43
--- /dev/null
+++ b/net/slurm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674408229
+SHA256 (mattthias-slurm-0.4.4-upstream-0.4.4_GH0.tar.gz) = 2f846c9aa16f86cc0d3832c5cd1122b9d322a189f9e6acf8e9646dee12f9ac02
+SIZE (mattthias-slurm-0.4.4-upstream-0.4.4_GH0.tar.gz) = 76154
diff --git a/net/slurm/pkg-descr b/net/slurm/pkg-descr
new file mode 100644
index 000000000000..650a32bccd5a
--- /dev/null
+++ b/net/slurm/pkg-descr
@@ -0,0 +1,6 @@
+slurm - yet another network load monitor
+
+slurm started as a FreeBSD port of the Linux ppp link monitor called pppstatus
+by Gabriel Montenegro. Hendrik Scholz ripped off the ppp dependent parts and
+the email checks to turn it into a generic network load monitor for *BSD,
+Linux, HP-UX and Solaris.
diff --git a/net/slurm/pkg-plist b/net/slurm/pkg-plist
new file mode 100644
index 000000000000..1ee8859f0a14
--- /dev/null
+++ b/net/slurm/pkg-plist
@@ -0,0 +1,6 @@
+bin/slurm
+man/man1/slurm.1.gz
+%%DATADIR%%/black.theme
+%%DATADIR%%/blue.theme
+%%DATADIR%%/cyan.theme
+%%DATADIR%%/foo.theme