summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2008-09-15 22:38:48 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2008-09-15 22:38:48 +0000
commit38f7d3d8b382351dcb39750fbb3d215ba04e4e1b (patch)
tree8ffc022130e7354812c382ca901e8e192823d04b /sys-kernel/kerneloops/kerneloops-0.12.ebuild
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-38f7d3d8b382351dcb39750fbb3d215ba04e4e1b.tar.gz
gentoo-2-38f7d3d8b382351dcb39750fbb3d215ba04e4e1b.tar.bz2
gentoo-2-38f7d3d8b382351dcb39750fbb3d215ba04e4e1b.zip
0.12 release, removed -gtk option
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.4 i686)
Diffstat (limited to 'sys-kernel/kerneloops/kerneloops-0.12.ebuild')
-rw-r--r--sys-kernel/kerneloops/kerneloops-0.12.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/kerneloops/kerneloops-0.12.ebuild b/sys-kernel/kerneloops/kerneloops-0.12.ebuild
new file mode 100644
index 000000000000..f17403c62cae
--- /dev/null
+++ b/sys-kernel/kerneloops/kerneloops-0.12.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/kerneloops-0.12.ebuild,v 1.1 2008/09/15 22:38:48 gregkh Exp $
+
+inherit eutils
+
+DESCRIPTION="Tool to automatically collect and submit Linux kernel crash signatures"
+HOMEPAGE="http://www.kerneloops.org/"
+SRC_URI="http://www.kerneloops.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="net-misc/curl
+ sys-apps/dbus
+ x11-libs/gtk+
+ x11-libs/libnotify
+ dev-util/desktop-file-utils"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}"
+}
+
+src_compile() {
+ emake kerneloops || die "Compile deamon failed"
+ emake kerneloops-applet || die "Compile applet failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install-system || die "Install of system failed"
+ emake DESTDIR="${D}" install-kerneloops || die "Install of deamon failed"
+ emake DESTDIR="${D}" install-applet || die "Install of applet failed"
+
+ doinitd "${FILESDIR}"/kerneloops || die "doinitd failed"
+
+}
+
+pkg_postinst() {
+ ewarn "PRIVACY NOTE"
+ ewarn "You must allow the kerneloops program to send the oops messages"
+ ewarn "by either editing the /etc/kerneloops.conf file, or by running the"
+ ewarn "kerneloops-applet program first."
+ ewarn "Enabling this option will cause your system to submit certain kernel"
+ ewarn "output to the kerneloops.org website, where it will be available via"
+ ewarn "this website to developers and everyone else."
+ ewarn "The submitted info are so-called \"oopses\", kernel crash signature."
+ ewarn "However, due to the nature of oopses, it may happen that a few"
+ ewarn "surrounding lines of the oops in the \"dmesg\" are being sent together"
+ ewarn "with the oops."
+}