Index: head/net-mgmt/nagios/Makefile =================================================================== --- head/net-mgmt/nagios/Makefile (revision 459800) +++ head/net-mgmt/nagios/Makefile (revision 459801) @@ -1,111 +1,111 @@ # Created by: Blaz Zupan # $FreeBSD$ PORTNAME= nagios PORTVERSION= 3.5.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION} MAINTAINER= mat@FreeBSD.org COMMENT= Powerful network monitoring system LICENSE= GPLv2 LIB_DEPENDS= libltdl.so:devel/libltdl \ libgd.so:graphics/gd PORTSCOUT= limit:^3. USES= cpe perl5 php USE_PERL5= build USE_RC_SUBR= nagios CONFLICTS= nagios-[12].* nagios-devel-* nagios4-* GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ --with-command-group=${WWWGRP} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ --with-htmurl=${NAGIOSHTMURL} \ --with-cgiurl=${NAGIOSCGIURL} \ --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ --libexecdir=${PREFIX}/libexec/nagios \ --datadir=${PREFIX}/${NAGIOSWWWDIR} \ --sysconfdir=${PREFIX}/etc/nagios \ --localstatedir=${NAGIOSDIR} \ --with-httpd-conf=${PREFIX}/etc \ --with-checkresult-dir=${NAGIOSDIR}/checkresults \ --disable-statuswrl \ ac_cv_lib_iconv_main=no CONFIGURE_ENV= PERL=${PERL} CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LIBS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install install-commandmode install-config PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSWWWDIR=${NAGIOSWWWDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message # XXX: Don't remove PREFIX from SUB_LIST here. SUB_LIST= PREFIX=${PREFIX} \ NAGIOSHTMURL=${NAGIOSHTMURL} \ NAGIOSCGIURL=${NAGIOSCGIURL} \ ${PLIST_SUB} NAGIOSUSER?= nagios NAGIOSGROUP?= nagios NAGIOSDIR?= /var/spool/nagios NAGIOSWWWDIR?= www/nagios NAGIOSHTMURL?= /nagios NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin 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:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins OPTIONS_SUB= EMBEDDED_PERL_USE= perl5=run EMBEDDED_PERL_CONFIGURE_ENABLE= embedded-perl EMBEDDED_PERL_CONFIGURE_WITH= perlcache NANOSLEEP_CONFIGURE_ENABLE= nanosleep EVENT_BROKER_CONFIGURE_ENABLE= event-broker post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} .include post-patch: @${REINPLACE_CMD} '/^INSTALL_OPTS=/d' ${WRKSRC}/configure .if ${PORT_OPTIONS:MUNHANDLED_HACK} @${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \ -e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample .include Index: head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc =================================================================== --- head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc (nonexistent) +++ head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc (revision 459801) @@ -0,0 +1,11 @@ +--- html/includes/rss/rss_parse.inc.orig 2017-12-21 16:55:41.032397000 +0100 ++++ html/includes/rss/rss_parse.inc 2017-12-21 16:57:40.079068000 +0100 +@@ -150,7 +150,7 @@ + // check for a namespace, and split if found + $ns = false; + if ( strpos( $element, ':' ) ) { +- list($ns, $el) = split( ':', $element, 2); ++ list($ns, $el) = explode( ':', $element, 2); + } + if ( $ns and $ns != 'rdf' ) { + $this->current_namespace = $ns; Property changes on: head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property