[PATCH] Debian packaging fixes
list Andreas Oberritter
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
list Christoph Berg
Re: Andreas Oberritter 2007-10-07 <user-a802434f95b8@xymon.invalid>
▸
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 -- user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/
list Andreas Oberritter
▸
Christoph Berg wrote:
Re: Andreas Oberritter 2007-10-07 <user-a802434f95b8@xymon.invalid>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
list Christoph Berg
Re: Andreas Oberritter 2007-10-08 <user-764b6f975c79@xymon.invalid>
▸
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 -- user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/
list Galen Johnson
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:user-92157dbc91bf@xymon.invalid]
Sent: Monday, October 08, 2007 2:13 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] [PATCH] Debian packaging fixes
Re: Andreas Oberritter 2007-10-08 <user-764b6f975c79@xymon.invalid>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 -- user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/
list Christoph Berg
Re: Galen Johnson 2007-10-08 <user-9f3b1373b4d9@xymon.invalid>
▸
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 -- user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/
list Andreas Oberritter
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