diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2011-07-18 21:31:03 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2011-07-18 21:31:03 +0000 |
commit | b487728398b40ffee75e79a3298ef540c55f5c2c (patch) | |
tree | 2a1333da7f339012696a0ae344d2af3ba92f6b73 /net-analyzer/munin | |
parent | Migrate live ebuild to the git-2 eclass. (diff) | |
download | gentoo-2-b487728398b40ffee75e79a3298ef540c55f5c2c.tar.gz gentoo-2-b487728398b40ffee75e79a3298ef540c55f5c2c.tar.bz2 gentoo-2-b487728398b40ffee75e79a3298ef540c55f5c2c.zip |
Mark ppc, bug 367721. Remove older versions
(Portage version: 2.1.10.4/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/munin')
-rw-r--r-- | net-analyzer/munin/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/munin/munin-1.4.5-r1.ebuild | 141 | ||||
-rw-r--r-- | net-analyzer/munin/munin-1.4.5-r3.ebuild | 4 | ||||
-rw-r--r-- | net-analyzer/munin/munin-1.4.5.ebuild | 136 |
4 files changed, 7 insertions, 280 deletions
diff --git a/net-analyzer/munin/ChangeLog b/net-analyzer/munin/ChangeLog index 4adb66eca19a..f433e986017b 100644 --- a/net-analyzer/munin/ChangeLog +++ b/net-analyzer/munin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/munin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.54 2011/06/19 16:55:57 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.55 2011/07/18 21:31:03 darkside Exp $ + + 18 Jul 2011; Jeremy Olexa <darkside@gentoo.org> -munin-1.4.5.ebuild, + -munin-1.4.5-r1.ebuild, munin-1.4.5-r3.ebuild: + Mark ppc, bug 367721. Remove older versions 19 Jun 2011; Raúl Porcel <armin76@gentoo.org> munin-1.4.5-r3.ebuild: sparc stable wrt #367721 diff --git a/net-analyzer/munin/munin-1.4.5-r1.ebuild b/net-analyzer/munin/munin-1.4.5-r1.ebuild deleted file mode 100644 index dc2709ffe999..000000000000 --- a/net-analyzer/munin/munin-1.4.5-r1.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.4.5-r1.ebuild,v 1.1 2010/10/05 13:58:06 darkside Exp $ - -EAPI=2 - -inherit eutils - -DESCRIPTION="Munin Server Monitoring Tool" -HOMEPAGE="http://munin.projects.linpro.no/" -SRC_URI="mirror://sourceforge/munin/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" -IUSE="doc irc java minimal mysql postgres ssl" - -# Upstream's listing of required modules is NOT correct! -# Some of the postgres plugins use DBD::Pg, while others call psql directly. -# The mysql plugins use mysqladmin directly. -DEPEND_COM="dev-lang/perl - sys-process/procps - irc? ( dev-perl/Net-IRC ) - java? ( >=virtual/jdk-1.5 ) - mysql? ( virtual/mysql dev-perl/Cache-Cache ) - ssl? ( dev-perl/Net-SSLeay ) - postgres? ( dev-perl/DBD-Pg dev-db/postgresql-base ) - dev-perl/DateManip - dev-perl/Net-CIDR - dev-perl/Net-Netmask - dev-perl/Net-SNMP - dev-perl/libwww-perl - dev-perl/net-server - dev-perl/DBI - virtual/perl-Digest-MD5 - virtual/perl-Getopt-Long - virtual/perl-MIME-Base64 - virtual/perl-Storable - virtual/perl-Text-Balanced - virtual/perl-Time-HiRes - !minimal? ( dev-perl/HTML-Template - net-analyzer/rrdtool[perl] - dev-perl/Log-Log4perl )" - # Sybase isn't supported in Gentoo - #munin-sybase? ( dev-perl/DBD-Sybase ) - -# Keep this seperate, as previous versions have had other deps here -DEPEND="${DEPEND_COM} - virtual/perl-Module-Build" -RDEPEND="${DEPEND_COM} - !minimal? ( virtual/cron )" - -pkg_setup() { - enewgroup munin - enewuser munin 177 -1 /var/lib/munin munin -} - -src_prepare() { - # upstream needs a lot of DESTDIR loving - # and Gentoo location support - epatch "${FILESDIR}"/${PN}-1.4.4-Makefile.patch - - # Don't build java plugins if not requested via USE. - if ! use java; then - # sed is needed so the java plugins aren't automagically built. - sed -i -e 's: build-plugins-java : :' \ - -e 's: install-plugins-java : :' Makefile || die - fi -} - -src_compile() { - emake -j 1 build build-man || die "build/build-man failed" - if use doc; then - emake -j 1 build-doc || die "build-doc failed" - fi - - #Ensure TLS is disabled if built without SSL - if ! use ssl; then - echo "tls disabled" >> ${S}/build/node/munin-node.conf \ - || die "Fixing munin-node.conf Failed!" - echo "tls disabled" >> ${S}/build/master/munin.conf \ - || die "Fixing munin.conf Failed!" - fi - -} - -src_install() { - local dirs - dirs="/var/log/munin/ /var/lib/munin/" - dirs="${dirs} /var/lib/munin/plugin-state/" - dirs="${dirs} /var/run/munin/plugin-state/" - dirs="${dirs} /var/run/munin/spool/" - dirs="${dirs} /etc/munin/plugin-conf.d/" - dirs="${dirs} /etc/munin/munin-conf.d/" - dirs="${dirs} /etc/munin/plugins/" - keepdir ${dirs} - - if use minimal; then - emake -j 1 DESTDIR="${D}" install-common-prime install-node-prime \ - install-plugins-prime || die "install failed" - else - emake -j 1 DESTDIR="${D}" install || die "install failed" - fi - fowners munin:munin ${dirs} || die - - insinto /etc/munin/plugin-conf.d/ - newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node || die - - # make sure we've got everything in the correct directory - insinto /var/lib/munin - newins "${FILESDIR}"/${PN}-1.3.3-crontab crontab || die - newinitd "${FILESDIR}"/munin-node_init.d_1.3.3-r1 munin-node || die - newconfd "${FILESDIR}"/munin-node_conf.d_1.3.3-r1 munin-node || die - dodoc README ChangeLog INSTALL logo.eps logo.svg build/resources/apache* \ - || die - - # bug 254968 - insinto /etc/logrotate.d/ - newins "${FILESDIR}"/logrotate.d-munin munin || die -} - -pkg_config() { - einfo "Press enter to install the default crontab for the munin master" - einfo "installation from /var/lib/munin/crontab" - einfo "If you have a large site, you may wish to customize it." - read - # dcron is very fussy about syntax - # the following is the only form that works in BOTH dcron and vixie-cron - crontab - -u munin </var/lib/munin/crontab -} - -pkg_postinst() { - elog "Please follow the munin documentation to set up the plugins you" - elog "need, afterwards start munin-node via /etc/init.d/munin-node." - elog "To have munin's cronjob automatically configured for you if this is" - elog "your munin master installation, please:" - elog "emerge --config net-analyzer/munin" - elog "" - elog "Please note that the crontab has undergone some modifications" - elog "since 1.3.2, and you should update to it!" -} diff --git a/net-analyzer/munin/munin-1.4.5-r3.ebuild b/net-analyzer/munin/munin-1.4.5-r3.ebuild index 8d8a3a4561d9..f6fd9e53983a 100644 --- a/net-analyzer/munin/munin-1.4.5-r3.ebuild +++ b/net-analyzer/munin/munin-1.4.5-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.4.5-r3.ebuild,v 1.5 2011/06/19 16:55:57 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.4.5-r3.ebuild,v 1.6 2011/07/18 21:31:03 darkside Exp $ EAPI=2 @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/munin/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~mips ~ppc sparc x86" +KEYWORDS="amd64 ~mips ppc sparc x86" IUSE="doc irc java memcached minimal mysql postgres ssl" # Upstream's listing of required modules is NOT correct! diff --git a/net-analyzer/munin/munin-1.4.5.ebuild b/net-analyzer/munin/munin-1.4.5.ebuild deleted file mode 100644 index 9e77603c37a4..000000000000 --- a/net-analyzer/munin/munin-1.4.5.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-1.4.5.ebuild,v 1.6 2010/10/12 15:48:43 armin76 Exp $ - -EAPI=2 - -inherit eutils - -DESCRIPTION="Munin Server Monitoring Tool" -HOMEPAGE="http://munin.projects.linpro.no/" -SRC_URI="mirror://sourceforge/munin/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~mips ppc sparc x86" -IUSE="doc irc java minimal mysql postgres ssl" - -# Upstream's listing of required modules is NOT correct! -# Some of the postgres plugins use DBD::Pg, while others call psql directly. -# The mysql plugins use mysqladmin directly. -DEPEND_COM="dev-lang/perl - sys-process/procps - irc? ( dev-perl/Net-IRC ) - java? ( >=virtual/jdk-1.5 ) - mysql? ( virtual/mysql dev-perl/Cache-Cache ) - ssl? ( dev-perl/Net-SSLeay ) - postgres? ( dev-perl/DBD-Pg dev-db/postgresql-base ) - dev-perl/DateManip - dev-perl/Log-Log4perl - dev-perl/Net-CIDR - dev-perl/Net-Netmask - dev-perl/Net-SNMP - dev-perl/libwww-perl - dev-perl/net-server - dev-perl/DBI - virtual/perl-Digest-MD5 - virtual/perl-Getopt-Long - virtual/perl-MIME-Base64 - virtual/perl-Storable - virtual/perl-Text-Balanced - virtual/perl-Time-HiRes - !minimal? ( dev-perl/HTML-Template - net-analyzer/rrdtool[perl] )" - # Sybase isn't supported in Gentoo - #munin-sybase? ( dev-perl/DBD-Sybase ) - -# Keep this seperate, as previous versions have had other deps here -DEPEND="${DEPEND_COM} - virtual/perl-Module-Build" -RDEPEND="${DEPEND_COM} - !minimal? ( virtual/cron )" - -pkg_setup() { - enewgroup munin - enewuser munin 177 -1 /var/lib/munin munin -} - -src_prepare() { - # upstream needs a lot of DESTDIR loving - # and Gentoo location support - epatch "${FILESDIR}"/${PN}-1.4.4-Makefile.patch - - # Don't build java plugins if not requested via USE. - if ! use java; then - # sed is needed so the java plugins aren't automagically built. - sed -i -e 's: build-plugins-java : :' \ - -e 's: install-plugins-java : :' Makefile || die - fi -} - -src_compile() { - emake -j 1 build build-man || die "build/build-man failed" - if use doc; then - emake -j 1 build-doc || die "build-doc failed" - fi - - #Ensure TLS is disabled if built without SSL - if ! use ssl; then - echo "tls disabled" >> ${S}/build/node/munin-node.conf \ - || die "Fixing munin-node.conf Failed!" - echo "tls disabled" >> ${S}/build/master/munin.conf \ - || die "Fixing munin.conf Failed!" - fi - -} - -src_install() { - local dirs - dirs="/var/log/munin/ /var/lib/munin/" - dirs="${dirs} /var/lib/munin/plugin-state/" - dirs="${dirs} /var/run/munin/plugin-state/" - dirs="${dirs} /var/run/munin/spool/" - dirs="${dirs} /etc/munin/plugin-conf.d/" - dirs="${dirs} /etc/munin/munin-conf.d/" - dirs="${dirs} /etc/munin/plugins/" - keepdir ${dirs} - - emake -j 1 DESTDIR="${D}" install || die "install failed" - fowners munin:munin ${dirs} || die - - insinto /etc/munin/plugin-conf.d/ - newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node || die - - # make sure we've got everything in the correct directory - insinto /var/lib/munin - newins "${FILESDIR}"/${PN}-1.3.3-crontab crontab || die - newinitd "${FILESDIR}"/munin-node_init.d_1.3.3-r1 munin-node || die - newconfd "${FILESDIR}"/munin-node_conf.d_1.3.3-r1 munin-node || die - dodoc README ChangeLog INSTALL logo.eps logo.svg build/resources/apache* \ - || die - - # bug 254968 - insinto /etc/logrotate.d/ - newins "${FILESDIR}"/logrotate.d-munin munin || die -} - -pkg_config() { - einfo "Press enter to install the default crontab for the munin master" - einfo "installation from /var/lib/munin/crontab" - einfo "If you have a large site, you may wish to customize it." - read - # dcron is very fussy about syntax - # the following is the only form that works in BOTH dcron and vixie-cron - crontab - -u munin </var/lib/munin/crontab -} - -pkg_postinst() { - elog "Please follow the munin documentation to set up the plugins you" - elog "need, afterwards start munin-node via /etc/init.d/munin-node." - elog "To have munin's cronjob automatically configured for you if this is" - elog "your munin master installation, please:" - elog "emerge --config net-analyzer/munin" - elog "" - elog "Please note that the crontab has undergone some modifications" - elog "since 1.3.2, and you should update to it!" -} |