aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-12-11 01:05:29 +0800
committerpi <pi@FreeBSD.org>2016-12-11 01:05:29 +0800
commite39e747170cbd6794c87c98563104b60dfb66b87 (patch)
treefb073cee34964aace4a3814adaddec5f9d76131d /net-mgmt
parent36ce78d8c2d23148f517bd0e04efc1cef682699a (diff)
downloadfreebsd-ports-gnome-e39e747170cbd6794c87c98563104b60dfb66b87.tar.gz
freebsd-ports-gnome-e39e747170cbd6794c87c98563104b60dfb66b87.tar.zst
freebsd-ports-gnome-e39e747170cbd6794c87c98563104b60dfb66b87.zip
New port: net-mgmt/nagnu
Nagnu is a curses/terminal based dashboard for nagios showing current status of hosts and services. WWW: https://github.com/frlen/nagnu PR: 208846 Submitted by: Fredrik Lennmark <fredrik@min-hemsida.net>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/nagnu/Makefile33
-rw-r--r--net-mgmt/nagnu/distinfo3
-rw-r--r--net-mgmt/nagnu/pkg-descr4
4 files changed, 41 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 57cb27bb9b10..237bc13d35d8 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -144,6 +144,7 @@
SUBDIR += nagiosgraph
SUBDIR += nagiosql
SUBDIR += nagircbot
+ SUBDIR += nagnu
SUBDIR += nagstamon
SUBDIR += nagtail
SUBDIR += nagvis
diff --git a/net-mgmt/nagnu/Makefile b/net-mgmt/nagnu/Makefile
new file mode 100644
index 000000000000..f83867e48ae4
--- /dev/null
+++ b/net-mgmt/nagnu/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= nagnu
+PORTVERSION= 1.1.2
+CATEGORIES= net-mgmt
+
+MAINTAINER= fredrik@min-hemsida.net
+COMMENT= Nagios dashboard
+
+LICENSE= BSD2CLAUSE
+
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libncurses.so:devel/ncurses
+
+USE_GITHUB= yes
+GH_ACCOUNT= frlen
+PLIST_FILES= bin/nagnu \
+ man/man8/nagnu.8.gz \
+ share/examples/nagnu/nagnu.conf.sample
+
+GNU_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nagnu ${STAGEDIR}${PREFIX}/bin
+
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/nagnu
+ ${INSTALL_DATA} ${WRKSRC}/nagnu.conf.sample \
+ ${STAGEDIR}${PREFIX}/share/examples/nagnu/nagnu.conf.sample
+
+ ${INSTALL_MAN} ${WRKSRC}/docs/nagnu.8 \
+ ${STAGEDIR}${MANPREFIX}/man/man8
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/nagnu/distinfo b/net-mgmt/nagnu/distinfo
new file mode 100644
index 000000000000..03dddab69b9c
--- /dev/null
+++ b/net-mgmt/nagnu/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1481264476
+SHA256 (frlen-nagnu-1.1.2_GH0.tar.gz) = fc7aa01b29590775678111934993f83b56d021c81cecfe12c41faa216392c45b
+SIZE (frlen-nagnu-1.1.2_GH0.tar.gz) = 61619
diff --git a/net-mgmt/nagnu/pkg-descr b/net-mgmt/nagnu/pkg-descr
new file mode 100644
index 000000000000..36b89f11ab4d
--- /dev/null
+++ b/net-mgmt/nagnu/pkg-descr
@@ -0,0 +1,4 @@
+Nagnu is a curses/terminal based dashboard for nagios showing current
+status of hosts and services.
+
+WWW: https://github.com/frlen/nagnu