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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8F661382C5 for ; Wed, 2 Dec 2020 15:21:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24335E0871; Wed, 2 Dec 2020 15:21:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09F82E0871 for ; Wed, 2 Dec 2020 15:21:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8783A34127F for ; Wed, 2 Dec 2020 15:21:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03FF93B7 for ; Wed, 2 Dec 2020 15:21:35 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1606922494.99d28ff48a9b6b14ca502b00e83385240838b6ea.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwts/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/fwts/Manifest sys-apps/fwts/fwts-20.11.00.ebuild X-VCS-Directories: sys-apps/fwts/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 99d28ff48a9b6b14ca502b00e83385240838b6ea X-VCS-Branch: master Date: Wed, 2 Dec 2020 15:21:35 +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: 9ef06fb2-fc82-4ee5-bcf3-9fad1d243f46 X-Archives-Hash: c52f68f91ee5c25242046fb400b165d6 commit: 99d28ff48a9b6b14ca502b00e83385240838b6ea Author: Rick Farina gentoo org> AuthorDate: Wed Dec 2 15:21:27 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Wed Dec 2 15:21:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d28ff4 sys-apps/fwts: bump and bug #737010 I don't know enough about this to take over as maintainer, but I can bump and fix this bug, and it seems to work Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Rick Farina gentoo.org> sys-apps/fwts/Manifest | 1 + sys-apps/fwts/fwts-20.11.00.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sys-apps/fwts/Manifest b/sys-apps/fwts/Manifest index 2b49ded6555..b95632a43a9 100644 --- a/sys-apps/fwts/Manifest +++ b/sys-apps/fwts/Manifest @@ -1 +1,2 @@ DIST fwts_20.05.00.orig.tar.gz 3817917 BLAKE2B 10365979a1b6bf2768930e144baa3982d462f05b77b1ca81116f7b44b80487924f37e097e46602c49696e987d9061a1917e3613e016bdb126146d880699c38f8 SHA512 4f68f6fc8351024e877e6fa6c9b856c7c3720348c1936f33fc8b455f5e85df83c9dc39a5c2dc16e106c851d4ac622f0a1d23b70f2b7726689f92077dbca5d82f +DIST fwts_20.11.00.orig.tar.gz 3845548 BLAKE2B 3d08bf3dd339543fc67984f5da081a4ac4a0e1b413431bb0836ec2a99130f76cd717ff61128b09e9e7c24cb275b52cd2503c34daa273c8328cee7eb2453706ea SHA512 650fa21ceb4528a6d7fa40ae44c3258e01208186328fce8ca889df2809f82abf9b966c76c99791b3f40b17e5c2efda5b15dd2def4aaf494004778337f5074b55 diff --git a/sys-apps/fwts/fwts-20.11.00.ebuild b/sys-apps/fwts/fwts-20.11.00.ebuild new file mode 100644 index 00000000000..0d5da91d7a1 --- /dev/null +++ b/sys-apps/fwts/fwts-20.11.00.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Firmware Test Suite" +HOMEPAGE="https://wiki.ubuntu.com/Kernel/Reference/fwts" +SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-libs/glib:2 + >=dev-libs/json-c-0.10-r1 + dev-libs/libbsd + dev-libs/libpcre + sys-apps/dmidecode + sys-apps/dtc + sys-apps/pciutils + sys-power/iasl + sys-power/pmtools + " +DEPEND="${RDEPEND} + sys-devel/libtool" + +S=${WORKDIR} + +src_prepare() { + default + sed -i -e 's/-Wall -Werror/-Wall/' configure.ac {,src/,src/lib/src/}Makefile.am || die + sed -i -e 's:/usr/bin/lspci:'$(type -p lspci)':' src/lib/include/fwts_binpaths.h || die + + # Fix json-c includes + sed -e 's/^#include /#include /' \ + -i src/lib/include/fwts_json.h \ + src/utilities/kernelscan.c || die + sed -e 's/-ljson/-ljson-c/'\ + -i src/Makefile.am\ + src/lib/src/Makefile.am\ + src/utilities/Makefile.am || die + + eautoreconf +}