Index: head/net-mgmt/cacti/Makefile =================================================================== --- head/net-mgmt/cacti/Makefile (revision 485682) +++ head/net-mgmt/cacti/Makefile (revision 485683) @@ -1,67 +1,67 @@ # $FreeBSD$ PORTNAME= cacti -PORTVERSION= 1.1.37 +PORTVERSION= 1.1.38 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 mysql php:web shebangfix USE_PHP= ctype filter gd gettext gmp hash json ldap mbstring openssl pcre pdo pdo_mysql posix session simplexml sockets snmp xml zlib NO_ARCH= yes NO_BUILD= yes 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} PLIST_SUB+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ CACTIGROUP=${CACTIGROUP} SUB_LIST+= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ CACTIGROUP=${CACTIGROUP} CONFLICTS_INSTALL= cacti88 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: head/net-mgmt/cacti/distinfo =================================================================== --- head/net-mgmt/cacti/distinfo (revision 485682) +++ head/net-mgmt/cacti/distinfo (revision 485683) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523394357 -SHA256 (cacti-1.1.37.tar.gz) = 6def76e2c250db5be45b1143b4e36e4e5835ea92cadc5c2a07a41eebcc35a1fb -SIZE (cacti-1.1.37.tar.gz) = 9079906 +TIMESTAMP = 1541866898 +SHA256 (cacti-1.1.38.tar.gz) = b6c69056e6b2697ada52cb0498b7c29162ead776e7fa4fbf8156cdcb4769899d +SIZE (cacti-1.1.38.tar.gz) = 9081347 Index: head/net-mgmt/cacti/files/patch-poller_maintenance.php =================================================================== --- head/net-mgmt/cacti/files/patch-poller_maintenance.php (revision 485682) +++ head/net-mgmt/cacti/files/patch-poller_maintenance.php (revision 485683) @@ -1,11 +1,11 @@ --- poller_maintenance.php.orig 2018-02-26 01:12:04 UTC +++ poller_maintenance.php @@ -223,7 +223,7 @@ function logrotate_rotatenow () { $log = read_config_option('path_cactilog'); if ($log == '') { - $log = $config['base_path'] . '/log/cacti.log'; -+ $log = /var/log/cacti/log'; ++ $log = '/var/log/cacti/log'; } $run_time = time();