[packages/cacti] Up to 1.2.28

arekm arekm at pld-linux.org
Thu Nov 21 12:23:18 CET 2024


commit 806807a6d86465e27358b6844d034413f6d3346d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 21 11:24:17 2024 +0100

    Up to 1.2.28

 cacti-config.patch | 4 ++--
 cacti.spec         | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/cacti.spec b/cacti.spec
index 68fa201..4b79269 100644
--- a/cacti.spec
+++ b/cacti.spec
@@ -3,12 +3,12 @@
 Summary:	Cacti is a PHP frontend for rrdtool
 Summary(pl.UTF-8):	Cacti - frontend w PHP do rrdtoola
 Name:		cacti
-Version:	1.2.26
+Version:	1.2.28
 Release:	1
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	53043d8279640a074cc054c7b156375d
+# Source0-md5:	37a73a1f81cba92420e174aeed2f18b1
 Source2:	%{name}.crontab
 Source3:	%{name}-apache.conf
 Source4:	%{name}-lighttpd.conf
@@ -201,7 +201,7 @@ cp -a log $RPM_BUILD_ROOT/var/log/%{name}
 install -d $RPM_BUILD_ROOT/var/log/archive/%{name}
 cp -a rra $RPM_BUILD_ROOT/var/lib/%{name}
 
-mv $RPM_BUILD_ROOT{%{_appdir}/include,%{_sysconfdir}}/config.php
+mv $RPM_BUILD_ROOT%{_appdir}/include/config.php.dist $RPM_BUILD_ROOT%{_sysconfdir}/config.php
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/%{name}
 cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
diff --git a/cacti-config.patch b/cacti-config.patch
index 3f35eac..2dc639b 100644
--- a/cacti-config.patch
+++ b/cacti-config.patch
@@ -24,8 +24,8 @@
  
  /* for multiple pollers, we need to know this location */
  if (!isset($scripts_path)) {
---- cacti-1.2.26/include/config.php~	2023-12-24 03:17:14.000000000 +0100
-+++ cacti-1.2.26/include/config.php	2024-02-28 13:35:19.813235204 +0100
+--- cacti-1.2.26/include/config.php.dist~	2023-12-24 03:17:14.000000000 +0100
++++ cacti-1.2.26/include/config.php.dist	2024-02-28 13:35:19.813235204 +0100
 @@ -29,8 +29,8 @@
  $database_type     = 'mysql';
  $database_default  = 'cacti';
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti.git/commitdiff/806807a6d86465e27358b6844d034413f6d3346d



More information about the pld-cvs-commit mailing list