mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add OPTIONS to either depend on plugins from nagios-plugins.org, monitoring-plugins.org or neither at all
- Bump PORTREVISION Approved by: mat (implicit)
This commit is contained in:
parent
6a69f7c6fc
commit
383100cfc7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363492
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= icinga
|
||||
PORTVERSION= 1.11.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://github.com/Icinga/${PORTNAME}-core/releases/download/v${PORTVERSION}/
|
||||
|
||||
@ -12,7 +13,6 @@ COMMENT= Enterprise grade open source monitoring system based on Nagios
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
||||
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
USES= iconv gmake
|
||||
USE_AUTOTOOLS= autoconf libltdl
|
||||
@ -74,10 +74,15 @@ SUB_LIST= PREFIX=${PREFIX} \
|
||||
${PLIST_SUB}
|
||||
|
||||
OPTIONS_DEFINE= IDOUTILS
|
||||
OPTIONS_DEFAULT= IDOUTILS
|
||||
OPTIONS_RADIO= PLUGINS
|
||||
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
||||
OPTIONS_DEFAULT= IDOUTILS MONPLUGINS
|
||||
|
||||
IDOUTILS_DESC= Enable Icinga Data Objects support
|
||||
|
||||
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/monitoring-plugins
|
||||
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIDOUTILS}
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= icinga2
|
||||
DISTVERSION= 2.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://github.com/Icinga/${PORTNAME}/archive/v${DISTVERSION}.tar.gz?dummy=/
|
||||
|
||||
@ -12,8 +13,7 @@ LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \
|
||||
libexecinfo.so:${PORTSDIR}/devel/libexecinfo # for better debugging
|
||||
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/monitoring-plugins \
|
||||
${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
|
||||
|
||||
USES= bison cmake
|
||||
USE_LDCONFIG= yes
|
||||
@ -21,10 +21,15 @@ USE_LDCONFIG= yes
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SINGLE= BACKEND
|
||||
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
|
||||
OPTIONS_MULTI= BACKEND
|
||||
OPTIONS_MULTI_BACKEND= MYSQL PGSQL
|
||||
OPTIONS_RADIO= PLUGINS
|
||||
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
||||
|
||||
OPTIONS_DEFAULT= MYSQL
|
||||
OPTIONS_DEFAULT= MYSQL MONPLUGINS
|
||||
|
||||
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/monitoring-plugins
|
||||
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
MYSQL_CMAKE_ON= -DWITH_MYSQL:BOOL=true
|
||||
PGSQL_CMAKE_ON= -DWITH_PGSQL:BOOL=true
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= nagios
|
||||
PORTVERSION= 3.5.1
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
@ -13,7 +13,6 @@ COMMENT= Powerful network monitoring system
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
||||
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
PORTSCOUT= limit:^3.
|
||||
|
||||
@ -76,11 +75,17 @@ USERS= ${NAGIOSUSER}
|
||||
GROUPS= ${NAGIOSGROUP}
|
||||
|
||||
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
|
||||
OPTIONS_RADIO= PLUGINS
|
||||
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
||||
OPTIONS_DEFAULT= NAGPLUGINS
|
||||
EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+]
|
||||
NANOSLEEP_DESC= Use nanosleep in event timing
|
||||
EVENT_BROKER_DESC= Enable event broker functionality
|
||||
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
|
||||
|
||||
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/monitoring-plugins
|
||||
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
OPTIONS_SUB=
|
||||
|
||||
EMBEDDED_PERL_USE= perl5=run
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= nagios
|
||||
PORTVERSION= 4.0.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION}
|
||||
PKGNAMESUFFIX= 4
|
||||
@ -72,9 +73,15 @@ USERS= ${NAGIOSUSER}
|
||||
GROUPS= ${NAGIOSGROUP}
|
||||
|
||||
OPTIONS_DEFINE= NANOSLEEP UNHANDLED_HACK
|
||||
OPTIONS_RADIO= PLUGINS
|
||||
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
||||
OPTIONS_DEFAULT= NAGPLUGINS
|
||||
NANOSLEEP_DESC= Use nanosleep in event timing
|
||||
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
|
||||
|
||||
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/monitoring-plugins
|
||||
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
OPTIONS_SUB=
|
||||
|
||||
NANOSLEEP_CONFIGURE_ENABLE= nanosleep
|
||||
|
Loading…
Reference in New Issue
Block a user