1 |
commit: 78cae72a3eef162d5ff2af6af7a10a61aadbf406 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 12 06:26:23 2018 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 12 07:04:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cae72a |
7 |
|
8 |
app-admin/rasdaemon: fix multiple issues |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
13 |
|
14 |
app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild | 57 +++++++++++++++++++++++++++ |
15 |
1 file changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..0e27e9fe31e |
20 |
--- /dev/null |
21 |
+++ b/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild |
22 |
@@ -0,0 +1,57 @@ |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit linux-info systemd |
29 |
+ |
30 |
+DESCRIPTION="Reliability, Availability and Serviceability logging tool" |
31 |
+HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/" |
32 |
+SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+DEPEND="" |
40 |
+RDEPEND=" |
41 |
+ ${DEPEND} |
42 |
+ sys-devel/gettext |
43 |
+ dev-db/sqlite |
44 |
+ sys-apps/dmidecode |
45 |
+ dev-perl/DBD-SQLite |
46 |
+" |
47 |
+ |
48 |
+pkg_setup() { |
49 |
+ linux-info_pkg_setup |
50 |
+ local CONFIG_CHECK="~ACPI_EXTLOG ~DYNAMIC_FTRACE ~FUNCTION_GRAPH_TRACER ~FUNCTION_TRACER ~STACK_TRACER" |
51 |
+ check_extra_config |
52 |
+} |
53 |
+ |
54 |
+src_configure() { |
55 |
+ local myconf=( |
56 |
+ --enable-abrt-report |
57 |
+ --enable-aer |
58 |
+ --enable-arm |
59 |
+ --enable-extlog |
60 |
+ --enable-hisi-ns-decode |
61 |
+ --enable-mce |
62 |
+ --enable-non-standard |
63 |
+ --enable-sqlite3 |
64 |
+ --includedir="/usr/include/${PN}" |
65 |
+ --localstatedir=/var |
66 |
+ ) |
67 |
+ econf "${myconf[@]}" |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ |
73 |
+ keepdir "/var/lib/${PN}" |
74 |
+ |
75 |
+ systemd_dounit misc/*.service |
76 |
+ |
77 |
+ newinitd "${FILESDIR}/rasdaemon.openrc" rasdaemon |
78 |
+ newinitd "${FILESDIR}/ras-mc-ctl.openrc" ras-mc-ctl |
79 |
+} |