From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 5E0411581FB for ; Mon, 25 Nov 2024 03:01:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA79AE08A8; Mon, 25 Nov 2024 03:01:15 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 8F3F3E08A8 for ; Mon, 25 Nov 2024 03:01:15 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B13F343014 for ; Mon, 25 Nov 2024 03:01:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A1261E75 for ; Mon, 25 Nov 2024 03:01:13 +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: <1732503632.cdb43ecdeb630a221c05ccdc2e3a231cd433a030.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.2.ebuild X-VCS-Directories: app-admin/rasdaemon/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cdb43ecdeb630a221c05ccdc2e3a231cd433a030 X-VCS-Branch: master Date: Mon, 25 Nov 2024 03:01:13 +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: 99745b6c-7b32-4325-a48f-2f88a1b30569 X-Archives-Hash: eb08a02d96cc20312ef067fa7822581c commit: cdb43ecdeb630a221c05ccdc2e3a231cd433a030 Author: Sam James gentoo org> AuthorDate: Mon Nov 25 03:00:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Nov 25 03:00:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb43ecd app-admin/rasdaemon: add 0.8.2 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.8.2.ebuild | 70 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 9a9fb8255bc2..3d5df77092b9 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -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 diff --git a/app-admin/rasdaemon/rasdaemon-0.8.2.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.2.ebuild new file mode 100644 index 000000000000..7f83b3d05ac6 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.8.2.ebuild @@ -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 +}