View | Details | Raw Unified | Return to bug 221499
Collapse All | Expand All

(-)net-mgmt/cacti/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD: head/net-mgmt/cacti/Makefile 447324 2017-08-04 10:56:11Z wen $
1
# $FreeBSD: head/net-mgmt/cacti/Makefile 447324 2017-08-04 10:56:11Z wen $
2
2
3
PORTNAME=	cacti
3
PORTNAME=	cacti
4
PORTVERSION=	1.1.16
4
PORTVERSION=	1.1.17
5
CATEGORIES=	net-mgmt www
5
CATEGORIES=	net-mgmt www
6
MASTER_SITES=	http://www.cacti.net/downloads/ \
6
MASTER_SITES=	http://www.cacti.net/downloads/ \
7
		ftp://ftpmirror.uk/freebsd-ports/cacti/
7
		ftp://ftpmirror.uk/freebsd-ports/cacti/
(-)net-mgmt/cacti/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1501842212
1
TIMESTAMP = 1502623382
2
SHA256 (cacti-1.1.16.tar.gz) = 97640c45859603b1a86d94fb917c1595515d08ed07e6c91cb953c97051389939
2
SHA256 (cacti-1.1.17.tar.gz) = 80a86823e0b4b173aa1e480181d6c176cff26cc9da23552eab2e98d3766e36e7
3
SIZE (cacti-1.1.16.tar.gz) = 8893348
3
SIZE (cacti-1.1.17.tar.gz) = 8896553
(-)net-mgmt/cacti/files/patch-poller_maintenance.php (-2 / +3 lines)
Lines 1-6 Link Here
1
--- poller_maintenance.php.orig	2017-04-26 00:30:09 UTC
1
--- poller_maintenance.php.orig	2017-08-13 05:06:37.000000000 +0100
2
+++ poller_maintenance.php
2
+++ poller_maintenance.php
3
@@ -175,13 +175,13 @@ function logrotate_rotatenow () {
3
@@ -197,14 +197,14 @@
4
 
4
 
5
 	$log = read_config_option('path_cactilog');
5
 	$log = read_config_option('path_cactilog');
6
 	if ($log == '') {
6
 	if ($log == '') {
Lines 9-14 Link Here
9
 	}
9
 	}
10
 
10
 
11
 	set_config_option('logrotate_lastrun', time());
11
 	set_config_option('logrotate_lastrun', time());
12
 
12
 	clearstatcache();
13
 	clearstatcache();
13
 
14
 
14
-	if (is_writable(dirname($log) . '/') && is_writable($log)) {
15
-	if (is_writable(dirname($log) . '/') && is_writable($log)) {
(-)net-mgmt/cacti/files/patch-utilities.php (-5 / +5 lines)
Lines 1-15 Link Here
1
--- utilities.php.orig	2017-06-05 03:49:49 UTC
1
--- utilities.php.orig	2017-08-13 04:06:37 UTC
2
+++ utilities.php
2
+++ utilities.php
3
@@ -877,7 +877,7 @@ function utilities_view_logfile() {
3
@@ -877,7 +877,7 @@ function utilities_view_logfile() {
4
 			$logfile = $requestedFile;
4
 	}
5
 		}
5
 
6
 	} elseif ($logfile == '') {
6
 	if ($logfile == '') {
7
-		$logfile = $config['base_path'] . '/log/cacti.log';
7
-		$logfile = $config['base_path'] . '/log/cacti.log';
8
+		$logfile = '/var/log/cacti/log';
8
+		$logfile = '/var/log/cacti/log';
9
 	}
9
 	}
10
 
10
 
11
 	/* ================= input validation and session storage ================= */
11
 	/* ================= input validation and session storage ================= */
12
@@ -1194,7 +1194,7 @@ function utilities_clear_logfile() {
12
@@ -1199,7 +1199,7 @@ function utilities_clear_logfile() {
13
 	$logfile = read_config_option('path_cactilog');
13
 	$logfile = read_config_option('path_cactilog');
14
 
14
 
15
 	if ($logfile == '') {
15
 	if ($logfile == '') {
(-)net-mgmt/cacti/pkg-plist (+1 lines)
Lines 1094-1099 Link Here
1094
%%CACTIDIR%%/install/upgrades/1_1_8.php
1094
%%CACTIDIR%%/install/upgrades/1_1_8.php
1095
%%CACTIDIR%%/install/upgrades/1_1_11.php
1095
%%CACTIDIR%%/install/upgrades/1_1_11.php
1096
%%CACTIDIR%%/install/upgrades/1_1_14.php
1096
%%CACTIDIR%%/install/upgrades/1_1_14.php
1097
%%CACTIDIR%%/install/upgrades/1_1_17.php
1097
%%CACTIDIR%%/install/upgrades/index.php
1098
%%CACTIDIR%%/install/upgrades/index.php
1098
%%CACTIDIR%%/lib/aggregate.php
1099
%%CACTIDIR%%/lib/aggregate.php
1099
%%CACTIDIR%%/lib/api_aggregate.php
1100
%%CACTIDIR%%/lib/api_aggregate.php

Return to bug 221499