Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78155 - new packages: openwbem / config4gnu / kim-browser-0.3 / cimbrowser-0.35 / owperlprovider-0.25
Summary: new packages: openwbem / config4gnu / kim-browser-0.3 / cimbrowser-0.35 / o...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://www.openwbem.org/
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-01-15 17:46 UTC by Richard Westwell
Modified: 2018-06-07 18:24 UTC (History)
2 users (show)

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


Attachments
ebuild for openwbem-3.0.2 (openwbem-3.0.2.ebuild,3.42 KB, text/plain)
2005-01-15 17:47 UTC, Richard Westwell
Details
openwbem-3.0.2-initconf.patch - patch init.d conf.d files (openwbem-3.0.2-initconf.patch,3.48 KB, patch)
2005-01-15 17:48 UTC, Richard Westwell
Details | Diff
ebuild for openwbem-3.1.0 (openwbem-3.1.0.ebuild,3.42 KB, text/plain)
2005-01-15 17:49 UTC, Richard Westwell
Details
openwbem-3.1.0-initconf.patch - patch init.d conf.d files (openwbem-3.1.0-initconf.patch,3.76 KB, patch)
2005-01-15 17:50 UTC, Richard Westwell
Details | Diff
ebuild for owperlprovider-0.25 (owperlprovider-0.25.ebuild,697 bytes, text/plain)
2005-01-15 17:51 UTC, Richard Westwell
Details
ebuild for config4gnu-wbem-0.29 (config4gnu-wbem-0.29.ebuild,2.17 KB, text/plain)
2005-01-15 17:52 UTC, Richard Westwell
Details
ebuild for cimbrowser-0.35 (cimbrowser-0.35.ebuild,707 bytes, text/plain)
2005-01-15 17:54 UTC, Richard Westwell
Details
ebuild for kim-browser-0.3 (kim-browser-0.3.ebuild,780 bytes, text/plain)
2005-01-15 17:55 UTC, Richard Westwell
Details
ebuild for openwbem-3.0.2 (openwbem-3.0.2.ebuild,3.42 KB, text/plain)
2005-01-16 04:03 UTC, Richard Westwell
Details
ebuild for openwbem-3.1.0 (openwbem-3.1.0.ebuild,3.42 KB, text/plain)
2005-01-16 04:04 UTC, Richard Westwell
Details
ebuild for owperlprovider-0.25 (owperlprovider-0.25.ebuild,696 bytes, text/plain)
2005-01-16 04:04 UTC, Richard Westwell
Details
ebuild for config4gnu-wbem-0.29 (config4gnu-wbem-0.29.ebuild,2.17 KB, text/plain)
2005-01-16 04:05 UTC, Richard Westwell
Details
ebuild for cimbrowser-0.35 (cimbrowser-0.35.ebuild,706 bytes, text/plain)
2005-01-16 04:06 UTC, Richard Westwell
Details
ebuild for kim-browser-0.3 (kim-browser-0.3.ebuild,779 bytes, text/plain)
2005-01-16 04:06 UTC, Richard Westwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Westwell 2005-01-15 17:46:23 UTC
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
Comment 1 Richard Westwell 2005-01-15 17:47:24 UTC
Created attachment 48601 [details]
ebuild for openwbem-3.0.2
Comment 2 Richard Westwell 2005-01-15 17:48:56 UTC
Created attachment 48602 [details, diff]
openwbem-3.0.2-initconf.patch - patch init.d conf.d files
Comment 3 Richard Westwell 2005-01-15 17:49:44 UTC
Created attachment 48603 [details]
ebuild for openwbem-3.1.0
Comment 4 Richard Westwell 2005-01-15 17:50:14 UTC
Created attachment 48604 [details, diff]
openwbem-3.1.0-initconf.patch - patch init.d conf.d files
Comment 5 Richard Westwell 2005-01-15 17:51:06 UTC
Created attachment 48605 [details]
ebuild for owperlprovider-0.25
Comment 6 Richard Westwell 2005-01-15 17:52:42 UTC
Created attachment 48606 [details]
ebuild for config4gnu-wbem-0.29
Comment 7 Richard Westwell 2005-01-15 17:54:04 UTC
Created attachment 48607 [details]
ebuild for cimbrowser-0.35
Comment 8 Richard Westwell 2005-01-15 17:55:42 UTC
Created attachment 48608 [details]
ebuild for kim-browser-0.3
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-01-16 01:07:56 UTC
note: virtual/libc not virtual/glibc
Comment 10 Richard Westwell 2005-01-16 03:58:14 UTC
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
>}
>
Comment 11 Richard Westwell 2005-01-16 04:03:11 UTC
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
Comment 12 Richard Westwell 2005-01-16 04:04:07 UTC
Created attachment 48640 [details]
ebuild for openwbem-3.1.0
Comment 13 Richard Westwell 2005-01-16 04:04:44 UTC
Created attachment 48641 [details]
ebuild for owperlprovider-0.25
Comment 14 Richard Westwell 2005-01-16 04:05:29 UTC
Created attachment 48642 [details]
ebuild for config4gnu-wbem-0.29
Comment 15 Richard Westwell 2005-01-16 04:06:18 UTC
Created attachment 48643 [details]
ebuild for cimbrowser-0.35
Comment 16 Richard Westwell 2005-01-16 04:06:57 UTC
Created attachment 48644 [details]
ebuild for kim-browser-0.3
Comment 17 Lance Albertson (RETIRED) gentoo-dev 2005-12-11 13:04:35 UTC
I don't find time to maintain this, sorry :(
Comment 18 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-16 21:38:19 UTC
(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