mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-admin/rasdaemon: add 0.8.2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST rasdaemon-0.8.0.tar.bz2 394983 BLAKE2B 24209f468fea2bc4e85dcac51e363e44a8a44b224b448ec1330bcd15a5b2b4b3cceeec78dbc86b4a88f5a378ecacba62cdba8e9c3e2b1b3a70be85a18af166ab SHA512 f6262f098fd2a08d35fef2c25e2452a202151d4cc93a1829e821abd564acf7dcf80b08f819cbd7f04244dcc9f1dec5d9138aa013bb43c8fcf19d340233275614
|
||||
DIST rasdaemon-0.8.2.tar.bz2 447263 BLAKE2B 65bc3f390a56afcc31878d6f0b7b887d0d9c5b534cd228d733b3b09464bcf0720a3e7d5d088a3532a7c2249d7c62c2a8af34c0bc4904fb9ff4df0aee86c0d5d9 SHA512 223f14d7e4ce212b7770eee9a723aae8466d5891ae853f913a32f00f1772266cbb88c1c44c88924fe514719323a63c867bb15b5fbada4d8176b3cf50175b889d
|
||||
|
||||
70
app-admin/rasdaemon/rasdaemon-0.8.2.ebuild
Normal file
70
app-admin/rasdaemon/rasdaemon-0.8.2.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="https://github.com/mchehab/rasdaemon"
|
||||
SRC_URI="https://www.infradead.org/~mchehab/rasdaemon/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="selinux"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite
|
||||
dev-libs/libtraceevent
|
||||
elibc_musl? ( sys-libs/argp-standalone )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
sys-apps/dmidecode
|
||||
selinux? ( sec-policy/selinux-rasdaemon )
|
||||
"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconfargs=(
|
||||
--enable-sqlite3
|
||||
--enable-abrt-report
|
||||
--enable-aer
|
||||
--enable-arm
|
||||
--enable-extlog
|
||||
--enable-hisi-ns-decode
|
||||
--enable-mce
|
||||
--enable-non-standard
|
||||
--enable-devlink
|
||||
--enable-diskerror
|
||||
--enable-memory-ce-pfa
|
||||
--includedir="${EPREFIX}/usr/include/${PN}"
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
use elibc_musl && append-libs -largp
|
||||
|
||||
# More bashisms snuck into 0.8.2, not yet reported upstream
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir "/var/lib/${PN}"
|
||||
|
||||
systemd_dounit misc/*.service
|
||||
|
||||
newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon
|
||||
newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl
|
||||
newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon
|
||||
}
|
||||
Reference in New Issue
Block a user