1 |
idl0r 10/06/03 15:03:32 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: flashrom-0.9.2.ebuild |
5 |
Removed: flashrom-0.9.1.ebuild |
6 |
Log: |
7 |
Version bump to 0.9.2. Add several new useflags. Use internal _flashrom_enable() function to enable/disable features. Update metadata.xml. Add myself as maintainer. |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 sys-apps/flashrom/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/flashrom/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 28 Jan 2010 20:04:28 -0000 1.2 |
24 |
+++ metadata.xml 3 Jun 2010 15:03:31 -0000 1.3 |
25 |
@@ -1,22 +1,34 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
-<herd>no-herd</herd> |
30 |
-<maintainer> |
31 |
- <email>leio@g.o</email> |
32 |
-</maintainer> |
33 |
-<maintainer> |
34 |
- <email>peter@×××××.se</email> |
35 |
- <description>Please CC on all bugs</description> |
36 |
-</maintainer> |
37 |
-<use> |
38 |
- <flag name="ftdi">Enable flashing through FTDI/SPI USB interface</flag> |
39 |
- <flag name="serprog">Enable Serial Flasher support</flag> |
40 |
-</use> |
41 |
-<longdescription lang="en"> |
42 |
-flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It's often used to flash BIOS/EFI/coreboot/firmware images. |
43 |
+ <herd>no-herd</herd> |
44 |
+ <maintainer> |
45 |
+ <email>leio@g.o</email> |
46 |
+ </maintainer> |
47 |
+ <maintainer> |
48 |
+ <email>idl0r@g.o</email> |
49 |
+ <name>Christian Ruppert</name> |
50 |
+ </maintainer> |
51 |
+ <maintainer> |
52 |
+ <email>peter@×××××.se</email> |
53 |
+ <description>Please CC on all bugs</description> |
54 |
+ </maintainer> |
55 |
+ <use> |
56 |
+ <flag name="buspiratespi">Enable Bus Pirate SPI programmer</flag> |
57 |
+ <flag name="drkaiser">Enable Dr. Kaiser programmer</flag> |
58 |
+ <flag name="dummy">Enable dummy tracing</flag> |
59 |
+ <flag name="ftdi">Enable ftdi programmer, flashing through FTDI/SPI USB interface</flag> |
60 |
+ <flag name="internal">Enable internal/onboard support</flag> |
61 |
+ <flag name="nic3com">Enable 3Com NIC programmer</flag> |
62 |
+ <flag name="nvidia">Enable NVIDIA programmer</flag> |
63 |
+ <flag name="satasii">Enable programmer for SiI SATA controllers</flag> |
64 |
+ <flag name="serprog">Enable Serial Flasher programmer</flag> |
65 |
+ <flag name="wiki">Enable wiki informations, like supported devices etc.</flag> |
66 |
+ </use> |
67 |
+ <longdescription lang="en"> |
68 |
+flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It is designed to flash BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various programmer devices. |
69 |
|
70 |
- * Supports more than 195 flash chips, 75 chipsets, 130 mainboards, and 17 devices (PCI or USB) which can be used as external programmers. |
71 |
+ * Supports more than 225 flash chips, 128 chipsets, 186 mainboards, 19 PCI devices, 3 USB devices and all external programmers which use the serprog protocol. |
72 |
* Supports parallel, LPC, FWH and SPI flash interfaces and various chip packages (DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, TSOP40, TSOP48, and more) |
73 |
* No physical access needed, root access is sufficient. |
74 |
* No bootable floppy disk, bootable CD-ROM or other media needed. |
75 |
@@ -25,6 +37,6 @@ |
76 |
* Crossflashing and hotflashing is possible as long as the flash chips are electrically and logically compatible (same protocol). Great for recovery. |
77 |
* 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. |
78 |
* Speed. flashrom is often much faster than most vendor flash tools. |
79 |
- * Portability. Supports Linux, FreeBSD, DragonFly BSD, Solaris, Mac OS X, and other Unix-like OSes. |
80 |
-</longdescription> |
81 |
+ * Portability. Supports DOS, Linux, FreeBSD, NetBSD, DragonFly BSD, Solaris, Mac OS X, and other Unix-like OSes. Partial Windows support is available (full support as patch). |
82 |
+ </longdescription> |
83 |
</pkgmetadata> |
84 |
|
85 |
|
86 |
|
87 |
1.4 sys-apps/flashrom/ChangeLog |
88 |
|
89 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/ChangeLog?rev=1.4&view=markup |
90 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/ChangeLog?rev=1.4&content-type=text/plain |
91 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/ChangeLog?r1=1.3&r2=1.4 |
92 |
|
93 |
Index: ChangeLog |
94 |
=================================================================== |
95 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v |
96 |
retrieving revision 1.3 |
97 |
retrieving revision 1.4 |
98 |
diff -u -r1.3 -r1.4 |
99 |
--- ChangeLog 28 Jan 2010 20:04:28 -0000 1.3 |
100 |
+++ ChangeLog 3 Jun 2010 15:03:31 -0000 1.4 |
101 |
@@ -1,6 +1,14 @@ |
102 |
# ChangeLog for sys-apps/flashrom |
103 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
104 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v 1.3 2010/01/28 20:04:28 idl0r Exp $ |
105 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/ChangeLog,v 1.4 2010/06/03 15:03:31 idl0r Exp $ |
106 |
+ |
107 |
+*flashrom-0.9.2 (03 Jun 2010) |
108 |
+ |
109 |
+ 03 Jun 2010; Christian Ruppert <idl0r@g.o> -flashrom-0.9.1.ebuild, |
110 |
+ +flashrom-0.9.2.ebuild, metadata.xml: |
111 |
+ Version bump to 0.9.2. Add several new useflags. Use internal |
112 |
+ _flashrom_enable() function to enable/disable features. Update |
113 |
+ metadata.xml. Add myself as maintainer. |
114 |
|
115 |
*flashrom-0.9.1 (28 Jan 2010) |
116 |
|
117 |
|
118 |
|
119 |
|
120 |
1.1 sys-apps/flashrom/flashrom-0.9.2.ebuild |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/flashrom-0.9.2.ebuild?rev=1.1&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/flashrom/flashrom-0.9.2.ebuild?rev=1.1&content-type=text/plain |
124 |
|
125 |
Index: flashrom-0.9.2.ebuild |
126 |
=================================================================== |
127 |
# Copyright 1999-2010 Gentoo Foundation |
128 |
# Distributed under the terms of the GNU General Public License v2 |
129 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/flashrom/flashrom-0.9.2.ebuild,v 1.1 2010/06/03 15:03:31 idl0r Exp $ |
130 |
|
131 |
EAPI="2" |
132 |
|
133 |
inherit toolchain-funcs |
134 |
|
135 |
DESCRIPTION="Utility for reading, writing, erasing and verifying flash ROM chips" |
136 |
HOMEPAGE="http://flashrom.org" |
137 |
SRC_URI="http://qa.coreboot.org/releases/${P}.tar.bz2" |
138 |
|
139 |
LICENSE="GPL-2" |
140 |
SLOT="0" |
141 |
KEYWORDS="~amd64 ~x86" |
142 |
IUSE="buspiratespi drkaiser dummy ftdi +internal nic3com nvidia satasii serprog wiki" |
143 |
|
144 |
COMMON_DEPEND="drkaiser? ( sys-apps/pciutils ) |
145 |
internal? ( sys-apps/pciutils ) |
146 |
nic3com? ( sys-apps/pciutils ) |
147 |
nvidia? ( sys-apps/pciutils ) |
148 |
satasii? ( sys-apps/pciutils ) |
149 |
ftdi? ( dev-embedded/libftdi )" |
150 |
RDEPEND="${COMMON_DEPEND} |
151 |
internal? ( sys-apps/dmidecode )" |
152 |
DEPEND="${COMMON_DEPEND} |
153 |
sys-apps/diffutils" |
154 |
|
155 |
_flashrom_enable() { |
156 |
local flag=${1} |
157 |
local macro=${2} |
158 |
|
159 |
if use $flag; then |
160 |
args="${args} ${macro}=yes" |
161 |
else |
162 |
args="${args} ${macro}=no" |
163 |
fi |
164 |
} |
165 |
|
166 |
src_compile() { |
167 |
local progs=0 |
168 |
local args="" |
169 |
|
170 |
_flashrom_enable buspiratespi CONFIG_BUSPIRATESPI |
171 |
_flashrom_enable drkaiser CONFIG_DRKAISER |
172 |
_flashrom_enable dummy CONFIG_DUMMY |
173 |
_flashrom_enable ftdi CONFIG_FT2232SPI |
174 |
_flashrom_enable internal CONFIG_INTERNAL |
175 |
_flashrom_enable nic3com CONFIG_NIC3COM |
176 |
_flashrom_enable nvidia CONFIG_GFXNVIDIA |
177 |
_flashrom_enable satasii CONFIG_SATASII |
178 |
_flashrom_enable serprog CONFIG_SERPROG |
179 |
|
180 |
# You have to specify at least one programmer, and if you specify more than |
181 |
# one programmer you have to include either dummy or internal in the list. |
182 |
for prog in buspiratespi drkaiser ftdi nic3com nvidia satasii serprog; |
183 |
do |
184 |
use $prog && progs=$((progs + 1)) |
185 |
done |
186 |
if [ $progs -ne 1 ]; then |
187 |
if ! use internal && ! use dummy; then |
188 |
ewarn "You have to specify at least one programmer," |
189 |
ewarn "and if you specify more than one programmer you have to enable" |
190 |
ewarn "either dummy or internal as well" |
191 |
ewarn "'internal' will be the default now" |
192 |
sleep 3 |
193 |
args="${args} CONFIG_INTERNAL=yes" |
194 |
fi |
195 |
fi |
196 |
|
197 |
emake CC="$(tc-getCC)" ${args} || die |
198 |
} |
199 |
|
200 |
src_install() { |
201 |
dosbin flashrom || die |
202 |
doman flashrom.8 |
203 |
dodoc ChangeLog README |
204 |
} |