aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorVidar Karlsen <vidar@karlsen.tech>2023-01-22 23:09:23 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2023-01-22 23:12:22 +0000
commit55abb82a5813067ca9e61ad921e45aaecad6e428 (patch)
tree23df1c1ca5aeae9316d50c33b50dd70f58b9d2d4 /net
parent956f62bd82276a025730aa6d262f81553d154999 (diff)
downloadports-55abb82a5813067ca9e61ad921e45aaecad6e428.tar.gz
ports-55abb82a5813067ca9e61ad921e45aaecad6e428.zip
net/slurm: Revive port: Update to 0.4.4
- Submitter becomes maintainer WWW: https://github.com/mattthias/slurm/wiki/ PR: 269101
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/slurm/Makefile26
-rw-r--r--net/slurm/distinfo3
-rw-r--r--net/slurm/pkg-descr6
-rw-r--r--net/slurm/pkg-plist6
5 files changed, 42 insertions, 0 deletions
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