diff --git a/net-mgmt/icinga2/Makefile b/net-mgmt/icinga2/Makefile index 6be11bec1cb4..e1e384e56b4a 100644 --- a/net-mgmt/icinga2/Makefile +++ b/net-mgmt/icinga2/Makefile @@ -1,107 +1,107 @@ PORTNAME= icinga2 DISTVERSIONPREFIX= v DISTVERSION= 2.12.3 CATEGORIES= net-mgmt -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@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 RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash USES= alias bison cmake:insource compiler:c++0x libedit ssl USE_GITHUB= yes GH_ACCOUNT= icinga USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES LTO UNITY OPTIONS_GROUP= BACKEND OPTIONS_GROUP_BACKEND= MYSQL PGSQL OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= MONPLUGINS MYSQL PGSQL UNITY UNITY_DESC= Use icinga unity build system (faster, memory intensive) 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 UNITY_CMAKE_OFF= -DICINGA2_UNITY_BUILD=OFF ICINGA2USER?= icinga ICINGA2GROUP?= icinga USERS= ${ICINGA2USER} GROUPS= ${ICINGA2GROUP} LOCALSTATEDIR?= /var ICINGA2LOGDIR?= /var/log/${PORTNAME} CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_INSTALL_LOCALSTATEDIR=${LOCALSTATEDIR} \ -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \ -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc \ -DCMAKE_MODULE_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_SHARED_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_STATIC_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DICINGA2_COMMAND_GROUP=${ICINGA2USER} \ -DICINGA2_COMMAND_USER=${ICINGA2USER} \ -DICINGA2_GROUP=${ICINGA2GROUP} \ -DICINGA2_PLUGINDIR=${LOCALBASE}/libexec/nagios \ -DICINGA2_RUNDIR=/var/run \ -DICINGA2_USER=${ICINGA2USER} SUB_LIST= ICINGA2GROUP=${ICINGA2GROUP} \ ICINGA2LOGDIR=${ICINGA2LOGDIR} \ ICINGA2USER=${ICINGA2USER} \ WWWGRP=${WWWGRP} PLIST_SUB= ICINGA2GROUP=${ICINGA2GROUP} \ ICINGA2USER=${ICINGA2USER} \ WWWGRP=${WWWGRP} SUB_FILES= ${PORTNAME}-newsyslog.conf pkg-message # Config files with references to "Linux" LINUX_CONFIG= groups.conf services.conf hosts.conf LTO_CMAKE_BOOL= ICINGA2_LTO_BUILD 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.conf ${STAGEDIR}${EXAMPLESDIR}/newsyslog/${PORTNAME}.conf ${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles (cd ${WRKSRC}/tools/syntax/vim && ${COPYTREE_SHARE} . \ ${STAGEDIR}${PREFIX}/share/vim/vimfiles) .include diff --git a/net-mgmt/icingaweb2-module-businessprocess/Makefile b/net-mgmt/icingaweb2-module-businessprocess/Makefile index d767a593d15c..db65814dc5fe 100644 --- a/net-mgmt/icingaweb2-module-businessprocess/Makefile +++ b/net-mgmt/icingaweb2-module-businessprocess/Makefile @@ -1,37 +1,37 @@ PORTNAME= icingaweb2-module-businessprocess DISTVERSIONPREFIX= v DISTVERSION= 2.2.0 PORTREVISION= 2 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Manage Business Processes in Icinga Web 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \ icingaweb2-module-ipl${PHP_PKGNAMESUFFIX}>=0.1.1:net-mgmt/icingaweb2-module-ipl@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= NLS NLS_USES= gettext php NLS_USE= php=intl WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-cube/Makefile b/net-mgmt/icingaweb2-module-cube/Makefile index c2bc3e620a6b..34df4dfe753f 100644 --- a/net-mgmt/icingaweb2-module-cube/Makefile +++ b/net-mgmt/icingaweb2-module-cube/Makefile @@ -1,30 +1,30 @@ PORTNAME= icingaweb2-module-cube DISTVERSIONPREFIX= v DISTVERSION= 1.1.1 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Drill-down view for Icinga web 2 based on custom variables LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes USES= php:web,flavors WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-director/Makefile b/net-mgmt/icingaweb2-module-director/Makefile index 6844101a4fda..387e08d89f33 100644 --- a/net-mgmt/icingaweb2-module-director/Makefile +++ b/net-mgmt/icingaweb2-module-director/Makefile @@ -1,36 +1,36 @@ PORTNAME= icingaweb2-module-director DISTVERSIONPREFIX= v DISTVERSION= 1.6.2 PORTREVISION= 2 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Configuration frontend for Icinga 2, integrated automation LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= NLS NLS_USES= gettext NLS_USE= php=intl WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-elasticsearch/Makefile b/net-mgmt/icingaweb2-module-elasticsearch/Makefile index 79b809f103c2..a29dc689093d 100644 --- a/net-mgmt/icingaweb2-module-elasticsearch/Makefile +++ b/net-mgmt/icingaweb2-module-elasticsearch/Makefile @@ -1,31 +1,31 @@ PORTNAME= icingaweb2-module-elasticsearch DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 PORTREVISION= 3 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Integrate Elasticsearch into Icinga Web 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.2:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-fileshipper/Makefile b/net-mgmt/icingaweb2-module-fileshipper/Makefile index 94bb9d186e77..54bd6adf6a36 100644 --- a/net-mgmt/icingaweb2-module-fileshipper/Makefile +++ b/net-mgmt/icingaweb2-module-fileshipper/Makefile @@ -1,30 +1,30 @@ PORTNAME= icingaweb2-module-fileshipper DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Import CSV, JSON, XML and YAML files for the Icinga Director LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-generictts/Makefile b/net-mgmt/icingaweb2-module-generictts/Makefile index 2c0f8e23fb46..bd6de7d615c6 100644 --- a/net-mgmt/icingaweb2-module-generictts/Makefile +++ b/net-mgmt/icingaweb2-module-generictts/Makefile @@ -1,31 +1,31 @@ PORTNAME= icingaweb2-module-generictts DISTVERSIONPREFIX= v DISTVERSION= 2.0.0 PORTREVISION= 3 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Generic ticket system integration into Icinga web 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-grafana/Makefile b/net-mgmt/icingaweb2-module-grafana/Makefile index 56fe04780ce1..f46ce3e9f6fe 100644 --- a/net-mgmt/icingaweb2-module-grafana/Makefile +++ b/net-mgmt/icingaweb2-module-grafana/Makefile @@ -1,31 +1,31 @@ PORTNAME= icingaweb2-module-grafana DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Add Grafana graphs into Icinga Web 2 to display performance metrics LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= mikesch-mp NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${RM} -r ${WRKSRC}/.idea ${WRKSRC}/.github @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-graphite/Makefile b/net-mgmt/icingaweb2-module-graphite/Makefile index 2ceff5a0246e..96694bc877ff 100644 --- a/net-mgmt/icingaweb2-module-graphite/Makefile +++ b/net-mgmt/icingaweb2-module-graphite/Makefile @@ -1,31 +1,31 @@ PORTNAME= icingaweb2-module-graphite DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 PORTREVISION= 3 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Graphite integration into Icinga Web 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.5.0:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-idoreports/Makefile b/net-mgmt/icingaweb2-module-idoreports/Makefile index 65ac0d1f5eb5..3cc6474f07c0 100644 --- a/net-mgmt/icingaweb2-module-idoreports/Makefile +++ b/net-mgmt/icingaweb2-module-idoreports/Makefile @@ -1,32 +1,32 @@ PORTNAME= icingaweb2-module-idoreports DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 PORTREVISION= 2 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Host and service availability reports for Icinga LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.6.0:net-mgmt/icingaweb2@${PHP_FLAVOR} \ icingaweb2-module-reporting${PHP_PKGNAMESUFFIX}>=0.9:net-mgmt/icingaweb2-module-reporting@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-ipl/Makefile b/net-mgmt/icingaweb2-module-ipl/Makefile index f7d247192899..b6187ae7bcc5 100644 --- a/net-mgmt/icingaweb2-module-ipl/Makefile +++ b/net-mgmt/icingaweb2-module-ipl/Makefile @@ -1,30 +1,30 @@ PORTNAME= icingaweb2-module-ipl DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Icinga PHP library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-map/Makefile b/net-mgmt/icingaweb2-module-map/Makefile index 58dbeaa4bead..ab880931b4bc 100644 --- a/net-mgmt/icingaweb2-module-map/Makefile +++ b/net-mgmt/icingaweb2-module-map/Makefile @@ -1,32 +1,32 @@ PORTNAME= icingaweb2-module-map DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 PORTREVISION= 3 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Display hosts on OpenStreetMap LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= nbuchwitz NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${RM} -r ${WRKSRC}/.github @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-pdfexport/Makefile b/net-mgmt/icingaweb2-module-pdfexport/Makefile index 7003aa702b9b..e3eec2f76ee0 100644 --- a/net-mgmt/icingaweb2-module-pdfexport/Makefile +++ b/net-mgmt/icingaweb2-module-pdfexport/Makefile @@ -1,38 +1,38 @@ PORTNAME= icingaweb2-module-pdfexport DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 PORTREVISION= 2 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Icinga PDF Export LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Uses EOL Python 2.7 via www/chromium EXPIRATION_DATE=2021-06-23 RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \ chromium>0:www/chromium USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} post-patch: @${REINPLACE_CMD} -e "s|/bin/google-chrome|${LOCALBASE}/bin/chrome|" \ ${WRKSRC}/library/Pdfexport/ProvidedHook/Pdfexport.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-reactbundle/Makefile b/net-mgmt/icingaweb2-module-reactbundle/Makefile index ff99ff51de45..0993c4e98ec6 100644 --- a/net-mgmt/icingaweb2-module-reactbundle/Makefile +++ b/net-mgmt/icingaweb2-module-reactbundle/Makefile @@ -1,30 +1,30 @@ PORTNAME= icingaweb2-module-reactbundle DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Icinga Web 2 ReactPHP-based 3rd party libraries LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2-module-reporting/Makefile b/net-mgmt/icingaweb2-module-reporting/Makefile index ba147927e6ca..107193839fa9 100644 --- a/net-mgmt/icingaweb2-module-reporting/Makefile +++ b/net-mgmt/icingaweb2-module-reporting/Makefile @@ -1,45 +1,45 @@ PORTNAME= icingaweb2-module-reporting DISTVERSIONPREFIX= v DISTVERSION= 0.9.2 PORTREVISION= 1 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Reporting module for Icinga Web 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.6.0:net-mgmt/icingaweb2@${PHP_FLAVOR} \ icingaweb2-module-reactbundle${PHP_PKGNAMESUFFIX}>=0.4:net-mgmt/icingaweb2-module-reactbundle@${PHP_FLAVOR} \ icingaweb2-module-ipl${PHP_PKGNAMESUFFIX}>=0.2.1:net-mgmt/icingaweb2-module-ipl@${PHP_FLAVOR} USES= php:web,flavors USE_GITHUB= yes GH_ACCOUNT= icinga OPTIONS_DEFINE= PDF PDF_DESC= Use Chromium to export PDFs OPTIONS_DEFAULT= PDF PDF_RUN_DEPENDS= icingaweb2-module-pdfexport${PHP_PKGNAMESUFFIX}>=0.9:net-mgmt/icingaweb2-module-pdfexport@${PHP_FLAVOR} NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include .if ${PORT_OPTIONS:MPDF} DEPRECATED= Uses EOL Python 2.7 via net-mgmt/icingaweb2-module-pdfexport@${PHP_FLAVOR} EXPIRATION_DATE=2021-06-23 .endif .include diff --git a/net-mgmt/icingaweb2-module-vsphere/Makefile b/net-mgmt/icingaweb2-module-vsphere/Makefile index b468017f5530..4fe10712a61d 100644 --- a/net-mgmt/icingaweb2-module-vsphere/Makefile +++ b/net-mgmt/icingaweb2-module-vsphere/Makefile @@ -1,30 +1,30 @@ PORTNAME= icingaweb2-module-vsphere DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 PORTREVISION= 4 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Automated import of your VMs and Physical Host from VMware Sphere RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \ icingaweb2-module-director${PHP_PKGNAMESUFFIX}>=1.6.2:net-mgmt/icingaweb2-module-director@${PHP_FLAVOR} USES= php:web,flavors USE_PHP= posix soap USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile index 46b90e684b3b..3e9960e6f73c 100644 --- a/net-mgmt/icingaweb2/Makefile +++ b/net-mgmt/icingaweb2/Makefile @@ -1,78 +1,78 @@ PORTNAME= icingaweb2 DISTVERSIONPREFIX= v DISTVERSION= 2.8.2 PORTREVISION= 1 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Next generation web interface for Icinga 1 and 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= php:build,web,flavors USE_PHP= bcmath bitset ctype curl dom gd gettext hash iconv json ldap \ mbstring mcrypt memcache memcached opcache openssl pcre pdo \ pdo_sqlite posix session simplexml soap sockets sqlite3 xml \ zlib USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= ETCDIR=${ETCDIR} \ EXAMPLESDIR=${EXAMPLESDIR} \ WWWDIR=${WWWDIR} PLIST_SUB= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} OPTIONS_DEFINE= EXAMPLES LDAP MYSQL NLS PDF PGSQL SQLITE OPTIONS_DEFAULT= LDAP MYSQL PGSQL SQLITE PDF_DESC= Export graphs as PDF PDF_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} NLS_USES= gettext NLS_USE= PHP=intl PGSQL_USE= PHP=pdo_pgsql,pgsql MYSQL_USE= PHP=mysqli,pdo_mysql SQLITE_USE= PHP=pdo_sqlite,sqlite3 LDAP_USE= PHP=ldap post-patch: ${REINPLACE_CMD} 's%\(/etc/icingaweb2\)%${PREFIX}\1%g' \ ${WRKSRC}/library/Icinga/Application/ApplicationBootstrap.php ${REINPLACE_CMD} 's%readlink[^)]*)%"${PREFIX}/bin/php"%g' \ ${WRKSRC}/application/clicommands/WebCommand.php do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/etc/bash_completion.d/icingacli \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d (cd ${WRKSRC} && ${RM} -r .mailmap changelog.py icingaweb2.spec \ bin/license_writer.py packages test) (${FIND} ${WRKSRC} -name "*.bak" -delete) ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${CHMOD} 755 ${STAGEDIR}${WWWDIR}/bin/icingacli ${RLN} ${STAGEDIR}${WWWDIR}/bin/icingacli ${STAGEDIR}${PREFIX}/bin/icingacli ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ .for webserver in apache nginx ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${webserver} # ICINGAWEB_CONFIGDIR is set to /nonexistent to allow staging as user. # Once installed, ${ETCDIR} is not world-readable, so point icingacli to # a non existing directory. The config files are generated correctly anyway. (cd ${STAGEDIR}${WWWDIR} && \ ICINGAWEB_CONFIGDIR=/nonexistent \ ./bin/icingacli setup config webserver ${webserver} --path=/icingaweb2 \ --root=${WWWDIR}/public --config=${ETCDIR} \ --file=${STAGEDIR}${EXAMPLESDIR}/${webserver}/icingaweb2.conf) .endfor .include diff --git a/net-mgmt/pnp-icinga2/Makefile b/net-mgmt/pnp-icinga2/Makefile index 9d4eecc13e72..6cb3dafa5460 100644 --- a/net-mgmt/pnp-icinga2/Makefile +++ b/net-mgmt/pnp-icinga2/Makefile @@ -1,17 +1,17 @@ PORTREVISION= 3 PKGNAMESUFFIX= -icinga2 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= joneum@FreeBSD.org COMMENT= Icinga2 performance data collector and grapher MASTERDIR= ${.CURDIR}/../pnp RUN_DEPENDS= ${LOCALBASE}/bin/rrdtool:databases/rrdtool \ ${LOCALBASE}/www/icingaweb2/public/index.php:net-mgmt/icingaweb2 NAGIOSDIR?= /var/spool/icinga2 NAGIOSHTMURL?= /icingaweb2 NAGIOSUSER?= icinga NAGIOSGROUP?= icinga .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/pnp/Makefile b/net-mgmt/pnp/Makefile index 9fd7d9d64602..d8040e2bcd43 100644 --- a/net-mgmt/pnp/Makefile +++ b/net-mgmt/pnp/Makefile @@ -1,104 +1,104 @@ # Created by: rea-fbsd@codelabs.ru PORTNAME= pnp PORTVERSION= 0.6.26 PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/pnp4nagios/PNP-0.6 DISTNAME= pnp4nagios-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} -MAINTAINER?= ports@FreeBSD.org +MAINTAINER?= joneum@FreeBSD.org COMMENT?= Nagios / Icinga performance data collector and grapher LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/bin/rrdtool:databases/rrdtool RUN_DEPENDS?= ${LOCALBASE}/bin/rrdtool:databases/rrdtool \ nagios:net-mgmt/nagios MAKE_JOBS_UNSAFE= yes USES= dos2unix perl5 php php:web OPTIONS_DEFINE= PDF EXAMPLES OPTIONS_DEFAULT= PDF PDF_DESC= Use built-in fpdf library to produce PDF views PDF_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-disable-pdf .include USE_PHP= gd iconv json pcre session simplexml sockets xml zlib USE_RC_SUBR= npcd DOS2UNIX_REGEX= '.*\.\(php\|js\|txt\)$$' NAGIOSDIR?= /var/spool/nagios NAGIOSHTMURL?= /nagios NAGIOSUSER?= nagios NAGIOSGROUP?= nagios PNP_STATE= ${NAGIOSDIR}/pnp PNP_RRDS= ${PNP_STATE}/rrd PNP_SPOOL= ${PNP_STATE}/perfspool PNP_URL?= ${NAGIOSHTMURL}/pnp FPDF_DIR?= share/fpdf GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --sysconfdir=${ETCDIR} \ --datarootdir=${WWWDIR} \ --datadir=${WWWDIR} \ --localstatedir=/var/log \ --with-rrdtool=${LOCALBASE}/bin/rrdtool \ --with-perfdata-dir=${PNP_RRDS} \ --with-perfdata-spool-dir=${PNP_SPOOL} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} # Get rid of INSTALL_OPTS that are set by configure -- # we want the things to be installed with root:wheel and # NAGIOSUSER:NAGIOSGROUP are going to the configuration files. MAKE_ARGS= INSTALL_OPTS= INSTALL_TARGET= install install-config PLIST_SUB+= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message SUB_LIST= PNP_RRDS=${PNP_RRDS} \ PNP_URL=${PNP_URL} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} SAMPLE_CONFIGS= lighttpd.pnp4nagios.conf nginx.pnp4nagios.conf httpd.conf .if ${PORT_OPTIONS:MPDF} PNP_USE_FPDF= 1 .else PNP_USE_FPDF= 0 .endif post-patch: @${REINPLACE_CMD} \ -e's|^\$$conf\['\''use_fpdf'\''\] = [[:digit:]];|$$conf['\''use_fpdf'\''] = ${PNP_USE_FPDF};|' \ -e's|^\$$conf\['\''nagios_base'\''\] = "/nagios/cgi-bin";|$$conf\['\''nagios_base'\''\] = "${NAGIOSHTMURL}/cgi-bin";|' \ -e's|/usr/local/check_mk/|/usr/local/share/check_mk/|g' \ -e's|/usr/local/nagios/var/rw/live|/${NAGIOSDIR}/rw/live|' \ "${WRKSRC}/sample-config/pnp/config.php.in" .for f in ${SAMPLE_CONFIGS} @${REINPLACE_CMD} -e 's|@BASE_URL@|${PNP_URL}|g' -e 's|@datarootdir@|${WWWDIR}|g' \ -e 's|/usr/local/nagios/etc|${PREFIX}/etc/${NAGIOSUSER}|' -e 's|Nagios|${NAGIOSUSER}|' \ "${WRKSRC}/sample-config/${f}.in" .endfor @${LN} -fs ../en_US/dwnld.html ${WRKSRC}/share/pnp/documents/de_DE/dwnld.html post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${SAMPLE_CONFIGS} ${INSTALL_DATA} ${WRKSRC}/sample-config/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor ${INSTALL_MAN} ${WRKSRC}/man/npcd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .include