Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335134 Details for
Bug 406855
sys-cluster/ganglia: Install gmetad-python.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated ebuild for 3.3.7
ganglia-3.3.7.ebuild (text/plain), 2.76 KB, created by
Tom Prince
on 2013-01-11 03:23:04 UTC
(
hide
)
Description:
updated ebuild for 3.3.7
Filename:
MIME Type:
Creator:
Tom Prince
Created:
2013-01-11 03:23:04 UTC
Size:
2.76 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.3.7.ebuild,v 1.6 2012/09/22 13:48:56 blueness Exp $ > >EAPI="3" >WEBAPP_OPTIONAL="yes" > >PYTHON_DEPEND="python? 2" > >inherit eutils multilib python distutils > >DESCRIPTION="A scalable distributed monitoring system for clusters and grids" >HOMEPAGE="http://ganglia.sourceforge.net/" >SRC_URI="mirror://sourceforge/ganglia/${P}.tar.gz" >LICENSE="BSD" > >SLOT="0" >KEYWORDS="amd64 ppc x86" >IUSE="minimal pcre python examples" > >DEPEND="dev-libs/confuse > dev-libs/expat > >=dev-libs/apr-1.0 > !dev-db/firebird > pcre? ( dev-libs/libpcre )" > >RDEPEND=" > ${DEPEND} > !minimal? ( net-analyzer/rrdtool )" > >pkg_setup() { > if use python; then > python_set_active_version 2 > python_pkg_setup > fi >} > >src_prepare() { > # Disable modpython by default (#358359) > sed -i '/ *params/N;s,\( *\)\(params = "[^"]*"\),\1\2\n\1enabled = no,' \ > gmond/modules/conf.d/modpython.conf.in || die > if use python; then > ( cd gmetad-python && distutils_src_prepare ) > fi >} > >src_configure() { > econf \ > --enable-gexec \ > --sysconfdir="${EPREFIX}"/etc/${PN} \ > $(use_enable python) \ > $(use_with pcre libpcre) \ > $(use_with !minimal gmetad) >} > >src_compile() { > default_src_compile > ( cd gmetad-python && distutils_src_compile ) >} > >src_install() { > local exdir=/usr/share/doc/${P} > > emake DESTDIR="${D}" install || die > > newinitd "${FILESDIR}"/gmond.rc-2 gmond > doman {mans/*.1,gmond/*.5} || die "Failed to install manpages" > dodoc AUTHORS INSTALL NEWS README || die > > dodir /etc/ganglia/conf.d > use python && dodir /usr/$(get_libdir)/ganglia/python_modules > gmond/gmond -t > "${ED}"/etc/ganglia/gmond.conf > > if use examples; then > insinto ${exdir}/cmod-examples > doins gmond/modules/example/*.c > if use python; then > # Installing as an examples per upstream. > insinto ${exdir}/pymod-examples > doins gmond/python_modules/*/*.py > insinto ${exdir}/pymod-examples/conf.d > doins gmond/python_modules/conf.d/*.pyconf > fi > fi > > if ! use minimal; then > insinto /etc/ganglia > doins gmetad/gmetad.conf > doman mans/gmetad.1 > > newinitd "${FILESDIR}"/gmetad.rc-2 gmetad > keepdir /var/lib/ganglia/rrds > fowners nobody:nobody /var/lib/ganglia/rrds > fi > if use python; then > ( cd gmetad-python && distutils_src_install ) > newinitd "${FILESDIR}"/gmetad-python gmetad-python > fi >} > >pkg_postinst() { > elog "A default configuration file for gmond has been generated" > elog "for you as a template by running:" > elog " /usr/sbin/gmond -t > /etc/ganglia/gmond.conf" > > elog "The web frontend for Ganglia has been split off. Emerge" > elog "sys-cluster/ganglia-web if you need it." > ( use python && cd gmetad-python && distutils_pkg_postinst ) >} >pkg_postrm() { > use python && distutils_pkg_postrm >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 406855
:
304185
|
304187
|
304197
|
304199
|
304201
|
335132
| 335134