diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-09-02 14:48:51 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-09-02 14:48:51 +0000 |
commit | 18f87f43b8e83730cabd8b453acaf9337c83d53b (patch) | |
tree | 2d9ccbce43dab56d6fe8c4311a20153e403df452 /sys-cluster/ganglia | |
parent | remove old (diff) | |
download | historical-18f87f43b8e83730cabd8b453acaf9337c83d53b.tar.gz historical-18f87f43b8e83730cabd8b453acaf9337c83d53b.tar.bz2 historical-18f87f43b8e83730cabd8b453acaf9337c83d53b.zip |
Drop old
Package-Manager: portage-2.2.0_alpha123/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/ganglia')
-rw-r--r-- | sys-cluster/ganglia/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/ganglia/Manifest | 47 | ||||
-rw-r--r-- | sys-cluster/ganglia/ganglia-3.1.2.ebuild | 201 | ||||
-rw-r--r-- | sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild | 117 | ||||
-rw-r--r-- | sys-cluster/ganglia/ganglia-3.1.7-r3.ebuild | 118 |
5 files changed, 36 insertions, 453 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog index c5f755a5663e..e1230f836bd9 100644 --- a/sys-cluster/ganglia/ChangeLog +++ b/sys-cluster/ganglia/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/ganglia # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.48 2012/02/01 17:03:47 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.49 2012/09/02 14:48:51 xarthisius Exp $ + + 02 Sep 2012; Kacper Kowalik <xarthisius@gentoo.org> -ganglia-3.1.2.ebuild, + -ganglia-3.1.7-r2.ebuild, -ganglia-3.1.7-r3.ebuild: + Drop old 01 Feb 2012; Brent Baude <ranger@gentoo.org> ganglia-3.2.0.ebuild: Marking ganglia-3.2.0 ppc for bug 386277 diff --git a/sys-cluster/ganglia/Manifest b/sys-cluster/ganglia/Manifest index 84b0e1ba2666..b387009f4d60 100644 --- a/sys-cluster/ganglia/Manifest +++ b/sys-cluster/ganglia/Manifest @@ -1,16 +1,31 @@ -AUX ganglia-3.1.1-ctype-c99.patch 437 RMD160 19083e2102e7ed73725f9800d73e655b84c58dd8 SHA1 bb56f766c475c5d6e23259673e85311887c39c5e SHA256 385397d0e6b3810f19fe420fbb7db70ab9978089fe8388eed2ea6a8d8deafcf8 -AUX ganglia-3.1.1-multidisk-group.patch 482 RMD160 d46699b88fed699c8864b10ebb4eca0a06965a0f SHA1 f942d0427469b9acb51e8eb38de18cdaf80f4b51 SHA256 fd4f3a3798cc99cd0bd93eb238d6c7f381b65c8329852b5a9fa07005c85a6639 -AUX ganglia-3.1.1-process_path-overflow-r1.patch 1364 RMD160 0f04fa5f9cfeae7261352d3d4fab631b0b0283d0 SHA1 5f1a302d40c06ad8af199c09e9e16eda4354b996 SHA256 aedce482577f8a5941e54d8392e223b546c3c69790699b0ee0c9c2e4b5500c46 -AUX gmetad.rc 351 RMD160 e6de86388717e8b8ee5072e45accb8b3cbf98632 SHA1 1cca253192c7c133d5f2f9b6e98c57eca6a41710 SHA256 86a57f6e009cb516928d048180672b82326ba01b8a3deda72e4d03532c493b8e -AUX gmetad.rc-2 479 RMD160 272c401105d9f06c6871830e5599a938b2f07bc0 SHA1 e468a6eab58c9664fbac19f607cdea4c5cd325b5 SHA256 5d474faa14f0afa84608575bf5796dc9cc1c63b22d6fa8713f823d606e4d9a09 -AUX gmond.rc 345 RMD160 076613bff272ddb1e8e192805edad009e00f2af4 SHA1 bc57ed84f0e0fc92fe46f71e0179a2b5bb028aa4 SHA256 c58568992ddad460a79278aae59d0246b74ae167b70d05885775c51118a8c965 -AUX gmond.rc-2 472 RMD160 ff0f7e7c7a18b2dac3181e87224dc88a19c95015 SHA1 53661f78be1033f7b077dc795e2e4da47748bc71 SHA256 27327531dbae7299efd1afeee61cb2d17a3a1ec999896e1589d5ca89692ab251 -DIST ganglia-3.1.2.tar.gz 1213196 RMD160 1f78cf1019759e12c3c65901fd74ac65dfddf4e3 SHA1 be5db246eb755d8c450140d1c80afef4f1179fe1 SHA256 278f6fcf2299ceb8cacff999e54f96987e8d09064b1d43469108985bdeba6f12 -DIST ganglia-3.1.7.tar.gz 1278023 RMD160 918d678ad234d477fc98427d96485a8111c64f06 SHA1 e234d64814af1c9f55f1cd039a5840039d175f85 SHA256 bb1a4953d72e7dace76010a30d6d332e4ac0991d1371dbbcbcc7b048e0a7e4bf -DIST ganglia-3.2.0.tar.gz 1366106 RMD160 7b2f646d8ad4582cfb1ec48d192dd9bdbb526323 SHA1 6ff0e87b96d891bd0c057e75d5fc2bc752e68cd1 SHA256 9867153c550a65099544fae82ff3514e4ae8b172a360e4b5320e269eb32dae48 -EBUILD ganglia-3.1.2.ebuild 5443 RMD160 7d197d8e757da5f59f407f308cb6c913436a6684 SHA1 9e79e653bbc172900a5ba82e002308fb4bedd5ca SHA256 25ddc5a87a7908cde9448db3f391877c8eec074ca552127d550fc5f071025d92 -EBUILD ganglia-3.1.7-r2.ebuild 2935 RMD160 c68b81e59b00e5e5ada8ae77c545a34c619a2b57 SHA1 b78d72131c642e639c9535e5fe54692ee510cab3 SHA256 d08f504593e28140b75b6918bc450c6f97a321a53ca9226a9b77d68c67cadd17 -EBUILD ganglia-3.1.7-r3.ebuild 2957 RMD160 11213948efc293de5155b80795313717d8b825e6 SHA1 df232d38342fa8f35569a937cbd41c6ec329ac64 SHA256 b489571dd887d20a1c18f35fbd13473d46114ba70a9854bfdc61f362f6c9db6b -EBUILD ganglia-3.2.0.ebuild 3211 RMD160 511812eb0bd8898bc54b0cd7cab7ee7dbcc005a4 SHA1 40b6f1b2efca99f32278789f085db66c1fd4f629 SHA256 941edb2cf4320f77bd1f5d8c6bb28cb74fd86eda5b27780579839aa159b73941 -MISC ChangeLog 9672 RMD160 316bd674cf2024dc09f878082405554ecb8aae0f SHA1 528ba4a54369d08b579fea044013e3bb30f80383 SHA256 128100138c8ff752d3f93a3b8f167778b3b4beac01fcc89c69a5f640167e8b21 -MISC metadata.xml 228 RMD160 8ddf3216a262f6e40c2c34d0bea65840e6b68360 SHA1 3957acb3b9d8e76b497d00cc8769a39b4d822bd0 SHA256 867e2c9cf08802c1ae7c8a1e84fafa792a531488dc15c7e8efd5596b33465d30 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX ganglia-3.1.1-ctype-c99.patch 437 SHA256 385397d0e6b3810f19fe420fbb7db70ab9978089fe8388eed2ea6a8d8deafcf8 SHA512 ef1469f669b59ff3ef7841f288de9245fd50b1d7c24e9487a89d1efc4de7b2d1fa6e125b32861a28cabd805279c4ad4a7a949f97b10cd2945ff93d7ae25250a7 WHIRLPOOL 7d2225e0cbcd6adefd6b7546bbefa2ffce93a96c100692986ed5f26cf5979051fc6008938f773868661efa2c7311d92b66cc3babc1c78f2428e5707652fdddee +AUX ganglia-3.1.1-multidisk-group.patch 482 SHA256 fd4f3a3798cc99cd0bd93eb238d6c7f381b65c8329852b5a9fa07005c85a6639 SHA512 2e633a80a4f3c611c47abac98fee52ce6923f931ccaec3615cda115eeb16df3721063afd06b324a7b112ddee950da0ae53b411b96f325d8d9014d6e49c62162c WHIRLPOOL 997238e1ced03a3678a8dec90b92b75e65046142c1ad7b4ae1834430a2c1d2db5a9b80b9c584ff54e4e48609fa6b053ad306aeffab8b87adac12defb1fc8d06f +AUX ganglia-3.1.1-process_path-overflow-r1.patch 1364 SHA256 aedce482577f8a5941e54d8392e223b546c3c69790699b0ee0c9c2e4b5500c46 SHA512 74b522617a94c24ae301752897ac48a64a60c4e3c480db5278b33719dc4c2f6028d29fc8006b4036e8e933dd32d0b9d63cac59a5349a9984e86851a3a17baf62 WHIRLPOOL a6110789f0daedf40922a77880328462c32718466a869829df9ebd57b1c8328ec8fdf5ccad1748f09098bfbfc909de667afa779df1de171480058d5a4bfc58c5 +AUX gmetad.rc 351 SHA256 86a57f6e009cb516928d048180672b82326ba01b8a3deda72e4d03532c493b8e SHA512 660615de284f86b7968bcbbc920e6a25f2c59e6b2c8ddde07fe31446947af020678399ffc97b4f090588fe1a635abbc36d459539bcaf8a0056acabe3caed04e5 WHIRLPOOL a286f0e8687e1f7141f2ac660e8ff1a0efc0f6df83f3658a2c0599c5f361357e60816bc1c11480507d8209f1ffd11779aee80f5772d662bb64f0b859efffa92b +AUX gmetad.rc-2 479 SHA256 5d474faa14f0afa84608575bf5796dc9cc1c63b22d6fa8713f823d606e4d9a09 SHA512 a8212da038a6abe5010cb3806cb9c55c977e938cc27a435bb723134467c15606c95590fbbe4da54654dd07b33ccaa416c2f164ec520d823be3e085df9e3a90b6 WHIRLPOOL 310e8cd0716ec5e648c14bed81f29123ff72117f56e2dea612ef66cb298a446c6c31f168aea0c8baac9462c1356d66c44cd2af759f60032e6d57bc4dd2b396b2 +AUX gmond.rc 345 SHA256 c58568992ddad460a79278aae59d0246b74ae167b70d05885775c51118a8c965 SHA512 9944d3ae811abdd4e2632433b2616e0feb4ec1043ffa388e4ae7a388df5418f1a5b91feaf9926749e669ed0a4c7ac884839c66e5af76710ac12d85dff7edbf66 WHIRLPOOL 1f3a9a1e34bab9be54b8bda9fdab9af1ae7cc78672c13692b2a4fda733f37bb047f2e4f01f42340e099a4d7df949e14e1bf39ef294dd4b379020ffc6c6b0caa5 +AUX gmond.rc-2 472 SHA256 27327531dbae7299efd1afeee61cb2d17a3a1ec999896e1589d5ca89692ab251 SHA512 5bfbccb9c6e2c7b013c77caa3bc015e9b131ef902efb24b6959cc1afd02f62cc2e49e5ef61208465955a21a10bb03d58ae766f5b6852de3f6afd045d9c85ff5e WHIRLPOOL 2522dbd240f006c7f07fde7ea58fbc76b5d55df1b59786b03562ccc5d86f2acdd3a2d72c2031259b69c7485504bbdd842d33b40dc894ccbeac0b6531c33214f1 +DIST ganglia-3.2.0.tar.gz 1366106 SHA256 9867153c550a65099544fae82ff3514e4ae8b172a360e4b5320e269eb32dae48 +EBUILD ganglia-3.2.0.ebuild 3211 SHA256 941edb2cf4320f77bd1f5d8c6bb28cb74fd86eda5b27780579839aa159b73941 SHA512 253678df72036c8a0957e9dbf5ed4ca7ebfdbf07db6cac93c863db3db0b5f1ca8bf84ede48e195c0fa6d3c8a43b1729144e82464fa548ae0b53899d058adddaf WHIRLPOOL 6b2fe38148bc7352b2d80517fddf77631f79e5930c0e2c1d07aa032255b664757dc561c06086add9d93c7bc4f23c82ff6577cda395ca4174ff34ac352fb5b1eb +MISC ChangeLog 9819 SHA256 ac29974149c05f68f5459891d529a3760ff723688243f52cbaba335e9d72a165 SHA512 e9dacf5fd4e09a0a94138a2c623ddb8293ff52da45f9f69c84d07e11e064d1fe3100c2bdd901f05e1c00309ff639f57d298c20be68873a82a14d605170ca9ee0 WHIRLPOOL feae411b64b6d5a864a34b9033b1cfe5c26022724ccbc265f48646d55ecee12134d31a13163b031e1ca0dff3eac3cf4ab7f0834eb520a7806384d08ecbe00ed0 +MISC metadata.xml 228 SHA256 867e2c9cf08802c1ae7c8a1e84fafa792a531488dc15c7e8efd5596b33465d30 SHA512 ced4d7a8792403fe33b4500e75af897dfda1997dbea848fb4c699555e8d1fcad08f54b7c446ecc35306d025edde55d151d89c5e6ba7dba2244854637d4248d28 WHIRLPOOL d3195ff37ccca6b73e2b576c08e70cb057f222608b072b4ce5852522447cd9659d3b86a94a10b97635e82194b41d0f60715ac81cb336d8f4919b914738b1f3ef +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJQQ3HcAAoJEF0huFKJUZL588AP/35h6FlfK2Cdh9AG7ZDcCFT+ +UDs7QqWPB5a8YSccj/I3Z/+8k/QUe51WFT5rm+1+2cvtfgvs/fuH4FANSzyMAcRS +HEG58SQzLond+rEc868as6laOUBmXgu+bj010EGmz4rrLrT4YnL1N7wL7tloKWca +RwfMCBz7mSudoN6U7FZVK8JK7uF5jkuuZJvlanaYanmyT7ab/Obim8+wuuvU6Spm +gHErDJ387w98Daxoyy18YDCL4c4PzvSPU0L8560jZAbREHFOKDfECIrGpw+QVp7n +QbN/Oq5ctK0996+LuXM7vPFzMFm3EVrSy+Z3c2gD1JqueobgWp2DRX8YGfZQI1py +B7HX/FGz0v5LKZFALgFLpzg1FmbxQdr1WBVy7lrA/75Au2ECFyRIYL1KzCtYD01g +qtovIC2tl3LM9TrbtKykNNxH5GZuoA24F7qRAAIjsWoDUojlWCOMSVkLrpFUppE9 +hTfXgSZ0fmXLzW7rWlH72AAl4m+mxmt9/jVNW3Z8s2JnqXiS2BOrc087+VuCuVax +9A9Vl0uFHOXuo5P06Hy0/BiRhzOmUKeyo4PlFExdTU+Zkrved7PILN0GAt9orZqG +HBT61Q21q2FPxiAelTlAcW1m64oQpX+InFER/21vH1iZV5E3L/EopdYStAf9R5xy +WJJ4DjeWlgN2GztN8zM8 +=/Jy3 +-----END PGP SIGNATURE----- diff --git a/sys-cluster/ganglia/ganglia-3.1.2.ebuild b/sys-cluster/ganglia/ganglia-3.1.2.ebuild deleted file mode 100644 index 7b4311bda30e..000000000000 --- a/sys-cluster/ganglia/ganglia-3.1.2.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.2.ebuild,v 1.6 2009/06/20 18:27:54 jsbronder Exp $ - -WEBAPP_OPTIONAL="yes" -inherit multilib webapp depend.php python - -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" - -WEBAPP_MANUAL_SLOT="yes" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="minimal vhosts python" - -DEPEND=" - dev-libs/confuse - dev-libs/expat - >=dev-libs/apr-1.0 - python? ( >=dev-lang/python-2.3 ) - !dev-db/firebird" - -RDEPEND=" - ${DEPEND} - !minimal? ( net-analyzer/rrdtool - ${WEBAPP_DEPEND} - =virtual/httpd-php-5* )" - -pkg_setup() { - if ! use minimal ; then - require_gd - require_php_with_use xml ctype pcre - webapp_pkg_setup - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - # TODO: Submitted upstream, may not be necessary in the future. - epatch "${FILESDIR}"/${PN}-3.1.1-ctype-c99.patch - # This patch just gives a group to the disk statistics. - # I.E. it's just cosmetics - epatch "${FILESDIR}"/${PN}-3.1.1-multidisk-group.patch -} - -src_compile() { - econf \ - --enable-gexec \ - $(use_enable python) \ - $(use_with !minimal gmetad) || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - newinitd "${FILESDIR}"/gmond.rc gmond - doman mans/{gmetric.1,gmond.1,gstat.1} - doman gmond/gmond.conf.5 - dodoc AUTHORS ChangeLog INSTALL NEWS README - dodir /etc/ganglia/conf.d - gmond/gmond -t > "${D}"/etc/ganglia/gmond.conf - - # Sadly, there is no install target for any of this. - if use python; then - # We install the multidisk module, but not the configuration - # as this needs to be generated later. See pkg_config - local gmond_py="disk/multidisk network/tcpconn" - local gmond_py_conf="tcpconn" - newdoc gmond/modules/python/README README.python_modules - insinto /etc/ganglia/conf.d - doins gmond/modules/conf.d/modpython.conf - for i in ${gmond_py_conf}; do - doins gmond/python_modules/conf.d/${i}.pyconf - done - dodir /usr/$(get_libdir)/ganglia/python_modules - insinto /usr/$(get_libdir)/ganglia/python_modules - for i in ${gmond_py}; do - doins gmond/python_modules/${i}.py - done - fi - - if ! use minimal; then - webapp_src_preinst - insinto "${MY_HTDOCSDIR}" - doins -r web/* - webapp_configfile "${MY_HTDOCSDIR}"/conf.php - webapp_src_install - - # webapp_src_install stomps on permissions, so do that - # stuff first. - insinto /etc/ganglia - doins gmetad/gmetad.conf - doman mans/gmetad.1 - - newinitd "${FILESDIR}"/gmetad.rc gmetad - keepdir /var/lib/ganglia/rrds - fowners nobody:nobody /var/lib/ganglia/rrds - fi -} - -pkg_preinst() { - if has_version '<sys-cluster/ganglia-3.1.0'; then - elog "Previous ganglia installation detected." - elog "Copying gmetad configuration to /etc/ganglia" - elog "You may have to remove /etc/gmond.conf yourself." - mkdir -p "${D}"/etc/ganglia - [ -f "${ROOT}"etc/gmetad.conf ] \ - && cp "${ROOT}"etc/gmetad.conf "${D}"/etc/ganglia - 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 "customize it from there or provide your own but be aware" - elog "the format has changed since 3.0 and so you won't be able" - elog "to use your current configuration (if you generated any)" - elog "in /etc/gmond.conf directly" - elog - elog "If you require disk {usage,total} statistics, please run" - elog " emerge --config ${PN}" - elog "then check ${ROOT}etc/ganglia/conf.d/diskusage.pyconf" - elog "for correctness." - - use minimal || webapp_pkg_postinst - - use python && \ - python_mod_optimize /usr/$(get_libdir)/ganglia/python_modules/ -} - -pkg_prerm() { - use minimal || webapp_pkg_prerm -} - -pkg_postrm() { - use python && \ - python_mod_cleanup /usr/$(get_libdir)/ganglia/python_modules/ - [ -d "${ROOT}"/usr/$(get_libdir)/ganglia ] && \ - rmdir "${ROOT}"/usr/$(get_libdir)/ganglia 2>/dev/null -} - -pkg_config() { - local disk_used_metrics disk_total_metrics i - local disk_pyconf="${ROOT}"etc/ganglia/conf.d/diskusage.pyconf - - if ! use python; then - einfo "No configuration necessary :)" - exit 0 - fi - - if [ ! -w ${disk_pyconf} ]; then - eerror "Cannot write to ${disk_pyconf}" - exit 1 - fi - - ebegin "Generating disk used/total metric configuration to ${disk_pyconf}" - disk_used_metrics=$(${ROOT}/usr/sbin/gmond -m | awk '/-disk_used/{print $1}') - disk_total_metrics=$(${ROOT}/usr/sbin/gmond -m | awk '/-disk_total/{print $1}') - cat > ${disk_pyconf} <<-EOF - #/* Disk usage collection groups for - # multidisk python module */ - # - # Autogenerated by pkg_config in the Gentoo ganglia ebuild. - - modules { - module { - name = "multidisk" - language = "python" - } - } - - collection_group { - collect_every = 10 - time_threshold = 50 - EOF - for i in ${disk_used_metrics}; do - printf \ - "\n metric {\n name = \"%s\"\n value_threshold = 1.0\n }" \ - ${i} >> ${disk_pyconf} - done - printf "\n}\n\n" >> ${disk_pyconf} - - # Get the disk total metrics. - cat >> ${disk_pyconf} <<-EOF - collection_group { - collect_once = yes - time_threshold = 20 - EOF - for i in ${disk_total_metrics}; do - printf \ - "\n metric {\n name = \"%s\"\n }" \ - ${i} >> ${disk_pyconf} - done - printf "\n}\n" >> ${disk_pyconf} -} diff --git a/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild b/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild deleted file mode 100644 index cb51a29e5551..000000000000 --- a/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r2.ebuild,v 1.5 2011/06/23 20:16:22 ranger Exp $ - -EAPI="3" -WEBAPP_OPTIONAL="yes" - -PYTHON_DEPEND="python? 2" -WEBAPP_MANUAL_SLOT="yes" - -inherit eutils multilib webapp python - -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 vhosts python examples" - -DEPEND=" - dev-libs/confuse - dev-libs/expat - >=dev-libs/apr-1.0 - !dev-db/firebird" - -RDEPEND=" - ${DEPEND} - !minimal? ( net-analyzer/rrdtool - ${WEBAPP_DEPEND} - dev-lang/php[gd,xml,ctype,cgi] - || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 ) - media-fonts/dejavu - )" - -pkg_setup() { - if use python; then - python_set_active_version 2 - python_pkg_setup - fi - use minimal || webapp_pkg_setup -} - -src_prepare() { - # This patch just gives a group to the disk statistics. - # I.E. it's just cosmetics - epatch "${FILESDIR}"/${PN}-3.1.1-multidisk-group.patch - - # Disable modpython by default (#358359) - sed -i '/ *params/N;s,\( *\)\(params = "[^"]*"\),\1\2\n\1enabled = no,' \ - gmond/modules/conf.d/modpython.conf.in || die -} - -src_configure() { - econf \ - --enable-gexec \ - --sysconfdir="${EPREFIX}"/etc/${PN} \ - $(use_enable python) \ - $(use_with !minimal gmetad) || die "econf failed" -} - -src_install() { - local exdir=/usr/share/doc/${P} - - emake DESTDIR="${D}" install || die "emake install failed" - - newinitd "${FILESDIR}"/gmond.rc-2 gmond - doman {mans/*.1,gmond/*.5} || die "Failed to install manpages" - dodoc AUTHORS ChangeLog 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 - webapp_src_preinst - insinto "${MY_HTDOCSDIR}" - doins -r web/* - webapp_configfile "${MY_HTDOCSDIR}"/conf.php - webapp_src_install - - # webapp_src_install stomps on permissions, so do that - # stuff first. - 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 -} - -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" - - use minimal || webapp_pkg_postinst -} - -pkg_prerm() { - use minimal || webapp_pkg_prerm -} diff --git a/sys-cluster/ganglia/ganglia-3.1.7-r3.ebuild b/sys-cluster/ganglia/ganglia-3.1.7-r3.ebuild deleted file mode 100644 index 6e408d47c716..000000000000 --- a/sys-cluster/ganglia/ganglia-3.1.7-r3.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.7-r3.ebuild,v 1.1 2011/05/23 09:11:52 xarthisius Exp $ - -EAPI="3" -WEBAPP_OPTIONAL="yes" - -PYTHON_DEPEND="python? 2" -WEBAPP_MANUAL_SLOT="yes" - -inherit eutils multilib webapp python - -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 vhosts 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 - ${WEBAPP_DEPEND} - dev-lang/php[gd,xml,ctype,cgi] - || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 ) - media-fonts/dejavu - )" - -pkg_setup() { - if use python; then - python_set_active_version 2 - python_pkg_setup - fi - use minimal || webapp_pkg_setup -} - -src_prepare() { - # This patch just gives a group to the disk statistics. - # I.E. it's just cosmetics - epatch "${FILESDIR}"/${PN}-3.1.1-multidisk-group.patch - - # Disable modpython by default (#358359) - sed -i '/ *params/N;s,\( *\)\(params = "[^"]*"\),\1\2\n\1enabled = no,' \ - gmond/modules/conf.d/modpython.conf.in || die -} - -src_configure() { - econf \ - --enable-gexec \ - --sysconfdir="${EPREFIX}"/etc/${PN} \ - $(use_enable python) \ - $(use_with pcre libpcre) \ - $(use_with !minimal gmetad) -} - -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 ChangeLog 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 - webapp_src_preinst - insinto "${MY_HTDOCSDIR}" - doins -r web/* - webapp_configfile "${MY_HTDOCSDIR}"/conf.php - webapp_src_install - - # webapp_src_install stomps on permissions, so do that - # stuff first. - 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 -} - -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" - - use minimal || webapp_pkg_postinst -} - -pkg_prerm() { - use minimal || webapp_pkg_prerm -} |