summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-12 04:21:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-12 04:21:31 +0000
commitbad9af17af3bdaa3897c1e0ba5dd8b65e50ccbe4 (patch)
tree0832ac3a8f579365b2b66c3fd98870b5f5ec8002 /sys-apps/mondo
parentold (diff)
downloadhistorical-bad9af17af3bdaa3897c1e0ba5dd8b65e50ccbe4.tar.gz
historical-bad9af17af3bdaa3897c1e0ba5dd8b65e50ccbe4.tar.bz2
historical-bad9af17af3bdaa3897c1e0ba5dd8b65e50ccbe4.zip
add a 2.6 check #72467 by Alexander Weber
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-apps/mondo')
-rw-r--r--sys-apps/mondo/Manifest2
-rw-r--r--sys-apps/mondo/mondo-0.9a.ebuild32
2 files changed, 16 insertions, 18 deletions
diff --git a/sys-apps/mondo/Manifest b/sys-apps/mondo/Manifest
index 3ef373d307cb..50892cc23eb6 100644
--- a/sys-apps/mondo/Manifest
+++ b/sys-apps/mondo/Manifest
@@ -1,7 +1,7 @@
MD5 9dc2eb4b39644f50088f3b9183b3dc57 ChangeLog 863
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 9a277bde6d5535adaf0c188e303b3f38 mondo-0.9.ebuild 990
-MD5 b85aef6999d9b7af67d7878f20fecb74 mondo-0.9a.ebuild 979
+MD5 a17913b59805212b40b2741c5dad3a35 mondo-0.9a.ebuild 1072
MD5 31a789bf3b48f4401438830acf457686 files/digest-mondo-0.9 62
MD5 132f0055743c53c2748b6f0e7b8ad2bb files/mondo.sh 643
MD5 5722aa0fa20a3f7a76b2dad8860a1f50 files/digest-mondo-0.9a 63
diff --git a/sys-apps/mondo/mondo-0.9a.ebuild b/sys-apps/mondo/mondo-0.9a.ebuild
index b0bf6fcc87c4..c6266b608690 100644
--- a/sys-apps/mondo/mondo-0.9a.ebuild
+++ b/sys-apps/mondo/mondo-0.9a.ebuild
@@ -1,38 +1,36 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mondo/mondo-0.9a.ebuild,v 1.1 2004/08/12 15:47:09 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mondo/mondo-0.9a.ebuild,v 1.2 2005/02/12 04:21:31 vapier Exp $
DESCRIPTION="A System Health Monitor"
HOMEPAGE="http://mondo-daemon.sourceforge.net/"
-KEYWORDS="~x86"
-IUSE=""
-SLOT="0"
+SRC_URI="mirror://sourceforge/mondo-daemon/${P}.tar.bz2"
+
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
DEPEND=">=sys-apps/lm-sensors-2.6.3"
-SRC_URI="mirror://sourceforge/mondo-daemon/${P}.tar.bz2"
-
-src_compile() {
- econf || die "Configure failed"
- emake || die
+pkg_setup() {
+ if [[ ${KV:0:3} != "2.4" ]] ; then
+ eerror "Sorry, but mondo only works with linux-2.4."
+ eerror "http://bugs.gentoo.org/show_bug.cgi?id=72467"
+ die "kernel not supported"
+ fi
}
src_install() {
einstall || die "Install failed"
-
- dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/mondo.sh mondo
+ newinitd ${FILESDIR}/mondo.sh mondo
+ dodoc AUTHORS ChangeLog INSTALL README TODO
}
pkg_postinst() {
- einfo
einfo "The mondo system health monitor has been installed."
einfo
einfo "Don't forget to setup lm_sensors before starting mondo."
einfo "Run mondo-setup or edit /etc/mondo.conf manually and run"
einfo "'rc-update add mondo <runlevel>' to add mondo to a runlevel."
- einfo
}