Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 238106 | Differences between
and this patch

Collapse All | Expand All

(-)kerneloops-0.12.ebuild (-8 / +20 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/kerneloops-0.12.ebuild,v 1.1 2008/09/15 22:38:48 gregkh Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/kerneloops-0.12.ebuild,v 1.1 2008/09/15 22:38:48 gregkh Exp $
4
4
5
inherit eutils
5
inherit eutils toolchain-funcs flag-o-matic
6
6
7
DESCRIPTION="Tool to automatically collect and submit Linux kernel crash signatures"
7
DESCRIPTION="Tool to automatically collect and submit Linux kernel crash signatures"
8
HOMEPAGE="http://www.kerneloops.org/"
8
HOMEPAGE="http://www.kerneloops.org/"
Lines 19-32 Link Here
19
		dev-util/desktop-file-utils"
19
		dev-util/desktop-file-utils"
20
RDEPEND="${DEPEND}"
20
RDEPEND="${DEPEND}"
21
21
22
src_unpack() {
23
	unpack ${A}
24
	cd "${WORKDIR}"
25
}
26
27
src_compile() {
22
src_compile() {
28
	emake kerneloops || die "Compile deamon failed"
23
29
	emake kerneloops-applet || die "Compile applet failed"
24
	append-flags -fstack-protector -D_FORTIFY_SOURCE=2 -fno-common
25
26
	emake \
27
	CFLAGS="${CFLAGS}" \
28
	CC="$(tc-getCC)" \
29
	kerneloops || die "Compile deamon failed"
30
31
	emake \
32
	CFLAGS="${CFLAGS}" \
33
	CC="$(tc-getCC)" \
34
	kerneloops-applet || die "Compile applet failed"
30
}
35
}
31
36
32
src_install() {
37
src_install() {
Lines 36-41 Link Here
36
41
37
	doinitd "${FILESDIR}"/kerneloops || die "doinitd failed"
42
	doinitd "${FILESDIR}"/kerneloops || die "doinitd failed"
38
43
44
	cat >> "${T}"/kerneloops <<- EOF
45
46
	# Change this according to your syslogger
47
	LOGFILE="/var/log/messages"
48
	EOF
49
50
	doconfd "${T}"/kerneloops
39
}
51
}
40
52
41
pkg_postinst() {
53
pkg_postinst() {

Return to bug 238106