[PATCH] Debian packaging fixes
Hi,
the attached patch fixes two problems in hobbit 4.2.0:
1.) The package build-depends on librrd0-dev. Alternatively, librrd2-dev can be used, which is present in Debian etch.
2.) In the postinst script of hobbit-client, the used single quotes prevent the variable from being replaced by sed. Instead, double quotes should be used.
Best regards, Andreas
Re: Andreas Oberritter 2007-10-07 <47093B71.6010700 at saftware.de>
1.) The package build-depends on librrd0-dev. Alternatively, librrd2-dev can be used, which is present in Debian etch.
Did you try the packages from ftp.debian.org (or backports.org)?
Christoph
cb at df7cb.de | http://www.df7cb.de/
Christoph Berg wrote:
Re: Andreas Oberritter 2007-10-07 <47093B71.6010700 at saftware.de>
1.) The package build-depends on librrd0-dev. Alternatively, librrd2-dev can be used, which is present in Debian etch.
Did you try the packages from ftp.debian.org (or backports.org)?
Thanks! I didn't know they existed.
I had to manually remove the directory /var/lib/hobbit/www/menu, which was left over from the previous hobbit installation, and create the symlink to /usr/share/hobbit/menu, to make the CSS menu work.
Are you going to integrate the bug fixes from http://www.hswn.dk/hobbitsw/patches/ into your package?
Best regards, Andreas
Re: Andreas Oberritter 2007-10-08 <47097984.4050204 at saftware.de>
Are you going to integrate the bug fixes from http://www.hswn.dk/hobbitsw/patches/ into your package?
Well... sort of. It's just too many of them, so I'm inclined to better wait for a new release. I'm pondering though to upload a snapshot to the experimental archive.
Christoph
cb at df7cb.de | http://www.df7cb.de/
Actually, they've been combined into an all-in-one patch for the 4.2.0 release (second line on page)...which is the recommended method.
=G=
-----Original Message----- From: Christoph Berg [mailto:cb at df7cb.de] Sent: Monday, October 08, 2007 2:13 PM To: hobbit at hswn.dk Subject: Re: [hobbit] [PATCH] Debian packaging fixes
Re: Andreas Oberritter 2007-10-08 <47097984.4050204 at saftware.de>
Are you going to integrate the bug fixes from http://www.hswn.dk/hobbitsw/patches/ into your package?
Well... sort of. It's just too many of them, so I'm inclined to better wait for a new release. I'm pondering though to upload a snapshot to the experimental archive.
Christoph
cb at df7cb.de | http://www.df7cb.de/
Re: Galen Johnson 2007-10-08 <6C2B32F89382AF42875672B6F5BEB682041F83B0 at MERCMBX07.na.sas.com>
Actually, they've been combined into an all-in-one patch for the 4.2.0 release (second line on page)...which is the recommended method.
Yeah I know - so far I've been reluctant to use it because I thought I couldn't really track what issues have been fixed and whatnot. We've already received a number of bug reports, but so far everything was in the debian/ part of the package. Still thinking about the whole issue...
Christoph
cb at df7cb.de | http://www.df7cb.de/
Christoph Berg wrote:
Did you try the packages from ftp.debian.org (or backports.org)?
I found two problems with the packages (I used the package source code from ftp.debian.org and built it on my own for sarge and etch using dpkg-buildpackage):
1.) On the host which runs the hobbit server, /etc/logrotate.d/hobbit-client gets installed, which conflicts with /etc/logrotate.d/hobbit.
2.) When I install a hobbit-client .deb for the first time, the installer asks for the server's address and the client hostname, but it forgets those values immediately. /etc/default/hobbit-client always contains HOBBITSERVERS="127.0.0.1" and a guessed CLIENTHOSTNAME. Running "dpkg-reconfigure hobbit-client" after the initial installation fixes this. (It asks again for both values.)
Regards, Andreas
participants (3)
-
cb@df7cb.de
-
Galen.Johnson@sas.com
-
obi@saftware.de