Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 22:48:29 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555608 - in head: . net-mgmt/cnagios net-mgmt/cnagios4
Message-ID:  <202011172248.0AHMmTJI026318@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dvl
Date: Tue Nov 17 22:48:29 2020
New Revision: 555608
URL: https://svnweb.freebsd.org/changeset/ports/555608

Log:
  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)

Deleted:
  head/net-mgmt/cnagios4/
Modified:
  head/MOVED
  head/net-mgmt/cnagios/Makefile
  head/net-mgmt/cnagios/distinfo
  head/net-mgmt/cnagios/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Tue Nov 17 22:45:21 2020	(r555607)
+++ head/MOVED	Tue Nov 17 22:48:29 2020	(r555608)
@@ -25,6 +25,8 @@
 # This file can be linted with Tools/scripts/MOVEDlint.awk
 #
 # Port|Moved to|Date|Why
+net-mgmt/cnagios|net-mgmt/cnagios@nagios3|2020-11-17|Moved to nagios3 or nagios4 flavored version
+net-mgmt/cnagios4|net-mgmt/cnagios@nagios4|2020-11-17|Moved to nagios4 flavored version
 audio/polypaudio|audio/pulseaudio|2008-01-01|Project renamed
 audio/akode-plugins-polypaudio||2008-01-01|Polypaudio is obsolete in favor of Pulseaudio
 audio/teknap|net-p2p/teknap|2008-01-09|Moved to net-p2p category

Modified: head/net-mgmt/cnagios/Makefile
==============================================================================
--- head/net-mgmt/cnagios/Makefile	Tue Nov 17 22:45:21 2020	(r555607)
+++ head/net-mgmt/cnagios/Makefile	Tue Nov 17 22:48:29 2020	(r555608)
@@ -2,7 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	cnagios
-PORTVERSION=	0.32
+PORTVERSION=	0.33
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	danny@dannywarren.com
@@ -10,8 +11,16 @@ 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
 

Modified: head/net-mgmt/cnagios/distinfo
==============================================================================
--- head/net-mgmt/cnagios/distinfo	Tue Nov 17 22:45:21 2020	(r555607)
+++ head/net-mgmt/cnagios/distinfo	Tue Nov 17 22:48:29 2020	(r555608)
@@ -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

Modified: head/net-mgmt/cnagios/pkg-descr
==============================================================================
--- head/net-mgmt/cnagios/pkg-descr	Tue Nov 17 22:45:21 2020	(r555607)
+++ head/net-mgmt/cnagios/pkg-descr	Tue Nov 17 22:48:29 2020	(r555608)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011172248.0AHMmTJI026318>