summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-01-28 20:04:29 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-01-28 20:04:29 +0000
commit53bf44e2c0f6fb5847bfff319ecba0b323fb5ddb (patch)
tree94f18546a893f9bb8dc8d03129afef454226c23b /sys-apps/flashrom
parentFix LICENSE: same terms as perl (#301969) (diff)
downloadhistorical-53bf44e2c0f6fb5847bfff319ecba0b323fb5ddb.tar.gz
historical-53bf44e2c0f6fb5847bfff319ecba0b323fb5ddb.tar.bz2
historical-53bf44e2c0f6fb5847bfff319ecba0b323fb5ddb.zip
Version bump, bug 284543.
dquote> Add ftdi and serprog useflag. dquote> Update longdesc in metadata.xml. Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/flashrom')
-rw-r--r--sys-apps/flashrom/ChangeLog12
-rw-r--r--sys-apps/flashrom/Manifest16
-rw-r--r--sys-apps/flashrom/flashrom-0.9.0.ebuild38
-rw-r--r--sys-apps/flashrom/flashrom-0.9.1.ebuild53
-rw-r--r--sys-apps/flashrom/metadata.xml21
5 files changed, 81 insertions, 59 deletions
diff --git a/sys-apps/flashrom/ChangeLog b/sys-apps/flashrom/ChangeLog
index 9efe77da870b..5707418a74da 100644
--- a/sys-apps/flashrom/ChangeLog
+++ b/sys-apps/flashrom/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/flashrom
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v 1.2 2009/05/08 23:17:46 leio Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v 1.3 2010/01/28 20:04:28 idl0r Exp $
+
+*flashrom-0.9.1 (28 Jan 2010)
+
+ 28 Jan 2010; Christian Ruppert <idl0r@gentoo.org> -flashrom-0.9.0.ebuild,
+ +flashrom-0.9.1.ebuild, metadata.xml:
+ Version bump, bug 284543.
+ Add ftdi and serprog useflag.
+ Update longdesc in metadata.xml.
08 May 2009; Mart Raudsepp <leio@gentoo.org> flashrom-0.9.0.ebuild:
Fix homepage, pointed out by Anton Bolshakov
diff --git a/sys-apps/flashrom/Manifest b/sys-apps/flashrom/Manifest
index cb4d15c7bfea..bd8ddc937b23 100644
--- a/sys-apps/flashrom/Manifest
+++ b/sys-apps/flashrom/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-DIST flashrom-0.9.0.tar.bz2 59006 RMD160 f62df36a00abec967c9e688ef634d324d06b7c12 SHA1 e86df6262dc223c02fbae2012f342741a1f76ebf SHA256 ebad45feb735318c4196ca2336d469b2bd7d2a8db43d879f468b0c2cd2ff136a
-EBUILD flashrom-0.9.0.ebuild 866 RMD160 e1a03fe889df902e1eebfd80eb0384d50e04ebb7 SHA1 ed20b3777213c556a25dcb305c19b2c0596d4f87 SHA256 1ef5fa78a226cbf990c259d9ae2575f34a2a9e263be7b6fabfe87a7d26a71060
-MISC ChangeLog 684 RMD160 77628c961fa4666b85c134be7afcd2f8837dfc6b SHA1 870a5772a504b19e5f4871f4746cd270515551e0 SHA256 403b9e94b3c48f364424f90a6f5b6289d26d3889b3a15ef7446f51e9d5ab6f4a
-MISC metadata.xml 1813 RMD160 9219f861025dd80e20cf62bcfe79d3d25bd94fe0 SHA1 7974dafbff7df22dba7535e8e2b6af424373df34 SHA256 d5014e38cad17fb5aebf7ae334c0e9f48188e466ea7671f14a45857b3999de3c
+DIST flashrom-0.9.1.tar.bz2 143890 RMD160 e9c8334f92932708f315b24cf5432589571f9b02 SHA1 7b06a16ccf85d8197d5ace8f4a86acfedcce5f3d SHA256 88db7a739d315f25e10f318b1dee070af57124965b5edcbfc17239d080aeafe0
+EBUILD flashrom-0.9.1.ebuild 1216 RMD160 67330caf0843faeb61f173b52f9e5ac86bb26829 SHA1 0d87320e5985f6c6330a37383c3de0908d947e76 SHA256 0140ae8cb87d85a34eedb9784ec6992786fb5762a9b24429830d1f46dcc55a43
+MISC ChangeLog 928 RMD160 55d27d37b70f094d00cb835a45f5d3fda425d199 SHA1 96d5ce6e705c85179fa20fb1cda4c02bb0555ffe SHA256 125c3dccacb3d80c2b37c6b2c789a61ed2644f52cccd5e069c191a45e4858435
+MISC metadata.xml 1806 RMD160 626442908f082c15c862e961804c3f33675085fb SHA1 11d84e94c3d4b5b1b45f1258db38595ab896595b SHA256 d6346eb6d2250565d34b275863350c80f25744d74a11a62ec635d309dabf446e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.8 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkoEvZIACgkQkeYb6olFHJfvCwCfYkDc9mTJA61DAx+RnRSZV4JR
-QCkAnifBu9gti6hEXKXB5Y1QoyvQVwEH
-=JWVo
+iEYEARECAAYFAkth7dcACgkQixe2jn+ufTipDQCfRNba/JRGUwfg0nDQRuwcrz2a
+AtUAnRTiPHFPNBWMokxq7zl+aLOf5UDQ
+=kz6C
-----END PGP SIGNATURE-----
diff --git a/sys-apps/flashrom/flashrom-0.9.0.ebuild b/sys-apps/flashrom/flashrom-0.9.0.ebuild
deleted file mode 100644
index d043694c7aab..000000000000
--- a/sys-apps/flashrom/flashrom-0.9.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/flashrom-0.9.0.ebuild,v 1.2 2009/05/08 23:17:46 leio Exp $
-
-EAPI=2
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Utility for reading, writing, erasing and verifying flash ROM chips."
-HOMEPAGE="http://www.coreboot.org/Flashrom"
-SRC_URI="http://qa.coreboot.org/releases/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="sys-apps/pciutils"
-DEPEND="${RDEPEND}
- sys-apps/sed"
-
-src_prepare()
-{
- sed -i -e '/STRIP/d' \
- -e "s:-Os -Wall -Werror:-Wall ${CFLAGS}:" \
- -e "s:LDFLAGS = :LDFLAGS = ${LDFLAGS}:" "${S}/Makefile" || die "sed failed"
-}
-
-src_compile()
-{
- emake -j1 CC="$(tc-getCC)" || die "emake failed"
-}
-
-src_install() {
- dosbin flashrom
- doman flashrom.8
- dodoc README
-}
diff --git a/sys-apps/flashrom/flashrom-0.9.1.ebuild b/sys-apps/flashrom/flashrom-0.9.1.ebuild
new file mode 100644
index 000000000000..54727cd8b9ec
--- /dev/null
+++ b/sys-apps/flashrom/flashrom-0.9.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/flashrom-0.9.1.ebuild,v 1.1 2010/01/28 20:04:28 idl0r Exp $
+
+EAPI="2"
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Utility for reading, writing, erasing and verifying flash ROM chips"
+HOMEPAGE="http://flashrom.org"
+SRC_URI="http://qa.coreboot.org/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ftdi serprog"
+
+RDEPEND="sys-apps/pciutils
+ ftdi? ( dev-embedded/libftdi )"
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+src_prepare() {
+ # We don't need zlib here
+ # Disable auto-deps
+ sed -i -e 's:^LIBS +=.*:LIBS += -lpci:' \
+ -e 's/^all:.*/all: dep $(PROGRAM)/' \
+ -e 's/^\.features:.*/\.features:/' \
+ Makefile || die
+}
+
+src_compile() {
+ if use ftdi;
+ then
+ append-cflags "-DFT2232_SPI_SUPPORT=1"
+ export LIBS="-lftdi"
+ fi
+ if use serprog;
+ then
+ append-cflags "-DSERPROG_SUPPORT=1"
+ fi
+
+ # Get a rid of "grep: .features: No such file or directory" warnings
+ touch .features
+
+ emake CC="$(tc-getCC)" STRIP="" || die "emake failed"
+}
+
+src_install() {
+ dosbin flashrom || die
+ doman flashrom.8 || die
+ dodoc ChangeLog README
+}
diff --git a/sys-apps/flashrom/metadata.xml b/sys-apps/flashrom/metadata.xml
index 95ca007e5b2e..e94021f7f8b2 100644
--- a/sys-apps/flashrom/metadata.xml
+++ b/sys-apps/flashrom/metadata.xml
@@ -9,23 +9,22 @@
<email>peter@stuge.se</email>
<description>Please CC on all bugs</description>
</maintainer>
+<use>
+ <flag name="ftdi">Enable flashing through FTDI/SPI USB interface</flag>
+ <flag name="serprog">Enable Serial Flasher support</flag>
+</use>
<longdescription lang="en">
-flashrom is a utility for reading, writing, verifying and erasing flash ROM chips. It's often used to flash BIOS/coreboot/firmware images.
+flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It's often used to flash BIOS/EFI/coreboot/firmware images.
-Highlights of flashrom include:
-
- * Supports parallel, LPC, FWH and SPI flash interfaces.
- * Supports more than 150 flash chip families and half a dozen variants of each family.
- * Flash chip package agnostic. DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40 and more have all been verified to work.
- * Supports more than 75 different chipsets, some with multiple flash controllers.
- * Features special mainboard enabling code for dozens of nonstandard mainboards.
+ * Supports more than 195 flash chips, 75 chipsets, 130 mainboards, and 17 devices (PCI or USB) which can be used as external programmers.
+ * Supports parallel, LPC, FWH and SPI flash interfaces and various chip packages (DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40, TSOP48, and more)
* No physical access needed, root access is sufficient.
* No bootable floppy disk, bootable CD-ROM or other media needed.
* No keyboard or monitor needed. Simply reflash remotely via SSH.
- * No instant reboot needed. Reflash your ROM in a running system, verify it, be happy. The new firmware will be present next time you boot.
+ * No instant reboot needed. Reflash your chip in a running system, verify it, be happy. The new firmware will be present next time you boot.
* Crossflashing and hotflashing is possible as long as the flash chips are electrically and logically compatible (same protocol). Great for recovery.
* Scriptability. Reflash a whole pool of identical machines at the same time from the command line. It is recommended to check flashrom output and error codes.
- * Speed. flashrom is much faster than most vendor flash tools.
- * Supports Linux, FreeBSD, DragonFly BSD, Solaris, Mac OS X, and other Unix-like OSes.
+ * Speed. flashrom is often much faster than most vendor flash tools.
+ * Portability. Supports Linux, FreeBSD, DragonFly BSD, Solaris, Mac OS X, and other Unix-like OSes.
</longdescription>
</pkgmetadata>