From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/flashrom/
Date: Wed, 15 Jun 2016 17:35:21 +0000 (UTC) [thread overview]
Message-ID: <1466012085.595e3cb391a4ee87b2cabe6bb5151c39cdedbcda.vapier@gentoo> (raw)
commit: 595e3cb391a4ee87b2cabe6bb5151c39cdedbcda
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 17:34:18 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 17:34:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595e3cb3
sys-apps/flashrom: version bump to 0.9.9
sys-apps/flashrom/Manifest | 1 +
sys-apps/flashrom/flashrom-0.9.9.ebuild | 131 ++++++++++++++++++++++++++++++++
2 files changed, 132 insertions(+)
diff --git a/sys-apps/flashrom/Manifest b/sys-apps/flashrom/Manifest
index a33ff6f..0f98dbb 100644
--- a/sys-apps/flashrom/Manifest
+++ b/sys-apps/flashrom/Manifest
@@ -1,3 +1,4 @@
DIST flashrom-0.9.6.1.tar.bz2 368133 SHA256 6f7b588cce74c90b4fe9c9c794de105de76e0323442fb5770b1aeab81e9d560a SHA512 335243ca869a49521b6404004496cdba16f11da4f5321bbc8786635bbc7a0fe7215de2015d67200da68d398ed270d9a2ad9308ca9f762790e39b9f0602e53529 WHIRLPOOL f55f53cc6f06b627d8561e369bca32f1b62dc8de9a35963c01575b31f3190cf1be3b7114db8552b7f9f87c971960f1d16fe284d44e8d2db3da2996431d08598c
DIST flashrom-0.9.7.tar.bz2 408883 SHA256 5a55212d00791981a9a1cb0cdca9d9e58bea6d399864251e7b410b4d3d6137e9 SHA512 a226c1ac3f9c7822b74ca14b7f9b53013110b2cdb66b1f936593c693ee54f19d643cc3a97a9635c05f2c959aca817668006f609ddb503a84d0bf5d510065674e WHIRLPOOL 97472148f97b86dc3b6661fe0368f492584308a8e86f2376bd3eb6e285a02dfcf231f2d917f30a734e90fbc9baf3899329c04ea245048d647077c50646ecd17d
DIST flashrom-0.9.8.tar.bz2 473902 SHA256 13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934 SHA512 1a1c4513bac7cdf91326ab68b822034101e688bfab0dc0b5698f664fc766027229128c55eed94f302cac05d949647cdec6a103a423c3861b047cf0ff7cc0b509 WHIRLPOOL 61381faeff133065c195e37d9cf9eced6f5ff4c3dc6103abcca8186d11de9e1523e4fcfd173f34dfa44c78ad731db25a771d670bf5cd808f00ed5e80697c5c35
+DIST flashrom-0.9.9.tar.bz2 495199 SHA256 cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45 SHA512 155445ce7acab97f91596aad704aa2211da1c3f71fb463fc65c621dfea41e44b5de7db801c5b5cfc37450e8a8cfed5b202553715d999710422c830a0c38ae153 WHIRLPOOL aa7de16e247d704e7a1266fab088f78817d8fe866a0e4279a501d37b777b669d9a9c5aa96283db1e4e943659b3820aba0abb4a2c9f7283afe965df51b4c6541a
diff --git a/sys-apps/flashrom/flashrom-0.9.9.ebuild b/sys-apps/flashrom/flashrom-0.9.9.ebuild
new file mode 100644
index 0000000..ccbc10b
--- /dev/null
+++ b/sys-apps/flashrom/flashrom-0.9.9.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="svn://flashrom.org/flashrom/trunk"
+ inherit subversion
+else
+ SRC_URI="http://download.flashrom.org/releases/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+DESCRIPTION="Utility for reading, writing, erasing and verifying flash ROM chips"
+HOMEPAGE="http://flashrom.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+# The defaults match the upstream Makefile.
+# Note: Do not list bitbang_spi as it is not a programmer; it's a backend used
+# by some other spi programmers.
+IUSE_PROGRAMMERS="
+atahpt +atapromise +atavia +buspirate_spi ch341a_spi dediprog +drkaiser +dummy
++ft2232_spi +gfxnvidia +internal +it8212 +linux_spi mstarddc_spi +nic3com
++nicintel +nicintel_eeprom +nicintel_spi nicnatsemi +nicrealtek +ogp_spi
++pickit2_spi +pony_spi +rayer_spi +satamv +satasii +serprog +usbblaster_spi"
+IUSE="${IUSE_PROGRAMMERS} +internal_dmi static tools +wiki"
+
+LIB_DEPEND="atahpt? ( sys-apps/pciutils[static-libs(+)] )
+ atapromise? ( sys-apps/pciutils[static-libs(+)] )
+ atavia? ( sys-apps/pciutils[static-libs(+)] )
+ ch341a_spi? ( virtual/libusb:0[static-libs(+)] )
+ dediprog? ( virtual/libusb:0[static-libs(+)] )
+ drkaiser? ( sys-apps/pciutils[static-libs(+)] )
+ ft2232_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+ gfxnvidia? ( sys-apps/pciutils[static-libs(+)] )
+ it8212? ( sys-apps/pciutils[static-libs(+)] )
+ internal? ( sys-apps/pciutils[static-libs(+)] )
+ nic3com? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel_eeprom? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel_spi? ( sys-apps/pciutils[static-libs(+)] )
+ nicnatsemi? ( sys-apps/pciutils[static-libs(+)] )
+ nicrealtek? ( sys-apps/pciutils[static-libs(+)] )
+ ogp_spi? ( sys-apps/pciutils[static-libs(+)] )
+ pickit2_spi? ( virtual/libusb:0[static-libs(+)] )
+ rayer_spi? ( sys-apps/pciutils[static-libs(+)] )
+ satamv? ( sys-apps/pciutils[static-libs(+)] )
+ satasii? ( sys-apps/pciutils[static-libs(+)] )
+ usbblaster_spi? ( dev-embedded/libftdi:=[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )
+ sys-apps/diffutils"
+RDEPEND+=" !internal_dmi? ( sys-apps/dmidecode )"
+
+_flashrom_enable() {
+ local c="CONFIG_${2:-$(echo "$1" | tr [:lower:] [:upper:])}"
+ args+=( "${c}=$(usex $1 yes no)" )
+}
+flashrom_enable() {
+ local u
+ for u ; do _flashrom_enable "${u}" ; done
+}
+
+src_prepare() {
+ sed -i \
+ -e 's:pkg-config:$(PKG_CONFIG):' \
+ Makefile || die
+}
+
+src_compile() {
+ # Help keep things in sync.
+ local sprogs=$(echo $(
+ grep -o 'CONFIG_[A-Z0-9_]*' flashrom.c | \
+ sort -u | \
+ sed 's:^CONFIG_::' | \
+ tr '[:upper:]' '[:lower:]'))
+ local eprogs=$(echo ${IUSE_PROGRAMMERS//[+-]})
+ if [[ ${sprogs} != "${eprogs}" ]] ; then
+ eerror "The ebuild needs to be kept in sync."
+ eerror "IUSE set to: ${eprogs}"
+ eerror "flashrom.c : ${sprogs}"
+ die "sync IUSE to the list of source programmers"
+ fi
+
+ # Turn USE flags into CONFIG_xxx settings.
+ local args=()
+ flashrom_enable ${eprogs}
+ _flashrom_enable wiki PRINT_WIKI
+ _flashrom_enable static STATIC
+
+ # You have to specify at least one programmer, and if you specify more than
+ # one programmer you have to include either dummy or internal in the list.
+ # We pick dummy as the default because internal requires libpci.
+ if ! use internal && ! use dummy ; then
+ if [[ ${#args[@]} -ne 1 ]] ; then
+ ewarn "You have to specify at least one programmer, and if you specify"
+ ewarn "more than one programmer, you have to enable either dummy or"
+ ewarn "internal as well. 'dummy' will be the default now."
+ args+=( CONFIG_DUMMY=yes )
+ fi
+ fi
+
+ tc-export AR CC PKG_CONFIG RANLIB
+ emake WARNERROR=no "${args[@]}"
+}
+
+src_test() {
+ if [[ -d tests ]] ; then
+ pushd tests >/dev/null
+ ./tests.py || die
+ popd >/dev/null
+ fi
+}
+
+src_install() {
+ dosbin flashrom
+ doman flashrom.8
+ dodoc README Documentation/*.txt
+
+ if use tools ; then
+ if use amd64 ; then
+ dosbin util/ich_descriptors_tool/ich_descriptors_tool
+ elif use x86 ; then
+ dosbin util/ich_descriptors_tool/ich_descriptors_tool
+ fi
+ fi
+}
next reply other threads:[~2016-06-15 17:35 UTC|newest]
Thread overview: 104+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-15 17:35 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-27 11:51 [gentoo-commits] repo/gentoo:master commit in: sys-apps/flashrom/ Sam James
2025-08-27 11:51 Sam James
2025-08-27 11:51 Sam James
2025-08-27 11:51 Sam James
2025-08-17 16:43 Fabian Groffen
2025-07-29 19:33 Fabian Groffen
2025-06-21 7:33 Arthur Zamarin
2025-06-15 21:00 Sam James
2025-06-15 18:07 Arthur Zamarin
2025-06-15 18:07 Arthur Zamarin
2025-06-15 16:20 Fabian Groffen
2025-06-15 16:20 Fabian Groffen
2024-12-19 11:54 Fabian Groffen
2024-11-01 20:42 Sam James
2024-11-01 3:36 Sam James
2024-11-01 3:36 Sam James
2024-11-01 2:55 Sam James
2024-10-31 21:43 Sam James
2024-10-20 7:38 Fabian Groffen
2024-10-18 19:12 Fabian Groffen
2024-10-18 17:05 Fabian Groffen
2024-06-28 19:08 Fabian Groffen
2024-06-28 19:08 Fabian Groffen
2024-06-28 17:51 Fabian Groffen
2024-04-24 13:27 Marek Szuba
2023-10-12 0:05 Sam James
2023-10-12 0:05 Sam James
2023-10-12 0:05 Sam James
2023-10-12 0:05 Sam James
2023-07-11 8:08 WANG Xuerui
2023-05-27 10:56 Arthur Zamarin
2023-05-23 0:10 Sam James
2023-05-19 17:47 Arthur Zamarin
2023-05-19 17:45 Sam James
2023-05-19 17:45 Sam James
2023-03-08 14:22 Marek Szuba
2023-03-08 14:22 Marek Szuba
2023-03-08 13:22 Marek Szuba
2023-02-01 23:08 Marek Szuba
2022-10-02 21:06 Marek Szuba
2022-10-01 3:55 Sam James
2022-05-01 7:28 Sven Wegener
2022-03-12 0:21 Marek Szuba
2021-11-16 9:24 Marek Szuba
2021-11-16 9:24 Marek Szuba
2021-05-17 12:58 Marek Szuba
2021-03-24 13:46 Ben Kohler
2021-01-27 17:29 Marek Szuba
2021-01-25 12:18 Agostino Sarubbo
2021-01-24 22:41 Sam James
2021-01-24 21:52 Sam James
2021-01-24 13:35 Sam James
2021-01-24 13:33 Sam James
2021-01-22 22:29 Sam James
2021-01-22 16:53 Agostino Sarubbo
2020-12-31 21:34 Sven Wegener
2020-12-17 11:42 Sam James
2020-11-13 4:57 Sam James
2020-11-10 15:49 Marek Szuba
2020-11-07 20:37 Sergei Trofimovich
2020-11-07 20:34 Sergei Trofimovich
2020-11-07 20:22 Sergei Trofimovich
2020-08-31 14:07 Marek Szuba
2020-06-30 15:44 Marek Szuba
2020-06-21 17:13 Agostino Sarubbo
2020-06-21 16:58 Agostino Sarubbo
2020-06-21 16:54 Agostino Sarubbo
2020-06-20 20:35 Mart Raudsepp
2020-06-17 18:08 Sergei Trofimovich
2020-04-27 18:15 Marek Szuba
2020-03-30 22:42 Marek Szuba
2020-03-30 22:42 Marek Szuba
2020-03-30 22:42 Marek Szuba
2020-03-30 22:42 Marek Szuba
2020-03-30 22:42 Marek Szuba
2020-03-26 21:42 Marek Szuba
2020-03-26 21:02 Marek Szuba
2020-03-23 1:36 Jonas Stein
2020-01-15 19:51 Sven Wegener
2020-01-15 19:51 Sven Wegener
2020-01-15 19:51 Sven Wegener
2019-10-12 16:01 Joonas Niilola
2019-09-28 11:25 Joonas Niilola
2019-09-28 11:25 Joonas Niilola
2019-09-28 11:25 Joonas Niilola
2019-09-28 11:25 Joonas Niilola
2019-05-12 18:46 Sven Wegener
2018-09-25 11:12 Sven Wegener
2018-07-23 8:26 Christian Ruppert
2018-07-01 20:18 Sven Wegener
2018-07-01 20:18 Sven Wegener
2018-07-01 20:18 Sven Wegener
2018-06-14 17:01 Sven Wegener
2018-03-28 19:09 Matt Turner
2018-03-27 22:59 Aaron Bauman
2018-03-27 22:59 Aaron Bauman
2018-02-08 16:40 Christian Ruppert
2017-05-25 15:04 Sven Wegener
2016-06-15 17:37 Mike Frysinger
2016-04-14 6:14 Jason Zaman
2016-03-15 3:00 Mike Frysinger
2016-01-22 22:04 Sven Wegener
2016-01-10 11:17 Sven Wegener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466012085.595e3cb391a4ee87b2cabe6bb5151c39cdedbcda.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox