2007-01-10 01:58:04 +01:00
|
|
|
#
|
2008-08-14 02:38:19 +02:00
|
|
|
# spec file for package systemtap (Version 0.7.1)
|
2007-01-10 01:58:04 +01:00
|
|
|
#
|
2008-01-12 03:27:42 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 01:58:04 +01:00
|
|
|
#
|
2008-08-14 02:38:19 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 01:58:04 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-14 17:58:07 +01:00
|
|
|
|
2007-01-10 01:58:04 +01:00
|
|
|
Name: systemtap
|
2007-10-22 17:52:18 +02:00
|
|
|
BuildRequires: gcc-c++ glib2-devel libcap-devel libebl-devel pkg-config sqlite-devel
|
2008-08-14 02:38:19 +02:00
|
|
|
# for documents
|
|
|
|
BuildRequires: latex2html
|
2008-09-13 12:19:36 +02:00
|
|
|
%define package_version 20080906
|
2007-07-04 23:57:08 +02:00
|
|
|
License: GPL v2 or later
|
2008-08-14 02:38:19 +02:00
|
|
|
Version: 0.7.1
|
2008-12-16 17:49:03 +01:00
|
|
|
Release: 28
|
2007-01-10 01:58:04 +01:00
|
|
|
Summary: Instrumentation System
|
|
|
|
Group: Development/Tools/Debuggers
|
2007-10-22 17:52:18 +02:00
|
|
|
Url: http://sourceware.org/systemtap/
|
2007-01-10 01:58:04 +01:00
|
|
|
# Requires: kernel-source gcc make
|
|
|
|
# Suggest: kernel-smp-debuginfo
|
2007-10-22 17:52:18 +02:00
|
|
|
Source: ftp://sources.redhat.com/pub/systemtap/snapshots/systemtap-%{package_version}.tar.bz2
|
2008-08-14 02:38:19 +02:00
|
|
|
Patch: systemtap-docdir-fix.diff
|
2008-11-04 17:58:25 +01:00
|
|
|
Patch2: stap-fix-dump_unwindsyms.patch
|
2008-11-21 15:53:24 +01:00
|
|
|
Patch3: systemtap-parameter-bound-check.diff
|
2008-12-05 15:49:58 +01:00
|
|
|
Patch4: systemtap-ioblock-fix.diff
|
2008-12-15 15:08:38 +01:00
|
|
|
Patch5: systemtap-dwarf_getsrcfiles-no-assert.diff
|
|
|
|
Patch6: systemtap-netcat-fix1.diff
|
|
|
|
Patch7: systemtap-netcat-fix2.diff
|
2008-12-16 17:49:03 +01:00
|
|
|
Patch8: systemtap-2.6.28-fixes.diff
|
|
|
|
Requires: libebl1
|
2007-01-10 01:58:04 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
SystemTap is an instrumentation system for systems running Linux 2.6.
|
|
|
|
Developers can write instrumentation to collect data on the operation
|
|
|
|
of the system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Frank Ch. Eigler <fche@redhat.com>
|
|
|
|
Graydon Hoare <graydon@redhat.com>
|
|
|
|
Martin Hunt <hunt@redhat.com>
|
|
|
|
Tom Zanussi <zanussi@us.ibm.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
# %setup -n %{name}-%{package_version} -q -a1
|
2007-05-21 18:48:08 +02:00
|
|
|
%setup -n src -q
|
2008-06-25 23:56:44 +02:00
|
|
|
%patch
|
2008-11-04 17:58:25 +01:00
|
|
|
%patch2 -p1
|
2008-11-21 15:53:24 +01:00
|
|
|
%patch3
|
2008-12-05 15:49:58 +01:00
|
|
|
%patch4
|
2008-12-15 15:08:38 +01:00
|
|
|
%patch5
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
2008-12-16 17:49:03 +01:00
|
|
|
%patch8
|
2007-01-10 01:58:04 +01:00
|
|
|
|
|
|
|
%build
|
2008-08-14 02:38:19 +02:00
|
|
|
autoreconf -fi
|
2008-12-15 15:08:38 +01:00
|
|
|
%configure
|
2008-06-25 23:56:44 +02:00
|
|
|
make %{?jobs:-j %jobs}
|
2007-01-10 01:58:04 +01:00
|
|
|
|
|
|
|
%install
|
2008-12-15 15:08:38 +01:00
|
|
|
%if %suse_version < 1030
|
|
|
|
# workaround for old autoconf
|
|
|
|
export MKDIR_P="mkdir -p"
|
|
|
|
%endif
|
2007-06-06 18:18:07 +02:00
|
|
|
%makeinstall
|
2007-01-10 01:58:04 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/cache/systemtap
|
2008-08-14 02:38:19 +02:00
|
|
|
cp README AUTHORS NEWS COPYING $RPM_BUILD_ROOT%{_docdir}/systemtap/
|
2007-01-10 01:58:04 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-08-14 02:38:19 +02:00
|
|
|
%doc %{_docdir}/systemtap
|
2007-01-10 01:58:04 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
%{_libdir}/systemtap
|
|
|
|
%{_datadir}/systemtap
|
|
|
|
%dir %attr(0755,root,root) /var/cache/systemtap
|
2008-01-12 03:27:42 +01:00
|
|
|
|
2007-02-25 23:39:54 +01:00
|
|
|
%changelog
|
2008-12-16 17:49:03 +01:00
|
|
|
* Tue Dec 16 2008 tiwai@suse.de
|
|
|
|
- Fix dependency on libebl1 (bnc#448331, #445783)
|
|
|
|
- Fix stap for 2.6.28 kernels
|
2008-12-15 15:08:38 +01:00
|
|
|
* Fri Dec 12 2008 tiwai@suse.de
|
|
|
|
- Don't assert of dwarf_getsrcfiles(). This hits recent SUSE
|
|
|
|
kernels (bnc#455992)
|
|
|
|
- Backport fix patches for stap-*-server scripts to run with
|
|
|
|
netcat (bnc#446686)
|
|
|
|
* Mon Dec 08 2008 tiwai@suse.de
|
|
|
|
- fixed unresolved path in man pages (bnc#457217)
|
|
|
|
- fixed build for old distros on OBS
|
2008-12-05 15:49:58 +01:00
|
|
|
* Thu Dec 04 2008 tiwai@suse.de
|
|
|
|
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
|
2008-11-21 15:53:24 +01:00
|
|
|
* Fri Nov 21 2008 tiwai@suse.de
|
|
|
|
- Add the bound check of parameters to fix segfault (bnc#447551)
|
2008-11-04 17:58:25 +01:00
|
|
|
* Tue Nov 04 2008 tiwai@suse.de
|
|
|
|
- Fix systemtap assertion with CONFIG_RELOCATABLE (bnc#440351)
|
2008-09-13 12:19:36 +02:00
|
|
|
* Thu Sep 11 2008 tiwai@suse.de
|
|
|
|
- updated to snapshot 20080906
|
|
|
|
* Fix / clean up autotools stuff
|
|
|
|
* Ugly workaround for 2.6.27 and later kernel
|
|
|
|
* stap-server updates
|
|
|
|
* Lots of small fixes
|
2008-08-14 02:38:19 +02:00
|
|
|
* Tue Aug 12 2008 tiwai@suse.de
|
|
|
|
- updated to snapshot 20080809
|
|
|
|
* bump to 0.7.1
|
|
|
|
* tutorials
|
|
|
|
* examples
|
|
|
|
* i386-fix merged
|
|
|
|
* previous patches are all merged in
|
|
|
|
- add latex2html to buildrequires for generating documents
|
2008-06-25 23:56:44 +02:00
|
|
|
* Fri Jun 20 2008 tiwai@suse.de
|
|
|
|
- fix run on i386 (bnc#401970)
|
|
|
|
- don't include obsolete linux/compile.h.
|
|
|
|
* Wed Jun 18 2008 tiwai@suse.de
|
|
|
|
- updated to snapshot 20080614:
|
|
|
|
* bump to version 0.7, man page updates, misc fixes
|
|
|
|
see ChangeLog for details
|
2008-03-14 17:58:07 +01:00
|
|
|
* Fri Mar 14 2008 tiwai@suse.de
|
|
|
|
- updated to snapshot 20080308:
|
|
|
|
* configure fixes, compile option changes
|
|
|
|
* fixes for 2.6.25 kernel
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Jan 30 2008 tiwai@suse.de
|
|
|
|
- updated to snapshot 20080126
|
|
|
|
* fix configure and automake stuff
|
|
|
|
* gcc 4.3 fix is included
|
|
|
|
* ufprobes fixes, improvements
|
|
|
|
* reorganized probe condition implementation.
|
|
|
|
* Fri Jan 11 2008 tiwai@suse.de
|
2008-01-12 03:27:42 +01:00
|
|
|
- updated to snapshot 20080105
|
|
|
|
- fixed build of the snapshot with gcc 4.3
|
2008-01-30 21:34:34 +01:00
|
|
|
* Mon Nov 19 2007 tiwai@suse.de
|
2007-11-19 17:37:06 +01:00
|
|
|
- enable gcc-4.3 patch (yes, we use only gcc4.3 now)
|
|
|
|
- updated to snapshot 20071117
|
2008-01-30 21:34:34 +01:00
|
|
|
* Thu Oct 25 2007 tiwai@suse.de
|
2007-10-26 01:57:13 +02:00
|
|
|
- disable gcc-4.3 fix again since it breaks older gccs...
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Oct 24 2007 tiwai@suse.de
|
2007-10-25 02:29:49 +02:00
|
|
|
- fix build with gcc 4.3
|
2008-01-30 21:34:34 +01:00
|
|
|
* Mon Oct 22 2007 tiwai@suse.de
|
2007-10-22 17:52:18 +02:00
|
|
|
- updated to snapshot 20071020:
|
|
|
|
* bump up version 0.6
|
|
|
|
* bunch of updates and fixes, see ChangeLog
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue Aug 14 2007 tiwai@suse.de
|
2007-08-15 20:37:22 +02:00
|
|
|
- updated to snapshot 20070811:
|
|
|
|
* Updated -m MODNAME usage
|
|
|
|
* Rework on line editing functions
|
2008-01-30 21:34:34 +01:00
|
|
|
* Mon Jul 16 2007 tiwai@suse.de
|
2007-07-16 18:22:32 +02:00
|
|
|
- updated to snapshot 20070714:
|
|
|
|
* configure fix for sqlite
|
|
|
|
* support for crash extension module
|
|
|
|
* new enum for type column in coverage_element
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Jul 04 2007 tiwai@suse.de
|
2007-07-04 23:57:08 +02:00
|
|
|
- updated to snapshot 20070630:
|
|
|
|
* auto-tools fixes, sqlite3 requirement
|
|
|
|
- add sqlite-devel and glib2-devel to buildrequires
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Jun 06 2007 tiwai@suse.de
|
2007-06-06 18:18:07 +02:00
|
|
|
- updated to snapshot 20070602:
|
|
|
|
* fix for gcc4.3
|
|
|
|
* minor fixes in elaborate.*
|
|
|
|
- include the snapshot date into version string
|
|
|
|
- clean up spec file
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue May 22 2007 tiwai@suse.de
|
2007-05-22 18:34:24 +02:00
|
|
|
- updated to snapshot 20070519:
|
|
|
|
* Updated temporary handlings
|
|
|
|
* Autoconf tweaks
|
|
|
|
* Performance improvements with const and temporary handlings
|
|
|
|
* Removed do_write and do_read probles, added aio_write,
|
|
|
|
aio_read, writev and readv probes.
|
2008-01-30 21:34:34 +01:00
|
|
|
* Mon May 21 2007 tiwai@suse.de
|
2007-05-21 18:48:08 +02:00
|
|
|
- use the external elfutils packages.
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue Apr 24 2007 tiwai@suse.de
|
2007-04-24 22:38:33 +02:00
|
|
|
- updated to snapshot 20070421 and elfutils-0.127:
|
|
|
|
* minor compile warning fixes
|
|
|
|
* add interruptible parameter
|
|
|
|
* improvement on documents
|
|
|
|
* fix for debugfs and relayfs mounts
|
|
|
|
* see ChangeLog for other changes
|
2008-01-30 21:34:34 +01:00
|
|
|
* Mon Mar 19 2007 tiwai@suse.de
|
2007-03-20 01:19:02 +01:00
|
|
|
- updated to snapshot 20070317:
|
|
|
|
including all fix patches
|
2008-01-30 21:34:34 +01:00
|
|
|
* Thu Mar 08 2007 tiwai@suse.de
|
2007-03-09 01:51:26 +01:00
|
|
|
- fix the handling of function arguments in more generic way
|
|
|
|
(#245310, #252311)
|
|
|
|
added a new option -P to switch the prologue-search behavior
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Mar 07 2007 tiwai@suse.de
|
2007-03-07 22:50:43 +01:00
|
|
|
- fix misalignment of exception table entry on s390x (#249576)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Mon Feb 26 2007 tiwai@suse.de
|
2007-02-26 13:25:47 +01:00
|
|
|
- fix crash with large H value in hist_linear() (#248430)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Fri Feb 23 2007 tiwai@suse.de
|
2007-02-25 23:39:54 +01:00
|
|
|
- fix mmap syscall on s390x (#248110)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Thu Feb 15 2007 tiwai@suse.de
|
2007-02-15 18:08:01 +01:00
|
|
|
- fix a wrong name of store_deref definition (#245544)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Feb 14 2007 tiwai@suse.de
|
2007-02-15 18:08:01 +01:00
|
|
|
- fix the handling of function arguments on s390x (#245310)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue Feb 06 2007 tiwai@suse.de
|
2007-02-07 00:34:56 +01:00
|
|
|
- update to snapshot 20070203, bugfixes including:
|
|
|
|
* add missing sockets tapset support (#239346)
|
|
|
|
* fix the array membership (#242481)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Jan 31 2007 tiwai@suse.de
|
2007-02-02 15:47:32 +01:00
|
|
|
- turn on Autoprov again to fix broken dependency.
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue Jan 30 2007 tiwai@suse.de
|
2007-01-30 18:08:10 +01:00
|
|
|
- update to snapshot 20070120 and elfutils-0.125 to fix major
|
|
|
|
bugs (#238710):
|
|
|
|
* fixed libdw known bugs in elfutils 0.124
|
|
|
|
* add the missing support of tapsetr/errno.stp for s390x
|
|
|
|
* fix conditionals in syscall tapset for s390x
|
|
|
|
* new macros to safely read/write values from kernel pointers
|
|
|
|
* fix the non-standard C behavior to handle NULL in an array
|
|
|
|
* fixed support for benchmarking mode with off-line code
|
|
|
|
* added support to allow user to use array size declarations
|
|
|
|
* reduce number of calls to stp_module_relocate within $tvar
|
|
|
|
functions
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue Jan 09 2007 tiwai@suse.de
|
2007-01-10 01:58:04 +01:00
|
|
|
- updated to the recent snapshot version (FATE 301670).
|
|
|
|
* fix cache bugs
|
|
|
|
* auto-tools fixes
|
|
|
|
* probe registartion rework
|
|
|
|
* allow negative numeric literals
|
|
|
|
* bugfixes/optmizations
|
|
|
|
- elfutls 1.2.4
|
|
|
|
removed codes with problematic license in elfutils (#232894)
|
2008-01-30 21:34:34 +01:00
|
|
|
* Thu Aug 24 2006 tiwai@suse.de
|
2007-01-10 01:58:04 +01:00
|
|
|
- update elfutils to 1.2.3, including vmlinux.debuginfo fix.
|
2008-01-30 21:34:34 +01:00
|
|
|
* Thu Aug 24 2006 tiwai@suse.de
|
2007-01-10 01:58:04 +01:00
|
|
|
- fix the auto-lookup of vmlinux debuginfo for SUSE systems
|
|
|
|
- fix the stp compilation with 2.6.18 kernel
|
2008-01-30 21:34:34 +01:00
|
|
|
* Wed Aug 09 2006 tiwai@suse.de
|
2007-01-10 01:58:04 +01:00
|
|
|
- updated to latest snapshot (version 0.5.8)
|
|
|
|
with elfutils-1.2.2.
|
2008-01-30 21:34:34 +01:00
|
|
|
* Tue Apr 18 2006 mason@suse.de
|
2007-01-10 01:58:04 +01:00
|
|
|
- Update to latest snapshot
|
2008-01-30 21:34:34 +01:00
|
|
|
* Sun Apr 09 2006 mason@suse.de
|
2007-01-10 01:58:04 +01:00
|
|
|
- created package
|