From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- sys-libs/librtas/Manifest | 2 +- sys-libs/librtas/librtas-2.0.2-r1.ebuild | 30 ---------------------------- sys-libs/librtas/librtas-2.0.2-r2.ebuild | 34 ++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 31 deletions(-) delete mode 100644 sys-libs/librtas/librtas-2.0.2-r1.ebuild create mode 100644 sys-libs/librtas/librtas-2.0.2-r2.ebuild (limited to 'sys-libs/librtas') diff --git a/sys-libs/librtas/Manifest b/sys-libs/librtas/Manifest index 0456e3fcb067..2fb24a8b1925 100644 --- a/sys-libs/librtas/Manifest +++ b/sys-libs/librtas/Manifest @@ -1,4 +1,4 @@ AUX librtas-2.0.2-musl.patch 1073 BLAKE2B 51c0ff8a61aa16409f43abb4171b790308565baef19f9d74596f2c3bb0feab5538cbbc60133e95706b116dc68c957b69dc280fa3a75396812f09f227d032328e SHA512 d461f8f9fc11ea81c4b9847f4fd36fe1498d90df414a3e31daa7a385435267edee5ff851382a7c8c1c575ff1ec09c3612ee59bd882196ce270f8c41ddd3ee629 DIST librtas-2.0.2.tar.gz 91627 BLAKE2B 1455af1af4a932fb81815ba67d1d1d8eeb0866bcf49fdcced622c1982121b5bb3ddeaf78f121a6540ec6c60d641991a87342713478a5be5232128db35d272059 SHA512 112d355bc486657289a186d9f1b8c576af55422f1527259a0cd680c07d6fa787aef2dc0cb6322721dc4aa1c5bd1de669f5c4d05e6a07de65262e9e3d4d0283c7 -EBUILD librtas-2.0.2-r1.ebuild 728 BLAKE2B ebc8a29955fbd67f30c4c9a2bb2f367185e752f0271f7b3fcabaec1fe99fdb499d4400209809c5840ae005d545a3bd17c2aaba384b4b6c69441f3aac531e3089 SHA512 035abe76ed04cf1dd43974e29f936f63bd3969ff8585fb066b9a09edea113667706a51a46d3e8744766fe4e37ff72e310dfd101c6aae0ee15ee307af573b83fa +EBUILD librtas-2.0.2-r2.ebuild 997 BLAKE2B a0d59eded6abe538ab2984b650672e352dc514d3e22bff5315c18ba22667672dbf966805efc649881187f4de8557e9cb3e4e0a9a3dbf6760c94ef6f9b6e434c0 SHA512 e5230ef175e47a8ac3a3fd5fed2de73dd18db4689de999869f6ed60f80bcdcda614a24d696558468ac720272131eb7b0bfc9c898a383a49c741374e5e42ac219 MISC metadata.xml 341 BLAKE2B 7a3729c933c0154a1b1d8789e940557051e2b46a34988d0ea45f28f6e491ebecf48ce1bd8c76f939a9c8abda07ca40431d60a839eb45ebdc669151d8312e6701 SHA512 e97728d7fb4a1be9cfc2945b6e59fe507ad2783a93d41cf72adaf61f5331d2ca165a545d522c3009ef550aaa67e9a83b3324d0c0dd311bf367758efdd813b54e diff --git a/sys-libs/librtas/librtas-2.0.2-r1.ebuild b/sys-libs/librtas/librtas-2.0.2-r1.ebuild deleted file mode 100644 index 61863ff24d39..000000000000 --- a/sys-libs/librtas/librtas-2.0.2-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -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" - -PATCHES=( "${FILESDIR}"/${P}-musl.patch ) - -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 -} diff --git a/sys-libs/librtas/librtas-2.0.2-r2.ebuild b/sys-libs/librtas/librtas-2.0.2-r2.ebuild new file mode 100644 index 000000000000..f43d44b267f5 --- /dev/null +++ b/sys-libs/librtas/librtas-2.0.2-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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" + +PATCHES=( "${FILESDIR}"/${P}-musl.patch ) + +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 +} -- cgit v1.2.3