sys-apps/fwts: Version bump to 17.02.00
authorManuel Rüger <mrueg@gentoo.org>
Mon, 20 Feb 2017 14:13:41 +0000 (15:13 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 20 Feb 2017 14:14:11 +0000 (15:14 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-apps/fwts/Manifest
sys-apps/fwts/fwts-17.02.00.ebuild [new file with mode: 0644]

index 844812c2a6b4524e9a874c508dff26cc645ecfd4..a0bf86426c87308288205312ccd862ae59f39efe 100644 (file)
@@ -1 +1,2 @@
 DIST fwts_15.12.00.orig.tar.gz 3391289 SHA256 79813cf4b0602643bb164779792ecb2fa15ddd340ece04d41b74594c93e9ec63 SHA512 44fab3e665279562b865261e5998e820ba960688e13bac717c5bbdb59faa1e97fd1d85f7ba95b5c7a4623e48a657f13e1ad8c1355f37173534739f26e155f8be WHIRLPOOL cbd50b60a3cc980bf1a41fbe900b6cb1e4be5aa63820132edcd4fc98cd3d78b81019f5f348b7487d3e47a2a3b414cdfb67643860f54893015307d567b37da474
+DIST fwts_17.02.00.orig.tar.gz 3489625 SHA256 9513a5eb69e202e8864df5004204641ad913d6c9d0c44c459cee41ac36192f29 SHA512 1dcbd7f120b5c09127f1242d41d7cf5ec15e6b049fb0b0590fec221849c0195a18ee4b07b66c1de29cbb241ef39f6e11c26dcd2bc7c0a4c23bf2efaec5372b70 WHIRLPOOL ef889246b17095a54a089e1c29e0154ecaea231968ba8ebbe74160cc42d683847499bff0ae58dc85b08bd7817ce77e1f7230e3ad8d0fc6e9885c9558b9c9edcc
diff --git a/sys-apps/fwts/fwts-17.02.00.ebuild b/sys-apps/fwts/fwts-17.02.00.ebuild
new file mode 100644 (file)
index 0000000..4abf5e8
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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/json-c-0.10-r1
+       dev-libs/glib:2
+       dev-libs/libpcre
+       sys-apps/pciutils
+       sys-power/iasl
+       sys-power/pmtools
+       sys-apps/dmidecode"
+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
+}