В Wed, 01 Apr 2015 10:56:27 +0200
Per Jessen
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.
Educated guess :) But now when I am at my PC again ... bor@opensuse:~> zypper info --requires apcupsd ... libnetsnmp.so.30()(64bit) libgd.so.3()(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) /usr/bin/sh /usr/bin/mail ... bor@opensuse:~> LC_ALL=C LANG=C zypper se --provides 'libgd.so.3()(64bit)' S | Name | Summary | Type --+--------+-----------------------------------------------------------+-------- i | libgd3 | A Drawing Library for Programs That Use PNG and JPEG Ou-> | package bor@opensuse:~> zypper info --requires libgd3 ... libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libjpeg.so.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(64bit) libfreetype.so.6()(64bit) libfontconfig.so.1()(64bit) libtiff.so.5()(64bit) libXpm.so.4()(64bit) ... rinse and repeat
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.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org