1 |
# $Id: smeserver-cacti.spec,v 1.11 2013/11/21 22:31:24 unnilennium Exp $ |
# $Id: smeserver-cacti.spec,v 1.4 2022/07/26 04:37:07 jpp Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
|
|
6 |
%define name smeserver-cacti |
%define name smeserver-cacti |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.1.19 |
%define version 1.1.19 |
9 |
%define release 1 |
%define release 2 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: Freely distributable |
License: Freely distributable |
13 |
Group: Apache |
Group: Apache |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
|
Patch0: smeserver-cacti-1.1.19-sme10.patch |
16 |
|
|
17 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: smeserver-release >= 8 , rrdtool >= 1 |
Requires: smeserver-release >= 10 , rrdtool >= 1 |
21 |
Requires: cacti >= 0.8.8h |
Requires: cacti >= 1.2.21 |
22 |
|
Requires: cacti-spine |
23 |
|
Requires: e-smith-apache >= 2.6.0-19 |
24 |
|
Requires: smeserver-php >= 3.0.0-43 |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.19-2.sme |
29 |
|
- update httpd 2.4 to syntax [SME: 12039] |
30 |
|
- initial import to SME10 [SME: 11307] |
31 |
|
cacti-1.2.21 |
32 |
|
dedicated php-fpm pool 74 |
33 |
|
update event |
34 |
|
ldap available |
35 |
|
auto install install_cacti.php --accept-eula --install |
36 |
|
- fix sql init [SME: 10972] |
37 |
|
|
38 |
* Wed Dec 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.19-1.sme |
* Wed Dec 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.19-1.sme |
39 |
- update to cacti-1.1.19 [SME: 8434] |
- update to cacti-1.1.19 [SME: 8434] |
40 |
|
|
53 |
- added status enabled by default |
- added status enabled by default |
54 |
- user cacti to run in cron |
- user cacti to run in cron |
55 |
|
|
56 |
* Tue Nov 14 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-10.sme |
* Thu Nov 14 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-10.sme |
57 |
|
Tue Nov 14 2013 --> Tue Nov 12 2013 or Thu Nov 14 2013 or Tue Nov 19 2013 or .... |
58 |
- typo fix in last patch (7) |
- typo fix in last patch (7) |
59 |
|
|
60 |
* Sun Nov 10 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-9.sme |
* Sun Nov 10 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.8b-9.sme |
90 |
|
|
91 |
%prep |
%prep |
92 |
%setup |
%setup |
93 |
#REM contribs9 %patch0 -p1 |
mkdir -p root/var/log/php/cacti |
94 |
#REM contribs9 %patch1 -p1 |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
95 |
#REM contribs9 %patch2 -p1 |
%patch0 -p1 |
96 |
#REM contribs9 %patch3 -p1 |
rm root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql |
|
#REM contribs9 %patch4 -p1 |
|
|
#REM contribs9 %patch5 -p1 |
|
|
#REM contribs9 %patch6 -p1 |
|
|
#REM contribs9 %patch7 -p1 |
|
|
#REM contribs9 %patch8 -p1 |
|
|
#REM contribs9 %patch9 -p1 |
|
97 |
|
|
98 |
%build |
%build |
99 |
perl createlinks |
perl createlinks |
100 |
|
|
101 |
|
|
102 |
%install |
%install |
103 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
104 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
105 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
106 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
107 |
|
--dir /var/log/php/cacti 'attr(0755,www,www)' \ |
108 |
|
--dir /var/lib/php/cacti 'attr(0755,www,www)' \ |
109 |
|
--dir /var/lib/php/cacti/tmp 'attr(0755,www,www)' \ |
110 |
|
--dir /var/lib/php/cacti/opcache 'attr(0755,www,www)' \ |
111 |
|
--dir /var/lib/php/cacti/session 'attr(0755,www,www)' \ |
112 |
|
> %{name}-%{version}-filelist |
113 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
114 |
|
|
115 |
%clean |
%clean |