[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: 24cff7d84765f690bc9189a7fad9d91a65aaecdb Author: Sam James gentoo org> AuthorDate: Thu Mar 7 19:55:30 2024 + Commit: Sam James gentoo org> CommitDate: Thu Mar 7 20:21:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24cff7d8 app-admin/rasdaemon: drop 0.6.8-r2, 0.7.0, 0.8.0, 0.8.0-r1 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 2 - .../files/rasdaemon-0.6.8-bashisms-configure.patch | 186 - app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild | 76 - app-admin/rasdaemon/rasdaemon-0.7.0.ebuild | 66 app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild | 85 -- app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 83 - 6 files changed, 498 deletions(-) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 4ce4630f3ac4..9a9fb8255bc2 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,3 +1 @@ -DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30 -DIST rasdaemon-0.7.0.tar.bz2 433555 BLAKE2B cf73f59558d8a6f3138fea20e7096a1b1214dd44a4518da88a4b1f0c4c92a6df4eb7922e9a2e76d5012364219067cf66e220d8f54588ab22acf09937e41aa2dc SHA512 a7938ccd8171d849b5d89df6ab90942278c824a3dbd17abda8ae3d80ce5227cbc3fe23b31806609114482606d780ec7f0676a0fedfa950ed8cb5a59f3583bd57 DIST rasdaemon-0.8.0.tar.bz2 394983 BLAKE2B 24209f468fea2bc4e85dcac51e363e44a8a44b224b448ec1330bcd15a5b2b4b3cceeec78dbc86b4a88f5a378ecacba62cdba8e9c3e2b1b3a70be85a18af166ab SHA512 f6262f098fd2a08d35fef2c25e2452a202151d4cc93a1829e821abd564acf7dcf80b08f819cbd7f04244dcc9f1dec5d9138aa013bb43c8fcf19d340233275614 diff --git a/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch b/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch deleted file mode 100644 index 6a3beaae217c.. --- a/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch +++ /dev/null @@ -1,186 +0,0 @@ -https://github.com/mchehab/rasdaemon/pull/81 - -From 9632f63c3855b119ab4b02300e27ab357bddcf03 Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Thu, 29 Dec 2022 17:23:47 + -Subject: [PATCH] configure.ac: fix bashisms -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -configure scripts need to be runnable with a POSIX-compliant /bin/sh. - -On many (but not all!) systems, /bin/sh is provided by Bash, so errors -like this aren't spotted. Notably Debian defaults to /bin/sh provided -by dash which doesn't tolerate such bashisms as '=='. - -This retains compatibility with bash. - -Signed-off-by: Sam James a/configure.ac -+++ b/configure.ac -@@ -27,14 +27,14 @@ AC_ARG_ENABLE([all], - AC_ARG_ENABLE([sqlite3], - AS_HELP_STRING([--enable-sqlite3], [enable storing data at SQL lite database (currently experimental)])) - --AS_IF([test "x$enable_sqlite3" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_sqlite3" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_CHECK_LIB(sqlite3, sqlite3_open,[echo "found sqlite3"] , AC_MSG_ERROR([*** Unable to find sqlite3 library]), ) - SQLITE3_LIBS="-lsqlite3" - AC_DEFINE(HAVE_SQLITE3,1,"have sqlite3") - AC_SUBST([WITH_SQLITE3]) - ]) - --AM_CONDITIONAL([WITH_SQLITE3], [test x$enable_sqlite3 = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_SQLITE3], [test x$enable_sqlite3 = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_SQLITE3], [USE_SQLITE3="yes"], [USE_SQLITE3="no"]) - - AC_SUBST([SQLITE3_LIBS]) -@@ -43,122 +43,122 @@ AC_SUBST([SQLITE3_LIBS]) - AC_ARG_ENABLE([aer], - AS_HELP_STRING([--enable-aer], [enable PCIe AER events (currently experimental)])) - --AS_IF([test "x$enable_aer" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_aer" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_AER,1,"have PCIe AER events collect") - AC_SUBST([WITH_AER]) - ]) --AM_CONDITIONAL([WITH_AER], [test x$enable_aer = xyes || test x$enable_all == xyes]) -+AM_CONDITIONAL([WITH_AER], [test x$enable_aer = xyes || test x$enable_all = xyes]) - AM_COND_IF([WITH_AER], [USE_AER="yes"], [USE_AER="no"]) - - - AC_ARG_ENABLE([non_standard], - AS_HELP_STRING([--enable-non-standard], [enable NON_STANDARD events (currently experimental)])) - --AS_IF([test "x$enable_non_standard" = "xyes" || test "x$enable_all" == "xyes"], [ -+AS_IF([test "x$enable_non_standard" = "xyes" || test "x$enable_all" = "xyes"], [ - AC_DEFINE(HAVE_NON_STANDARD,1,"have UNKNOWN_SEC events collect") - AC_SUBST([WITH_NON_STANDARD]) - ]) --AM_CONDITIONAL([WITH_NON_STANDARD], [test x$enable_non_standard = xyes || test x$enable_all == xyes]) -+
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 64fcc9f5b1335ae697a5de825bb46dc3947a05c1 Author: Sam James gentoo org> AuthorDate: Sat Jan 13 21:59:58 2024 + Commit: Sam James gentoo org> CommitDate: Sat Jan 13 21:59:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64fcc9f5 app-admin/rasdaemon: Stabilize 0.8.0-r2 amd64, #922061 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild index 790f5a194f26..239806ec5a3a 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: f1b8423377e4b6ccfd5e587eabcaacb7f52a9812 Author: Sam James gentoo org> AuthorDate: Sat Jan 13 21:59:59 2024 + Commit: Sam James gentoo org> CommitDate: Sat Jan 13 21:59:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b84233 app-admin/rasdaemon: Stabilize 0.8.0-r2 x86, #922061 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild index 239806ec5a3a..491390c49008 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: 758c24a6578bad541a188f0fe513906515dd1bda Author: Sam James gentoo org> AuthorDate: Fri Dec 29 00:22:14 2023 + Commit: Sam James gentoo org> CommitDate: Fri Dec 29 00:22:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=758c24a6 app-admin/rasdaemon: backport crash for online vs. configured CPUs Closes: https://bugs.gentoo.org/890286 Signed-off-by: Sam James gentoo.org> ...on-0.8.0-check-online-cpus-not-configured.patch | 40 + ...rasdaemon-0.8.0-table-create-offline-cpus.patch | 179 + app-admin/rasdaemon/rasdaemon-0.8.0-r2.ebuild | 87 ++ 3 files changed, 306 insertions(+) diff --git a/app-admin/rasdaemon/files/rasdaemon-0.8.0-check-online-cpus-not-configured.patch b/app-admin/rasdaemon/files/rasdaemon-0.8.0-check-online-cpus-not-configured.patch new file mode 100644 index ..0d3e60976659 --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon-0.8.0-check-online-cpus-not-configured.patch @@ -0,0 +1,40 @@ +https://bugs.gentoo.org/890286 +https://github.com/mchehab/rasdaemon/issues/77 +https://github.com/mchehab/rasdaemon/commit/f1ea76375281001cdf4a048c1a4a24d86c6fbe48 + +From f1ea76375281001cdf4a048c1a4a24d86c6fbe48 Mon Sep 17 00:00:00 2001 +From: Zeph / Liz Loss-Cutler-Hull +Date: Sun, 9 Jul 2023 04:57:19 -0700 +Subject: [PATCH] Check CPUs online, not configured. + +When the number of CPUs detected is greater than the number of CPUs in +the system, rasdaemon will crash when it receives some events. + +Looking deeper, we also fail to use the poll method for similar reasons +in this case. + +All of this can be prevented by checking to see how many CPUs are +currently online (sysconf(_SC_NPROCESSORS_ONLN)) instead of how many +CPUs the current kernel was configured to support +(sysconf(_SC_NPROCESSORS_CONF)). + +For the kernel side of the discussion, see https://lore.kernel.org/lkml/CAM6Wdxft33zLeeXHhmNX5jyJtfGTLiwkQSApc=10fqf+rqh...@mail.gmail.com/T/ +Signed-off-by: Mauro Carvalho Chehab +--- + ras-events.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ras-events.c b/ras-events.c +index a82dab2..5935163 100644 +--- a/ras-events.c b/ras-events.c +@@ -350,7 +350,7 @@ static void parse_ras_data(struct pthread_data *pdata, struct kbuffer *kbuf, + + static int get_num_cpus(struct ras_events *ras) + { +- return sysconf(_SC_NPROCESSORS_CONF); ++ return sysconf(_SC_NPROCESSORS_ONLN); + #if 0 + char fname[MAX_PATH + 1]; + int num_cpus = 0; + diff --git a/app-admin/rasdaemon/files/rasdaemon-0.8.0-table-create-offline-cpus.patch b/app-admin/rasdaemon/files/rasdaemon-0.8.0-table-create-offline-cpus.patch new file mode 100644 index ..4eb3977930c6 --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon-0.8.0-table-create-offline-cpus.patch @@ -0,0 +1,179 @@ +https://bugs.gentoo.org/890286 +https://github.com/mchehab/rasdaemon/issues/77 +https://github.com/mchehab/rasdaemon/commit/6f7851f72d8464c7a20a248d4abf4362de8f0ba9 + +From 6f7851f72d8464c7a20a248d4abf4362de8f0ba9 Mon Sep 17 00:00:00 2001 +From: Shiju Jose +Date: Sun, 5 Mar 2023 23:14:42 + +Subject: [PATCH] rasdaemon: fix table create if some cpus are offline + +Fix for regression in ras_mc_create_table() if some cpus are offline +at the system start + +Issue: + +Regression in the ras_mc_create_table() if some of the cpus are offline +at the system start when run the rasdaemon. + +This issue is reproducible in ras_mc_create_table() with decode and +record non-standard events and reproducible sometimes with +ras_mc_create_table() for the standard events. + +Also in the multi thread way, there is memory leak in ras_mc_event_opendb() +as struct sqlite3_priv *priv and sqlite3 *db allocated/initialized per +thread, but stored in the common struct ras_events ras in pthread data, +which is shared across the threads. + +Reason: + +when the system starts with some of the cpus offline and then run +the rasdaemon, read_ras_event_all_cpus() exit with error and switch to +the multi thread way. However read() in read_ras_event() return error in +threads for each of the offline CPUs and does clean up including calling +ras_mc_event_closedb(). + +Since the 'struct ras_events ras' passed in the pthread_data to each of the +threads is common, struct sqlite3_priv *priv and sqlite3 *db allocated/ +initialized per thread and stored in the common 'struct ras_events ras', +are getting overwritten in each ras_mc_event_opendb()(which called from +pthread per cpu), result memory leak. + +Also when ras_mc_event_closedb() is called in the above error case from +the threads corresponding to the offline cpus, close the sqlite3 *db and +free sqlite3_priv *priv stored in the common 'struct ras_events ras', +result regression when accessing priv->db in the ras_mc_create_table() +from another context later. + +Solution: + +In ras_mc_event_opendb(), allocate struct sqlite3_priv *priv, +init sqlite3 *db and creat
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: cee3c3b75df5ef19267b524057d90dcf2e40e967 Author: Sam James gentoo org> AuthorDate: Wed Nov 15 10:38:43 2023 + Commit: Sam James gentoo org> CommitDate: Wed Nov 15 10:38:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee3c3b7 app-admin/rasdaemon: Stabilize 0.8.0-r1 amd64, #916562 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild index d530ef4edc9b..aea9287acd6b 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: a6ba08419e8e1f35e17699563fa0123723290f4e Author: Sam James gentoo org> AuthorDate: Wed Nov 15 10:38:42 2023 + Commit: Sam James gentoo org> CommitDate: Wed Nov 15 10:38:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ba0841 app-admin/rasdaemon: Stabilize 0.8.0-r1 x86, #916562 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild index a6e5f6592601..d530ef4edc9b 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" IUSE="selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 5ddb0b9153e2805c720e46d59d5b23e7df543999 Author: Sam James gentoo org> AuthorDate: Fri Oct 6 21:56:50 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 6 21:56:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ddb0b91 app-admin/rasdaemon: add USE=selinux for new sec-policy/selinux-rasdaemon Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild | 85 +++ 1 file changed, 85 insertions(+) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild new file mode 100644 index ..a6e5f6592601 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.8.0-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="https://github.com/mchehab/rasdaemon"; +# This if can be dropped > 0.8.0, see https://github.com/mchehab/rasdaemon/issues/88 +if [[ ${PV} == 0.8.0 ]] ; then + SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/refs%2Fheads%2Fmaster/${P}.tar.bz2"; +else + SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2"; +fi + +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" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.0-bashisms-configure.patch +) + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS" + check_extra_config +} + +src_prepare() { + default + + # Only here for 0.8.0's bashism patch + eautoreconf +} + +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="/usr/include/${PN}" + --localstatedir=/var + ) + + use elibc_musl && append-libs -largp + + 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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 58c0c78a7da0f821551f107796b1e449054830cd Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jun 11 20:22:06 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 11 20:22:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c0c78a app-admin/rasdaemon: Keyword 0.8.0 ppc64, #895498 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild index 526bad1506c5..932a683f6795 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 50873ce18987c5b91265ffba42e363f43ed16861 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jun 11 19:19:51 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 11 19:19:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50873ce1 app-admin/rasdaemon: Keyword 0.8.0 ppc, #895498 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild index 82c00d3dfe86..526bad1506c5 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 407ee70a7c090d5d6355e8d3b0117d00eaa72b6a Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jun 11 19:15:55 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 11 19:15:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407ee70a app-admin/rasdaemon: Keyword 0.8.0 arm, #895498 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild index b2387b6618dc..82c00d3dfe86 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: e498247cd151158091a2108e2345a6f13df2ce21 Author: Sam James gentoo org> AuthorDate: Wed Mar 22 05:26:06 2023 + Commit: Sam James gentoo org> CommitDate: Wed Mar 22 05:26:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e498247c app-admin/rasdaemon: Stabilize 0.8.0 amd64, #902575 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild index 4704166513d1..b2387b6618dc 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 82938af28e4a0d5cd73ae4d26f2d1451f4e2bb07 Author: Sam James gentoo org> AuthorDate: Wed Mar 22 05:26:04 2023 + Commit: Sam James gentoo org> CommitDate: Wed Mar 22 05:26:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82938af2 app-admin/rasdaemon: Stabilize 0.8.0 x86, #902575 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild index 6d4033b70e55..4704166513d1 100644 --- a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild @@ -16,7 +16,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 1a0a5e1ff32263282025777eea60912119c6d6d0 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 11:09:18 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 11:09:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0a5e1f app-admin/rasdaemon: Stabilize 0.7.0 amd64, #899288 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/rasdaemon/rasdaemon-0.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild index 5e618a5f7140..c0ee30e744f2 100644 --- a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar. LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: fce34e52cd1ba9d55bc4e0d0a347fc3355a7fcac Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 08:48:57 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 08:48:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce34e52 app-admin/rasdaemon: Stabilize 0.7.0 x86, #899288 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/rasdaemon/rasdaemon-0.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild index ff6aeb34ef98..5e618a5f7140 100644 --- a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar. LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: c5bc82ad10a33da634522bae36d22966485ffbb3 Author: Sam James gentoo org> AuthorDate: Sun Feb 19 18:37:38 2023 + Commit: Sam James gentoo org> CommitDate: Sun Feb 19 18:37:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bc82ad app-admin/rasdaemon: add 0.8.0 Closes: https://bugs.gentoo.org/890286 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 1 + .../files/rasdaemon-0.8.0-bashisms-configure.patch | 40 +++ app-admin/rasdaemon/rasdaemon-0.8.0.ebuild | 83 ++ 3 files changed, 124 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 4a209b8bbcc0..4ce4630f3ac4 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,2 +1,3 @@ DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30 DIST rasdaemon-0.7.0.tar.bz2 433555 BLAKE2B cf73f59558d8a6f3138fea20e7096a1b1214dd44a4518da88a4b1f0c4c92a6df4eb7922e9a2e76d5012364219067cf66e220d8f54588ab22acf09937e41aa2dc SHA512 a7938ccd8171d849b5d89df6ab90942278c824a3dbd17abda8ae3d80ce5227cbc3fe23b31806609114482606d780ec7f0676a0fedfa950ed8cb5a59f3583bd57 +DIST rasdaemon-0.8.0.tar.bz2 394983 BLAKE2B 24209f468fea2bc4e85dcac51e363e44a8a44b224b448ec1330bcd15a5b2b4b3cceeec78dbc86b4a88f5a378ecacba62cdba8e9c3e2b1b3a70be85a18af166ab SHA512 f6262f098fd2a08d35fef2c25e2452a202151d4cc93a1829e821abd564acf7dcf80b08f819cbd7f04244dcc9f1dec5d9138aa013bb43c8fcf19d340233275614 diff --git a/app-admin/rasdaemon/files/rasdaemon-0.8.0-bashisms-configure.patch b/app-admin/rasdaemon/files/rasdaemon-0.8.0-bashisms-configure.patch new file mode 100644 index ..e227df6724b2 --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon-0.8.0-bashisms-configure.patch @@ -0,0 +1,40 @@ +https://github.com/mchehab/rasdaemon/pull/89 + +From 9461d22e334686f76c99477386072f4673cd0a72 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sun, 19 Feb 2023 18:33:20 + +Subject: [PATCH] configure.ac: fix bashisms + +configure scripts need to be runnable with a POSIX-compliant /bin/sh. + +On many (but not all!) systems, /bin/sh is provided by Bash, so errors +like this aren't spotted. Notably Debian defaults to /bin/sh provided +by dash which doesn't tolerate such bashisms as '=='. + +This retains compatibility with bash. + +Fixes configure warnings/errors like: +``` +checking for libtraceevent... yes +./configure: 13430: test: x: unexpected operator +./configure: 13439: test: x: unexpected operator +``` + +Signed-off-by: Sam James +--- a/configure.ac b/configure.ac +@@ -170,11 +170,11 @@ AM_COND_IF([WITH_AMP_NS_DECODE], [USE_AMP_NS_DECODE="yes"], [USE_AMP_NS_DECODE=" + AC_ARG_ENABLE([cpu_fault_isolation], + AS_HELP_STRING([--enable-cpu-fault-isolation], [enable cpu online fault isolation])) + +-AS_IF([test "x$enable_cpu_fault_isolation" = "xyes" || test "x$enable_all" == "xyes"], [ ++AS_IF([test "x$enable_cpu_fault_isolation" = "xyes" || test "x$enable_all" = "xyes"], [ + AC_DEFINE(HAVE_CPU_FAULT_ISOLATION,1,"have cpu online fault isolation") + AC_SUBST([WITH_CPU_FAULT_ISOLATION]) + ]) +-AM_CONDITIONAL([WITH_CPU_FAULT_ISOLATION], [test x$enable_cpu_fault_isolation = xyes || test x$enable_all == xyes]) ++AM_CONDITIONAL([WITH_CPU_FAULT_ISOLATION], [test x$enable_cpu_fault_isolation = xyes || test x$enable_all = xyes]) + AM_COND_IF([WITH_CPU_FAULT_ISOLATION], [USE_CPU_FAULT_ISOLATION="yes"], [USE_CPU_FAULT_ISOLATION="no"]) + + test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc + diff --git a/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild new file mode 100644 index ..6d4033b70e55 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="https://github.com/mchehab/rasdaemon"; +# This if can be dropped > 0.8.0, see https://github.com/mchehab/rasdaemon/issues/88 +if [[ ${PV} == 0.8.0 ]] ; then + SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/refs%2Fheads%2Fmaster/${P}.tar.bz2"; +else + SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2"; +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +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 +" +BDEPEND="sys-devel/
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 3693db19f56e5873b9a54521bb1ecc9f37276b2b Author: Sam James gentoo org> AuthorDate: Sun Jan 22 06:51:35 2023 + Commit: Sam James gentoo org> CommitDate: Sun Jan 22 06:51:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3693db19 app-admin/rasdaemon: add 0.7.0 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.7.0.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 1e16c310cda2..4a209b8bbcc0 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1 +1,2 @@ DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30 +DIST rasdaemon-0.7.0.tar.bz2 433555 BLAKE2B cf73f59558d8a6f3138fea20e7096a1b1214dd44a4518da88a4b1f0c4c92a6df4eb7922e9a2e76d5012364219067cf66e220d8f54588ab22acf09937e41aa2dc SHA512 a7938ccd8171d849b5d89df6ab90942278c824a3dbd17abda8ae3d80ce5227cbc3fe23b31806609114482606d780ec7f0676a0fedfa950ed8cb5a59f3583bd57 diff --git a/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild new file mode 100644 index ..ff6aeb34ef98 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.7.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 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://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +DEPEND=" + dev-db/sqlite + elibc_musl? ( sys-libs/argp-standalone ) +" +RDEPEND=" + ${DEPEND} + dev-perl/DBI + dev-perl/DBD-SQLite + sys-apps/dmidecode +" +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="/usr/include/${PN}" + --localstatedir=/var + ) + + use elibc_musl && append-libs -largp + + 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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: a658f4492b655eebd5340c4b716322004e636980 Author: Sam James gentoo org> AuthorDate: Thu Jan 19 01:33:23 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jan 19 01:34:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a658f449 app-admin/rasdaemon: check for CONFIG_DEBUG_FS Closes: https://bugs.gentoo.org/891357 Signed-off-by: Sam James gentoo.org> .../rasdaemon/{rasdaemon-0.6.8-r1.ebuild => rasdaemon-0.6.8-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild similarity index 96% rename from app-admin/rasdaemon/rasdaemon-0.6.8-r1.ebuild rename to app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild index 68acb037cef6..63c05654e834 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.8-r1.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.8-r2.ebuild @@ -31,7 +31,7 @@ PATCHES=( pkg_setup() { linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG" + local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS" check_extra_config }
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/, app-admin/rasdaemon/
commit: 538061f2f97f1a31eafa7681c679f2b08600ac44 Author: Sam James gentoo org> AuthorDate: Mon Jan 9 05:41:58 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jan 9 05:41:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538061f2 app-admin/rasdaemon: drop 0.6.7-r1 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 1 - .../rasdaemon/files/rasdaemon-0.6.7-musl.patch | 34 -- .../rasdaemon/files/sysconfig-fix-0.6.7.patch | 32 - app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild | 79 -- 4 files changed, 146 deletions(-) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 7c6fda66f703..1e16c310cda2 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,2 +1 @@ -DIST rasdaemon-0.6.7.tar.bz2 422473 BLAKE2B 32a95ed9ca217fb69b197f88fa296bf0d3b4230a1ae11c60582911ff84abbe8b9a67b318774b8c4b765dbedbd4458eb220ca3b8ff4c9d065eb893a9a6a9916c5 SHA512 15beae5d4964c49b7b7f9e731948b5def9622fba5d7d17ce52a282d7834d256366cdf3cf427b82b2a6a8fd0c99f202f545000bdb06064fbae7ae0296aef0946c DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30 diff --git a/app-admin/rasdaemon/files/rasdaemon-0.6.7-musl.patch b/app-admin/rasdaemon/files/rasdaemon-0.6.7-musl.patch deleted file mode 100644 index 9df9eff6d947.. --- a/app-admin/rasdaemon/files/rasdaemon-0.6.7-musl.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c450d2334d59c2441d9b4fcee1284afb55b9639c Mon Sep 17 00:00:00 2001 -From: Stijn Tintel -Date: Wed, 1 Sep 2021 03:32:18 +0300 -Subject: [PATCH] rasdaemon: fix compile against musl libc - -Fix the following compile errors that occurs when building against musl: - -ras-events.c: In function 'read_ras_event_all_cpus': -ras-events.c:366:16: error: 'PATH_MAX' undeclared (first use in this function) - 366 | char pipe_raw[PATH_MAX]; - |^~~~ - -ras-events.c: In function 'handle_ras_events_cpu': -ras-events.c:564:16: error: 'PATH_MAX' undeclared (first use in this function) - 564 | char pipe_raw[PATH_MAX]; - | - -Signed-off-by: Stijn Tintel - ras-events.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/ras-events.c b/ras-events.c -index fe4bd26..39cab20 100644 a/ras-events.c -+++ b/ras-events.c -@@ -18,6 +18,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/app-admin/rasdaemon/files/sysconfig-fix-0.6.7.patch b/app-admin/rasdaemon/files/sysconfig-fix-0.6.7.patch deleted file mode 100644 index ce4f5ce92bc2.. --- a/app-admin/rasdaemon/files/sysconfig-fix-0.6.7.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 2379c720a7e490854a2f352ca53af6fbd99c0832 Mon Sep 17 00:00:00 2001 -From: Matt Whitlock -Date: Wed, 9 Jun 2021 10:25:18 -0400 -Subject: [PATCH] configure.ac: fix SYSCONFDEFDIR default value - -configure.ac was using AC_ARG_WITH incorrectly, yielding a generated configure script like: - -# Check whether --with-sysconfdefdir was given. -if test "${with_sysconfdefdir+set}" = set; then : - withval=$with_sysconfdefdir; SYSCONFDEFDIR=$withval -else - "/etc/sysconfig" -fi - -This commit fixes the default case so that the SYSCONFDEFDIR variable is assigned the value "/etc/sysconfig" rather than trying to execute "/etc/sysconfig" as a command. - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index f7d1947..33b81fe 100644 a/configure.ac -+++ b/configure.ac -@@ -172,7 +172,7 @@ AC_SUBST([RASSTATEDIR]) - AC_ARG_WITH(sysconfdefdir, - AC_HELP_STRING([--with-sysconfdefdir=DIR], [rasdaemon environment file dir]), - [SYSCONFDEFDIR=$withval], --["/etc/sysconfig"]) -+[SYSCONFDEFDIR=/etc/sysconfig]) - AC_SUBST([SYSCONFDEFDIR]) - - AC_DEFINE([RAS_DB_FNAME], ["ras-mc_event.db"], [ras events database]) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild deleted file mode 100644 index 0ca8b21dd672.. --- a/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="sqlite" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - sys-apps/dmidecode
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: eb24160785770dc8898b14ecfa603e56e2a85186 Author: Sam James gentoo org> AuthorDate: Mon Jan 9 05:42:34 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jan 9 05:42:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb241607 app-admin/rasdaemon: enable --record for OpenRC by default No reason not to now that we have SQLite support by default too. Bug: https://bugs.gentoo.org/834964 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/files/rasdaemon.confd | 2 +- .../rasdaemon/{rasdaemon-0.6.8.ebuild => rasdaemon-0.6.8-r1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/files/rasdaemon.confd b/app-admin/rasdaemon/files/rasdaemon.confd index 3241ef438dab..413f9f742cd4 100644 --- a/app-admin/rasdaemon/files/rasdaemon.confd +++ b/app-admin/rasdaemon/files/rasdaemon.confd @@ -1,2 +1,2 @@ # pass the --record option if sqlite is enabled and you wish store events in sqlite -#RASDAEMON_ARGS=--record +RASDAEMON_ARGS=--record diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8-r1.ebuild similarity index 100% rename from app-admin/rasdaemon/rasdaemon-0.6.8.ebuild rename to app-admin/rasdaemon/rasdaemon-0.6.8-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 1aa52b7a93fffcd1f4a6f05a1943e24fb3348d2a Author: Sam James gentoo org> AuthorDate: Mon Jan 9 05:41:06 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jan 9 05:41:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aa52b7a app-admin/rasdaemon: Stabilize 0.6.8 x86, #890263 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild index d20c814b12f1..68acb037cef6 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 7bb151ed759a8e63b5253484e75d349681913f50 Author: Sam James gentoo org> AuthorDate: Mon Jan 9 05:35:02 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jan 9 05:35:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb151ed app-admin/rasdaemon: Stabilize 0.6.8 amd64, #890263 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild index 2b6eaf22b91c..d20c814b12f1 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: a598fdafe244e14c45cf4d392867fc9cafd0e81f Author: Sam James gentoo org> AuthorDate: Sun Jan 1 22:20:01 2023 + Commit: Sam James gentoo org> CommitDate: Sun Jan 1 22:20:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a598fdaf app-admin/rasdaemon: Keyword 0.6.8 ppc64, #889322 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild index 91f96a6197da..57f8315273ba 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 1e362c4242d3f1de99089635f0d724730bfade1f Author: Sam James gentoo org> AuthorDate: Sun Jan 1 22:20:00 2023 + Commit: Sam James gentoo org> CommitDate: Sun Jan 1 22:20:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e362c42 app-admin/rasdaemon: Keyword 0.6.8 ppc, #889322 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild index 3a80aa0e89a8..91f96a6197da 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 8527df01120d5b2cfd2ab1678fe68ea7a49340b1 Author: Sam James gentoo org> AuthorDate: Sun Jan 1 22:20:03 2023 + Commit: Sam James gentoo org> CommitDate: Sun Jan 1 22:20:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8527df01 app-admin/rasdaemon: Keyword 0.6.8 arm, #889322 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild index 57f8315273ba..2b6eaf22b91c 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mchehab/rasdaemon/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" DEPEND=" dev-db/sqlite
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: a9d69b46ca54d0dda00f95db9080e2c37c22e83b Author: Sam James gentoo org> AuthorDate: Thu Dec 29 17:26:05 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 29 17:26:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d69b46 app-admin/rasdaemon: update maintainers Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/app-admin/rasdaemon/metadata.xml b/app-admin/rasdaemon/metadata.xml index 05af691e4081..9ee9ca3cdb8b 100644 --- a/app-admin/rasdaemon/metadata.xml +++ b/app-admin/rasdaemon/metadata.xml @@ -1,6 +1,10 @@ https://www.gentoo.org/dtd/metadata.dtd";> + + base-sys...@gentoo.org + Gentoo Base System + prometheanf...@gentoo.org Matthew Thode
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: f833faa3b87e6d68157e4c42909cdb4f0912633b Author: Sam James gentoo org> AuthorDate: Thu Dec 29 17:18:56 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 29 17:26:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f833faa3 app-admin/rasdaemon: add github upstream metadata Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/metadata.xml | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app-admin/rasdaemon/metadata.xml b/app-admin/rasdaemon/metadata.xml index ae831ed56223..05af691e4081 100644 --- a/app-admin/rasdaemon/metadata.xml +++ b/app-admin/rasdaemon/metadata.xml @@ -7,12 +7,15 @@ Rasdaemon is a RAS (Reliability, Availability and Serviceability) logging tool. -It currently records memory errors, using the EDAC tracing events. -EDAC is drivers in the Linux kernel that handle detection of ECC errors -from memory controllers for most chipsets on i386 and x86_64 architectures. -EDAC drivers for other architectures like arm also exists. -This userspace component consists of an init script which makes sure -EDAC drivers and DIMM labels are loaded at system startup, as well as -an utility for reporting current error counts from the EDAC sysfs files. + It currently records memory errors, using the EDAC tracing events. + EDAC is drivers in the Linux kernel that handle detection of ECC errors + from memory controllers for most chipsets on i386 and x86_64 architectures. + EDAC drivers for other architectures like arm also exists. + This userspace component consists of an init script which makes sure + EDAC drivers and DIMM labels are loaded at system startup, as well as + an utility for reporting current error counts from the EDAC sysfs files. + + mchehab/rasdaemon +
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: f887800c7a940282004c8f6bb4b2a53dfe7df6ca Author: Sam James gentoo org> AuthorDate: Thu Dec 29 17:26:21 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 29 17:26:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f887800c app-admin/rasdaemon: drop 0.6.7 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.7.ebuild | 68 -- 1 file changed, 68 deletions(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild deleted file mode 100644 index 12a8438bc2ba.. --- a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="sqlite" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - sys-apps/dmidecode - sqlite? ( - dev-db/sqlite - dev-perl/DBD-SQLite - ) -" - -PATCHES=( - "${FILESDIR}/sysconfig-fix-0.6.7.patch" -) - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG" - check_extra_config -} - -src_configure() { - local myconf=( - $(use_enable sqlite 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="/usr/include/${PN}" - --localstatedir=/var - ) - - econf "${myconf[@]}" -} - -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 -}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: 973ccf5af3917e0e50bcbfcb0321da80846a67d3 Author: Sam James gentoo org> AuthorDate: Thu Dec 29 17:25:33 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 29 17:26:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973ccf5a app-admin/rasdaemon: add 0.6.8 Closes: https://bugs.gentoo.org/834964 Signed-off-by: Sam James gentoo.org> app-admin/rasdaemon/Manifest | 1 + .../files/rasdaemon-0.6.8-bashisms-configure.patch | 186 + app-admin/rasdaemon/rasdaemon-0.6.8.ebuild | 76 + 3 files changed, 263 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 1b6919f9da7f..7c6fda66f703 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1 +1,2 @@ DIST rasdaemon-0.6.7.tar.bz2 422473 BLAKE2B 32a95ed9ca217fb69b197f88fa296bf0d3b4230a1ae11c60582911ff84abbe8b9a67b318774b8c4b765dbedbd4458eb220ca3b8ff4c9d065eb893a9a6a9916c5 SHA512 15beae5d4964c49b7b7f9e731948b5def9622fba5d7d17ce52a282d7834d256366cdf3cf427b82b2a6a8fd0c99f202f545000bdb06064fbae7ae0296aef0946c +DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30 diff --git a/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch b/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch new file mode 100644 index ..6a3beaae217c --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon-0.6.8-bashisms-configure.patch @@ -0,0 +1,186 @@ +https://github.com/mchehab/rasdaemon/pull/81 + +From 9632f63c3855b119ab4b02300e27ab357bddcf03 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Thu, 29 Dec 2022 17:23:47 + +Subject: [PATCH] configure.ac: fix bashisms +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +configure scripts need to be runnable with a POSIX-compliant /bin/sh. + +On many (but not all!) systems, /bin/sh is provided by Bash, so errors +like this aren't spotted. Notably Debian defaults to /bin/sh provided +by dash which doesn't tolerate such bashisms as '=='. + +This retains compatibility with bash. + +Signed-off-by: Sam James +--- a/configure.ac b/configure.ac +@@ -27,14 +27,14 @@ AC_ARG_ENABLE([all], + AC_ARG_ENABLE([sqlite3], + AS_HELP_STRING([--enable-sqlite3], [enable storing data at SQL lite database (currently experimental)])) + +-AS_IF([test "x$enable_sqlite3" = "xyes" || test "x$enable_all" == "xyes"], [ ++AS_IF([test "x$enable_sqlite3" = "xyes" || test "x$enable_all" = "xyes"], [ + AC_CHECK_LIB(sqlite3, sqlite3_open,[echo "found sqlite3"] , AC_MSG_ERROR([*** Unable to find sqlite3 library]), ) + SQLITE3_LIBS="-lsqlite3" + AC_DEFINE(HAVE_SQLITE3,1,"have sqlite3") + AC_SUBST([WITH_SQLITE3]) + ]) + +-AM_CONDITIONAL([WITH_SQLITE3], [test x$enable_sqlite3 = xyes || test x$enable_all == xyes]) ++AM_CONDITIONAL([WITH_SQLITE3], [test x$enable_sqlite3 = xyes || test x$enable_all = xyes]) + AM_COND_IF([WITH_SQLITE3], [USE_SQLITE3="yes"], [USE_SQLITE3="no"]) + + AC_SUBST([SQLITE3_LIBS]) +@@ -43,122 +43,122 @@ AC_SUBST([SQLITE3_LIBS]) + AC_ARG_ENABLE([aer], + AS_HELP_STRING([--enable-aer], [enable PCIe AER events (currently experimental)])) + +-AS_IF([test "x$enable_aer" = "xyes" || test "x$enable_all" == "xyes"], [ ++AS_IF([test "x$enable_aer" = "xyes" || test "x$enable_all" = "xyes"], [ + AC_DEFINE(HAVE_AER,1,"have PCIe AER events collect") + AC_SUBST([WITH_AER]) + ]) +-AM_CONDITIONAL([WITH_AER], [test x$enable_aer = xyes || test x$enable_all == xyes]) ++AM_CONDITIONAL([WITH_AER], [test x$enable_aer = xyes || test x$enable_all = xyes]) + AM_COND_IF([WITH_AER], [USE_AER="yes"], [USE_AER="no"]) + + + AC_ARG_ENABLE([non_standard], + AS_HELP_STRING([--enable-non-standard], [enable NON_STANDARD events (currently experimental)])) + +-AS_IF([test "x$enable_non_standard" = "xyes" || test "x$enable_all" == "xyes"], [ ++AS_IF([test "x$enable_non_standard" = "xyes" || test "x$enable_all" = "xyes"], [ + AC_DEFINE(HAVE_NON_STANDARD,1,"have UNKNOWN_SEC events collect") + AC_SUBST([WITH_NON_STANDARD]) + ]) +-AM_CONDITIONAL([WITH_NON_STANDARD], [test x$enable_non_standard = xyes || test x$enable_all == xyes]) ++AM_CONDITIONAL([WITH_NON_STANDARD], [test x$enable_non_standard = xyes || test x$enable_all = xyes]) + AM_COND_IF([WITH_NON_STANDARD], [USE_NON_STANDARD="yes"], [USE_NON_STANDARD="no"]) + + AC_ARG_ENABLE([arm], + AS_HELP_STRING([--enable-arm], [enable ARM events (currently experimental)])) + +-AS_IF([test "x$enable_arm" = "xyes" || test "x$enable_all" == "xyes"], [ ++AS_IF([test "x$enable_arm" = "xyes" || test "x$enable_all" = "xyes"], [ + AC_DEFINE(HAVE_ARM,1,"have ARM events collect") + AC
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 1a7f582e51add443a48f941fca0a2c814d0a9a09 Author: Matthew Thode gentoo org> AuthorDate: Fri Jun 24 02:25:26 2022 + Commit: Matthew Thode gentoo org> CommitDate: Fri Jun 24 02:25:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7f582e app-admin/rasdaemon: 0.6.7-r1 stable amd64/x86 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild index 7a8d2aa43192..0ca8b21dd672 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="sqlite" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/, app-admin/rasdaemon/
commit: 20dc1a7757bbe3576f39ba7cf8a57049c75ba1ba Author: Fabian Groffen gentoo org> AuthorDate: Tue Jan 25 20:00:12 2022 + Commit: Fabian Groffen gentoo org> CommitDate: Tue Jan 25 20:00:57 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20dc1a77 app-admin/rasdaemon-0.6.7-r1: fix build for musl Closes: https://bugs.gentoo.org/713386 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen gentoo.org> .../rasdaemon/files/rasdaemon-0.6.7-musl.patch | 34 ++ app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild | 79 ++ 2 files changed, 113 insertions(+) diff --git a/app-admin/rasdaemon/files/rasdaemon-0.6.7-musl.patch b/app-admin/rasdaemon/files/rasdaemon-0.6.7-musl.patch new file mode 100644 index ..9df9eff6d947 --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon-0.6.7-musl.patch @@ -0,0 +1,34 @@ +From c450d2334d59c2441d9b4fcee1284afb55b9639c Mon Sep 17 00:00:00 2001 +From: Stijn Tintel +Date: Wed, 1 Sep 2021 03:32:18 +0300 +Subject: [PATCH] rasdaemon: fix compile against musl libc + +Fix the following compile errors that occurs when building against musl: + +ras-events.c: In function 'read_ras_event_all_cpus': +ras-events.c:366:16: error: 'PATH_MAX' undeclared (first use in this function) + 366 | char pipe_raw[PATH_MAX]; + |^~~~ + +ras-events.c: In function 'handle_ras_events_cpu': +ras-events.c:564:16: error: 'PATH_MAX' undeclared (first use in this function) + 564 | char pipe_raw[PATH_MAX]; + | + +Signed-off-by: Stijn Tintel +--- + ras-events.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ras-events.c b/ras-events.c +index fe4bd26..39cab20 100644 +--- a/ras-events.c b/ras-events.c +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild new file mode 100644 index ..7a8d2aa43192 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.7-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="sqlite" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + sys-apps/dmidecode + sqlite? ( + dev-db/sqlite + dev-perl/DBD-SQLite + ) + elibc_musl? ( sys-libs/argp-standalone ) +" + +PATCHES=( + "${FILESDIR}/sysconfig-fix-0.6.7.patch" + "${FILESDIR}"/${P}-musl.patch +) + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG" + check_extra_config +} + +src_prepare() { + default + + # avoid re-configure due to automake trigger + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable sqlite 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="/usr/include/${PN}" + --localstatedir=/var + ) + + use elibc_musl && append-libs argp + + econf "${myconf[@]}" +} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 3b6b4b3a3253cc4ba6ef5ed8159e6f88ab10454b Author: Matthew Thode gentoo org> AuthorDate: Fri Aug 6 15:10:28 2021 + Commit: Matthew Thode gentoo org> CommitDate: Fri Aug 6 15:10:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6b4b3a app-admin/rasdaemon: 0.6.6 cleanup Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/Manifest | 1 - app-admin/rasdaemon/rasdaemon-0.6.6.ebuild | 64 -- 2 files changed, 65 deletions(-) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 6782f8dd3bc..1b6919f9da7 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,2 +1 @@ -DIST rasdaemon-0.6.6.tar.bz2 404681 BLAKE2B 4314cd064b255df1cb1a148914c856d074fda1fc2d63e0554cbf0b78799c4252afdd4e827390729e191ff2ed9f719f6610487e85dd52af2b02694fb17740df05 SHA512 481ecd624ab5521d60ee7c613ee05d1d19b85e914b92eae84d18cb2e6dc788981213d49a6316cf575517b6e180f46c66c65804e4feb518bdd84bc21cd2970e08 DIST rasdaemon-0.6.7.tar.bz2 422473 BLAKE2B 32a95ed9ca217fb69b197f88fa296bf0d3b4230a1ae11c60582911ff84abbe8b9a67b318774b8c4b765dbedbd4458eb220ca3b8ff4c9d065eb893a9a6a9916c5 SHA512 15beae5d4964c49b7b7f9e731948b5def9622fba5d7d17ce52a282d7834d256366cdf3cf427b82b2a6a8fd0c99f202f545000bdb06064fbae7ae0296aef0946c diff --git a/app-admin/rasdaemon/rasdaemon-0.6.6.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.6.ebuild deleted file mode 100644 index 65a479d775e..000 --- a/app-admin/rasdaemon/rasdaemon-0.6.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="sqlite" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - sys-apps/dmidecode - sqlite? ( - dev-db/sqlite - dev-perl/DBD-SQLite - ) -" - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~ACPI_EXTLOG" - check_extra_config -} - -src_configure() { - local myconf=( - $(use_enable sqlite 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="/usr/include/${PN}" - --localstatedir=/var - ) - - econf "${myconf[@]}" -} - -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 -}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 0f5ccadd9c97ef71e693e7c28bf0b0048e8b4017 Author: Matthew Thode gentoo org> AuthorDate: Mon Jul 5 19:55:57 2021 + Commit: Matthew Thode gentoo org> CommitDate: Mon Jul 5 20:01:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5ccadd app-admin/rasdaemon: 0.6.7 stable amd64/x86 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild index add264d2374..12a8438bc2b 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="sqlite" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: 6294ab61ad13da4a283554975b9f3d0c502a1f8d Author: Matthew Thode gentoo org> AuthorDate: Thu Jun 10 03:50:50 2021 + Commit: Matthew Thode gentoo org> CommitDate: Thu Jun 10 03:51:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6294ab61 app-admin/rasdaemon: fix sysconfig dir uses https://github.com/mchehab/rasdaemon/pull/46 Closes: https://bugs.gentoo.org/795132 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Matthew Thode gentoo.org> .../rasdaemon/files/sysconfig-fix-0.6.7.patch | 32 ++ app-admin/rasdaemon/rasdaemon-0.6.7.ebuild | 4 +++ 2 files changed, 36 insertions(+) diff --git a/app-admin/rasdaemon/files/sysconfig-fix-0.6.7.patch b/app-admin/rasdaemon/files/sysconfig-fix-0.6.7.patch new file mode 100644 index 000..ce4f5ce92bc --- /dev/null +++ b/app-admin/rasdaemon/files/sysconfig-fix-0.6.7.patch @@ -0,0 +1,32 @@ +From 2379c720a7e490854a2f352ca53af6fbd99c0832 Mon Sep 17 00:00:00 2001 +From: Matt Whitlock +Date: Wed, 9 Jun 2021 10:25:18 -0400 +Subject: [PATCH] configure.ac: fix SYSCONFDEFDIR default value + +configure.ac was using AC_ARG_WITH incorrectly, yielding a generated configure script like: + +# Check whether --with-sysconfdefdir was given. +if test "${with_sysconfdefdir+set}" = set; then : + withval=$with_sysconfdefdir; SYSCONFDEFDIR=$withval +else + "/etc/sysconfig" +fi + +This commit fixes the default case so that the SYSCONFDEFDIR variable is assigned the value "/etc/sysconfig" rather than trying to execute "/etc/sysconfig" as a command. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index f7d1947..33b81fe 100644 +--- a/configure.ac b/configure.ac +@@ -172,7 +172,7 @@ AC_SUBST([RASSTATEDIR]) + AC_ARG_WITH(sysconfdefdir, + AC_HELP_STRING([--with-sysconfdefdir=DIR], [rasdaemon environment file dir]), + [SYSCONFDEFDIR=$withval], +-["/etc/sysconfig"]) ++[SYSCONFDEFDIR=/etc/sysconfig]) + AC_SUBST([SYSCONFDEFDIR]) + + AC_DEFINE([RAS_DB_FNAME], ["ras-mc_event.db"], [ras events database]) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild index c5aa842b5d0..add264d2374 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild @@ -25,6 +25,10 @@ RDEPEND=" ) " +PATCHES=( + "${FILESDIR}/sysconfig-fix-0.6.7.patch" +) + pkg_setup() { linux-info_pkg_setup local CONFIG_CHECK="~ACPI_EXTLOG"
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 85fed5462e94009ce3a4b7d31dec58762b1c58f1 Author: Matthew Thode gentoo org> AuthorDate: Tue Jun 8 02:49:14 2021 + Commit: Matthew Thode gentoo org> CommitDate: Tue Jun 8 02:56:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85fed546 app-admin/rasdaemon: 0.6.7 bump Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.6.7.ebuild | 64 ++ 2 files changed, 65 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index e0d3a767a2b..6782f8dd3bc 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1 +1,2 @@ DIST rasdaemon-0.6.6.tar.bz2 404681 BLAKE2B 4314cd064b255df1cb1a148914c856d074fda1fc2d63e0554cbf0b78799c4252afdd4e827390729e191ff2ed9f719f6610487e85dd52af2b02694fb17740df05 SHA512 481ecd624ab5521d60ee7c613ee05d1d19b85e914b92eae84d18cb2e6dc788981213d49a6316cf575517b6e180f46c66c65804e4feb518bdd84bc21cd2970e08 +DIST rasdaemon-0.6.7.tar.bz2 422473 BLAKE2B 32a95ed9ca217fb69b197f88fa296bf0d3b4230a1ae11c60582911ff84abbe8b9a67b318774b8c4b765dbedbd4458eb220ca3b8ff4c9d065eb893a9a6a9916c5 SHA512 15beae5d4964c49b7b7f9e731948b5def9622fba5d7d17ce52a282d7834d256366cdf3cf427b82b2a6a8fd0c99f202f545000bdb06064fbae7ae0296aef0946c diff --git a/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild new file mode 100644 index 000..c5aa842b5d0 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sqlite" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + sys-apps/dmidecode + sqlite? ( + dev-db/sqlite + dev-perl/DBD-SQLite + ) +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG" + check_extra_config +} + +src_configure() { + local myconf=( + $(use_enable sqlite 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="/usr/include/${PN}" + --localstatedir=/var + ) + + econf "${myconf[@]}" +} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/
commit: 74796bf9788e1ca466bdcbde6c7b548765f2cabf Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Jan 18 19:43:53 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jan 20 23:04:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74796bf9 app-admin/rasdaemon: remove unused files Closes: https://github.com/gentoo/gentoo/pull/19111 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> app-admin/rasdaemon/files/ras-mc-ctl.openrc | 10 -- app-admin/rasdaemon/files/rasdaemon.openrc| 18 -- app-admin/rasdaemon/files/rasdaemon.openrc-r1 | 24 3 files changed, 52 deletions(-) diff --git a/app-admin/rasdaemon/files/ras-mc-ctl.openrc b/app-admin/rasdaemon/files/ras-mc-ctl.openrc deleted file mode 100644 index c428d78e64d..000 --- a/app-admin/rasdaemon/files/ras-mc-ctl.openrc +++ /dev/null @@ -1,10 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Starts ${SVCNAME} service for rasdaemon" - -command="/usr/sbin/${SVCNAME}" -command_args="--register-labels" -pidfile=/run/${SVCNAME}.pid -command_background=true diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc b/app-admin/rasdaemon/files/rasdaemon.openrc deleted file mode 100644 index 08fc09e6416..000 --- a/app-admin/rasdaemon/files/rasdaemon.openrc +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Starts ${SVCNAME} service" - -command="/usr/sbin/${SVCNAME}" -command_args="--foreground --record" -pidfile=/run/${SVCNAME}.pid -command_background=true - -start_post() { - "${command}" --enable -} - -stop_post() { - "${command}" --disable -} diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc-r1 b/app-admin/rasdaemon/files/rasdaemon.openrc-r1 deleted file mode 100644 index 6532826add5..000 --- a/app-admin/rasdaemon/files/rasdaemon.openrc-r1 +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Starts Reliablity, Availability and Serviceability (RAS) service" - -depend() { - need localmount - use logger -} - -command="/usr/sbin/rasdaemon" -command_args="--foreground --record" -command_background=true -pidfile=/run/${RC_SVCNAME}.pid - - -start_post() { - "${command}" --enable >/dev/null 2>&1 -} - -stop_post() { - "${command}" --disable >/dev/null 2>&1 -}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: aa860ecd45e3901d4faca78db2bcf3a6880352fc Author: Andreas K. Huettel gentoo org> AuthorDate: Wed Jan 6 16:20:13 2021 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Jan 6 16:35:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa860ecd app-admin/rasdaemon: Remove old Bug: https://bugs.gentoo.org/708636 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel gentoo.org> app-admin/rasdaemon/Manifest | 3 -- app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild | 47 app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild | 50 - app-admin/rasdaemon/rasdaemon-0.6.2-r3.ebuild | 57 app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild | 61 -- app-admin/rasdaemon/rasdaemon-0.6.5.ebuild| 63 --- 6 files changed, 281 deletions(-) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 698796bd4f2..e0d3a767a2b 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,4 +1 @@ -DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 -DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b -DIST rasdaemon-0.6.5.tar.bz2 403435 BLAKE2B bc6fa1aea6a6f0190a4f26df936f0ceb4c9b2ae00183ad9239430a018d9c8178e54b016a0aa9d22d97d851b59321b4a27cad7196f1fc22790d15a19c9c06f6e6 SHA512 aa781f3148ae32c8bc7ff8007574912454180725b9b102e1c7c583101dd1fd96debbdc78f3f2a35db45df359c7547cad4d87b490af66f444341c0dc8429c1310 DIST rasdaemon-0.6.6.tar.bz2 404681 BLAKE2B 4314cd064b255df1cb1a148914c856d074fda1fc2d63e0554cbf0b78799c4252afdd4e827390729e191ff2ed9f719f6610487e85dd52af2b02694fb17740df05 SHA512 481ecd624ab5521d60ee7c613ee05d1d19b85e914b92eae84d18cb2e6dc788981213d49a6316cf575517b6e180f46c66c65804e4feb518bdd84bc21cd2970e08 diff --git a/app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild deleted file mode 100644 index 18c68185be3..000 --- a/app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - dev-db/sqlite - sys-apps/dmidecode - dev-perl/DBD-SQLite -" - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~FUNCTION_TRACER ~FUNCTION_GRAPH_TRACER ~STACK_TRACER ~DYNAMIC_FTRACE" - check_extra_config -} - -src_configure() { - econf --enable-abrt-report \ - --enable-aer \ - --enable-arm \ - --enable-extlog \ - --enable-hisi-ns-decode \ - --enable-mce \ - --enable-non-standard \ - --enable-sqlite3 \ - --localstatedir=/var -} - -src_install() { - default - systemd_dounit misc/*.service -} diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild deleted file mode 100644 index 330e1815fc3..000 --- a/app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - dev-db/sqlite - sys-apps/dmidecode - dev-perl/DBD-SQLite -" - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="~FUNCTION_TRACER ~FUNCTION_GRAPH_TRACER ~STACK_TRACER ~DYNAMIC_FTRACE" - check_extra_config -} - -src_configure() { - econf --enable-abrt-report \ - --enable-aer \ - --enable-arm \ - --enable-extlog \ - --enable-hisi-ns-decode \ - --enable-mce \ -
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: b133c3a7c53ea6523c66adf64cf095b1c4914cb8 Author: Matthew Thode gentoo org> AuthorDate: Sun Aug 16 19:27:41 2020 + Commit: Matthew Thode gentoo org> CommitDate: Sun Aug 16 19:27:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b133c3a7 app-admin/rasdaemon: 0.6.6 bump Closes: https://bugs.gentoo.org/708636 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.6.6.ebuild | 64 ++ 2 files changed, 65 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index a1fcfc65ec6..698796bd4f2 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,3 +1,4 @@ DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b DIST rasdaemon-0.6.5.tar.bz2 403435 BLAKE2B bc6fa1aea6a6f0190a4f26df936f0ceb4c9b2ae00183ad9239430a018d9c8178e54b016a0aa9d22d97d851b59321b4a27cad7196f1fc22790d15a19c9c06f6e6 SHA512 aa781f3148ae32c8bc7ff8007574912454180725b9b102e1c7c583101dd1fd96debbdc78f3f2a35db45df359c7547cad4d87b490af66f444341c0dc8429c1310 +DIST rasdaemon-0.6.6.tar.bz2 404681 BLAKE2B 4314cd064b255df1cb1a148914c856d074fda1fc2d63e0554cbf0b78799c4252afdd4e827390729e191ff2ed9f719f6610487e85dd52af2b02694fb17740df05 SHA512 481ecd624ab5521d60ee7c613ee05d1d19b85e914b92eae84d18cb2e6dc788981213d49a6316cf575517b6e180f46c66c65804e4feb518bdd84bc21cd2970e08 diff --git a/app-admin/rasdaemon/rasdaemon-0.6.6.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.6.ebuild new file mode 100644 index 000..65a479d775e --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sqlite" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + sys-apps/dmidecode + sqlite? ( + dev-db/sqlite + dev-perl/DBD-SQLite + ) +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG" + check_extra_config +} + +src_configure() { + local myconf=( + $(use_enable sqlite 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="/usr/include/${PN}" + --localstatedir=/var + ) + + econf "${myconf[@]}" +} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: f46ea06d6d147b8230a2fbe5e7941fcd8cf5f1bd Author: Matthew Thode gentoo org> AuthorDate: Sat Jan 18 23:27:35 2020 + Commit: Matthew Thode gentoo org> CommitDate: Sat Jan 18 23:27:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46ea06d app-admin/rasdaemon: 0.6.5 bump Fixes: https://bugs.gentoo.org/642016 Fixes: https://bugs.gentoo.org/705706 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.6.5.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 7d14f3d5052..a1fcfc65ec6 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,2 +1,3 @@ DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b +DIST rasdaemon-0.6.5.tar.bz2 403435 BLAKE2B bc6fa1aea6a6f0190a4f26df936f0ceb4c9b2ae00183ad9239430a018d9c8178e54b016a0aa9d22d97d851b59321b4a27cad7196f1fc22790d15a19c9c06f6e6 SHA512 aa781f3148ae32c8bc7ff8007574912454180725b9b102e1c7c583101dd1fd96debbdc78f3f2a35db45df359c7547cad4d87b490af66f444341c0dc8429c1310 diff --git a/app-admin/rasdaemon/rasdaemon-0.6.5.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.5.ebuild new file mode 100644 index 000..37e14a241e6 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sqlite" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + sys-apps/dmidecode + sqlite? ( + dev-db/sqlite + dev-perl/DBD-SQLite + ) +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG" + check_extra_config +} + +src_configure() { + local myconf=( + $(use_enable sqlite sqlite3) + --enable-abrt-report + --enable-aer + --enable-arm + --enable-extlog + --enable-hisi-ns-decode + --enable-mce + --enable-non-standard + --enable-devlink + --enable-diskerror + --includedir="/usr/include/${PN}" + --localstatedir=/var + ) + + econf "${myconf[@]}" +} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/
commit: 9331aa256a31193661e89aaef8a239708c034c5a Author: Matthew Thode gentoo org> AuthorDate: Wed Aug 14 22:24:38 2019 + Commit: Matthew Thode gentoo org> CommitDate: Wed Aug 14 22:24:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9331aa25 app-admin/rasdaemon: add missing dash to comment in conf.d file Fixes: https://bugs.gentoo.org/692100 Package-Manager: Portage-2.3.69, Repoman-2.3.17 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/files/rasdaemon.confd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/rasdaemon/files/rasdaemon.confd b/app-admin/rasdaemon/files/rasdaemon.confd index 2b89db191cd..3241ef438da 100644 --- a/app-admin/rasdaemon/files/rasdaemon.confd +++ b/app-admin/rasdaemon/files/rasdaemon.confd @@ -1,2 +1,2 @@ -# pass the -record option if sqlite is enabled and you wish store events in sqlite -#RASDAEMON_ARGS=-record +# pass the --record option if sqlite is enabled and you wish store events in sqlite +#RASDAEMON_ARGS=--record
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: d8072837af9ad05b3ef81039811096d2d8c87b16 Author: Conrad Kostecki kostecki com> AuthorDate: Fri May 31 09:52:26 2019 + Commit: Matthew Thode gentoo org> CommitDate: Fri May 31 16:25:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8072837 app-admin/rasdaemon: fix sqlite use flag Closes: https://bugs.gentoo.org/687056 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Conrad Kostecki kostecki.com> Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild index 5659b1666af..19491e34040 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild @@ -33,6 +33,7 @@ pkg_setup() { src_configure() { local myconf=( + $(use_enable sqlite sqlite3) --enable-abrt-report --enable-aer --enable-arm @@ -40,13 +41,9 @@ src_configure() { --enable-hisi-ns-decode --enable-mce --enable-non-standard - --enable-sqlite3 --includedir="/usr/include/${PN}" --localstatedir=/var ) - if use sqlite ; then - myconf="${myconf} --enable-sqlite3)" - fi econf "${myconf[@]}" }
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/, app-admin/rasdaemon/
commit: e7e05995da72932bbe91c2b72d498ce86b862218 Author: Matthew Thode gentoo org> AuthorDate: Fri May 24 04:32:36 2019 + Commit: Matthew Thode gentoo org> CommitDate: Fri May 24 04:32:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e05995 app-admin/rasdaemon: we don't need sqlite Thanks to Paul B. Henson acm.org> for the help Fixes: https://bugs.gentoo.org/686128 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/files/rasdaemon.confd | 2 + app-admin/rasdaemon/files/rasdaemon.openrc-r2 | 21 + app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild | 64 +++ 3 files changed, 87 insertions(+) diff --git a/app-admin/rasdaemon/files/rasdaemon.confd b/app-admin/rasdaemon/files/rasdaemon.confd new file mode 100644 index 000..2b89db191cd --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon.confd @@ -0,0 +1,2 @@ +# pass the -record option if sqlite is enabled and you wish store events in sqlite +#RASDAEMON_ARGS=-record diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc-r2 b/app-admin/rasdaemon/files/rasdaemon.openrc-r2 new file mode 100644 index 000..c8a2bc4b0e6 --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon.openrc-r2 @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Starts Reliablity, Availability and Serviceability (RAS) service" + +depend() { + need localmount + use logger +} + +command="/usr/sbin/rasdaemon" +command_args="${RASDAEMON_ARGS}" + +start_post() { + "${command}" --enable >/dev/null 2>&1 +} + +stop_post() { + "${command}" --disable >/dev/null 2>&1 +} diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild new file mode 100644 index 000..5659b1666af --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sqlite" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + sys-apps/dmidecode + sqlite? ( + dev-db/sqlite + dev-perl/DBD-SQLite + ) +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG" + check_extra_config +} + +src_configure() { + local myconf=( + --enable-abrt-report + --enable-aer + --enable-arm + --enable-extlog + --enable-hisi-ns-decode + --enable-mce + --enable-non-standard + --enable-sqlite3 + --includedir="/usr/include/${PN}" + --localstatedir=/var + ) + if use sqlite ; then + myconf="${myconf} --enable-sqlite3)" + fi + + econf "${myconf[@]}" +} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: 32ba22e24c5cea585026ffa6d6d45d67c7bb64ea Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Dec 14 08:39:59 2018 + Commit: Matthew Thode gentoo org> CommitDate: Fri Dec 14 09:32:57 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ba22e2 app-admin/rasdaemon: fix multiple issues with initscripts Brush up initscripts so they properly start, stop, log and don't clobber output. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/files/ras-mc-ctl.openrc-r1 | 23 + app-admin/rasdaemon/files/rasdaemon.openrc-r1 | 24 ++ ...n-0.6.2-r2.ebuild => rasdaemon-0.6.2-r3.ebuild} | 4 ++-- 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/app-admin/rasdaemon/files/ras-mc-ctl.openrc-r1 b/app-admin/rasdaemon/files/ras-mc-ctl.openrc-r1 new file mode 100644 index 000..316b28ad714 --- /dev/null +++ b/app-admin/rasdaemon/files/ras-mc-ctl.openrc-r1 @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Loads Motherboard DIMM labels into EDAC driver" + +depend() { + keyword -stop + need sysfs +} + +command="/usr/sbin/ras-mc-ctl" +command_args="--register-labels" + +start() { + ebegin "Loading Motherboard DIMM labels into EDAC driver" + "${command}" "${command_args}" + eend $? +} + +stop() { + : +} diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc-r1 b/app-admin/rasdaemon/files/rasdaemon.openrc-r1 new file mode 100644 index 000..6532826add5 --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon.openrc-r1 @@ -0,0 +1,24 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Starts Reliablity, Availability and Serviceability (RAS) service" + +depend() { + need localmount + use logger +} + +command="/usr/sbin/rasdaemon" +command_args="--foreground --record" +command_background=true +pidfile=/run/${RC_SVCNAME}.pid + + +start_post() { + "${command}" --enable >/dev/null 2>&1 +} + +stop_post() { + "${command}" --disable >/dev/null 2>&1 +} diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r3.ebuild similarity index 90% rename from app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild rename to app-admin/rasdaemon/rasdaemon-0.6.2-r3.ebuild index 0e27e9fe31e..fca06e7b0f0 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.2-r3.ebuild @@ -52,6 +52,6 @@ src_install() { systemd_dounit misc/*.service - newinitd "${FILESDIR}/rasdaemon.openrc" rasdaemon - newinitd "${FILESDIR}/ras-mc-ctl.openrc" ras-mc-ctl + newinitd "${FILESDIR}/rasdaemon.openrc-r1" rasdaemon + newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl }
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 78cae72a3eef162d5ff2af6af7a10a61aadbf406 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Dec 12 06:26:23 2018 + Commit: Matthew Thode gentoo org> CommitDate: Wed Dec 12 07:04:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cae72a app-admin/rasdaemon: fix multiple issues Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild | 57 +++ 1 file changed, 57 insertions(+) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild new file mode 100644 index 000..0e27e9fe31e --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.2-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + dev-db/sqlite + sys-apps/dmidecode + dev-perl/DBD-SQLite +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~ACPI_EXTLOG ~DYNAMIC_FTRACE ~FUNCTION_GRAPH_TRACER ~FUNCTION_TRACER ~STACK_TRACER" + check_extra_config +} + +src_configure() { + local myconf=( + --enable-abrt-report + --enable-aer + --enable-arm + --enable-extlog + --enable-hisi-ns-decode + --enable-mce + --enable-non-standard + --enable-sqlite3 + --includedir="/usr/include/${PN}" + --localstatedir=/var + ) + econf "${myconf[@]}" +} + +src_install() { + default + + keepdir "/var/lib/${PN}" + + systemd_dounit misc/*.service + + newinitd "${FILESDIR}/rasdaemon.openrc" rasdaemon + newinitd "${FILESDIR}/ras-mc-ctl.openrc" ras-mc-ctl +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/, app-admin/rasdaemon/files/
commit: e99625554cf9884e38361d73b7da09236ab74b4b Author: Robin H. Johnson gentoo org> AuthorDate: Tue Nov 20 04:30:54 2018 + Commit: Robin H. Johnson gentoo org> CommitDate: Tue Nov 20 04:30:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9962555 app-admin/rasdaemon: fix init.d binary paths Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Robin H. Johnson gentoo.org> app-admin/rasdaemon/files/ras-mc-ctl.openrc | 2 +- app-admin/rasdaemon/files/rasdaemon.openrc | 2 +- .../rasdaemon/{rasdaemon-0.6.2.ebuild => rasdaemon-0.6.2-r1.ebuild} | 0 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/rasdaemon/files/ras-mc-ctl.openrc b/app-admin/rasdaemon/files/ras-mc-ctl.openrc index d9790c482e2..c428d78e64d 100644 --- a/app-admin/rasdaemon/files/ras-mc-ctl.openrc +++ b/app-admin/rasdaemon/files/ras-mc-ctl.openrc @@ -4,7 +4,7 @@ description="Starts ${SVCNAME} service for rasdaemon" -command="/usr/bin/${SVCNAME}" +command="/usr/sbin/${SVCNAME}" command_args="--register-labels" pidfile=/run/${SVCNAME}.pid command_background=true diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc b/app-admin/rasdaemon/files/rasdaemon.openrc index c16f18dbe3f..08fc09e6416 100644 --- a/app-admin/rasdaemon/files/rasdaemon.openrc +++ b/app-admin/rasdaemon/files/rasdaemon.openrc @@ -4,7 +4,7 @@ description="Starts ${SVCNAME} service" -command="/usr/bin/${SVCNAME}" +command="/usr/sbin/${SVCNAME}" command_args="--foreground --record" pidfile=/run/${SVCNAME}.pid command_background=true diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild similarity index 100% rename from app-admin/rasdaemon/rasdaemon-0.6.2.ebuild rename to app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/files/, app-admin/rasdaemon/
commit: 16c8bc19aa6bd45c9de7a928317b13981deedd6f Author: Matthew Thode gentoo org> AuthorDate: Mon Nov 19 18:57:39 2018 + Commit: Matthew Thode gentoo org> CommitDate: Mon Nov 19 18:57:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c8bc19 app-admin/rasdaemon: bump and install openrc files Fixes: https://bugs.gentoo.org/670644 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode gentoo.org> app-admin/rasdaemon/Manifest| 1 + app-admin/rasdaemon/files/ras-mc-ctl.openrc | 10 ++ app-admin/rasdaemon/files/rasdaemon.openrc | 18 +++ app-admin/rasdaemon/rasdaemon-0.6.2.ebuild | 50 + 4 files changed, 79 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index de797238347..7d14f3d5052 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1 +1,2 @@ DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 +DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b diff --git a/app-admin/rasdaemon/files/ras-mc-ctl.openrc b/app-admin/rasdaemon/files/ras-mc-ctl.openrc new file mode 100644 index 000..d9790c482e2 --- /dev/null +++ b/app-admin/rasdaemon/files/ras-mc-ctl.openrc @@ -0,0 +1,10 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Starts ${SVCNAME} service for rasdaemon" + +command="/usr/bin/${SVCNAME}" +command_args="--register-labels" +pidfile=/run/${SVCNAME}.pid +command_background=true diff --git a/app-admin/rasdaemon/files/rasdaemon.openrc b/app-admin/rasdaemon/files/rasdaemon.openrc new file mode 100644 index 000..c16f18dbe3f --- /dev/null +++ b/app-admin/rasdaemon/files/rasdaemon.openrc @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Starts ${SVCNAME} service" + +command="/usr/bin/${SVCNAME}" +command_args="--foreground --record" +pidfile=/run/${SVCNAME}.pid +command_background=true + +start_post() { + "${command}" --enable +} + +stop_post() { + "${command}" --disable +} diff --git a/app-admin/rasdaemon/rasdaemon-0.6.2.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.2.ebuild new file mode 100644 index 000..330e1815fc3 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + dev-db/sqlite + sys-apps/dmidecode + dev-perl/DBD-SQLite +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="~FUNCTION_TRACER ~FUNCTION_GRAPH_TRACER ~STACK_TRACER ~DYNAMIC_FTRACE" + check_extra_config +} + +src_configure() { + econf --enable-abrt-report \ + --enable-aer \ + --enable-arm \ + --enable-extlog \ + --enable-hisi-ns-decode \ + --enable-mce \ + --enable-non-standard \ + --enable-sqlite3 \ + --localstatedir=/var +} + +src_install() { + default + systemd_dounit misc/*.service + + newinitd "${FILESDIR}/rasdaemon.openrc" rasdaemon + newinitd "${FILESDIR}/ras-mc-ctl.openrc" ras-mc-ctl +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 519196fa7364c290cf0f8d029faeac4c41a7166a Author: Matthew Thode gentoo org> AuthorDate: Mon Jul 16 02:57:44 2018 + Commit: Matt Thode gentoo org> CommitDate: Mon Jul 16 02:57:44 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519196fa app-admin/rasdaemon: add missing dep Closes: https://bugs.gentoo.org/660986 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-admin/rasdaemon/Manifest | 1 - app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild | 46 -- app-admin/rasdaemon/rasdaemon-0.6.0.ebuild | 39 -- ...emon-0.6.1.ebuild => rasdaemon-0.6.1-r1.ebuild} | 1 + 4 files changed, 1 insertion(+), 86 deletions(-) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 2f5274334ef..de797238347 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,2 +1 @@ -DIST rasdaemon-0.6.0.tar.bz2 361721 BLAKE2B af992c810024df4f553727b4aff4f4f1d41cb3f7e458ac91916ccbac6815b6ade697f0c49bf1e072205c7f872cfc9c2f7223fe0d3f090064ffaa0bab002d4f67 SHA512 cb363ee9968dab10951077edea6558adc235c2ba1a57294ccf2d483c49af3366bcec0a5857fe2b475a5407de850f706c44bfe4d8a80bcfb53b1c7e2d101ba72f DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 diff --git a/app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild deleted file mode 100644 index aa124a97770..000 --- a/app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - dev-db/sqlite - sys-apps/dmidecode -" - -pkg_setup() { - linux-info_pkg_setup - local CONFIG_CHECK="FUNCTION_TRACER FUNCTION_GRAPH_TRACER STACK_TRACER DYNAMIC_FTRACE" - check_extra_config -} - -src_configure() { - econf --enable-abrt-report \ - --enable-aer \ - --enable-arm \ - --enable-extlog \ - --enable-hisi-ns-decode \ - --enable-mce \ - --enable-non-standard \ - --enable-sqlite3 \ - --localstatedir=/var -} - -src_install() { - default - systemd_dounit misc/*.service -} diff --git a/app-admin/rasdaemon/rasdaemon-0.6.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.0.ebuild deleted file mode 100644 index 7bb3e34c6e7..000 --- a/app-admin/rasdaemon/rasdaemon-0.6.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd - -DESCRIPTION="Reliability, Availability and Serviceability logging tool" -HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; -SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - ${DEPEND} - sys-devel/gettext - dev-db/sqlite - sys-apps/dmidecode -" - -src_configure() { - econf --enable-mce \ - --enable-aer \ - --enable-sqlite3 \ - --enable-extlog \ - --enable-abrt-report \ - --enable-non-standard \ - --enable-hisi-ns-decode \ - --enable-arm -} - -src_install() { - default - systemd_dounit misc/*.service -} diff --git a/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild similarity index 97% rename from app-admin/rasdaemon/rasdaemon-0.6.1.ebuild rename to app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild index fd97b294f4e..18c68185be3 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild @@ -20,6 +20,7 @@ RDEPEND=" sys-devel/gettext dev-db/sqlite sys-apps/dmidecode + dev-perl/DBD-SQLite " pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 6f62a6975ebfff50b2b217480c36bc10b8731338 Author: Matthew Thode gentoo org> AuthorDate: Thu Jun 28 16:24:55 2018 + Commit: Matt Thode gentoo org> CommitDate: Thu Jun 28 16:24:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f62a697 app-admin/rasdaemon: make config_check options optional made optional for so it should be able to be built on systems without those options (it's a runtime need, not a build need). This should also help with binhost building. Closes: https://bugs.gentoo.org/658058 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-admin/rasdaemon/rasdaemon-0.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild index aa124a97770..fd97b294f4e 100644 --- a/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild +++ b/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild @@ -24,7 +24,7 @@ RDEPEND=" pkg_setup() { linux-info_pkg_setup - local CONFIG_CHECK="FUNCTION_TRACER FUNCTION_GRAPH_TRACER STACK_TRACER DYNAMIC_FTRACE" + local CONFIG_CHECK="~FUNCTION_TRACER ~FUNCTION_GRAPH_TRACER ~STACK_TRACER ~DYNAMIC_FTRACE" check_extra_config }
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: f9001af1754b2b07870fa07976f2bbc953220c5d Author: Matthew Thode gentoo org> AuthorDate: Wed Jun 13 20:27:31 2018 + Commit: Matt Thode gentoo org> CommitDate: Wed Jun 13 20:29:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9001af1 app-admin/rasdaemon: 0.6.1 bup Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/rasdaemon-0.6.1.ebuild | 46 ++ 2 files changed, 47 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index 93bbf015df3..2f5274334ef 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1 +1,2 @@ DIST rasdaemon-0.6.0.tar.bz2 361721 BLAKE2B af992c810024df4f553727b4aff4f4f1d41cb3f7e458ac91916ccbac6815b6ade697f0c49bf1e072205c7f872cfc9c2f7223fe0d3f090064ffaa0bab002d4f67 SHA512 cb363ee9968dab10951077edea6558adc235c2ba1a57294ccf2d483c49af3366bcec0a5857fe2b475a5407de850f706c44bfe4d8a80bcfb53b1c7e2d101ba72f +DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 diff --git a/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild new file mode 100644 index 000..aa124a97770 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + dev-db/sqlite + sys-apps/dmidecode +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="FUNCTION_TRACER FUNCTION_GRAPH_TRACER STACK_TRACER DYNAMIC_FTRACE" + check_extra_config +} + +src_configure() { + econf --enable-abrt-report \ + --enable-aer \ + --enable-arm \ + --enable-extlog \ + --enable-hisi-ns-decode \ + --enable-mce \ + --enable-non-standard \ + --enable-sqlite3 \ + --localstatedir=/var +} + +src_install() { + default + systemd_dounit misc/*.service +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: dd92dd44879d47dc770a7d942492706c5b4f9bd5 Author: Matthew Thode gentoo org> AuthorDate: Mon Jan 15 16:14:30 2018 + Commit: Matt Thode gentoo org> CommitDate: Mon Jan 15 16:14:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd92dd44 app-admin/rasdaemon: bump with kernel config checks Package-Manager: Portage-2.3.14, Repoman-2.3.6 app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild | 46 +++ 1 file changed, 46 insertions(+) diff --git a/app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild new file mode 100644 index 000..aa124a97770 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-info systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + dev-db/sqlite + sys-apps/dmidecode +" + +pkg_setup() { + linux-info_pkg_setup + local CONFIG_CHECK="FUNCTION_TRACER FUNCTION_GRAPH_TRACER STACK_TRACER DYNAMIC_FTRACE" + check_extra_config +} + +src_configure() { + econf --enable-abrt-report \ + --enable-aer \ + --enable-arm \ + --enable-extlog \ + --enable-hisi-ns-decode \ + --enable-mce \ + --enable-non-standard \ + --enable-sqlite3 \ + --localstatedir=/var +} + +src_install() { + default + systemd_dounit misc/*.service +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/rasdaemon/
commit: 2ec5d27e3a98b1e308c902bcc7e6998b4a80dbef Author: Matthew Thode gentoo org> AuthorDate: Thu Dec 21 21:46:05 2017 + Commit: Matt Thode gentoo org> CommitDate: Thu Dec 21 21:46:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec5d27e app-admin/rasdaemon: 0.6.0 added as a replacement for mcelog Package-Manager: Portage-2.3.14, Repoman-2.3.6 app-admin/rasdaemon/Manifest | 1 + app-admin/rasdaemon/metadata.xml | 18 ++ app-admin/rasdaemon/rasdaemon-0.6.0.ebuild | 39 ++ 3 files changed, 58 insertions(+) diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest new file mode 100644 index 000..93bbf015df3 --- /dev/null +++ b/app-admin/rasdaemon/Manifest @@ -0,0 +1 @@ +DIST rasdaemon-0.6.0.tar.bz2 361721 BLAKE2B af992c810024df4f553727b4aff4f4f1d41cb3f7e458ac91916ccbac6815b6ade697f0c49bf1e072205c7f872cfc9c2f7223fe0d3f090064ffaa0bab002d4f67 SHA512 cb363ee9968dab10951077edea6558adc235c2ba1a57294ccf2d483c49af3366bcec0a5857fe2b475a5407de850f706c44bfe4d8a80bcfb53b1c7e2d101ba72f diff --git a/app-admin/rasdaemon/metadata.xml b/app-admin/rasdaemon/metadata.xml new file mode 100644 index 000..2e59b91513a --- /dev/null +++ b/app-admin/rasdaemon/metadata.xml @@ -0,0 +1,18 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + prometheanf...@gentoo.org + Matthew Thode + + + Rasdaemon is a RAS (Reliability, Availability and Serviceability) logging tool. +It currently records memory errors, using the EDAC tracing events. +EDAC is drivers in the Linux kernel that handle detection of ECC errors +from memory controllers for most chipsets on i386 and x86_64 architectures. +EDAC drivers for other architectures like arm also exists. +This userspace component consists of an init script which makes sure +EDAC drivers and DIMM labels are loaded at system startup, as well as +an utility for reporting current error counts from the EDAC sysfs files. + + diff --git a/app-admin/rasdaemon/rasdaemon-0.6.0.ebuild b/app-admin/rasdaemon/rasdaemon-0.6.0.ebuild new file mode 100644 index 000..7bb3e34c6e7 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd + +DESCRIPTION="Reliability, Availability and Serviceability logging tool" +HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"; +SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + ${DEPEND} + sys-devel/gettext + dev-db/sqlite + sys-apps/dmidecode +" + +src_configure() { + econf --enable-mce \ + --enable-aer \ + --enable-sqlite3 \ + --enable-extlog \ + --enable-abrt-report \ + --enable-non-standard \ + --enable-hisi-ns-decode \ + --enable-arm +} + +src_install() { + default + systemd_dounit misc/*.service +}