summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2008-01-08 23:45:41 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2008-01-08 23:45:41 +0000
commit870eb00556e5c3de71ff6022f931c6197df2de73 (patch)
treec2f74ca6b31ef74fcb121da46ef8458a1272bf02 /sys-kernel/kerneloops
parentremove 0.5 files (diff)
downloadgentoo-2-870eb00556e5c3de71ff6022f931c6197df2de73.tar.gz
gentoo-2-870eb00556e5c3de71ff6022f931c6197df2de73.tar.bz2
gentoo-2-870eb00556e5c3de71ff6022f931c6197df2de73.zip
fix init.d startup script
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'sys-kernel/kerneloops')
-rw-r--r--sys-kernel/kerneloops/ChangeLog8
-rw-r--r--sys-kernel/kerneloops/files/digest-kerneloops-0.8-r13
-rwxr-xr-xsys-kernel/kerneloops/files/kerneloops6
-rw-r--r--sys-kernel/kerneloops/kerneloops-0.8-r1.ebuild42
4 files changed, 55 insertions, 4 deletions
diff --git a/sys-kernel/kerneloops/ChangeLog b/sys-kernel/kerneloops/ChangeLog
index 395605fcf4d9..7ab273046011 100644
--- a/sys-kernel/kerneloops/ChangeLog
+++ b/sys-kernel/kerneloops/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/kerneloops
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/ChangeLog,v 1.4 2008/01/08 23:42:00 gregkh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/ChangeLog,v 1.5 2008/01/08 23:45:40 gregkh Exp $
+
+*kerneloops-0.8-r1 (08 Jan 2008)
+
+ 08 Jan 2008; Greg Kroah-Hartman <gregkh@gentoo.org> files/kerneloops,
+ +kerneloops-0.8-r1.ebuild:
+ fix the kerneloops startup script (wrong config file test and error message)
08 Jan 2008; Greg Kroah-Hartman <gregkh@gentoo.org>
-kerneloops-0.5.ebuild, -kerneloops-0.5-r1.ebuild:
diff --git a/sys-kernel/kerneloops/files/digest-kerneloops-0.8-r1 b/sys-kernel/kerneloops/files/digest-kerneloops-0.8-r1
new file mode 100644
index 000000000000..b8f606bae90d
--- /dev/null
+++ b/sys-kernel/kerneloops/files/digest-kerneloops-0.8-r1
@@ -0,0 +1,3 @@
+MD5 a8cac3b658bbe4860ba6ffb356253616 kerneloops-0.8.tar.gz 49594
+RMD160 2c548680d882c1fd164be864091267e696b7ae34 kerneloops-0.8.tar.gz 49594
+SHA256 892efb04caf897b88671c8b98d3c81495d4f0517fcd9ab052cd57148862705c1 kerneloops-0.8.tar.gz 49594
diff --git a/sys-kernel/kerneloops/files/kerneloops b/sys-kernel/kerneloops/files/kerneloops
index c6c1c776107a..9be16ea6d3be 100755
--- a/sys-kernel/kerneloops/files/kerneloops
+++ b/sys-kernel/kerneloops/files/kerneloops
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/files/kerneloops,v 1.1 2007/12/18 22:22:52 gregkh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/files/kerneloops,v 1.2 2008/01/08 23:45:41 gregkh Exp $
depend() {
need net
@@ -9,12 +9,12 @@ depend() {
exec="/usr/sbin/kerneloops"
prog=$(basename $exec)
-conf="/etc/kerneloops.org"
+conf="/etc/kerneloops.conf"
pidfile="/var/run/${prog}.pid"
checkconfig() {
if [ ! -e $conf ] ; then
- eerror "You need an ${exec} file to run $prog"
+ eerror "You need an ${conf} file to run $prog"
return 1
fi
}
diff --git a/sys-kernel/kerneloops/kerneloops-0.8-r1.ebuild b/sys-kernel/kerneloops/kerneloops-0.8-r1.ebuild
new file mode 100644
index 000000000000..797fc7be4bff
--- /dev/null
+++ b/sys-kernel/kerneloops/kerneloops-0.8-r1.ebuild
@@ -0,0 +1,42 @@
+# 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.8-r1.ebuild,v 1.1 2008/01/08 23:45:40 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="~x86"
+
+DEPEND="net-misc/curl sys-apps/dbus"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install 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."
+}