diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-12-02 10:21:27 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-12-02 10:21:34 -0500 |
commit | 99d28ff48a9b6b14ca502b00e83385240838b6ea (patch) | |
tree | 33e02eb4a0b115c35786036a214027080ab7d01b /sys-apps/fwts | |
parent | net-misc/libteam: drop old (diff) | |
download | gentoo-99d28ff48a9b6b14ca502b00e83385240838b6ea.tar.gz gentoo-99d28ff48a9b6b14ca502b00e83385240838b6ea.tar.bz2 gentoo-99d28ff48a9b6b14ca502b00e83385240838b6ea.zip |
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 <zerochaos@gentoo.org>
Diffstat (limited to 'sys-apps/fwts')
-rw-r--r-- | sys-apps/fwts/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/fwts/fwts-20.11.00.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/fwts/Manifest b/sys-apps/fwts/Manifest index 2b49ded6555f..b95632a43a99 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 000000000000..0d5da91d7a1c --- /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 <json\//#include <json-c\//g' -i \ + configure.ac || die + sed -e 's/^#include <json.h>/#include <json-c\/json.h>/' \ + -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 +} |