This is a set of ebuilds for openwbem and config4gnu config4gnu is still in development at the moment but this should give a working example of what's possible and something you can use to play around with to create your own MOF files and providers ebuilds for openwbem 3.02 and 3.1.0 owperprovider - a perl provider interface for openwbem config4gnu-wbem - a set of providers for openwbem that use owperprovider cimbrowser - a client app that connects to openwbem kim-browser - another client app I've placed all of these within the app-admin eclass under portage overlay for my own system you'll need to run ebuild config for openwbem and config4gnu-wbem to initilise the repository within /var/lib/openwbem so far the only config4gnu provider I've managed to get working is the one for samba via cimbrowser, this is why the MOF files are not imported by default for nagios or bind owperprovider config4gnu-wbem appear to be okay with 3.02 or 3.1.0 openwbem but cimbrowser / kim-browser appear to only compile against the older version of openwbem 3.02 hence why I've included 2 ebuilds kim-browser is a read only client while cimbrowser is a client app which is part of config4gnu also note I wasn't able to get cimbrowser to compile on a amd64 system
Created attachment 48601 [details] ebuild for openwbem-3.0.2
Created attachment 48602 [details, diff] openwbem-3.0.2-initconf.patch - patch init.d conf.d files
Created attachment 48603 [details] ebuild for openwbem-3.1.0
Created attachment 48604 [details, diff] openwbem-3.1.0-initconf.patch - patch init.d conf.d files
Created attachment 48605 [details] ebuild for owperlprovider-0.25
Created attachment 48606 [details] ebuild for config4gnu-wbem-0.29
Created attachment 48607 [details] ebuild for cimbrowser-0.35
Created attachment 48608 [details] ebuild for kim-browser-0.3
note: virtual/libc not virtual/glibc
Comment on attachment 48601 [details] ebuild for openwbem-3.0.2 ># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit flag-o-matic > >DESCRIPTION="The OpenWBEM project is an implementation of the DMTF (Distributed Management Task Force) WBEM (Web Based Enterprise Management) standard" >HOMEPAGE="http://www.openwbem.org/" >SRC_URI="mirror://sourceforge/openwbem/${P}.tar.gz" > >DEPEND="virtual/libc > sys-libs/zlib > sys-libs/pam > dev-lang/perl > net-libs/openslp > dev-libs/openssl" >LICENSE="BSD" >SLOT="0" >KEYWORDS="x86 amd64" >IUSE="" >localstatedir="/var/lib" > >src_unpack() { > unpack ${A} > cd ${S} > # patch the init script and add in a config file to conf.d > epatch ${FILESDIR}/${P}-initconf.patch >} > >src_compile() { > econf --localstatedir=${localstatedir} --enable-perl-providerifc || die > emake || die >} > >src_install () { > make DESTDIR=${D} install || die > > cd ${S} > dodoc README TODO AUTHORS COPYING ChangeLog INSTALL > dodoc doc/{*.HOWTO,*.txt,*.html,HowToCreateAMinimalOpenWBEM,OpenWBEM-pg.sxw,PerlIFC.sxw,pg.tex} > > einfo "installing the example mof schema files" > install -d ${D}${DESTTREE}/share/${PN}/schemas/cim28 > install -d ${D}${DESTTREE}/share/${PN}/mof > install ${S}/schemas/cim28/*.mof ${D}${DESTTREE}/share/${PN}/schemas/cim28 > install ${S}/mof/*.mof ${D}${DESTTREE}/share/${PN}/mof > > cd ${D} > einfo "setting up some init config and lib files" > install -d ${D}/etc/init.d > install -d ${D}/etc/conf.d > install -d ${D}/etc/pam.d > install ${S}/etc/init/owcimomd ${D}/etc/init.d > install ${S}/etc/pam.d/openwbem ${D}/etc/pam.d > install ${S}/etc/conf.d/owcimomd ${D}/etc/conf.d > install -d ${D}${localstatedir}/openwbem >} > >pkg_postinst() { > if [ ! -f ${localstatedir}/openwbem/schema.dat ] ; then > einfo "" > einfo "Execute the following command" > einfo "ebuild /var/db/pkg/app-admin/${PF}/${PF}.ebuild config" > einfo "this will setup the root/cimv2 namespace and apply the default set of schema's" > einfo "the resultant files will be placed within ${localstatedir}/openwbem/" > einfo "this will also create an example self-signed certification /etc/openwbem/hostkey+cert.pem (unless it already exists)" > einfo "" > fi >} > >pkg_config() { > MOFDIR=${DESTTREE}/share/${PN} > if [ -f /var/lib/init.d/started/owcimomd ] ; then > #If owcimomd is started apply via the daemon process > direct="" > else > #if owcimomd is stopped apply directly > direct="-d /var/lib/openwbem" > fi > > einfo "" > einfo "adding CIM_Interop and OpenWBEM_Interop into the root namespace" > einfo "" > ${DESTTREE}/bin/owmofc -c -n root \ > ${direct} \ > ${MOFDIR}/schemas/cim28/CIM_Core28.mof \ > ${MOFDIR}/schemas/cim28/CIM_Event28.mof \ > ${MOFDIR}/schemas/cim28/Physical28_Package.mof \ > ${MOFDIR}/schemas/cim28/System28_SystemElements.mof \ > ${MOFDIR}/schemas/cim28/CIM_Interop28.mof \ > ${MOFDIR}/mof/OpenWBEM_Interop.mof > > einfo "" > einfo "placing the CIM 2.8 schema into the root/cimv2 namespace" > einfo "" > ${DESTTREE}/bin/owmofc -c -n root/cimv2 \ > ${direct} \ > ${MOFDIR}/schemas/cim28/CIM_Schema28.mof > > if [ -f /etc/openwbem/hostkey+cert.pem ] ; then > einfo "self-signed certification /etc/openwbem/hostkey+cert.pem already exists" > einfo "skipping creation" > else > einfo "creating the self-signed certification /etc/openwbem/hostkey+cert.pem" > umask 077 > FQDN=`hostname --fqdn` > if [ "x${FQDN}" = "x" ]; then > FQDN=localhost.localdomain > fi >cat << EOF | sh /etc/openwbem/owgencert > /dev/null 2>&1 >-- >SomeState >SomeCity >SomeOrganization >SomeOrganizationalUnit >${FQDN} >root@${FQDN} >EOF >fi >} >
Created attachment 48639 [details] ebuild for openwbem-3.0.2 hmm I though I could edit the existing attachements, but instead it posted one as a comment, never mind glibc altered to libc in the depends
Created attachment 48640 [details] ebuild for openwbem-3.1.0
Created attachment 48641 [details] ebuild for owperlprovider-0.25
Created attachment 48642 [details] ebuild for config4gnu-wbem-0.29
Created attachment 48643 [details] ebuild for cimbrowser-0.35
Created attachment 48644 [details] ebuild for kim-browser-0.3
I don't find time to maintain this, sorry :(
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq