From 295483480d7b8ba2fff987fdd32eaa36fe730ce4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Sep 2022 05:23:06 +0100 Subject: gentoo auto-resync : 20:09:2022 - 05:23:06 --- sys-libs/librtas/Manifest | 4 +++- sys-libs/librtas/librtas-2.0.3.ebuild | 32 ++++++++++++++++++++++++++++++++ sys-libs/librtas/metadata.xml | 4 +++- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 sys-libs/librtas/librtas-2.0.3.ebuild (limited to 'sys-libs/librtas') diff --git a/sys-libs/librtas/Manifest b/sys-libs/librtas/Manifest index c5a9c2a7b223..efdfc278eed8 100644 --- a/sys-libs/librtas/Manifest +++ b/sys-libs/librtas/Manifest @@ -1,4 +1,6 @@ AUX librtas-2.0.2-musl.patch 1073 BLAKE2B 51c0ff8a61aa16409f43abb4171b790308565baef19f9d74596f2c3bb0feab5538cbbc60133e95706b116dc68c957b69dc280fa3a75396812f09f227d032328e SHA512 d461f8f9fc11ea81c4b9847f4fd36fe1498d90df414a3e31daa7a385435267edee5ff851382a7c8c1c575ff1ec09c3612ee59bd882196ce270f8c41ddd3ee629 DIST librtas-2.0.2.tar.gz 91627 BLAKE2B 1455af1af4a932fb81815ba67d1d1d8eeb0866bcf49fdcced622c1982121b5bb3ddeaf78f121a6540ec6c60d641991a87342713478a5be5232128db35d272059 SHA512 112d355bc486657289a186d9f1b8c576af55422f1527259a0cd680c07d6fa787aef2dc0cb6322721dc4aa1c5bd1de669f5c4d05e6a07de65262e9e3d4d0283c7 +DIST librtas-2.0.3.tar.gz 95483 BLAKE2B 38ce5c3924dfdb18f3a9a6e309a0ba093468b12e05b38dd81525b59ddd5afda65da3c46b7b48c1e8aaa1dc0afc6cb1eaf7d930e6e27bb1a06005a7f24620a9cd SHA512 3ff59007ad6fc893d226ae9413b57b8b478a214a824f60c2af58a65c0a3cefecc0d19bb4c791b677a0d5c1d7da9646d66f48d0e0446768092ef7afd6e4baff34 EBUILD librtas-2.0.2-r2.ebuild 997 BLAKE2B a0d59eded6abe538ab2984b650672e352dc514d3e22bff5315c18ba22667672dbf966805efc649881187f4de8557e9cb3e4e0a9a3dbf6760c94ef6f9b6e434c0 SHA512 e5230ef175e47a8ac3a3fd5fed2de73dd18db4689de999869f6ed60f80bcdcda614a24d696558468ac720272131eb7b0bfc9c898a383a49c741374e5e42ac219 -MISC metadata.xml 334 BLAKE2B a063fc9963f79e2df424fe14cff3f661feee9123a1e38a1d1962858653c460111a07a6a6311a3af63ec7183517033df048df4eb71405532905bcf04e357da4b2 SHA512 449ba960816412cb9985dc1e9203e6664cf99d90683104a2bf5ec15133973bba1beab4fe5145e545f9949f454672bd4de22356c26d5f55b6073e1d6ebe05df6d +EBUILD librtas-2.0.3.ebuild 956 BLAKE2B 02dcf4ffffd37f0f2d8d78b2c51d98e1fa742ea7a354c20f3eb30c6054d5f149adaf8d74e4a74b2dbb0f3a929d47b6d0f113299d542a02e8f6fa353931d1b5c1 SHA512 0186c2f8898bb453205e8a3341a223bbcf5e3523bb48b933db7eebf1324b2fa1dd77ad195a08d9f2e21f41578dbb2366f304081e9285856164cdad8712f8372d +MISC metadata.xml 518 BLAKE2B 7b000d0b47e708df40dc26d37f6364d4135aa2ef5156b4e7d16f5d1ebaac111189fd82775e3b76e2c06a8b9c446db2b7a5b470f6c20976db53e549ce2f8d6bdb SHA512 02444ce2c2c557982236cdac2e71f353b21326d105c24840182996663d9a082ad0a22eb3dd62435bd2f3f2453be1865f052c00596c5874e2464e730e2e74dcd9 diff --git a/sys-libs/librtas/librtas-2.0.3.ebuild b/sys-libs/librtas/librtas-2.0.3.ebuild new file mode 100644 index 000000000000..6af4142321e4 --- /dev/null +++ b/sys-libs/librtas/librtas-2.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools + +DESCRIPTION="A set of libraries for userspace access to RTAS on the PowerPC platform(s)" +HOMEPAGE="https://github.com/ibm-power-utilities/librtas" +SRC_URI="https://github.com/ibm-power-utilities/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~ppc ~ppc64 ~ppc64-linux" +IUSE="static-libs" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install docdir="${EPREFIX}"/usr/share/doc/${PF} + find "${D}" -name '*.la' -delete || die + # librtas_src/syscall_rmo.c: static const char *lockfile_path = "/var/lock/LCK..librtas"; + # this way we prevent sandbox violations in lscpu linked to rtas + dodir /etc/sandbox.d + echo 'SANDBOX_PREDICT="/run/lock/LCK..librtas"' > "${ED}"/etc/sandbox.d/50librtas || die +} diff --git a/sys-libs/librtas/metadata.xml b/sys-libs/librtas/metadata.xml index 99418bf98e2a..b93ca6387bf1 100644 --- a/sys-libs/librtas/metadata.xml +++ b/sys-libs/librtas/metadata.xml @@ -6,6 +6,8 @@ PowerPC architecture team - librtas + https://github.com/ibm-power-utilities/librtas/issues + https://github.com/ibm-power-utilities/librtas/blob/master/Changelog + ibm-power-utilities/librtas -- cgit v1.2.3