[avahi] Patch for gentoo compilation
sebastien.estienne at gmail.com
Wed Jun 29 01:58:49 PDT 2005
2005/6/29, Steev <steev at steev.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> > Thanks Steev, this is *muchly* appreciated, I have applied and
> > committed your patch to svn trunk.
> I'm just glad I can finally help out...
> However, apparently, I misread the Makefile.am, or I am not
> understanding what the dbusinitdir is.
> the avahi file is an init script correct? its not a services file, so I
> *believe* it should actually be, for gentoo /etc/init.d/avahi
> In my patch, it was /etc/dbus-1/system.d/avahi
On gentoo it should go in /etc/init.d/ , debian and ubuntu use
dbus-1/system.d because they don't manage dependencies.
But you need to correct your script, adding
and make it a real initscript (#!/sbin/runscript)
The avahi daemon has a build-in way to stop it, so maybe you don't
need start-stop-daemon, have a look at "avahi --help" and at the
debian script (75avahi)
Maybe lennart could comment on it.
also you don't need to name it ".in" if there is nothing that depends
on "autotools' variables"
and if you don't name it .in, you don"t need initscript/Gentoo/avahi
> So, not sure where to go from here. I am still working on an ebuild
> using the new subversion eclass for Gentoo, however, I have everything
> working except for the install (which is rather important, me thinks ;)
You could post your ebuild on the ml, i've good knowledge in ebuilds,
i could help you.
By the way, install should be hard because make install works, so
shouldn't have anything special to do. I guess you have problem
because you are trying to use dobin, dodir, etc.
But i think you don't need to use it, the default install behaviour
should work perfectly.
> So as soon as I can figure that part out, I should be able to test a bit
> better. What all files are *required* for this to work "properly" - one
> of the uses that I could use it for would be to discover distcc hosts -
> I noticed you wrote on the website that you had done that, and I will
> admit that I haven't searched the archives of the mailing list yet, but
> is there a howto about how you did that in there? Or do you have it
> written somewhere?
> >>If this is incorrect, please let me know.
> > Thanks again!
> > Cheers,
> > Trent
> - --
> Steev Klimaszewski
> steev at steev.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> -----END PGP SIGNATURE-----
> avahi mailing list
> avahi at lists.freedesktop.org
More information about the avahi