This commit is contained in:
parent
60fc4dc586
commit
a270d252b4
@ -19,7 +19,7 @@ Signed-off-by: Bernhard Walle <bwalle@suse.de>
|
|||||||
end = &sha256_regions[sizeof(sha256_regions)/sizeof(sha256_regions[0])];
|
end = &sha256_regions[sizeof(sha256_regions)/sizeof(sha256_regions[0])];
|
||||||
for(ptr = sha256_regions; ptr < end; ptr++) {
|
for(ptr = sha256_regions; ptr < end; ptr++) {
|
||||||
- sha256_update(&ctx, ptr->start, ptr->len);
|
- sha256_update(&ctx, ptr->start, ptr->len);
|
||||||
+ sha256_update(&ctx, (uint8_t *)ptr->start, ptr->len);
|
+ sha256_update(&ctx, (uint8_t *)((uintptr_t)ptr->start), ptr->len);
|
||||||
}
|
}
|
||||||
sha256_finish(&ctx, digest);
|
sha256_finish(&ctx, digest);
|
||||||
if (memcmp(digest, sha256_digest, sizeof(digest)) != 0) {
|
if (memcmp(digest, sha256_digest, sizeof(digest)) != 0) {
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:844b853c8a4ddfca15f5ca43a804454e2fd3881fb4b780c8df54e4a84024f5fa
|
|
||||||
size 207895
|
|
3
kexec-tools-testing-20080226-rc.tar.bz2
Normal file
3
kexec-tools-testing-20080226-rc.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f9e461637e1c4f34021552bed7b440519a5271983cd3fc5f7bfd9e004ffc30ae
|
||||||
|
size 251799
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 08:58:47 CET 2008 - bwalle@suse.de
|
||||||
|
|
||||||
|
- update to kexec-tools-testing v20080226-rc
|
||||||
|
o build: include configure and include/config.h.in in dist
|
||||||
|
tarball
|
||||||
|
- adjusted kexec-tools-portability-issue to build without warnings
|
||||||
|
on 32 bit systems
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 21 10:55:57 CET 2008 - bwalle@suse.de
|
Thu Feb 21 10:55:57 CET 2008 - bwalle@suse.de
|
||||||
|
|
||||||
|
@ -16,19 +16,19 @@ Name: kexec-tools
|
|||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
BuildRequires: gcc-64bit glibc-devel-64bit
|
BuildRequires: gcc-64bit glibc-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
%define package_version testing-20080221-rc
|
%define package_version testing-20080226-rc
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Requires: %insserv_prereq %fillup_prereq
|
Requires: %insserv_prereq %fillup_prereq
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Tools for fast kernel loading
|
Summary: Tools for fast kernel loading
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 171
|
Release: 174
|
||||||
Source: %{name}-%{package_version}.tar.bz2
|
Source: %{name}-%{package_version}.tar.bz2
|
||||||
Source1: README.SUSE
|
Source1: README.SUSE
|
||||||
Url: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
|
Url: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Patch1: kexec-tools.ppc32-64bit-purgatory.patch
|
Patch1: kexec-tools.ppc32-64bit-purgatory.patch
|
||||||
Patch2: kexec-tools.gcc-bug.patch
|
Patch2: kexec-tools.gcc-bug.patch
|
||||||
Patch3: kexec-tools-portability-issue
|
Patch3: kexec-tools-portability-issue
|
||||||
@ -62,7 +62,6 @@ cp %{SOURCE1} .
|
|||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-fstack-protector//')
|
RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-fstack-protector//')
|
||||||
%endif
|
%endif
|
||||||
autoconf
|
|
||||||
CFLAGS=$RPM_OPT_FLAGS ./configure \
|
CFLAGS=$RPM_OPT_FLAGS ./configure \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
@ -91,6 +90,12 @@ install -c -m 0644 kexec/kexec.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 26 2008 bwalle@suse.de
|
||||||
|
- update to kexec-tools-testing v20080226-rc
|
||||||
|
o build: include configure and include/config.h.in in dist
|
||||||
|
tarball
|
||||||
|
- adjusted kexec-tools-portability-issue to build without warnings
|
||||||
|
on 32 bit systems
|
||||||
* Thu Feb 21 2008 bwalle@suse.de
|
* Thu Feb 21 2008 bwalle@suse.de
|
||||||
- update to kexec-tools-testing v20080221-rc
|
- update to kexec-tools-testing v20080221-rc
|
||||||
o Only include needed files in distribution tarball
|
o Only include needed files in distribution tarball
|
||||||
|
Loading…
Reference in New Issue
Block a user