diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /app-admin/rasdaemon | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'app-admin/rasdaemon')
-rw-r--r-- | app-admin/rasdaemon/Manifest | 3 | ||||
-rw-r--r-- | app-admin/rasdaemon/files/rasdaemon.confd | 2 | ||||
-rw-r--r-- | app-admin/rasdaemon/files/rasdaemon.openrc-r2 | 21 | ||||
-rw-r--r-- | app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild | 61 |
4 files changed, 87 insertions, 0 deletions
diff --git a/app-admin/rasdaemon/Manifest b/app-admin/rasdaemon/Manifest index adf7ff308813..f6976f815bb5 100644 --- a/app-admin/rasdaemon/Manifest +++ b/app-admin/rasdaemon/Manifest @@ -1,10 +1,13 @@ AUX ras-mc-ctl.openrc 295 BLAKE2B 8f6da9d6d4e392e4255ac70a57ece6e665771fc0f91c64506af6fd2157a5a4c159921ac341e66d18176434c523b6060c0cb2cabee6f7ca003e1896c0b6b6a266 SHA512 be635afaf5182907b4ae085d8c15b7aa6ae07e19a277423fe180a5e0524fa33747ceba8fe991cc263341b6c15443d3aff8f6c6c0311a87194687e25fa8387f32 AUX ras-mc-ctl.openrc-r1 419 BLAKE2B 50239d64b95c1759a2fb88107b78875b9f6227c256c2a59628b33dfaf720c649e714afe24424f34e865d1fc46145daa8deda4e8612ef6c0d11ef1bf67b2c2e88 SHA512 f12c82432086bfdd0ee24a767b2c6dae9a50cb65038189bfdc2aff9447e5e734e1277d809ed3c7a55ac31034773983e1f46f466adabdd4e727b491c260c5c53e +AUX rasdaemon.confd 107 BLAKE2B a3c0b7c09b1f3f76be0186208702858ca6ddcc9a9e912a88357e79e7f3aabe92b5a99f95c7bbe5ea1443e2ba2f8fcb83834b32a68774439165c7da0fff1d27ff SHA512 bc89a1fb03289bed3a34e84f593f5bc3506553ac64810ae360393cd33f6109e0a469990a79f2c56fc07905671c3e2fe9a70a65ba180df3855fdc4113ae5d4da3 AUX rasdaemon.openrc 369 BLAKE2B 81768b9a6cdf4696d8598dc61675b86f617ae543cdfda8166f961d9ab470ba107165b72be32370f71f52b07503f3ea948cf9d7ad10c2899e2e9b79f1e06e96de SHA512 eb91a3c54033a136e5b35aa769b5c01a0810970e77efa3f9efbcda5cf088e5268fd7bd9fff953bc47b9233a41e5321094b4d2ef85500dc0175f5be6a64c03105 AUX rasdaemon.openrc-r1 484 BLAKE2B dd64b1b6164f74e887ebff43116bd23311b86a7bbdf7830beb4ba27ad3e2db33e2107c7083c23f14e50e781a339e49be8a69ee902cfbc98713de034daa5a82a1 SHA512 e27c08bc118edd95468dd466aea52764df5b400ce9acf2043bd035d2fadbaa3b953794869c1fdaa23320e9529960e97c9e47dd31e8d8f3f48a324090f784907d +AUX rasdaemon.openrc-r2 424 BLAKE2B d3be2b06631ec3dc60e464b5fb38a4778e92a93fc284455f53f6b7c43a05d182b79f478362ed93a706b421ca99f6a21afdd2cbd53d125711bbf1d0f267304ace SHA512 2e30602222443e519cefc1f138dc537f5e22109fde2f8ebb0f8962abd926721389defc46cfa8db667db8618d4dc4257d36e9855367c3c8f2b7d28cb8684a4adf DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60 DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b EBUILD rasdaemon-0.6.1-r1.ebuild 931 BLAKE2B fe6abb4a500f9890dbdcb06a457d7a33ab8b138fa22af2d4046ff133a9205a8f75c6e07273e4fb7eeadf3bf8a974e8fcea39e29c4b6d080a627d6619a4c2e5fa SHA512 02871f282b1b7a4f4601293974d7fbccc41ee7c90a590e6d349db20040bd1cbebb562c56acf8c0cbad37dd6e4e04ac0140f2d34e70f208b611b1cb73873a0f67 EBUILD rasdaemon-0.6.2-r1.ebuild 1033 BLAKE2B f3a939268a9b34f730424f8d7af85c96e0240fb8ed3d6dd8b181bdc720b84622e41f2b2bb541a055dff70bda6f2e5c4952bf53bf68a328a7907b91ea47292892 SHA512 5837d47d13166bed48f89cbd10682550f4c3abd9e4c00d1757d432e9ece382c323e8cdc44b938770517f93a801b1eb2bf91ae93e034a9113f1d123e1f74bc338 EBUILD rasdaemon-0.6.2-r3.ebuild 1137 BLAKE2B a2402b26a92a0b9e6e6383c27d82e558bfe3f2737702ac3f0b2f57096f2eee6a6ca3ee9e8ab1fadab8366eca762a76d82ee02b783b39c35325b3a5af73f9f881 SHA512 490ed88bed969b3ab6a634bf3b04086b187a58deb39279911339f953f32da0618cb055b488b15996c011b4e681b338e640c162d2cf9a90c96fec47f409455e87 +EBUILD rasdaemon-0.6.2-r4.ebuild 1151 BLAKE2B 15161840fc5b98646cf3fbf08657a5492c054876fae43905f55285f3ae0434a88c238479f7a3c02bbda476f43316b559bb4805df49468f66e206c14d3bec78a0 SHA512 2e7ea61b7294ac22d809f32ed6fef34d73444a7a6f6a6bfa93bc004c7cb1e14c75832aeeda335c5c9e4b82b348fe5520b71a381d713a5ba8e093aa2eff6de6d4 MISC metadata.xml 871 BLAKE2B c9b484c2fd3019681f9c335fc046c7718c35bcafd9fa46f59328c68fb4404571818b861cb938bcb00fa08a164688a58735d7db27e73120597cd114a3a39acaba SHA512 1815bc3a92340071b40de8129441bbf55fee7edbec94f5337d6a9b42311cc3c1d898598d0756b60b56d804629700a2c0109362933acf5442a74097e752b24935 diff --git a/app-admin/rasdaemon/files/rasdaemon.confd b/app-admin/rasdaemon/files/rasdaemon.confd new file mode 100644 index 000000000000..2b89db191cd7 --- /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 000000000000..c8a2bc4b0e65 --- /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 000000000000..19491e340401 --- /dev/null +++ b/app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild @@ -0,0 +1,61 @@ +# 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=( + $(use_enable sqlite sqlite3) + --enable-abrt-report + --enable-aer + --enable-arm + --enable-extlog + --enable-hisi-ns-decode + --enable-mce + --enable-non-standard + --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 +} |