1 |
# $Id: smeserver-cacti.spec,v 1.3 2022/07/26 04:35:58 jpp Exp $ |
# $Id: smeserver-cacti.spec,v 1.5 2022/07/27 19:00:38 jpp Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
|
|
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: smeserver-release >= 10 , rrdtool >= 1 |
Requires: smeserver-release >= 10 , rrdtool >= 1 |
21 |
Requires: cacti >= 1.2.21 |
Requires: cacti >= 1.2.21 |
22 |
|
Requires: cacti-spine |
23 |
Requires: e-smith-apache >= 2.6.0-19 |
Requires: e-smith-apache >= 2.6.0-19 |
24 |
Requires: smeserver-php >= 3.0.0-43 |
Requires: smeserver-php >= 3.0.0-43 |
25 |
|
Requires: php74-php-gmp |
26 |
|
Requires: php-gmp |
27 |
|
|
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
%changelog |
%changelog |
34 |
cacti-1.2.21 |
cacti-1.2.21 |
35 |
dedicated php-fpm pool 74 |
dedicated php-fpm pool 74 |
36 |
update event |
update event |
37 |
|
ldap available |
38 |
|
auto install install_cacti.php --accept-eula --install |
39 |
- fix sql init [SME: 10972] |
- fix sql init [SME: 10972] |
40 |
|
|
41 |
* 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 |
93 |
|
|
94 |
%prep |
%prep |
95 |
%setup |
%setup |
96 |
|
mkdir -p root/var/log/php/cacti |
97 |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
mkdir -p root/var/lib/php/cacti/{opcache,session,tmp} |
98 |
%patch0 -p1 |
%patch0 -p1 |
99 |
|
rm root/etc/e-smith/db/configuration/migrate/80cacti_sme.sql |
100 |
|
rm root/etc/e-smith/templates/etc/cacti/db.php/40DB |
101 |
|
|
102 |
%build |
%build |
103 |
perl createlinks |
perl createlinks |