Index: branches/2016Q2/net-mgmt/cacti/Makefile =================================================================== --- branches/2016Q2/net-mgmt/cacti/Makefile (revision 416120) +++ branches/2016Q2/net-mgmt/cacti/Makefile (revision 416121) @@ -1,73 +1,72 @@ # $FreeBSD$ PORTNAME= cacti PORTVERSION= 0.8.8g${PATCHLEVEL} PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= http://www.cacti.net/downloads/ \ ftp://ftpmirror.uk/freebsd-ports/cacti/ MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Web-driven graphing interface for RRDTool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rrdtool:databases/rrdtool -USES= cpe shebangfix -USE_MYSQL= yes +USES= cpe mysql shebangfix USE_PHP= mysqli pcre session sockets snmp xml WANT_PHP_WEB= yes NO_ARCH= yes NO_BUILD= yes PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message SHEBANG_FILES= scripts/3com_cable_modem.pl \ scripts/diskfree.pl \ scripts/linux_memory.pl \ scripts/loadavg.pl \ scripts/loadavg_multi.pl \ scripts/ping.pl \ scripts/query_unix_partitions.pl \ scripts/unix_processes.pl \ scripts/unix_tcp_connections.pl \ scripts/unix_users.pl \ scripts/weatherbug.pl \ scripts/webhits.pl CACTIDIR?= share/cacti CACTIUSER?= cacti CACTIGROUP?= cacti USERS?= ${CACTIUSER} GROUPS?= ${CACTIGROUP} WRKSRC= ${WRKDIR}/${PORTNAME}-${SITEDISTVERSION} SITEDISTVERSION= ${PORTVERSION:S/${PATCHLEVEL}$//} PLIST_SUB+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ CACTIGROUP=${CACTIGROUP} SUB_LIST+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ CACTIGROUP=${CACTIGROUP} post-patch: @${FIND} ${WRKSRC} -name \*.orig -delete; \ ${MV} ${WRKSRC}/include/config.php ${WRKSRC}/include/config.php.sample ${RM} -r ${WRKSRC}/log ${WRKSRC}/rra do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${CACTIDIR} ${MKDIR} ${STAGEDIR}/var/log/cacti ${MKDIR} ${STAGEDIR}/var/db/cacti/rra ${MKDIR} ${STAGEDIR}/var/db/cacti/scripts ${CP} -R ${WRKSRC}/* ${STAGEDIR}/${PREFIX}/${CACTIDIR} if [ -f ${PREFIX}/${CACTIDIR}/include/db-settings.php ]; then \ ${ECHO_CMD} "======================================================================="; \ ${ECHO_CMD} "WARNING! You have to move DB settings from"; \ ${ECHO_CMD} "${PREFIX}/${CACTIDIR}/include/db-settings.php file to"; \ ${ECHO_CMD} "${PREFIX}/${CACTIDIR}/include/config.php and remove db-settings.php"; \ fi .include Index: branches/2016Q2/net-mgmt/cacti/distinfo =================================================================== --- branches/2016Q2/net-mgmt/cacti/distinfo (revision 416120) +++ branches/2016Q2/net-mgmt/cacti/distinfo (revision 416121) @@ -1,2 +1,2 @@ -SHA256 (cacti-0.8.8g.tar.gz) = 3187bd5054ae4e54496bb23187f14c79a441fedcfd397a2d27cd60179f0dee33 -SIZE (cacti-0.8.8g.tar.gz) = 2584879 +SHA256 (cacti-0.8.8h.tar.gz) = 0673bd9513dad381c8bbb9133c721a32bc6422dc91c5a81de16e3cd32e4d0600 +SIZE (cacti-0.8.8h.tar.gz) = 2585226 Index: branches/2016Q2/net-mgmt/cacti/files/patch-install__index.php =================================================================== --- branches/2016Q2/net-mgmt/cacti/files/patch-install__index.php (revision 416120) +++ branches/2016Q2/net-mgmt/cacti/files/patch-install__index.php (revision 416121) @@ -1,11 +1,20 @@ ---- install/index.php.bak 2015-03-12 03:12:05.409276443 -0700 -+++ install/index.php 2015-03-12 03:14:17.596295374 -0700 +--- install/index.php.orig 2016-05-28 10:54:08.124059773 +0100 ++++ install/index.php 2016-05-28 10:54:34.252057818 +0100 +@@ -63,7 +63,7 @@ + } + + function verify_php_extensions() { +- $extensions = array("session", "sockets", "mysql", "xml"); ++ $extensions = array("session", "sockets", "mysqli", "xml"); + $ok = true; + $missing_extension = "

Error

+

The following PHP extensions are missing: