[hobbit] allinone and other patch on Debian?

Calvey, Mike mike.calvey at anite.com
Mon Jan 21 11:05:53 CET 2008


This may clarify:

From Sourceforge you can download the platform independent version of
Hobbit (hobbit-4.2.0.tar.gz) or a platform specific version
(Debian31-hobbit_4.2.0-1_i386.deb).

If you use the hobbit-4.2.0.tar.gz --> unzip it and untar it you get all
the files under the hobbit-4.2.0 directory.

Having a look at the first few lines of the "allinone.patch" using an
editor (see below) you will note the reference to the hobbit-4.2.0
directory: 

	diff -urN
/home/henrik/hobbit/release/hobbit-4.2.0/bbdisplay/bbgen.h
./bbdisplay/bbgen.h
	--- /home/henrik/hobbit/release/hobbit-4.2.0/bbdisplay/bbgen.h
2006-	08-09 22:09:54.000000000 +0200
	+++ ./bbdisplay/bbgen.h 2006-10-03 13:52:28.000000000 +0200

So when you run `patch -p0 <allinone.patch` it applies the patch to
files below the hobbit-4.2.0 directory.

Now... the platform specific version Debian31-hobbit_4.2.0-1_i386.deb is
installed by dpkg does not have this hobbit-4.2.0 directory. This can be
seen by "dpkg -L Debian31-hobbit_4.2.0-1_i386.deb" to list the contents
of the package.

Also dpkg keeps the status of the install, the file list etc. Installing
the patch via the source code with the usual configure, make etc will
not update the dpkg data.

So the problem is how does one apply the "allinone.patch" to a Hobbit
installation, installed with dpkg and Debian31-hobbit_4.2.0-1_i386.deb??

Hope this makes the problem clearer...

?
Mike.


-----Original Message-----
From: Christoph Berg [mailto:cb at df7cb.de] 
Sent: 19 January 2008 01:28
To: hobbit at hswn.dk
Subject: Re: [hobbit] allinone and other patch on Debian?

Re: Calvey, Mike 2008-01-18
<83695B9523A49C45B7D72795A1DAE1A90201DCE4 at UK-GLW-EX01.myanite.com>
> The instructions for the allinone patch require the Hobbit 4.2.0
source.
> I have downloaded and tested the patch installs on the source but my
> Hobbit Server is a Debian distro and hobbit is installed using dpkg
(and
> no source directory starting hobbit-4.2.0).

I'm not really sure I get your question, chances are you are looking
for "apt-get source hobbit".

FYI, there is a package in Debian/experimental using the 4.3 tree
(though somewhat outdated). I don't recommend using it in production,
but it might be worth a look.

http://packages.debian.org/etch-backports/hobbit-client
http://packages.debian.org/experimental/hobbit-client

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/


Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email.  

Anite plc
Registered in England No.1798114
Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
VAT Registration No. GB 787 418187

Scanned for viruses by BlackSpider MailControl.



More information about the Xymon mailing list