Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
Date: Sat, 18 Jan 2020 23:28:04
Message-Id: 1579390071.f46ea06d6d147b8230a2fbe5e7941fcd8cf5f1bd.prometheanfire@gentoo
1 commit: f46ea06d6d147b8230a2fbe5e7941fcd8cf5f1bd
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 18 23:27:35 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 18 23:27:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46ea06d
7
8 app-admin/rasdaemon: 0.6.5 bump
9
10 Fixes: https://bugs.gentoo.org/642016
11 Fixes: https://bugs.gentoo.org/705706
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
14
15 app-admin/rasdaemon/Manifest | 1 +
16 app-admin/rasdaemon/rasdaemon-0.6.5.ebuild | 63 ++++++++++++++++++++++++++++++
17 2 files changed, 64 insertions(+)
18
19 diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest
20 index 7d14f3d5052..a1fcfc65ec6 100644
21 --- a/app-admin/rasdaemon/Manifest
22 +++ b/app-admin/rasdaemon/Manifest
23 @@ -1,2 +1,3 @@
24 DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60
25 DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b
26 +DIST rasdaemon-0.6.5.tar.bz2 403435 BLAKE2B bc6fa1aea6a6f0190a4f26df936f0ceb4c9b2ae00183ad9239430a018d9c8178e54b016a0aa9d22d97d851b59321b4a27cad7196f1fc22790d15a19c9c06f6e6 SHA512 aa781f3148ae32c8bc7ff8007574912454180725b9b102e1c7c583101dd1fd96debbdc78f3f2a35db45df359c7547cad4d87b490af66f444341c0dc8429c1310
27
28 diff --git a/app-admin/rasdaemon/rasdaemon-0.6.5.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.5.ebuild
29 new file mode 100644
30 index 00000000000..37e14a241e6
31 --- /dev/null
32 +++ b/app-admin/rasdaemon/rasdaemon-0.6.5.ebuild
33 @@ -0,0 +1,63 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit linux-info systemd
40 +
41 +DESCRIPTION="Reliability, Availability and Serviceability logging tool"
42 +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
43 +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="sqlite"
49 +
50 +DEPEND=""
51 +RDEPEND="
52 + ${DEPEND}
53 + sys-devel/gettext
54 + sys-apps/dmidecode
55 + sqlite? (
56 + dev-db/sqlite
57 + dev-perl/DBD-SQLite
58 + )
59 +"
60 +
61 +pkg_setup() {
62 + linux-info_pkg_setup
63 + local CONFIG_CHECK="~ACPI_EXTLOG"
64 + check_extra_config
65 +}
66 +
67 +src_configure() {
68 + local myconf=(
69 + $(use_enable sqlite sqlite3)
70 + --enable-abrt-report
71 + --enable-aer
72 + --enable-arm
73 + --enable-extlog
74 + --enable-hisi-ns-decode
75 + --enable-mce
76 + --enable-non-standard
77 + --enable-devlink
78 + --enable-diskerror
79 + --includedir="/usr/include/${PN}"
80 + --localstatedir=/var
81 + )
82 +
83 + econf "${myconf[@]}"
84 +}
85 +
86 +src_install() {
87 + default
88 +
89 + keepdir "/var/lib/${PN}"
90 +
91 + systemd_dounit misc/*.service
92 +
93 + newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon
94 + newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl
95 + newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon
96 +}