aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/cnagios
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2020-11-18 06:48:29 +0800
committerDan Langille <dvl@FreeBSD.org>2020-11-18 06:48:29 +0800
commit79d053c24ae3ff532734951985c8633958b88eda (patch)
treec9c6b86e70c5c321b2e06837c95a868ddf48c59a /net-mgmt/cnagios
parent09832661e412f621eefc94266165a95081cac0f9 (diff)
downloadfreebsd-ports-gnome-79d053c24ae3ff532734951985c8633958b88eda.tar.gz
freebsd-ports-gnome-79d053c24ae3ff532734951985c8633958b88eda.tar.zst
freebsd-ports-gnome-79d053c24ae3ff532734951985c8633958b88eda.zip
Update net-mgmt/cnagios to 0.33
Add FLAVORS @nagios3 & nagios4 Removing net-mgmt/cnagios4, replaced by @nagios4 flavor. Thank you. PR: 236245 Submitted by: gettoknowmi <gettoknowmi@yahoo.com> Reviewed by: danny@dannywarren.com (maintainer)
Diffstat (limited to 'net-mgmt/cnagios')
-rw-r--r--net-mgmt/cnagios/Makefile14
-rw-r--r--net-mgmt/cnagios/distinfo5
-rw-r--r--net-mgmt/cnagios/pkg-descr9
3 files changed, 23 insertions, 5 deletions
diff --git a/net-mgmt/cnagios/Makefile b/net-mgmt/cnagios/Makefile
index fa37afa83e82..8e9f4a92a453 100644
--- a/net-mgmt/cnagios/Makefile
+++ b/net-mgmt/cnagios/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= cnagios
-PORTVERSION= 0.32
+PORTVERSION= 0.33
+PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= danny@dannywarren.com
@@ -10,7 +11,15 @@ COMMENT= Curses-based interface for nagios
LICENSE= ISCL
-RUN_DEPENDS= nagios>=3.0:net-mgmt/nagios
+FLAVORS= nagios3 nagios4
+
+USES= ncurses perl5
+
+nagios3_PKGNAMESUFFIX= -nagios3
+nagios4_PKGNAMESUFFIX= -nagios4
+
+nagios3_RUN_DEPENDS= nagios>=3.0:net-mgmt/nagios
+nagios4_RUN_DEPENDS= nagios4>=4.0:net-mgmt/nagios4
USE_GITHUB= yes
GH_ACCOUNT= dannywarren
@@ -22,7 +31,6 @@ CONFIGURE_ARGS= --with-etc-dir="${ETCDIR}" \
--with-var-dir="${NAGIOSDIR}" \
--with-status-file="${NAGIOSDIR}/status.dat" \
--with-nagios-data=3
-USES= ncurses perl5
MAKE_ARGS= LIBS="-lncurses"
ALL_TARGET= cnagios
diff --git a/net-mgmt/cnagios/distinfo b/net-mgmt/cnagios/distinfo
index 9d01c9ae3171..16413adcd79d 100644
--- a/net-mgmt/cnagios/distinfo
+++ b/net-mgmt/cnagios/distinfo
@@ -1,2 +1,3 @@
-SHA256 (dannywarren-cnagios-0.32_GH0.tar.gz) = cda69a094d8972364a0d9c25c9e6dd96f4c523adeeb4175806e864e1277f6a39
-SIZE (dannywarren-cnagios-0.32_GH0.tar.gz) = 81775
+TIMESTAMP = 1553276349
+SHA256 (dannywarren-cnagios-0.33_GH0.tar.gz) = 60b33cf582b5700582006de05570c5b32e24daa9f04235e61be4cd499fc25611
+SIZE (dannywarren-cnagios-0.33_GH0.tar.gz) = 82080
diff --git a/net-mgmt/cnagios/pkg-descr b/net-mgmt/cnagios/pkg-descr
index 426edf087723..eeb713c15176 100644
--- a/net-mgmt/cnagios/pkg-descr
+++ b/net-mgmt/cnagios/pkg-descr
@@ -1 +1,10 @@
Curses-based interface for nagios.
+
+Flavours:
+
+nagios3 - RUN_PENDS will include net-mgmt/nagios
+nagios4 - RUN_PENDS will include net-mgmt/nagios4
+
+In both cases, the PKGNAME will be cnagios-${FLAVOR}
+
+WWW: https://github.com/dannywarren/cnagios