Xymon Mailing List Archive search

[PATCH] Debian packaging fixes

7 messages in this thread

list Andreas Oberritter · Sun, 07 Oct 2007 22:02:57 +0200 ·
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 · Sun, 7 Oct 2007 22:52:05 +0200 ·
Re: Andreas Oberritter 2007-10-07 <user-a802434f95b8@xymon.invalid>
quoted from Andreas Oberritter
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 · Mon, 08 Oct 2007 02:27:48 +0200 ·
quoted from Christoph Berg
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 · Mon, 8 Oct 2007 20:12:53 +0200 ·
Re: Andreas Oberritter 2007-10-08 <user-764b6f975c79@xymon.invalid>
quoted from Andreas Oberritter
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 · Mon, 8 Oct 2007 14:25:54 -0400 ·
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=
quoted from Christoph Berg

-----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 · Mon, 8 Oct 2007 21:02:20 +0200 ·
Re: Galen Johnson 2007-10-08 <user-9f3b1373b4d9@xymon.invalid>
quoted from 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.
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 · Tue, 16 Oct 2007 07:37:22 +0200 ·
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