Andrei Borzenkov wrote:
On Wed, Apr 1, 2015 at 10:24 AM, Per Jessen
wrote: So, why does trying to install apcupsd drag along all of this "fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4" ?
It installs CGI
%{apache_serverroot}/cgi-bin/multimon.cgi %{apache_serverroot}/cgi-bin/upsfstats.cgi %{apache_serverroot}/cgi-bin/upsstats.cgi %{apache_serverroot}/cgi-bin/upsimage.cgi
so all this stuff is likely needed to generate pretty pictures in your browser. May be it should be split into subpackage.
Thanks Andrei - how did you determine that those cgi scripts need $SUBJ - I can't see apcupsd itself requiring them? It is "upsimage.cgi" that's dragging it all in.
Stop, but there *is* cgi subpackage
%files cgi %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}.css %config(noreplace) %{_sysconfdir}/%{name}/hosts.conf %config(noreplace) %{_sysconfdir}/%{name}/multimon.conf
Looks like a packaging bug.
Okay. -- Per Jessen, Zürich (4.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org