Please find attached bcfg2-0.9.0.ebuild, which I've tested up to a "works for us" stage. bcfg2 is a centralized automation, monitoring, and reporting tool for POSIX machines, originating from Argonne National Labs: http://bcfg2.org/ The port to Gentoo is new, and would probably benefit from a wider testing audience than it has currently (me). I suggest app-admin/bcfg2. Dependencies are all in the Gentoo tree already, package builds as-is for us. Thanks, --Michael
Created attachment 108531 [details] bcfg2-0.9.4.ebuild
Current version is 0.9.4.
@Michael: your ${FILESDIR}/bcfg2-server.rc is missing here.
Created attachment 129251 [details] bcfg2 server init script bcfg2 server init script
Current version is, indeed, 0.9.4; builds fine with just a rename of the ebuild script.
TODO: ebuild should be split into -server and -client packages, as in other distros.
Created attachment 149999 [details] ebuild for bcfg2-0.9.6-pre1 I've attached the ebuild for latest bcfg2 prerelease. It builds on the ebuild provided by Michael above and provides a "server" USE flag for separating out the server components. It requires the rc file provided by Michael.
I agreed to proxy commit for Michael Jinks, he will be maintaining this package. Michael: please post/test the latest version with the fixes that we talked about. Thanks.
Created attachment 159177 [details] Mild revision of Kamil's script with distutils doing the build stage and support for prefix installs This is a "prefixified" version of the ebuild. Besides setting EAPI="prefix", it also installs scripts into '${EPREFIX}/usr/sbin'. Only other change from Kamil's script is to use distutils for the build stage.
(In reply to comment #9) > Created an attachment (id=159177) [edit] > Mild revision of Kamil's script with distutils doing the build stage and > support for prefix installs > > This is a "prefixified" version of the ebuild. Besides setting EAPI="prefix", > it also installs scripts into '${EPREFIX}/usr/sbin'. > > Only other change from Kamil's script is to use distutils for the build stage. You should upload a non-prefix'd version of the ebuild (that you have tested). We will worry about prefix later.
(In reply to comment #10) > You should upload a non-prefix'd version of the ebuild (that you have tested). > We will worry about prefix later. Okay, question about that: In src_install(), I had to include a reference to ${EPREFIX}/usr/sbin. Obviously we don't need that in the !prefix case, but in the interest of having as few differences between the two as possible, does it do any harm to leave that in? (Yeah, I know neatness counts...) Obviously EAPI="prefix" will need to come out.
Created attachment 159181 [details] fixed DEPEND, RDEPEND; removed reference to python >= 2.3; removed prefix foo
Created attachment 159345 [details] updated ebuild with RESTRICT removed, minor cleanup to description line Heard through the bcfg-dev mailing list, RESTRICT="mirror" not necessary; removed.
Using commit message: ------------------------------------------------------------------------------ Initial commit. ebuild written by Michael Jinks <mjinks@uchicago.edu>, proxied maintainer. bug #164467 (Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686) ------------------------------------------------------------------------------ Done. Minor cosmetic changes that I like. You will have to deal with that ;) Also renamed ebuild to bcfg2-0.9.6_pre1.ebuild. Makes sense to import it without any Gentoo revisions on it. Closing bug, please file new ones in a separate bug. BTW Kamil: Thanks for your contributions too.