Index: head/net-mgmt/icinga2/Makefile =================================================================== --- head/net-mgmt/icinga2/Makefile (revision 482228) +++ head/net-mgmt/icinga2/Makefile (revision 482229) @@ -1,107 +1,106 @@ # $FreeBSD$ PORTNAME= icinga2 DISTVERSIONPREFIX= v -DISTVERSION= 2.9.2 -PORTREVISION= 1 +DISTVERSION= 2.10.0 CATEGORIES= net-mgmt MAINTAINER= lme@FreeBSD.org COMMENT= Monitoring and management system for hosts, services and networks LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libyajl.so:devel/yajl RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash USES= alias bison cmake compiler:c++0x libedit ssl USE_GITHUB= yes GH_ACCOUNT= icinga USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_GROUP= BACKEND OPTIONS_GROUP_BACKEND= MYSQL PGSQL OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= MYSQL PGSQL MONPLUGINS MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins MYSQL_CMAKE_ON= -DICINGA2_WITH_MYSQL:BOOL=true PGSQL_CMAKE_ON= -DICINGA2_WITH_PGSQL:BOOL=true ICINGA2USER?= icinga ICINGA2GROUP?= icinga USERS= ${ICINGA2USER} GROUPS= ${ICINGA2GROUP} LOCALSTATEDIR?= /var ICINGA2LOGDIR?= /var/log/${PORTNAME} CMAKE_ARGS+= -DICINGA2_USER=${ICINGA2USER} \ -DICINGA2_GROUP=${ICINGA2GROUP} \ -DICINGA2_COMMAND_USER=${ICINGA2USER} \ -DICINGA2_COMMAND_GROUP=${ICINGA2USER} \ -DICINGA2_PLUGINDIR=${LOCALBASE}/libexec/nagios \ -DICINGA2_RUNDIR=/var/run \ -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc \ -DCMAKE_INSTALL_LOCALSTATEDIR=${LOCALSTATEDIR} \ -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \ -DCMAKE_EXE_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_MODULE_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_SHARED_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_STATIC_LINKER_FLAGS=${PREFIX}/lib/icinga2 SUB_LIST= ICINGA2LOGDIR=${ICINGA2LOGDIR} \ ICINGA2USER=${ICINGA2USER} \ ICINGA2GROUP=${ICINGA2GROUP} \ WWWGRP=${WWWGRP} PLIST_SUB= ICINGA2USER=${ICINGA2USER} \ ICINGA2GROUP=${ICINGA2GROUP} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message ${PORTNAME}-newsyslog # Config files with references to "Linux" LINUX_CONFIG= groups.conf services.conf hosts.conf MYSQL_USES= mysql PGSQL_USES= pgsql OPTIONS_SUB= yes .include .if ! ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MPGSQL} PLIST_SUB+= DBBACKEND="@comment " .else PLIST_SUB+= DBBACKEND="" .endif post-patch: .for f in ${LINUX_CONFIG} ${REINPLACE_CMD} 's,[Ll]inux,FreeBSD,g' ${WRKSRC}/etc/icinga2/conf.d/${f} .endfor pre-install: ${FIND} ${WRKSRC}/etc -type f -name "*.conf" -exec ${MV} {} {}.sample \; ${FIND} ${WRKSRC}/etc/icinga2/scripts -type f -name "*.sh" \ -exec ${MV} {} {}.sample \; post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/newsyslog/ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-newsyslog ${STAGEDIR}${EXAMPLESDIR}/newsyslog/${PORTNAME} ${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles (cd ${WRKSRC}/tools/syntax/vim && ${COPYTREE_SHARE} . \ ${STAGEDIR}${PREFIX}/share/vim/vimfiles) .include Index: head/net-mgmt/icinga2/distinfo =================================================================== --- head/net-mgmt/icinga2/distinfo (revision 482228) +++ head/net-mgmt/icinga2/distinfo (revision 482229) @@ -1,3 +1,3 @@ -TIMESTAMP = 1538041940 -SHA256 (icinga-icinga2-v2.9.2_GH0.tar.gz) = 3d46e61bc45a369c757a9f91111b80fb2405099a32e04e7d259f8c3a72cfe762 -SIZE (icinga-icinga2-v2.9.2_GH0.tar.gz) = 2194226 +TIMESTAMP = 1539689899 +SHA256 (icinga-icinga2-v2.10.0_GH0.tar.gz) = 6f6c03979db7195d80f9aff153e6816adfb42bf60343186c6c0fb00e02796478 +SIZE (icinga-icinga2-v2.10.0_GH0.tar.gz) = 2227324 Index: head/net-mgmt/icinga2/files/patch-CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-CMakeLists.txt (revision 482229) @@ -1,26 +1,26 @@ ---- CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ CMakeLists.txt @@ -28,8 +28,8 @@ if(NOT CMAKE_BUILD_TYPE) FORCE) endif() -option(ICINGA2_WITH_MYSQL "Build the MySQL IDO module" ON) -option(ICINGA2_WITH_PGSQL "Build the PostgreSQL IDO module" ON) +option(ICINGA2_WITH_MYSQL "Build the MySQL IDO module" OFF) +option(ICINGA2_WITH_PGSQL "Build the PostgreSQL IDO module" OFF) option(ICINGA2_WITH_CHECKER "Build the checker module" ON) option(ICINGA2_WITH_COMPAT "Build the compat module" ON) option(ICINGA2_WITH_LIVESTATUS "Build the Livestatus module" ON) -@@ -217,6 +217,12 @@ if(CMAKE_C_COMPILER_ID STREQUAL "GNU") +@@ -241,6 +241,12 @@ if(CMAKE_C_COMPILER_ID STREQUAL "GNU") endif() endif() +if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD.*") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lexecinfo") + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lexecinfo") + set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} -lexecinfo") +endif() + include(CheckCXXCompilerFlag) function(check_cxx_linker_flag flag var) Index: head/net-mgmt/icinga2/files/patch-etc_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-etc_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-etc_CMakeLists.txt (revision 482229) @@ -1,61 +1,61 @@ ---- etc/CMakeLists.txt.orig 2018-03-22 10:26:19 UTC +--- etc/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ etc/CMakeLists.txt @@ -24,39 +24,39 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" endif() if(NOT WIN32) -- install_if_not_exists(${CMAKE_CURRENT_BINARY_DIR}/icinga2/constants.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) -- install_if_not_exists(icinga2/icinga2.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) -+ install_if_not_exists(${CMAKE_CURRENT_BINARY_DIR}/icinga2/constants.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) -+ install_if_not_exists(icinga2/icinga2.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) +- install_if_not_exists(${CMAKE_CURRENT_BINARY_DIR}/icinga2/constants.conf ${ICINGA2_CONFIGDIR}) +- install_if_not_exists(icinga2/icinga2.conf ${ICINGA2_CONFIGDIR}) ++ install_if_not_exists(${CMAKE_CURRENT_BINARY_DIR}/icinga2/constants.conf.sample ${ICINGA2_CONFIGDIR}) ++ install_if_not_exists(icinga2/icinga2.conf.sample ${ICINGA2_CONFIGDIR}) else() - install_if_not_exists(${CMAKE_CURRENT_SOURCE_DIR}/icinga2/win32/constants.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) - install_if_not_exists(icinga2/win32/icinga2.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) + install_if_not_exists(${CMAKE_CURRENT_SOURCE_DIR}/icinga2/win32/constants.conf ${ICINGA2_CONFIGDIR}) + install_if_not_exists(icinga2/win32/icinga2.conf ${ICINGA2_CONFIGDIR}) endif() --install_if_not_exists(icinga2/zones.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) --install_if_not_exists(icinga2/conf.d/app.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/conf.d/commands.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/conf.d/downtimes.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/conf.d/groups.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/zones.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2) -+install_if_not_exists(icinga2/conf.d/app.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/conf.d/commands.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/conf.d/downtimes.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/conf.d/groups.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) +-install_if_not_exists(icinga2/zones.conf ${ICINGA2_CONFIGDIR}) +-install_if_not_exists(icinga2/conf.d/app.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/conf.d/commands.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/conf.d/downtimes.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/conf.d/groups.conf ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/zones.conf.sample ${ICINGA2_CONFIGDIR}) ++install_if_not_exists(icinga2/conf.d/app.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/conf.d/commands.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/conf.d/downtimes.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/conf.d/groups.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) if(NOT WIN32) -- install_if_not_exists(icinga2/conf.d/hosts.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -- install_if_not_exists(icinga2/conf.d/services.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+ install_if_not_exists(icinga2/conf.d/hosts.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+ install_if_not_exists(icinga2/conf.d/services.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) +- install_if_not_exists(icinga2/conf.d/hosts.conf ${ICINGA2_CONFIGDIR}/conf.d) +- install_if_not_exists(icinga2/conf.d/services.conf ${ICINGA2_CONFIGDIR}/conf.d) ++ install_if_not_exists(icinga2/conf.d/hosts.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++ install_if_not_exists(icinga2/conf.d/services.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) else() - install_if_not_exists(icinga2/conf.d/win32/hosts.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) - install_if_not_exists(icinga2/conf.d/win32/services.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) + install_if_not_exists(icinga2/conf.d/win32/hosts.conf ${ICINGA2_CONFIGDIR}/conf.d) + install_if_not_exists(icinga2/conf.d/win32/services.conf ${ICINGA2_CONFIGDIR}/conf.d) endif() --install_if_not_exists(icinga2/conf.d/notifications.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/conf.d/templates.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/conf.d/timeperiods.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/conf.d/users.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) --install_if_not_exists(icinga2/features-available/api.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) --install_if_not_exists(icinga2/features-available/debuglog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) --install_if_not_exists(icinga2/features-available/mainlog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) -+install_if_not_exists(icinga2/conf.d/notifications.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/conf.d/templates.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/conf.d/timeperiods.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/conf.d/users.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/conf.d) -+install_if_not_exists(icinga2/features-available/api.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) -+install_if_not_exists(icinga2/features-available/debuglog.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) -+install_if_not_exists(icinga2/features-available/mainlog.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) +-install_if_not_exists(icinga2/conf.d/notifications.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/conf.d/templates.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/conf.d/timeperiods.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/conf.d/users.conf ${ICINGA2_CONFIGDIR}/conf.d) +-install_if_not_exists(icinga2/features-available/api.conf ${ICINGA2_CONFIGDIR}/features-available) +-install_if_not_exists(icinga2/features-available/debuglog.conf ${ICINGA2_CONFIGDIR}/features-available) +-install_if_not_exists(icinga2/features-available/mainlog.conf ${ICINGA2_CONFIGDIR}/features-available) ++install_if_not_exists(icinga2/conf.d/notifications.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/conf.d/templates.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/conf.d/timeperiods.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/conf.d/users.conf.sample ${ICINGA2_CONFIGDIR}/conf.d) ++install_if_not_exists(icinga2/features-available/api.conf.sample ${ICINGA2_CONFIGDIR}/features-available) ++install_if_not_exists(icinga2/features-available/debuglog.conf.sample ${ICINGA2_CONFIGDIR}/features-available) ++install_if_not_exists(icinga2/features-available/mainlog.conf.sample ${ICINGA2_CONFIGDIR}/features-available) if(NOT WIN32) -- install_if_not_exists(icinga2/features-available/syslog.conf ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) -+ install_if_not_exists(icinga2/features-available/syslog.conf.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available) +- install_if_not_exists(icinga2/features-available/syslog.conf ${ICINGA2_CONFIGDIR}/features-available) ++ install_if_not_exists(icinga2/features-available/syslog.conf.sample ${ICINGA2_CONFIGDIR}/features-available) endif() --install_if_not_exists(icinga2/scripts/mail-host-notification.sh ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/scripts) --install_if_not_exists(icinga2/scripts/mail-service-notification.sh ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/scripts) -+install_if_not_exists(icinga2/scripts/mail-host-notification.sh.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/scripts) -+install_if_not_exists(icinga2/scripts/mail-service-notification.sh.sample ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/scripts) - install_if_not_exists(icinga2/zones.d/README ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/zones.d) +-install_if_not_exists(icinga2/scripts/mail-host-notification.sh ${ICINGA2_CONFIGDIR}/scripts) +-install_if_not_exists(icinga2/scripts/mail-service-notification.sh ${ICINGA2_CONFIGDIR}/scripts) ++install_if_not_exists(icinga2/scripts/mail-host-notification.sh.sample ${ICINGA2_CONFIGDIR}/scripts) ++install_if_not_exists(icinga2/scripts/mail-service-notification.sh.sample ${ICINGA2_CONFIGDIR}/scripts) + install_if_not_exists(icinga2/zones.d/README ${ICINGA2_CONFIGDIR}/zones.d) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") Index: head/net-mgmt/icinga2/files/patch-itl_command-plugins.conf =================================================================== --- head/net-mgmt/icinga2/files/patch-itl_command-plugins.conf (revision 482228) +++ head/net-mgmt/icinga2/files/patch-itl_command-plugins.conf (revision 482229) @@ -1,13 +1,13 @@ ---- itl/command-plugins.conf.orig 2018-07-17 12:27:32 UTC +--- itl/command-plugins.conf.orig 2018-10-11 12:01:05 UTC +++ itl/command-plugins.conf -@@ -1627,6 +1627,10 @@ object CheckCommand "procs" { +@@ -1628,6 +1628,10 @@ object CheckCommand "procs" { set_if = "$procs_nokthreads$" description = "Only scan for non kernel threads" } + "-j" = { + value = "$procs_jid$" + description = "Only scan for processes within that jail ID" + } } vars.procs_traditional = false Index: head/net-mgmt/icinga2/files/patch-lib_checker_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_checker_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_checker_CMakeLists.txt (revision 482229) @@ -1,11 +1,11 @@ ---- lib/checker/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/checker/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/checker/CMakeLists.txt @@ -35,7 +35,7 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/checker.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/checker.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/files/patch-lib_compat_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_compat_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_compat_CMakeLists.txt (revision 482229) @@ -1,23 +1,23 @@ ---- lib/compat/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/compat/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/compat/CMakeLists.txt @@ -41,17 +41,17 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/command.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/command.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/compatlog.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/compatlog.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/statusdata.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/statusdata.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/files/patch-lib_db__ido__mysql_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_db__ido__mysql_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_db__ido__mysql_CMakeLists.txt (revision 482229) @@ -1,11 +1,11 @@ ---- lib/db_ido_mysql/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/db_ido_mysql/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/db_ido_mysql/CMakeLists.txt @@ -37,7 +37,7 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/ido-mysql.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/ido-mysql.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/files/patch-lib_db__ido__pgsql_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_db__ido__pgsql_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_db__ido__pgsql_CMakeLists.txt (revision 482229) @@ -1,11 +1,11 @@ ---- lib/db_ido_pgsql/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/db_ido_pgsql/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/db_ido_pgsql/CMakeLists.txt @@ -37,7 +37,7 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/ido-pgsql.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/ido-pgsql.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/files/patch-lib_livestatus_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_livestatus_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_livestatus_CMakeLists.txt (revision 482229) @@ -1,11 +1,11 @@ ---- lib/livestatus/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/livestatus/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/livestatus/CMakeLists.txt @@ -71,7 +71,7 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/livestatus.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/livestatus.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/files/patch-lib_notification_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_notification_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_notification_CMakeLists.txt (revision 482229) @@ -1,11 +1,11 @@ ---- lib/notification/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/notification/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/notification/CMakeLists.txt @@ -35,7 +35,7 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/notification.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/notification.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/files/patch-lib_perfdata_CMakeLists.txt =================================================================== --- head/net-mgmt/icinga2/files/patch-lib_perfdata_CMakeLists.txt (revision 482228) +++ head/net-mgmt/icinga2/files/patch-lib_perfdata_CMakeLists.txt (revision 482229) @@ -1,41 +1,41 @@ ---- lib/perfdata/CMakeLists.txt.orig 2018-07-17 12:27:32 UTC +--- lib/perfdata/CMakeLists.txt.orig 2018-10-11 12:01:05 UTC +++ lib/perfdata/CMakeLists.txt @@ -45,32 +45,32 @@ set_target_properties ( ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/gelf.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/gelf.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/graphite.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/graphite.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/influxdb.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/influxdb.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/elasticsearch.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/elasticsearch.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/opentsdb.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/opentsdb.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) install_if_not_exists( - ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/perfdata.conf + ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/perfdata.conf.sample - ${CMAKE_INSTALL_SYSCONFDIR}/icinga2/features-available + ${ICINGA2_CONFIGDIR}/features-available ) Index: head/net-mgmt/icinga2/pkg-plist =================================================================== --- head/net-mgmt/icinga2/pkg-plist (revision 482228) +++ head/net-mgmt/icinga2/pkg-plist (revision 482229) @@ -1,183 +1,184 @@ etc/bash_completion.d/icinga2 @sample %%ETCDIR%%/conf.d/app.conf.sample @sample %%ETCDIR%%/conf.d/commands.conf.sample @sample %%ETCDIR%%/conf.d/downtimes.conf.sample @sample %%ETCDIR%%/conf.d/groups.conf.sample @sample %%ETCDIR%%/conf.d/hosts.conf.sample @sample %%ETCDIR%%/conf.d/notifications.conf.sample @sample %%ETCDIR%%/conf.d/services.conf.sample @sample %%ETCDIR%%/conf.d/templates.conf.sample @sample %%ETCDIR%%/conf.d/timeperiods.conf.sample @sample %%ETCDIR%%/conf.d/users.conf.sample @sample %%ETCDIR%%/constants.conf.sample @sample %%ETCDIR%%/features-available/api.conf.sample @sample %%ETCDIR%%/features-available/checker.conf.sample @sample %%ETCDIR%%/features-available/command.conf.sample @sample %%ETCDIR%%/features-available/compatlog.conf.sample @sample %%ETCDIR%%/features-available/debuglog.conf.sample @sample %%ETCDIR%%/features-available/elasticsearch.conf.sample @sample %%ETCDIR%%/features-available/gelf.conf.sample @sample %%ETCDIR%%/features-available/graphite.conf.sample %%MYSQL%%@sample(%%ICINGA2USER%%,%%ICINGA2GROUP%%,0640) %%ETCDIR%%/features-available/ido-mysql.conf.sample %%PGSQL%%@sample(%%ICINGA2USER%%,%%ICINGA2GROUP%%,0640) %%ETCDIR%%/features-available/ido-pgsql.conf.sample @sample %%ETCDIR%%/features-available/influxdb.conf.sample @sample %%ETCDIR%%/features-available/livestatus.conf.sample @sample %%ETCDIR%%/features-available/mainlog.conf.sample @sample %%ETCDIR%%/features-available/notification.conf.sample @sample %%ETCDIR%%/features-available/opentsdb.conf.sample @sample %%ETCDIR%%/features-available/perfdata.conf.sample @sample %%ETCDIR%%/features-available/statusdata.conf.sample @sample %%ETCDIR%%/features-available/syslog.conf.sample %%ETCDIR%%/features-enabled/checker.conf %%ETCDIR%%/features-enabled/mainlog.conf %%ETCDIR%%/features-enabled/notification.conf @sample %%ETCDIR%%/icinga2.conf.sample @sample %%ETCDIR%%/scripts/mail-host-notification.sh.sample @sample %%ETCDIR%%/scripts/mail-service-notification.sh.sample @sample %%ETCDIR%%/zones.conf.sample %%ETCDIR%%/zones.d/README %%MYSQL%%lib/icinga2/libmysql_shim.so -%%MYSQL%%lib/icinga2/libmysql_shim.so.2.9.2 +%%MYSQL%%lib/icinga2/libmysql_shim.so.2.10.0 %%PGSQL%%lib/icinga2/libpgsql_shim.so -%%PGSQL%%lib/icinga2/libpgsql_shim.so.2.9.2 +%%PGSQL%%lib/icinga2/libpgsql_shim.so.2.10.0 lib/icinga2/sbin/icinga2 libexec/nagios/check_nscp_api man/man8/icinga2.8.gz sbin/icinga2 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.md %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/markdown/01-about.md %%PORTDOCS%%%%DOCSDIR%%/markdown/02-getting-started.md %%PORTDOCS%%%%DOCSDIR%%/markdown/03-monitoring-basics.md %%PORTDOCS%%%%DOCSDIR%%/markdown/04-configuring-icinga-2.md %%PORTDOCS%%%%DOCSDIR%%/markdown/05-service-monitoring.md %%PORTDOCS%%%%DOCSDIR%%/markdown/06-distributed-monitoring.md %%PORTDOCS%%%%DOCSDIR%%/markdown/07-agent-based-monitoring.md %%PORTDOCS%%%%DOCSDIR%%/markdown/08-advanced-topics.md %%PORTDOCS%%%%DOCSDIR%%/markdown/09-object-types.md %%PORTDOCS%%%%DOCSDIR%%/markdown/10-icinga-template-library.md %%PORTDOCS%%%%DOCSDIR%%/markdown/11-cli-commands.md %%PORTDOCS%%%%DOCSDIR%%/markdown/12-icinga2-api.md %%PORTDOCS%%%%DOCSDIR%%/markdown/13-addons.md %%PORTDOCS%%%%DOCSDIR%%/markdown/14-features.md %%PORTDOCS%%%%DOCSDIR%%/markdown/15-troubleshooting.md %%PORTDOCS%%%%DOCSDIR%%/markdown/16-upgrading-icinga-2.md %%PORTDOCS%%%%DOCSDIR%%/markdown/17-language-reference.md %%PORTDOCS%%%%DOCSDIR%%/markdown/18-library-reference.md %%PORTDOCS%%%%DOCSDIR%%/markdown/19-technical-concepts.md %%PORTDOCS%%%%DOCSDIR%%/markdown/20-script-debugger.md %%PORTDOCS%%%%DOCSDIR%%/markdown/21-development.md %%PORTDOCS%%%%DOCSDIR%%/markdown/22-selinux.md %%PORTDOCS%%%%DOCSDIR%%/markdown/23-migrating-from-icinga-1x.md %%PORTDOCS%%%%DOCSDIR%%/markdown/24-appendix.md %%PORTDOCS%%%%DOCSDIR%%/markdown/images/advanced-topics/flapping-state-graph.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/advanced-topics/icinga2_external_checks_freshness_icingaweb2.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/advanced-topics/icingaweb2_downtime_handled.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_endpoints.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_roles.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_scenarios_ha_master_clients.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_scenarios_master_clients.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_scenarios_master_satellite_client.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_top_down_command_endpoint.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_top_down_config_sync.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_windows_client_disk_icingaweb2.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_windows_nscp.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_windows_nscp_api_drivesize_icingaweb2.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_windows_nscp_counter_icingaweb2.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_distributed_zones.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_cmd_admin_net_start_stop.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_running_service.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_installer_01.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_installer_02.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_installer_03.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_installer_04.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_installer_05.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_01.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_02.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_02_global_zone.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_03.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_04.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_01.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_02.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_03.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_04.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_05.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_06.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_05_nsclient_07.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_06_finish_no_ticket.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_06_finish_with_ticket.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/distributed-monitoring/icinga2_windows_setup_wizard_examine_config.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/mariadb-centos7.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/nano-syntax.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/postgr-import-ido.png %%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/vim-syntax.png %%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsyslog/icinga2 %%MYSQL%%%%DATADIR%%-ido-mysql/schema/mysql.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.0.2.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.1.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.2.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.3.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.4.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.5.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.6.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.8.0.sql %%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.8.1.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/pgsql.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.0.2.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.1.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.2.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.3.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.4.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.5.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.6.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.8.0.sql %%PGSQL%%%%DATADIR%%-ido-pgsql/schema/upgrade/2.8.1.sql %%DATADIR%%/include/command-icinga.conf %%DATADIR%%/include/command-nscp-local.conf %%DATADIR%%/include/command-plugins-manubulon.conf %%DATADIR%%/include/command-plugins-windows.conf %%DATADIR%%/include/command-plugins.conf %%DATADIR%%/include/hangman %%DATADIR%%/include/itl %%DATADIR%%/include/manubulon %%DATADIR%%/include/nscp %%DATADIR%%/include/plugins %%DATADIR%%/include/plugins-contrib +%%DATADIR%%/include/plugins-contrib.d/big-data.conf %%DATADIR%%/include/plugins-contrib.d/databases.conf %%DATADIR%%/include/plugins-contrib.d/hardware.conf %%DATADIR%%/include/plugins-contrib.d/icingacli.conf %%DATADIR%%/include/plugins-contrib.d/ipmi.conf %%DATADIR%%/include/plugins-contrib.d/logmanagement.conf %%DATADIR%%/include/plugins-contrib.d/metrics.conf %%DATADIR%%/include/plugins-contrib.d/network-components.conf %%DATADIR%%/include/plugins-contrib.d/network-services.conf %%DATADIR%%/include/plugins-contrib.d/operating-system.conf %%DATADIR%%/include/plugins-contrib.d/raid-controller.conf %%DATADIR%%/include/plugins-contrib.d/smart-attributes.conf %%DATADIR%%/include/plugins-contrib.d/storage.conf %%DATADIR%%/include/plugins-contrib.d/virtualization.conf %%DATADIR%%/include/plugins-contrib.d/vmware.conf %%DATADIR%%/include/plugins-contrib.d/web.conf %%DATADIR%%/include/windows-plugins share/vim/vimfiles/ftdetect/icinga2.vim share/vim/vimfiles/syntax/icinga2.vim @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/cache/icinga2 @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/api/log @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/api/zones @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/api @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/certificate-requests @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2/certs @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/lib/icinga2 @dir /var/lib @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/log/icinga2/compat/archives @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/log/icinga2/compat @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/log/icinga2/crash @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/log/icinga2 @dir(%%ICINGA2USER%%,%%WWWGRP%%,2750) /var/run/icinga2/cmd @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/run/icinga2 @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/spool/icinga2/perfdata @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/spool/icinga2/tmp @dir(%%ICINGA2USER%%,%%ICINGA2GROUP%%) /var/spool/icinga2