From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4CEBB1584F2 for ; Thu, 13 Mar 2025 10:21:07 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2E509343058 for ; Thu, 13 Mar 2025 10:21:07 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1F6F011037F; Thu, 13 Mar 2025 10:21:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1215A11037F for ; Thu, 13 Mar 2025 10:21:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5582343058 for ; Thu, 13 Mar 2025 10:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E95B82607 for ; Thu, 13 Mar 2025 10:21:03 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741861229.513d768c92fbcf6cc94df25c17f7305ab44d0966.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/rasdaemon/Manifest app-admin/rasdaemon/rasdaemon-0.8.3.ebuild X-VCS-Directories: app-admin/rasdaemon/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 513d768c92fbcf6cc94df25c17f7305ab44d0966 X-VCS-Branch: master Date: Thu, 13 Mar 2025 10:21:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e8808a9-9373-4719-8bad-3fbe686b2419 X-Archives-Hash: 2b7f37ccd205c3053cb12efda0562ab9 commit: 513d768c92fbcf6cc94df25c17f7305ab44d0966 Author: Sam James gentoo org> AuthorDate: Thu Mar 13 10:20:29 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 13 10:20:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513d768c app-admin/rasdaemon: add 0.8.3 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.8.3.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 3d5df77092b9..a2197f629ce1 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,2 +1,3 @@ DIST rasdaemon-0.8.0.tar.bz2 394983 BLAKE2B 24209f468fea2bc4e85dcac51e363e44a8a44b224b448ec1330bcd15a5b2b4b3cceeec78dbc86b4a88f5a378ecacba62cdba8e9c3e2b1b3a70be85a18af166ab SHA512 f6262f098fd2a08d35fef2c25e2452a202151d4cc93a1829e821abd564acf7dcf80b08f819cbd7f04244dcc9f1dec5d9138aa013bb43c8fcf19d340233275614 DIST rasdaemon-0.8.2.tar.bz2 447263 BLAKE2B 65bc3f390a56afcc31878d6f0b7b887d0d9c5b534cd228d733b3b09464bcf0720a3e7d5d088a3532a7c2249d7c62c2a8af34c0bc4904fb9ff4df0aee86c0d5d9 SHA512 223f14d7e4ce212b7770eee9a723aae8466d5891ae853f913a32f00f1772266cbb88c1c44c88924fe514719323a63c867bb15b5fbada4d8176b3cf50175b889d +DIST rasdaemon-0.8.3.tar.bz2 449504 BLAKE2B 307f5d02f2e7634f5d3f1baa37f56caa3d43a509a898b936570cd7410f4871663e18bd9c48afd52c850d9320f4d93c33588610cd0815442c20ad1f568f5c4580 SHA512 4f9186a14e90ef9a5dad9acfa03a29375501b5ae2cf525052dea3a42c193cfec5520bd41de118f5318a20582122346d015a49791bf10fbaceb221ae6dffa28f6 diff --git a/app-admin/rasdaemon/rasdaemon-0.8.3.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.3.ebuild new file mode 100644 index 000000000000..45a57042b360 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.8.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 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 +}