Hello community, here is the log from the commit of package ganglia-web for openSUSE:Factory checked in at 2018-04-16 12:47:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ganglia-web (Old) and /work/SRC/openSUSE:Factory/.ganglia-web.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ganglia-web" Mon Apr 16 12:47:52 2018 rev:2 rq:595662 version:3.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ganglia-web/ganglia-web.changes 2017-11-03 16:23:35.198969987 +0100 +++ /work/SRC/openSUSE:Factory/.ganglia-web.new/ganglia-web.changes 2018-04-16 12:48:06.975017338 +0200 @@ -1,0 +2,6 @@ +Tue Apr 10 14:53:10 UTC 2018 - [email protected] + +- Removed all explicit php dependencies (bsc#1088887) + * updated README.SUSE + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ganglia-web.spec ++++++ --- /var/tmp/diff_new_pack.gBJIGZ/_old 2018-04-16 12:48:07.722990128 +0200 +++ /var/tmp/diff_new_pack.gBJIGZ/_new 2018-04-16 12:48:07.722990128 +0200 @@ -1,7 +1,7 @@ # # spec file for package ganglia-web # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,7 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define webpath /srv/www/htdocs/ganglia-web + + +%define web_prefixdir /srv/www/htdocs/ganglia-web Name: ganglia-web Version: 3.7.2 @@ -26,24 +28,24 @@ Source0: https://downloads.sourceforge.net/project/ganglia/ganglia-web/3.7.2/ganglia-web-3.7.2.tar.gz Source1: ganglia-httpd24.conf.d Source2: README.SUSE -BuildRequires: fdupes BuildRequires: apache2 +BuildRequires: fdupes BuildRequires: rsync -Requires: php >= 7 +Requires: apache2 Requires: mod_php_any +Requires: php Requires: php-gd Requires: php-xml Requires: rrdtool -Requires: apache2 Recommends: ganglia-gmetad BuildArch: noarch -%define web_prefixdir /srv/www/htdocs/ganglia-web + BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides a web frontend to display the XML tree published by ganglia, and to provide historical graphs of collected metrics. This website is -written in the PHP5 language and uses the Dwoo templating engine. +written in the PHP5/7 language and uses the Dwoo templating engine. %prep %setup -q @@ -52,8 +54,8 @@ %install %{__sed} -i 's,www-data,abuild,' Makefile -%{__sed} -i 's,/usr/share/ganglia-webfrontend,%{buildroot}%{webpath},' Makefile -%{__sed} -i 's,WEBPATH,%{webpath},' %SOURCE1 +%{__sed} -i 's,/usr/share/ganglia-webfrontend,%{buildroot}%{web_prefixdir},' Makefile +%{__sed} -i 's,WEBPATH,%{web_prefixdir},' %SOURCE1 %{__sed} -i 's,/etc/ganglia-web,%{buildroot}/etc/apache2/conf.d,' Makefile %{__sed} -i 's,/var/lib/ganglia,%{buildroot}/var/lib/ganglia,' Makefile ++++++ README.SUSE ++++++ --- /var/tmp/diff_new_pack.gBJIGZ/_old 2018-04-16 12:48:07.754988965 +0200 +++ /var/tmp/diff_new_pack.gBJIGZ/_new 2018-04-16 12:48:07.758988818 +0200 @@ -1,5 +1,11 @@ -You need to enable the apache2 php7 module, before ganglia-web works. +You need to enable the apache2 php7 or php5 module, before ganglia-web works. +SLE-12* is shipped with php5 and SLE-15* is shipped with php7, for this +products you also have to add the "Web and Scripting Module". This can be done with a2enmod php7 -apache must be restarted after this +or +a2enmod php5 + +apache2 must be restarted after this + -- [email protected]
