diff options
author | 2012-07-17 13:59:48 +0000 | |
---|---|---|
committer | 2012-07-17 13:59:48 +0000 | |
commit | 16c8aa007047234ad97ce1aa596930c37704dba8 (patch) | |
tree | 379d5f023c551a78e08ba2b1e2f920ab2c24c31e /net-analyzer/munin | |
parent | Keyword ~ppc ~ppc64 (diff) | |
download | gentoo-2-16c8aa007047234ad97ce1aa596930c37704dba8.tar.gz gentoo-2-16c8aa007047234ad97ce1aa596930c37704dba8.tar.bz2 gentoo-2-16c8aa007047234ad97ce1aa596930c37704dba8.zip |
Unbundle DejaVu fonts by depending on them and using a newer rrdtool as a minimum; properly wire in installation of the Java library.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/munin')
-rw-r--r-- | net-analyzer/munin/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/munin/munin-2.0.2.ebuild | 23 |
2 files changed, 23 insertions, 6 deletions
diff --git a/net-analyzer/munin/ChangeLog b/net-analyzer/munin/ChangeLog index e57e8f3ebbac..895c47cd16b7 100644 --- a/net-analyzer/munin/ChangeLog +++ b/net-analyzer/munin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/munin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.73 2012/07/17 11:21:10 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.74 2012/07/17 13:59:48 flameeyes Exp $ + + 17 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> munin-2.0.2.ebuild: + Unbundle DejaVu fonts by depending on them and using a newer rrdtool as a + minimum; properly wire in installation of the Java library. 17 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> +files/localstart-munin, -files/munin-2.0_rc-crontab, munin-2.0.2.ebuild: diff --git a/net-analyzer/munin/munin-2.0.2.ebuild b/net-analyzer/munin/munin-2.0.2.ebuild index 206e44e3bceb..0cbf155e6f56 100644 --- a/net-analyzer/munin/munin-2.0.2.ebuild +++ b/net-analyzer/munin/munin-2.0.2.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.2.ebuild,v 1.2 2012/07/17 11:21:10 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.2.ebuild,v 1.3 2012/07/17 13:59:48 flameeyes Exp $ EAPI=4 -PATCHSET=2 +PATCHSET=3 -inherit eutils user versionator +inherit eutils user versionator java-pkg-opt-2 MY_P=${P/_/-} @@ -50,7 +50,7 @@ DEPEND_COM="dev-lang/perl virtual/perl-Text-Balanced virtual/perl-Time-HiRes !minimal? ( dev-perl/HTML-Template - net-analyzer/rrdtool[perl] + >=net-analyzer/rrdtool-1.3[perl] dev-perl/Log-Log4perl )" # Keep this seperate, as previous versions have had other deps here @@ -66,17 +66,22 @@ DEPEND="${DEPEND_COM} )" RDEPEND="${DEPEND_COM} java? ( >=virtual/jre-1.5 ) - !minimal? ( virtual/cron )" + !minimal? ( + virtual/cron + media-fonts/dejavu + )" S="${WORKDIR}/${MY_P}" pkg_setup() { enewgroup munin enewuser munin 177 -1 /var/lib/munin munin + java-pkg-opt-2_pkg_setup } src_prepare() { epatch "${WORKDIR}"/patches/*.patch + java-pkg-opt-2_src_prepare } src_configure() { @@ -95,6 +100,7 @@ DBDIR=\$(DESTDIR)/var/lib/munin LOGDIR=\$(DESTDIR)/var/log/munin PERLSITELIB=$(perl -V:vendorlib | cut -d"'" -f2) JCVALID=$(usex java yes no) +JAVALIBDIR=${T}/java EOF } @@ -117,6 +123,9 @@ src_install() { emake DESTDIR="${D}" ${install_targets} fowners munin:munin ${dirs} + # remove font files so that we don't have to keep them around + rm "${D}"/usr/libexec/${PN}/*.ttf || die + insinto /etc/munin/plugin-conf.d/ newins "${FILESDIR}"/${PN}-1.3.2-plugins.conf munin-node @@ -133,6 +142,10 @@ src_install() { exeinto /etc/local.d/ newexe "${FILESDIR}"/localstart-munin 50munin.start + + if use java; then + java-pkg_dojar "${T}"/java/*.jar + fi } pkg_config() { |