Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164467 - app-admin/bcfg2-0.9.4.ebuild (New package)
Summary: app-admin/bcfg2-0.9.4.ebuild (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-01-29 21:18 UTC by Michael Jinks
Modified: 2008-07-03 03:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bcfg2-0.9.4.ebuild (bcfg2-0.9.4.ebuild,1.05 KB, text/plain)
2007-01-29 21:20 UTC, Michael Jinks
Details
bcfg2 server init script (bcfg2-server.rc,483 bytes, text/plain)
2007-08-26 17:26 UTC, Michael Jinks
Details
ebuild for bcfg2-0.9.6-pre1 (bcfg2-0.9.6_pre1.ebuild,1.26 KB, text/plain)
2008-04-17 00:11 UTC, Kamil Kisiel
Details
Mild revision of Kamil's script with distutils doing the build stage and support for prefix installs (bcfg2-0.9.6_pre1-r1.ebuild,1.31 KB, text/plain)
2008-07-02 00:10 UTC, Michael Jinks
Details
fixed DEPEND, RDEPEND; removed reference to python >= 2.3; removed prefix foo (bcfg2-0.9.6_pre1-r3.ebuild,1.27 KB, text/plain)
2008-07-02 00:53 UTC, Michael Jinks
Details
updated ebuild with RESTRICT removed, minor cleanup to description line (bcfg2-0.9.6_pre1-r4.ebuild,1.22 KB, text/plain)
2008-07-02 17:12 UTC, Michael Jinks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jinks 2007-01-29 21:18:52 UTC
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
Comment 1 Michael Jinks 2007-01-29 21:20:29 UTC
Created attachment 108531 [details]
bcfg2-0.9.4.ebuild
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2007-08-26 14:42:26 UTC
Current version is 0.9.4.
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2007-08-26 14:50:07 UTC
@Michael: your ${FILESDIR}/bcfg2-server.rc is missing here.
Comment 4 Michael Jinks 2007-08-26 17:26:30 UTC
Created attachment 129251 [details]
bcfg2 server init script

bcfg2 server init script
Comment 5 Michael Jinks 2007-08-26 17:38:08 UTC
Current version is, indeed, 0.9.4; builds fine with just a rename of the ebuild script.

Comment 6 Michael Jinks 2007-08-26 17:40:44 UTC
TODO: ebuild should be split into -server and -client packages, as in other distros.
Comment 7 Kamil Kisiel 2008-04-17 00:11:34 UTC
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.
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-01 22:40:54 UTC
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.
Comment 9 Michael Jinks 2008-07-02 00:10:13 UTC
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.
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-02 00:19:25 UTC
(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.

Comment 11 Michael Jinks 2008-07-02 00:23:44 UTC
(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.
Comment 12 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-02 00:25:46 UTC
(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.

Comment 13 Michael Jinks 2008-07-02 00:53:40 UTC
Created attachment 159181 [details]
fixed DEPEND, RDEPEND; removed reference to python >= 2.3; removed prefix foo
Comment 14 Michael Jinks 2008-07-02 17:12:33 UTC
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.
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-03 03:15:35 UTC
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.