1 |
# $Id: smeserver-cacti.spec,v 1.1 2021/01/05 09:53:36 brianr Exp $ |
# $Id: smeserver-cacti.spec,v 1.6 2022/07/27 21:43:39 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 2 |
%define release 3 |
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 |
Patch0: smeserver-cacti-1.1.19-sme10.patch |
16 |
|
Patch1: smeserver-cacti-1.1.19-mariadb55.patch |
17 |
|
|
18 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
19 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: smeserver-release >= 10 , rrdtool >= 1 |
Requires: smeserver-release >= 10 , rrdtool >= 1 |
22 |
Requires: cacti >= 1.2.21 |
Requires: cacti >= 1.2.21 |
23 |
|
Requires: cacti-spine |
24 |
Requires: e-smith-apache >= 2.6.0-19 |
Requires: e-smith-apache >= 2.6.0-19 |
25 |
Requires: smeserver-php >= 3.0.0-43 |
Requires: smeserver-php >= 3.0.0-43 |
26 |
|
Requires: php74-php-gmp |
27 |
|
Requires: php-gmp |
28 |
|
|
29 |
AutoReqProv: no |
AutoReqProv: no |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.19-3.sme |
33 |
|
- fix cacti prevents mariadb105 to start |
34 |
|
|
35 |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.19-2.sme |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.19-2.sme |
36 |
- update httpd 2.4 to syntax [SME: 12039] |
- update httpd 2.4 to syntax [SME: 12039] |
37 |
- initial import to SME10 [SME: 11307] |
- initial import to SME10 [SME: 11307] |
38 |
cacti-1.2.21 |
cacti-1.2.21 |
39 |
dedicated php-fpm pool 74 |
dedicated php-fpm pool 74 |
40 |
update event |
update event |
41 |
|
ldap available |
42 |
|
auto install install_cacti.php --accept-eula --install |
43 |
|
- fix sql init [SME: 10972] |
44 |
|
|
45 |
* 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 |
46 |
- update to cacti-1.1.19 [SME: 8434] |
- update to cacti-1.1.19 [SME: 8434] |
60 |
- added status enabled by default |
- added status enabled by default |
61 |
- user cacti to run in cron |
- user cacti to run in cron |
62 |
|
|
63 |
* 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 |
64 |
|
Tue Nov 14 2013 --> Tue Nov 12 2013 or Thu Nov 14 2013 or Tue Nov 19 2013 or .... |
65 |
- typo fix in last patch (7) |
- typo fix in last patch (7) |
66 |
|
|
67 |
* 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 |
97 |
|
|
98 |
%prep |
%prep |
99 |
%setup |
%setup |
100 |
|
mkdir -p root/var/log/php/cacti |
101 |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
102 |
%patch0 -p1 |
%patch0 -p1 |
103 |
|
rm root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql |
104 |
|
rm root/etc/e-smith/templates/etc/cacti/db.php/40DB |
105 |
|
%patch1 -p1 |
106 |
|
|
107 |
%build |
%build |
108 |
perl createlinks |
perl createlinks |
|
# replace __PHP_VERSION__ with required php version eg 74 |
|
109 |
|
|
110 |
|
|
111 |
%install |
%install |