makedumpfile/makedumpfile.spec

150 lines
4.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package makedumpfile (Version 1.2.2)
#
# 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
BuildRequires: gcc-c++ libdw-devel libdw1 libelf-devel libelf0 libelf1 zlib-devel
%define elfutils_version 0.124
License: GPL v2 or later
Version: 1.2.2
Release: 1
Summary: Partial kernel dump
Group: System/Kernel
Url: https://sourceforge.net/projects/makedumpfile/
Source: makedumpfile-%{version}.tar.bz2
Patch: makedumpfile-coptflags.diff
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
%setup -n makedumpfile -q
%patch -p1
%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
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING
%doc %{_mandir}/man?/*
/bin/*
%changelog
* 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
* 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
* 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
* 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
* 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.
* Tue Jun 05 2007 - bwalle@suse.de
- fix build
* Tue Jun 05 2007 - bwalle@suse.de
- link dynamically against libc to decrease binary size (initrd
has already libc included) but leave the other libraries linked
statically
* Mon May 21 2007 - tiwai@suse.de
- use external elfutils packages.
* 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
* Thu Mar 29 2007 - rguenther@suse.de
- add zlib-devel BuildRequires
* 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
* Thu Feb 08 2007 - tiwai@suse.de
- updated to version 1.1.1:
* x86-64 DISCONTIGMEM support
* 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.