On Tue, 12 Jul 2011 11:26:48 +0200, Micha Glave wrote: > Hi, > > in my affords to write a gentoo installscript (ebuild) [^1] for > shinken I tried to adopt the way gentoo's directory structure. > Working dir: /var/lib/shinken > PID-Location: /var/run/shinken/ > and it's openrc-init scripts [^2] > > My Questions: > 1. Is there anyone else interested in this? > 2. Is it possible to place the PID outside the working_dir? > 3. At gentoo the install (setup.py) is processed in a sandbox and in > the end merged to the real place in the directory-tree. > So I start the `setup.py install > --root=/var/tmp/portage/net-analyzer/shinken-0.6.5/image/ > --no-compile` in the config after > this the path of --root is set to all config files and my script > have to remove this before merging to the real filesystem. Is > there a installation-option to prepare e.g. a change-root-install > ? > > Micha > > > [^1]: see > > http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 > [^2]: see http://www.gentoo.org/proj/en/base/openrc/index.xml >
Hi, maybe you should look at distutils eclass [1]. It makes it easier to write ebuilds for distutils based packages. Paul [1] http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/distutils/index.html ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel