2007-02-05 15:40:30 +01:00
|
|
|
#
|
2007-11-02 12:11:35 +01:00
|
|
|
# spec file for package makedumpfile (Version 1.2.2)
|
2007-02-05 15:40:30 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: makedumpfile
|
2007-11-02 12:11:35 +01:00
|
|
|
BuildRequires: gcc-c++ libdw-devel libdw1 libelf-devel libelf0 libelf1 zlib-devel
|
2007-02-05 15:40:30 +01:00
|
|
|
%define elfutils_version 0.124
|
2007-07-27 13:02:44 +02:00
|
|
|
License: GPL v2 or later
|
2007-11-02 12:11:35 +01:00
|
|
|
Version: 1.2.2
|
2007-06-12 18:36:00 +02:00
|
|
|
Release: 1
|
2007-02-05 15:40:30 +01:00
|
|
|
Summary: Partial kernel dump
|
|
|
|
Group: System/Kernel
|
2007-10-10 11:33:02 +02:00
|
|
|
Url: https://sourceforge.net/projects/makedumpfile/
|
2007-02-05 15:40:30 +01:00
|
|
|
Source: makedumpfile-%{version}.tar.bz2
|
2007-05-21 18:10:15 +02:00
|
|
|
Patch: makedumpfile-coptflags.diff
|
2007-02-05 15:40:30 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
makedumpfile is a dump program to shorten the size of dump file. It
|
|
|
|
copies only the necessary pages for analysis with various dump levels,
|
|
|
|
and can compress the page data. The obtained dump file can by analyzed
|
|
|
|
via gdb or crash utility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
NEC Corporation
|
|
|
|
|
|
|
|
%prep
|
2007-05-21 18:10:15 +02:00
|
|
|
%setup -n makedumpfile -q
|
2007-06-05 18:25:42 +02:00
|
|
|
%patch -p1
|
2007-02-05 15:40:30 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
make COPTFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/bin
|
|
|
|
install -c -m 0755 makedumpfile $RPM_BUILD_ROOT/bin
|
|
|
|
install -c -m 0755 makedumpfile-R.pl $RPM_BUILD_ROOT/bin
|
2007-03-11 00:02:29 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
|
|
|
install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
2007-02-05 15:40:30 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-03-11 00:02:29 +01:00
|
|
|
%doc README COPYING
|
|
|
|
%doc %{_mandir}/man?/*
|
2007-02-05 15:40:30 +01:00
|
|
|
/bin/*
|
2007-03-11 00:02:29 +01:00
|
|
|
%changelog
|
2007-11-02 12:11:35 +01:00
|
|
|
* Fri Nov 02 2007 - bwalle@suse.de
|
|
|
|
- updated to 1.2.2
|
|
|
|
o Fix the problem that vmcoreinfo cannot be extracted from ELF32
|
|
|
|
/proc/vmcore.
|
|
|
|
* Thu Oct 11 2007 - bwalle@suse.de
|
|
|
|
- adding libelf0 libelf1 to BuildRequires to make the resolver
|
|
|
|
of the BuildService happy for <= 10.2
|
2007-10-10 11:33:02 +02:00
|
|
|
* Wed Oct 10 2007 - bwalle@suse.de
|
|
|
|
- updated to 1.2.1
|
|
|
|
o Add virtual memmap support for x86_64 sparsemem kernel.
|
|
|
|
o Add the message_level (16) for printing the report message.
|
|
|
|
o Add linux-2.6.23 support because makedumpfile was tested on
|
|
|
|
linux-2.6.23.
|
|
|
|
o Change the common/debug message output to STDOUT from
|
|
|
|
STDERR if not specifying '-F' option
|
|
|
|
o Some cleanups
|
|
|
|
* Fri Sep 07 2007 - bwalle@suse.de
|
|
|
|
- updated to 1.2.0
|
|
|
|
o extract vmcoreinfo from /proc/vmcore.
|
|
|
|
o linux-2.6.23-rc4-mm1 support.
|
|
|
|
o Add the "-d 1" option (skip zero-filled pages) for Xen.
|
|
|
|
o Add the feature which gets enum number.
|
|
|
|
o Some Cleanups
|
2007-08-15 20:33:00 +02:00
|
|
|
* Mon Aug 13 2007 - bwalle@suse.de
|
|
|
|
- updated to 1.1.6
|
|
|
|
o linux-2.6.22 support.
|
|
|
|
o Change the check method of free_pages for linux-2.6.21 or
|
|
|
|
later.
|
|
|
|
o Some cleanups
|
2007-07-27 13:02:44 +02:00
|
|
|
* Fri Jul 27 2007 - bwalle@suse.de
|
|
|
|
- updated to 1.1.5
|
|
|
|
o new feature that allows extracting the part of xen hypervisor
|
|
|
|
and domain-0 from /proc/vmcore.
|
|
|
|
o new option '-f' to overwrite existing dumpfile
|
|
|
|
o new option '--message-level "message-level"'
|
|
|
|
o fix the problem that makedumpfile complains about overlapping
|
|
|
|
memory segments.
|
|
|
|
o Rename makedumpfile's config file to "vmcoreinfo file"
|
|
|
|
o Change the method for getting the kernel's OSRELEASE if
|
|
|
|
generating a vmcoreinfo file.
|
|
|
|
o Some cleanups
|
2007-06-12 18:36:00 +02:00
|
|
|
* Mon Jun 11 2007 - bwalle@suse.de
|
|
|
|
- updated to 1.1.4
|
|
|
|
o Add ia64 DISCONTIGMEM support.
|
|
|
|
o Add ia64_vtop.
|
|
|
|
o Add __FUNCTION__ to ERRMSG.
|
|
|
|
o Cleanup README.
|
|
|
|
o Fix DISCONTIGMEM bitmap.
|
|
|
|
o Fix ELF output with overlapping sections.
|
2007-06-05 16:30:56 +02:00
|
|
|
* Tue Jun 05 2007 - bwalle@suse.de
|
2007-06-05 18:25:42 +02:00
|
|
|
- fix build
|
|
|
|
* Tue Jun 05 2007 - bwalle@suse.de
|
2007-06-05 16:30:56 +02:00
|
|
|
- link dynamically against libc to decrease binary size (initrd
|
|
|
|
has already libc included) but leave the other libraries linked
|
|
|
|
statically
|
2007-05-21 18:10:15 +02:00
|
|
|
* Mon May 21 2007 - tiwai@suse.de
|
|
|
|
- use external elfutils packages.
|
2007-04-14 01:03:13 +02:00
|
|
|
* Fri Apr 13 2007 - tiwai@suse.de
|
|
|
|
- updated to version 1.1.3:
|
|
|
|
* 2.6.21 kernel support
|
|
|
|
* fix handling of excluded zero-filled pages for crash
|
|
|
|
* crash can display dump_level
|
2007-03-29 18:20:41 +02:00
|
|
|
* Thu Mar 29 2007 - rguenther@suse.de
|
|
|
|
- add zlib-devel BuildRequires
|
2007-03-11 00:02:29 +01:00
|
|
|
* Fri Mar 09 2007 - tiwai@suse.de
|
|
|
|
- updated to version 1.1.2:
|
|
|
|
* don't exit even for the unsupported kernel version
|
|
|
|
* minor fixes
|
|
|
|
* documents, man page
|
2007-02-09 01:14:20 +01:00
|
|
|
* Thu Feb 08 2007 - tiwai@suse.de
|
|
|
|
- updated to version 1.1.1:
|
|
|
|
* x86-64 DISCONTIGMEM support
|
2007-02-05 15:40:30 +01:00
|
|
|
* Mon Feb 05 2007 - tiwai@suse.de
|
|
|
|
- updated to version 1.1.0:
|
|
|
|
* support SSH transfer
|
|
|
|
* Thu Jan 18 2007 - tiwai@suse.de
|
|
|
|
- updated to version 1.0.9:
|
|
|
|
* fix the calculation of page size.
|
|
|
|
* Tue Jan 09 2007 - tiwai@suse.de
|
|
|
|
- remove codes with problematic license from elfutils-0.124
|
|
|
|
(#232894)
|
|
|
|
* Tue Jan 09 2007 - tiwai@suse.de
|
|
|
|
- added COPYING file (from elfutils)
|
|
|
|
- fixed optimization flags to use $RPM_OPT_FLAGS
|
|
|
|
- fix a minor compile error with C99 standard.
|
|
|
|
* Mon Jan 08 2007 - tiwai@suse.de
|
|
|
|
- initial version: 1.0.8
|
|
|
|
- build statically with elfutils-1.2.4 since elfutils conflicts
|
|
|
|
with the existing libelf.
|