From owner-svn-ports-all@freebsd.org Sun Mar 4 04:11:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61365F31677; Sun, 4 Mar 2018 04:11:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1493D8763F; Sun, 4 Mar 2018 04:11:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0F92710450; Sun, 4 Mar 2018 04:11:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w244Bn17067487; Sun, 4 Mar 2018 04:11:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w244BnJY067265; Sun, 4 Mar 2018 04:11:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803040411.w244BnJY067265@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 4 Mar 2018 04:11:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463550 - in head/net-mgmt/cacti: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/net-mgmt/cacti: . files X-SVN-Commit-Revision: 463550 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2018 04:11:50 -0000 Author: yuri Date: Sun Mar 4 04:11:49 2018 New Revision: 463550 URL: https://svnweb.freebsd.org/changeset/ports/463550 Log: net-mgmt/cacti: Update to 1.1.36 This is a bugfix release. PR: 226334 Submitted by: Daniel Austin (maintainer) Approved by: tcberner (mentor, implicit) Modified: head/net-mgmt/cacti/Makefile head/net-mgmt/cacti/distinfo head/net-mgmt/cacti/files/patch-include__global_settings.php head/net-mgmt/cacti/files/patch-poller_maintenance.php head/net-mgmt/cacti/pkg-plist Modified: head/net-mgmt/cacti/Makefile ============================================================================== --- head/net-mgmt/cacti/Makefile Sun Mar 4 03:50:50 2018 (r463549) +++ head/net-mgmt/cacti/Makefile Sun Mar 4 04:11:49 2018 (r463550) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= cacti -PORTVERSION= 1.1.35 +PORTVERSION= 1.1.36 CATEGORIES= net-mgmt www MASTER_SITES= http://www.cacti.net/downloads/ \ ftp://ftpmirror.uk/freebsd-ports/cacti/ Modified: head/net-mgmt/cacti/distinfo ============================================================================== --- head/net-mgmt/cacti/distinfo Sun Mar 4 03:50:50 2018 (r463549) +++ head/net-mgmt/cacti/distinfo Sun Mar 4 04:11:49 2018 (r463550) @@ -1,3 +1,3 @@ -TIMESTAMP = 1519043380 -SHA256 (cacti-1.1.35.tar.gz) = eea42008adb699d900bd4555b0c34691389015e0c9dac43fc07e9ddb9a537ffd -SIZE (cacti-1.1.35.tar.gz) = 8999651 +TIMESTAMP = 1520108099 +SHA256 (cacti-1.1.36.tar.gz) = 9a9cbe54b51a4161ddc84234a7e4210dae279375fd2b1715511d426672327a11 +SIZE (cacti-1.1.36.tar.gz) = 9018560 Modified: head/net-mgmt/cacti/files/patch-include__global_settings.php ============================================================================== --- head/net-mgmt/cacti/files/patch-include__global_settings.php Sun Mar 4 03:50:50 2018 (r463549) +++ head/net-mgmt/cacti/files/patch-include__global_settings.php Sun Mar 4 04:11:49 2018 (r463550) @@ -1,10 +1,10 @@ ---- include/global_settings.php.orig 2017-08-13 04:06:37 UTC +--- include/global_settings.php.orig 2018-02-26 01:12:03 UTC +++ include/global_settings.php -@@ -144,9 +144,9 @@ $settings = array( +@@ -143,9 +143,9 @@ $settings = array( ), 'path_cactilog' => array( 'friendly_name' => __('Cacti Log Path'), -- 'description' => __('The path to your Cacti log file (if blank, defaults to /log/cacti.log)'), +- 'description' => __('The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)'), + 'description' => __('The path to your Cacti log file (if blank, defaults to /var/log/cacti/log)'), 'method' => 'filepath', - 'default' => $config['base_path'] . '/log/cacti.log', Modified: head/net-mgmt/cacti/files/patch-poller_maintenance.php ============================================================================== --- head/net-mgmt/cacti/files/patch-poller_maintenance.php Sun Mar 4 03:50:50 2018 (r463549) +++ head/net-mgmt/cacti/files/patch-poller_maintenance.php Sun Mar 4 04:11:49 2018 (r463550) @@ -1,19 +1,11 @@ ---- poller_maintenance.php.orig 2017-08-13 04:06:37 UTC +--- poller_maintenance.php.orig 2018-02-26 01:12:04 UTC +++ poller_maintenance.php -@@ -197,14 +197,14 @@ function logrotate_rotatenow () { +@@ -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'; } - set_config_option('logrotate_lastrun', time()); - - clearstatcache(); - -- if (is_writable(dirname($log) . '/') && is_writable($log)) { -+ if (is_writable('/var/log/cacti') && is_writable($log)) { - $perms = octdec(substr(decoct( fileperms($log) ), 2)); - $owner = fileowner($log); - $group = filegroup($log); + $run_time = time(); Modified: head/net-mgmt/cacti/pkg-plist ============================================================================== --- head/net-mgmt/cacti/pkg-plist Sun Mar 4 03:50:50 2018 (r463549) +++ head/net-mgmt/cacti/pkg-plist Sun Mar 4 04:11:49 2018 (r463550) @@ -436,7 +436,6 @@ %%CACTIDIR%%/include/js/pace.js %%CACTIDIR%%/include/js/screenfull.js %%CACTIDIR%%/include/layout.js -%%CACTIDIR%%/include/main.css %%CACTIDIR%%/include/phpgettext/gettext.php %%CACTIDIR%%/include/phpgettext/streams.php %%CACTIDIR%%/include/phpmailer/LICENSE @@ -1148,6 +1147,7 @@ %%CACTIDIR%%/install/upgrades/1_1_31.php %%CACTIDIR%%/install/upgrades/1_1_34.php %%CACTIDIR%%/install/upgrades/1_1_35.php +%%CACTIDIR%%/install/upgrades/1_1_36.php %%CACTIDIR%%/install/upgrades/index.php %%CACTIDIR%%/lib/aggregate.php %%CACTIDIR%%/lib/api_aggregate.php