From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 641A8158090 for ; Sun, 15 May 2022 10:49:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1B31E08F7; Sun, 15 May 2022 10:49:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89C55E08EF for ; Sun, 15 May 2022 10:49:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2643341CF3 for ; Sun, 15 May 2022 10:49:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C969105 for ; Sun, 15 May 2022 10:49:22 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1652611739.6a5c39e050af4e04b28b920a85b145da4841cbe6.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libvpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libvpd/Manifest sys-libs/libvpd/libvpd-2.2.9.ebuild sys-libs/libvpd/metadata.xml X-VCS-Directories: sys-libs/libvpd/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 6a5c39e050af4e04b28b920a85b145da4841cbe6 X-VCS-Branch: master Date: Sun, 15 May 2022 10:49:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7305b0fb-1592-4ea7-bd78-c9d9e5aa0f17 X-Archives-Hash: dd6b604cc27d2aee185ce7379b196cab commit: 6a5c39e050af4e04b28b920a85b145da4841cbe6 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun May 15 10:26:03 2022 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun May 15 10:48:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5c39e0 sys-libs/libvpd: add 2.2.9 Signed-off-by: Georgy Yakovlev gentoo.org> sys-libs/libvpd/Manifest | 1 + sys-libs/libvpd/libvpd-2.2.9.ebuild | 43 +++++++++++++++++++++++++++++++++++++ sys-libs/libvpd/metadata.xml | 3 ++- 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/sys-libs/libvpd/Manifest b/sys-libs/libvpd/Manifest index 908a68bb41b4..86db8dfddfa6 100644 --- a/sys-libs/libvpd/Manifest +++ b/sys-libs/libvpd/Manifest @@ -1 +1,2 @@ DIST libvpd-2.2.8.tar.gz 52725 BLAKE2B 76bdc6ddf80236a6848185273c2cac181d44214f0c609d7c5af6fa4d09a7cd816324af35745617ce3daa7268311e2ed754335600df1d4970a324eb327015d051 SHA512 d0b7d1760c6ae54717c538405c651317b7318dec5780961f5386c09b7d245e35a84c2fc47d89c47c3cd2168d73d7186f5819981d52c3ba962514639833dc62aa +DIST libvpd-2.2.9.tar.gz 53747 BLAKE2B c8898e2f604431b74bf5e10fc99e7a9b5540b825f2a996776109a2b2b636f732ff8d9f7956ffea1231e5b023e285eee641a873a68fcd8a2d6a6d9e64c5ab3b18 SHA512 e32a80e0f3aaedbaaac64dbdedfee7eeb2e7a7b6d2d737bca4678d26caadab77032a7c26211a5fc3caed3724488bc8fa99620ceac05f8d156ca90f4452cfaf0a diff --git a/sys-libs/libvpd/libvpd-2.2.9.ebuild b/sys-libs/libvpd/libvpd-2.2.9.ebuild new file mode 100644 index 000000000000..d98f5588ae00 --- /dev/null +++ b/sys-libs/libvpd/libvpd-2.2.9.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools udev + +DESCRIPTION="Library implementation for listing Vital Product Data" +HOMEPAGE="https://github.com/power-ras/libvpd" +SRC_URI="https://github.com/power-ras/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~ppc ~ppc64" + +DEPEND=" + dev-db/sqlite:3 + sys-libs/zlib:= +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # sysconfdir is used only to establish where the udev rules file should go + # unfortunately it also adds the subdirs on its own so we strip it down to + # dirname + local myconf=( + --disable-static + --localstatedir="${EPREFIX}/var" + --sysconfdir="$( dirname $(get_udevdir) )" + ) + + econf "${myconf[@]}" +} + +src_install() { + default + keepdir /var/lib/lsvpd + find "${D}" -name '*.la' -delete || die +} diff --git a/sys-libs/libvpd/metadata.xml b/sys-libs/libvpd/metadata.xml index 2219560b548b..9e9a9d49a2b2 100644 --- a/sys-libs/libvpd/metadata.xml +++ b/sys-libs/libvpd/metadata.xml @@ -6,6 +6,7 @@ Gentoo Linux PowerPC Development - linux-diag + power-ras/libvpd + https://github.com/power-ras/libvpd/blob/master/ChangeLog