From f343233b1cbb4bc890bad7bac6b421f01b6ecec894c1b5c24e26d9f1c9688d19 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 10 Mar 2007 23:02:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/makedumpfile?expand=0&rev=3 --- README | 38 -------------------------------------- makedumpfile-1.1.1.tar.bz2 | 3 --- makedumpfile-1.1.2.tar.bz2 | 3 +++ makedumpfile.changes | 8 ++++++++ makedumpfile.spec | 19 ++++++++++++------- 5 files changed, 23 insertions(+), 48 deletions(-) delete mode 100644 README delete mode 100644 makedumpfile-1.1.1.tar.bz2 create mode 100644 makedumpfile-1.1.2.tar.bz2 diff --git a/README b/README deleted file mode 100644 index 0c53ade..0000000 --- a/README +++ /dev/null @@ -1,38 +0,0 @@ -Introduction: - To shorten the size of the dumpfile and the time of creating the - dumpfile, makedumpfile copies only the necessary pages for analysis - to the dumpfile from /proc/vmcore. You can specify the kind of - unnecessary pages with dump_level. If you want to shorten the size - further, enable the compression of the page data. - -Download: - https://sourceforge.net/projects/makedumpfile/ - -Usage: - makedumpfile [-c] [-E] [-d dump_level] [-x vmlinux] dump_mem dump_file - -Example: - If you want to exclude pages filled by zero, cache pages, user pages - and free pages and to enable compression, please execute the following - command. - - # makedumpfile -c -d 31 -x vmlinux /proc/vmcore dumpfile - -SSH transporting support: - For ssh transporting support, -F and -R options are added. - A panic system sends dump data to a remote host with -F option, and - a remote host re-arranges dump data received to a normal dumpfile - (readable by analysis tools) with -R option. - Example-1: - # makedumpfile -F -cd31 -x vmlinux /proc/vmcore | ssh user@host "makedumpfile -R dumpfile" - - A perl script makedumpfile-R.pl implements the same function as '-R' - option. Perl script does not depend on architecture, and a lot of - systems have perl command. Even if a remote host does not have the - makedumpfile command, it is possible to transport a dumpfile to a - remote host with running this script. - Example-2: - 1. Transport the script. - # scp makedumpfile-R.pl user@remote:makedumpfile-R.pl - 2. Transport a dumpfile. - # makedumpfile -F -cd31 -i config /proc/vmcore | ssh user@remote "./makedumpfile-R.pl dumpfile" diff --git a/makedumpfile-1.1.1.tar.bz2 b/makedumpfile-1.1.1.tar.bz2 deleted file mode 100644 index 750235b..0000000 --- a/makedumpfile-1.1.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1bc717c6a3edd8bfb5285c25deeed4c470cf2b3b16b46d3d0d0c02bdb75f9766 -size 25269 diff --git a/makedumpfile-1.1.2.tar.bz2 b/makedumpfile-1.1.2.tar.bz2 new file mode 100644 index 0000000..bc57f56 --- /dev/null +++ b/makedumpfile-1.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00f3d0eb8b3b7e3b34ca6e03ec26b1588da31461798eb4597d479b4f13581597 +size 33957 diff --git a/makedumpfile.changes b/makedumpfile.changes index 3319527..3bfffa1 100644 --- a/makedumpfile.changes +++ b/makedumpfile.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Mar 9 11:55:49 CET 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 8 12:49:58 CET 2007 - tiwai@suse.de diff --git a/makedumpfile.spec b/makedumpfile.spec index 307582c..c666b59 100644 --- a/makedumpfile.spec +++ b/makedumpfile.spec @@ -1,5 +1,5 @@ # -# spec file for package makedumpfile (Version 1.1.1) +# spec file for package makedumpfile (Version 1.1.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -14,14 +14,13 @@ Name: makedumpfile BuildRequires: gcc-c++ %define elfutils_version 0.124 License: GNU General Public License (GPL) -Version: 1.1.1 +Version: 1.1.2 Release: 1 Summary: Partial kernel dump Group: System/Kernel URL: https://sourceforge.net/projects/makedumpfile/ Source: makedumpfile-%{version}.tar.bz2 Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2 -Source2: README Patch: makedumpfile-static-elfutils.diff Patch1: makedumpfile-coptflags.diff Patch2: elfutils-portability.patch @@ -44,7 +43,6 @@ Authors: %setup -n makedumpfile -q -a1 %patch %patch1 -cp %{SOURCE2} . cd elfutils-%{elfutils_version} ls -l backends if [ `wc -l < "backends/sparc_retval.c"` -gt 2 ]; then @@ -73,17 +71,24 @@ make COPTFLAGS="$RPM_OPT_FLAGS" 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 -%doc elfutils-*/COPYING +%doc README COPYING +%doc %{_mandir}/man?/* /bin/* -%changelog -n makedumpfile +%changelog +* 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