forked from pool/flashrom
Accepting request 562855 from hardware
OBS-URL: https://build.opensuse.org/request/show/562855 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flashrom?expand=0&rev=20
This commit is contained in:
commit
add54d6ff6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45
|
||||
size 495199
|
3
flashrom-1.0.tar.bz2
Normal file
3
flashrom-1.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64
|
||||
size 321693
|
BIN
flashrom-1.0.tar.bz2.sig
Normal file
BIN
flashrom-1.0.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 14:52:38 UTC 2018 - mardnh@gmx.de
|
||||
|
||||
- Update to version 1.0
|
||||
* Support layouts for read and erase commands
|
||||
* New command line switch --noverify-all (-N) allows flashing of
|
||||
individual regions without reading the whole flash chip
|
||||
(particular useful with locked down Intel ME firmware)
|
||||
* New command line switch --ifd to read the layout from an
|
||||
Intel Firmware Descriptor on flash
|
||||
* We got rid of the delay-loop calibration (if the OS provides an
|
||||
accurate timer through clock_gettime())
|
||||
* Reading speed of USB programmers should have increased (reading
|
||||
bigger chunks at once, we reduce the overhead)
|
||||
* Support Intel 100 series PCHs (Sunrise Point, coupled with
|
||||
Skylake and Kaby Lake) and C620 series PCHs (Lewisburg paired
|
||||
with Workstation/Server versions of the former)
|
||||
* New programmers
|
||||
+ Intel 100 series / C620 series PCHs
|
||||
+ Intel I210 NICs (EEPROM and SPI)
|
||||
+ AMD Merlin Falcon (FP4)
|
||||
* New chips
|
||||
+ W25Q128.W
|
||||
- Specfile cleanup
|
||||
- Verify source signature
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 12:54:46 UTC 2017 - agraf@suse.com
|
||||
|
||||
|
52
flashrom.keyring
Normal file
52
flashrom.keyring
Normal file
@ -0,0 +1,52 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1
|
||||
|
||||
mQINBFnpFrEBEAD6jD/aqfkXp0j+ampj1Nz5GkzKnrd75tCzFYCjH8Z2/mC4CiLa
|
||||
WAnGR9JyK2czMaiWrpl+99UpzsHuwWzaSYOieC7OlLRJ9GZIhgxRu+qcAz5FsiA3
|
||||
L3f967WJQPWJWCUtVxbu8kUgKV9UDXC/G9+kZGFy4+aUK1H9EDNL7i91oBmL+pUq
|
||||
rwxAT1knEMwE+riWyWsCjlRXiMVSJd3oQVTxDZsT2wWxJIKSOYcpLL/6flb5oQMb
|
||||
J2vc0oil//wYj6pAvuGtRnADoOLzvm7nr8Z7CQ/FCVuoEnLIIpS5F9gMQ8K56OcQ
|
||||
gVD3D4JPyMGZVlfQiz/oLXd51fwSs8gQdot8ymHkfULrifOXotn1K3EfO+GHsNew
|
||||
xC3uD5RRgCsKPRZ1PajrqpGGDRyfoxsJ5ruToRw7Y5tKDQ0oXZ3pqlhTswsgOshz
|
||||
Jp7g8kUYFaGQv1JIwpFjA8Vr7Vpdc8WppGXTY6u+RKRCwWil5emhX88++NmmTQzB
|
||||
SHVH22bnUw1OV7TxpDAcK9d6SXkjj/njUqwhtaFcy8/5a866xhxsyi3cppDRuzkE
|
||||
0BIm57FAHvoyk9mMOd7jhnxdXSEPnqQUY15gfMEFMAxYJHDnO2ssfBrepcO5fuF+
|
||||
4KgG2d+8SrykyxtVVipVMnTXEwenFjzN00xYlBw/j8TEJ/ZVI/0r6cekgwARAQAB
|
||||
tDtEYXZpZCBIZW5kcmlja3MgKHBhY2thZ2luZyBrZXkpIDxkYXZpZC5oZW5kcmlj
|
||||
a3NAZ21haWwuY29tPokCOAQTAQIAIgUCWekWsQIbAwYLCQgHAwIGFQgCCQoLBBYC
|
||||
AwECHgECF4A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rd1JXk+gn
|
||||
YIqAGBodmwixpE3Ex+tivrRqn4C+rlV4A/Dfz2rhpXLE52mmCzJrgqITMI2CxjCb
|
||||
T9VujBtpUKxUqeCAyJk5zukVbAIQhzdubflf9njvlmqFEwFsErAujpjhKIrFqtSP
|
||||
DTvt2DMTCDHdZ9i7dXV39W/eNPtd3bhz6eU=
|
||||
=h33t
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package flashrom
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,26 +17,23 @@
|
||||
|
||||
|
||||
Name: flashrom
|
||||
Version: 0.9.9
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
Summary: A universal flash programming utility
|
||||
License: GPL-2.0
|
||||
Group: Development/Tools/Other
|
||||
Url: http://flashrom.org/Flashrom
|
||||
Source0: http://download.flashrom.org/releases/%{name}-%{version}.tar.bz2
|
||||
Source23: update-snapshots.sh
|
||||
BuildRequires: libftdi1
|
||||
BuildRequires: libftdi1-devel
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: pciutils-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 x86_64 %arm aarch64
|
||||
%if 0%{?suse_version} <= 1110
|
||||
Requires: pmtools
|
||||
%else
|
||||
Url: https://flashrom.org/Flashrom
|
||||
Source0: https://download.flashrom.org/releases/%{name}-%{version}.tar.bz2
|
||||
Source1: https://download.flashrom.org/releases/%{name}-%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig
|
||||
# Got the key from David Hendricks
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libftdi1)
|
||||
BuildRequires: pkgconfig(libpci)
|
||||
BuildRequires: pkgconfig(libusb)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: dmidecode
|
||||
%endif
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
|
||||
|
||||
%description
|
||||
flashrom is a utility for reading, writing, verifying and erasing flash ROM
|
||||
@ -55,20 +52,16 @@ or SPI.
|
||||
%build
|
||||
make %{?_smp_mflags} \
|
||||
CFLAGS="%{optflags}"
|
||||
#gzip flashrom.8
|
||||
|
||||
%install
|
||||
|
||||
mkdir -p %{buildroot}/%{_sbindir}
|
||||
mkdir -p %{buildroot}/%{_mandir}/man8
|
||||
install -d %{buildroot}/%{_sbindir}
|
||||
install -d %{buildroot}/%{_mandir}/man8
|
||||
install -m 0755 flashrom %{buildroot}/%{_sbindir}
|
||||
install -m 0644 flashrom.8 %{buildroot}/%{_mandir}/man8
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%doc README
|
||||
%doc COPYING README
|
||||
%{_sbindir}/flashrom
|
||||
%{_mandir}/man8/flashrom.8.gz
|
||||
%{_mandir}/man8/flashrom.8%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
@ -1,59 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LC_ALL=C
|
||||
# get upstream revisions
|
||||
printf "Checking flashrom revision... "
|
||||
VERSION=`svn cat svn://flashrom.org/flashrom/trunk/Makefile|grep ^RELEASE\ | cut -f2 -d= |cut -c2-`
|
||||
REV=$(svn info svn://flashrom.org/flashrom/trunk |grep ^Revision|cut -c11-)
|
||||
printf "done. (r$REV)\n"
|
||||
|
||||
printf "Continue? (YES/no) "
|
||||
read answer
|
||||
answer=$(echo $answer|tr "a-z" "A-Z")
|
||||
if [ "$answer" == "YES" -o "$answer" == "Y" -o "$answer" == "" ]; then
|
||||
printf "Updating tree... \n"
|
||||
else
|
||||
printf "Good bye.\n"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ ! -r flashrom-${VERSION}_r$REV.tar.bz2 ]; then
|
||||
osc rm flashrom-*.tar.bz2
|
||||
fi
|
||||
|
||||
# clean up
|
||||
printf "Cleaning up... "
|
||||
rm -rf flashrom-${VERSION}_r????
|
||||
rm -rf flashrom-${VERSION}_r???
|
||||
printf "done.\n"
|
||||
|
||||
# check out flashrom
|
||||
printf "Checking out flashrom $VERSION r$REV... "
|
||||
svn export -q svn://flashrom.org/flashrom/trunk flashrom-${VERSION}_r$REV
|
||||
sed -i "s/^SVNVERSION.*/SVNVERSION := $REV/" flashrom-${VERSION}_r$REV/Makefile
|
||||
LC_ALL=C svn log svn://flashrom.org/flashrom/trunk/ >flashrom-${VERSION}_r$REV/ChangeLog
|
||||
|
||||
printf "packing... "
|
||||
tar cjf flashrom-${VERSION}_r$REV.tar.bz2 flashrom-${VERSION}_r$REV
|
||||
printf "done.\n"
|
||||
|
||||
sed -i s/Version:.*r[0-9].*$/Version:\ \ \ \ \ \ \ \ ${VERSION}_r$REV/ \
|
||||
flashrom.spec
|
||||
|
||||
osc add flashrom-${VERSION}_r$REV.tar.bz2
|
||||
mv flashrom.changes flashrom.changes.old
|
||||
echo "-------------------------------------------------------------------" > \
|
||||
flashrom.changes
|
||||
echo "`date` - stepan@coresystems.de" >> \
|
||||
flashrom.changes
|
||||
echo >> flashrom.changes
|
||||
echo "- update to $VERSION r$REV." >> flashrom.changes
|
||||
echo >> flashrom.changes
|
||||
cat flashrom.changes.old >> flashrom.changes
|
||||
rm flashrom.changes.old
|
||||
|
||||
rm -rf flashrom-${VERSION}_r$REV
|
||||
|
||||
# finished.
|
||||
ls -la *.bz2
|
||||
|
Loading…
Reference in New Issue
Block a user