On Tue, May 21, 2002 at 10:17:45AM -0500, Preston Smith wrote:
>  Debian packages are built.

Hi Preston, 

I'm currently using a home-grown debian package, so I'm
looking forward to using your solution.  I haven't found
time to install it yet.

I'm concerned about the file layout in the packages, and how
they relate to Debian policy.

1) lots of documentation is in ganglia-monitor, even
documentation that is just for libganglia development.
(1176 out of 1724 blocks according to du).  Such
documentation is architecture independent, and should
probably live in a -doc package.  (policy 13.3)

2) lots of development code (what should be in a -dev
package) is in libganglia  (see debian policy 11.2)

3) man pages are in /usr/share/doc/ganglia-monitor/
docs/man/man3 instead of in /usr/share/man.  this seems like
an error, but these man pages should be in a -dev package
anyway.

4) the shared library package has no number in it for 
concurrent installation of different versions at a time.
(debian policy 11.3)

5) (trivial) ganglia-monitor has both /usr/lib and
/usr/include, which are unnecessary.

I think I would organize things as follows:
ganglia-monitor
  contains gmond, gmetric, gstat, /etc/init.d stuff
libganglia1 <- note the so version
  contains libganglia.so.1.1.0
libganglia-dev
  contains /usr/include/ganglia, libganglia.a,
  and the man3 pages
ganglia-doc
  contains /usr/share/doc/ganglia-monitor/docs

The list of files in a package can be listed using
dpkg-deb -c blah.deb.

I am not a debian developer; I just follow some lists.  I
hope these comments help.

thanks,
-neil


Reply via email to