[collectd] 3.11.0 spec file (collection.cgi)

Florian Forster octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Wed Jan 24 17:27:44 CET 2007


Hi again,

I have a question regarding your RPM-specfile.

> %install
> make install DESTDIR=$RPM_BUILD_ROOT
> mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
> mkdir -p $RPM_BUILD_ROOT/var/www/cgi-bin
> cp src/collectd.conf $RPM_BUILD_ROOT/etc/collectd.conf
> cp contrib/init.d-fc $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd
> cp contrib/collection.cgi $RPM_BUILD_ROOT/var/www/cgi-bin
> #mv contrib/Collectd.pm contrib/Collectd.pm.DISABLED
> mkdir -p $RPM_BUILD_ROOT/var/lib/collectd
> rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
> rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la

You copy `contrib/collection.cgi' to `/var/www/cgi-bin/'. Don't you need
a dependency on `webserver' or `httpd' or something like that? That, on
the other hand, is IMHO a little oversized for collectd. Those who have
a webserver and want to use some CGI-script should be able to set that
up themselves. Or is there another policy on such things for Fedora?

Regards,
-octo

P.S.: Please use `group reply' so a CC gets sent to the ML. Thank you :)
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070124/b4aa9f72/attachment.pgp


More information about the collectd mailing list