Xymon Mailing List Archive search

hobbit gentoo ebuild?

4 messages in this thread

list Kolbjørn Barmen · Sat, 29 Apr 2006 18:22:00 +0200 (CEST) ·
Before I make them myself, are there ebuilds for hobbit server and hobbit
client out there already?

-- 
Kolbjørn Barmen
UNINETT Driftsenter
list Tony Larco · Sat, 29 Apr 2006 14:06:58 -0400 ·
Here is the one my friend and I created.  We are by no means developers, we were just trying to give something back to the community that has given us so much.  My friend corresponded with Henrik regarding a few issues and Herink was a great help as always.  This is the working ebuild we hacked together.   It still needs a lot of work, but it may save you some time in your endeavors.  Gentoo could really benefit from a good hobbit ebuild script.

Tony
quoted from Kolbjørn Barmen

Kolbjørn Barmen wrote:
Before I make them myself, are there ebuilds for hobbit server and hobbit
client out there already?

Attachments (1)
list Kolbjørn Barmen · Sun, 30 Apr 2006 11:23:59 +0200 (CEST) ·
quoted from Tony Larco
On Sat, 29 Apr 2006, Tony Larco wrote:
Here is the one my friend and I created.  We are by no means developers, we
were just trying to give something back to the community that has given us so
much.  My friend corresponded with Henrik regarding a few issues and Herink
was a great help as always.  This is the working ebuild we hacked together.
It still needs a lot of work, but it may save you some time in your endeavors.
Thanks!

I rewrote it somewhat and made a new init-script for the client (I dont have the
server on gentoo, so I did nothing there).  I made it use  /usr/lib/hobbit instead
of /home/hobbit and made etc, tmp and logs symlinks to /etc/hobbit,
/var/tmp/hobbit and /var/log/hobbit since that's what the debian package does.

Since the username "hobbit" is too likely to collide with already existing
user name, I make a hobbit-c user for the client (hobbit-s for the server)
and put in group adm (I have extension scripts that require the hobbit
client user to be in adm group)

Anyways.. I have attached my current hobbit-client ebuild :)

For some reason I didnt get stop-start-daemon to work when stopping the
prosesses, so I ended up using pkill instead.
Gentoo could really benefit from a good hobbit ebuild script.
Indeed

-- 
Kolbjørn Barmen
UNINETT Driftsenter
Attachments (1)
list Kolbjørn Barmen · Wed, 3 May 2006 00:50:01 +0200 (CEST) ·
On Sun, 30 Apr 2006, Kolbjørn Barmen wrote:
Gentoo could really benefit from a good hobbit ebuild script.
Indeed
I updated my hobbit-client package somewhat, changed the test of log and
tmp in the init-script to actually check whether they are writeable for
the hobbit client and then some...

Also, I have tested it on my various platforms, so at least now know that it
works on x86, m68k, arm (el & eb) mips(el) and ppc(eb), this is reflected
in the KEYWORDS.

It can be downloaded from
http://amiga.nvg.org/linux/gentoo/hobbit-client.tgz

Only 4.1.2p1 yet :)

-- 
Kolbjørn Barmen
UNINETT Driftsenter