122 lines
3.6 KiB
RPMSpec
122 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package makedumpfile (Version 1.1.5)
|
|
#
|
|
# 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 zlib-devel
|
|
%define elfutils_version 0.124
|
|
License: GPL v2 or later
|
|
Version: 1.1.5
|
|
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 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.
|