Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/flashrom: flashrom-0.9.1.ebuild metadata.xml ChangeLog flashrom-0.9.0.ebuild
Date: Thu, 28 Jan 2010 20:04:34
Message-Id: E1NaabN-0002gL-QZ@stork.gentoo.org
1 idl0r 10/01/28 20:04:29
2
3 Modified: metadata.xml ChangeLog
4 Added: flashrom-0.9.1.ebuild
5 Removed: flashrom-0.9.0.ebuild
6 Log:
7 Version bump, bug 284543.
8 dquote> Add ftdi and serprog useflag.
9 dquote> Update longdesc in metadata.xml.
10 (Portage version: 2.2_rc61/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.2 sys-apps/flashrom/metadata.xml
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/metadata.xml?rev=1.2&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/metadata.xml?rev=1.2&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/metadata.xml?r1=1.1&r2=1.2
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-apps/flashrom/metadata.xml,v
22 retrieving revision 1.1
23 retrieving revision 1.2
24 diff -u -r1.1 -r1.2
25 --- metadata.xml 5 May 2009 22:46:55 -0000 1.1
26 +++ metadata.xml 28 Jan 2010 20:04:28 -0000 1.2
27 @@ -9,23 +9,22 @@
28 <email>peter@×××××.se</email>
29 <description>Please CC on all bugs</description>
30 </maintainer>
31 +<use>
32 + <flag name="ftdi">Enable flashing through FTDI/SPI USB interface</flag>
33 + <flag name="serprog">Enable Serial Flasher support</flag>
34 +</use>
35 <longdescription lang="en">
36 -flashrom is a utility for reading, writing, verifying and erasing flash ROM chips. It's often used to flash BIOS/coreboot/firmware images.
37 +flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It's often used to flash BIOS/EFI/coreboot/firmware images.
38
39 -Highlights of flashrom include:
40 -
41 - * Supports parallel, LPC, FWH and SPI flash interfaces.
42 - * Supports more than 150 flash chip families and half a dozen variants of each family.
43 - * Flash chip package agnostic. DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40 and more have all been verified to work.
44 - * Supports more than 75 different chipsets, some with multiple flash controllers.
45 - * Features special mainboard enabling code for dozens of nonstandard mainboards.
46 + * Supports more than 195 flash chips, 75 chipsets, 130 mainboards, and 17 devices (PCI or USB) which can be used as external programmers.
47 + * Supports parallel, LPC, FWH and SPI flash interfaces and various chip packages (DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40, TSOP48, and more)
48 * No physical access needed, root access is sufficient.
49 * No bootable floppy disk, bootable CD-ROM or other media needed.
50 * No keyboard or monitor needed. Simply reflash remotely via SSH.
51 - * 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.
52 + * 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.
53 * Crossflashing and hotflashing is possible as long as the flash chips are electrically and logically compatible (same protocol). Great for recovery.
54 * 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.
55 - * Speed. flashrom is much faster than most vendor flash tools.
56 - * Supports Linux, FreeBSD, DragonFly BSD, Solaris, Mac OS X, and other Unix-like OSes.
57 + * Speed. flashrom is often much faster than most vendor flash tools.
58 + * Portability. Supports Linux, FreeBSD, DragonFly BSD, Solaris, Mac OS X, and other Unix-like OSes.
59 </longdescription>
60 </pkgmetadata>
61
62
63
64 1.3 sys-apps/flashrom/ChangeLog
65
66 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/ChangeLog?rev=1.3&view=markup
67 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/ChangeLog?rev=1.3&content-type=text/plain
68 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/ChangeLog?r1=1.2&r2=1.3
69
70 Index: ChangeLog
71 ===================================================================
72 RCS file: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v
73 retrieving revision 1.2
74 retrieving revision 1.3
75 diff -u -r1.2 -r1.3
76 --- ChangeLog 8 May 2009 23:17:46 -0000 1.2
77 +++ ChangeLog 28 Jan 2010 20:04:28 -0000 1.3
78 @@ -1,6 +1,14 @@
79 # ChangeLog for sys-apps/flashrom
80 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
81 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v 1.2 2009/05/08 23:17:46 leio Exp $
82 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
83 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v 1.3 2010/01/28 20:04:28 idl0r Exp $
84 +
85 +*flashrom-0.9.1 (28 Jan 2010)
86 +
87 + 28 Jan 2010; Christian Ruppert <idl0r@g.o> -flashrom-0.9.0.ebuild,
88 + +flashrom-0.9.1.ebuild, metadata.xml:
89 + Version bump, bug 284543.
90 + Add ftdi and serprog useflag.
91 + Update longdesc in metadata.xml.
92
93 08 May 2009; Mart Raudsepp <leio@g.o> flashrom-0.9.0.ebuild:
94 Fix homepage, pointed out by Anton Bolshakov
95
96
97
98 1.1 sys-apps/flashrom/flashrom-0.9.1.ebuild
99
100 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/flashrom-0.9.1.ebuild?rev=1.1&view=markup
101 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/flashrom/flashrom-0.9.1.ebuild?rev=1.1&content-type=text/plain
102
103 Index: flashrom-0.9.1.ebuild
104 ===================================================================
105 # Copyright 1999-2010 Gentoo Foundation
106 # Distributed under the terms of the GNU General Public License v2
107 # $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/flashrom-0.9.1.ebuild,v 1.1 2010/01/28 20:04:28 idl0r Exp $
108
109 EAPI="2"
110
111 inherit flag-o-matic toolchain-funcs
112
113 DESCRIPTION="Utility for reading, writing, erasing and verifying flash ROM chips"
114 HOMEPAGE="http://flashrom.org"
115 SRC_URI="http://qa.coreboot.org/releases/${P}.tar.bz2"
116
117 LICENSE="GPL-2"
118 SLOT="0"
119 KEYWORDS="~amd64 ~x86"
120 IUSE="ftdi serprog"
121
122 RDEPEND="sys-apps/pciutils
123 ftdi? ( dev-embedded/libftdi )"
124 DEPEND="${RDEPEND}
125 sys-apps/sed"
126
127 src_prepare() {
128 # We don't need zlib here
129 # Disable auto-deps
130 sed -i -e 's:^LIBS +=.*:LIBS += -lpci:' \
131 -e 's/^all:.*/all: dep $(PROGRAM)/' \
132 -e 's/^\.features:.*/\.features:/' \
133 Makefile || die
134 }
135
136 src_compile() {
137 if use ftdi;
138 then
139 append-cflags "-DFT2232_SPI_SUPPORT=1"
140 export LIBS="-lftdi"
141 fi
142 if use serprog;
143 then
144 append-cflags "-DSERPROG_SUPPORT=1"
145 fi
146
147 # Get a rid of "grep: .features: No such file or directory" warnings
148 touch .features
149
150 emake CC="$(tc-getCC)" STRIP="" || die "emake failed"
151 }
152
153 src_install() {
154 dosbin flashrom || die
155 doman flashrom.8 || die
156 dodoc ChangeLog README
157 }