summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2014-12-17 22:06:43 +0100
committerTill Maas <opensource@till.name>2014-12-17 22:06:43 +0100
commit50720b55d918c295dae07ae4f20217a8e05542fb (patch)
tree3adeb488ca5e226513c1a17503a7e6c7f3adf6a7
parent37e11574057b510bf8b98ee4794f6d1d7910741a (diff)
downloadlibstatgrab-el5.tar.gz
libstatgrab-el5.tar.xz
libstatgrab-el5.zip
2014-12-17: Retired orphaned package, because it was orphaned for more than six weeks.el5
Reference: https://fedorahosted.org/epel/ticket/7
-rw-r--r--.gitignore2
-rw-r--r--dead.package3
-rw-r--r--libstatgrab.nochmod.patch52
-rw-r--r--libstatgrab.spec186
-rw-r--r--sources2
5 files changed, 3 insertions, 242 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 3ac7e73..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/libstatgrab-0.90.tar.gz
-/libstatgrab-0.17.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..8d8263d
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,3 @@
+2014-12-17: Retired orphaned package, because it was orphaned for more than six weeks.
+Reference: https://fedorahosted.org/epel/ticket/7
+
diff --git a/libstatgrab.nochmod.patch b/libstatgrab.nochmod.patch
deleted file mode 100644
index e759b35..0000000
--- a/libstatgrab.nochmod.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- src/statgrab/Makefile.am.old 2005-02-04 19:45:16.384407326 +0100
-+++ src/statgrab/Makefile.am 2005-02-04 19:45:23.292225787 +0100
-@@ -19,12 +19,12 @@
- if STATGRAB
- if SETGIDBINS
- # Some operating systems need the binary to be setgid kmem
-- chgrp kmem $(DESTDIR)@bindir@/statgrab
-- chmod g+s $(DESTDIR)@bindir@/statgrab
-+ chgrp kmem $(DESTDIR)@bindir@/statgrab || true
-+ chmod g+s $(DESTDIR)@bindir@/statgrab || true
- endif
- if SETUIDBINS
- # Some operating systems need the binary to be setuid root
-- chown root $(DESTDIR)@bindir@/statgrab
-+ chown root $(DESTDIR)@bindir@/statgrab || true
- chmod u+s $(DESTDIR)@bindir@/statgrab
- endif
- endif
---- src/statgrab/Makefile.in.old 2005-02-04 19:56:55.352716673 +0100
-+++ src/statgrab/Makefile.in 2005-02-04 19:57:31.010601483 +0100
-@@ -507,10 +507,10 @@
-
- install-exec-local:
- # Some operating systems need the binary to be setgid kmem
--@SETGIDBINS_TRUE@@STATGRAB_TRUE@ chgrp kmem $(DESTDIR)@bindir@/statgrab
--@SETGIDBINS_TRUE@@STATGRAB_TRUE@ chmod g+s $(DESTDIR)@bindir@/statgrab
-+@SETGIDBINS_TRUE@@STATGRAB_TRUE@ chgrp kmem $(DESTDIR)@bindir@/statgrab || true
-+@SETGIDBINS_TRUE@@STATGRAB_TRUE@ chmod g+s $(DESTDIR)@bindir@/statgrab || true
- # Some operating systems need the binary to be setuid root
--@SETUIDBINS_TRUE@@STATGRAB_TRUE@ chown root $(DESTDIR)@bindir@/statgrab
-+@SETUIDBINS_TRUE@@STATGRAB_TRUE@ chown root $(DESTDIR)@bindir@/statgrab || true
- @SETUIDBINS_TRUE@@STATGRAB_TRUE@ chmod u+s $(DESTDIR)@bindir@/statgrab
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
---- src/saidar/Makefile.in.old 2005-02-04 20:34:08.108193091 +0100
-+++ src/saidar/Makefile.in 2005-02-04 20:34:34.550848428 +0100
-@@ -474,11 +474,11 @@
-
- install-exec-local:
- # Some operating systems need the binary to be setgid kmem
--@SAIDAR_TRUE@@SETGIDBINS_TRUE@ chgrp kmem $(DESTDIR)@bindir@/saidar
--@SAIDAR_TRUE@@SETGIDBINS_TRUE@ chmod g+s $(DESTDIR)@bindir@/saidar
-+@SAIDAR_TRUE@@SETGIDBINS_TRUE@ chgrp kmem $(DESTDIR)@bindir@/saidar || true
-+@SAIDAR_TRUE@@SETGIDBINS_TRUE@ chmod g+s $(DESTDIR)@bindir@/saidar || true
- # Some operating systems need the binary to be setuid root
--@SAIDAR_TRUE@@SETUIDBINS_TRUE@ chown root $(DESTDIR)@bindir@/saidar
--@SAIDAR_TRUE@@SETUIDBINS_TRUE@ chmod u+s $(DESTDIR)@bindir@/saidar
-+@SAIDAR_TRUE@@SETUIDBINS_TRUE@ chown root $(DESTDIR)@bindir@/saidar || true
-+@SAIDAR_TRUE@@SETUIDBINS_TRUE@ chmod u+s $(DESTDIR)@bindir@/saidar || true
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
diff --git a/libstatgrab.spec b/libstatgrab.spec
deleted file mode 100644
index 884ee73..0000000
--- a/libstatgrab.spec
+++ /dev/null
@@ -1,186 +0,0 @@
-%define shortname statgrab
-
-Summary: Make system statistics
-Name: libstatgrab
-
-Version: 0.17
-Release: 1%{?dist}.2
-Epoch: 1
-
-Source0: http://ftp.i-scream.org/pub/i-scream/%{name}/%{name}-%{version}.tar.gz
-Patch0: %{name}.nochmod.patch
-
-License: LGPLv2+
-Group: System Environment/Libraries
-URL: http://www.i-scream.org/%{name}/
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libtool ncurses-devel
-
-%description
-Libstatgrab is a library that provides cross platform access to statistics
-about the system on which it's run. It's written in C and presents a selection
-of useful interfaces which can be used to access key system statistics. The
-current list of statistics includes CPU usage, memory utilisation, disk usage,
-process counts, network traffic, disk I/O, and more.
-
-The current list of platforms is Solaris 2.x, Linux, and FreeBSD 4.x/5.x.
-The aim is to extend this to include as many operating systems as possible.
-
-The package also includes a couple of useful tools. The first, saidar,
-provides a curses-based interface to viewing the current state of the
-system. The second, statgrab, gives a sysctl-style interface to the
-statistics gathered by libstatgrab. This extends the use of libstatgrab
-to people writing scripts or anything else that can't easily make C
-function calls. Included with statgrab is a script to generate an MRTG
-configuration file to use statgrab.
-
-%package -n %{shortname}-tools
-Summary: Tools from %{name} to monitoring the system
-License: GPLv2+
-Group: Applications/System
-
-%description -n %{shortname}-tools
-This package contains a few tools shiped with libstatgrab.
-Eg. A tool called saidar, which shows various system
-information like top, but - of course - OTHER informations.
-
-%package devel
-Summary: The development files from %{name}
-Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: pkgconfig
-
-%description devel
-This package contains header files and man pages for those
-use to develop libstatgrab based applications.
-
-%package examples
-Summary: The example files from %{name}
-License: GPLv2+
-Group: Development/Tools
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description examples
-This package contains various examples used to show how
-to develop libstatgrab based applications.
-
-%prep
-%setup -q
-%patch0 -p0
-
-%build
-%configure --with-ncurses --disable-static
-
-# remove rpath from libtool
-# shamelessly stolen from cinepaint.spec (thanks!)
-sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-
-make %{?_smp_mflags}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-cd examples/.libs
-install -m 755 cpu_usage disk_traffic load_stats network_iface_stats \
- network_traffic os_info page_stats process_snapshot \
- process_stats user_list vm_stats $RPM_BUILD_ROOT%{_bindir}
-chmod 755 $RPM_BUILD_ROOT%{_bindir}/statgrab-make-mrtg-config
-chmod 755 $RPM_BUILD_ROOT%{_bindir}/saidar
-chmod 755 $RPM_BUILD_ROOT%{_bindir}/statgrab
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%files -n %shortname-tools
-%defattr(-,root,root)
-%doc COPYING
-%{_bindir}/saidar
-%{_bindir}/statgrab
-%{_bindir}/statgrab-make-mrtg-config
-%{_bindir}/statgrab-make-mrtg-index
-%{_mandir}/*/*statgrab*
-%{_mandir}/*/saidar*
-
-%files
-%defattr(-,root,root)
-%doc AUTHORS INSTALL README ChangeLog NEWS COPYING.LGPL examples/*.c
-%{_libdir}/*.so.*
-
-%files devel
-%defattr(-,root,root)
-%{_libdir}/*.so
-%{_libdir}/*.la
-%{_includedir}/*.h
-%{_libdir}/pkgconfig/%name.pc
-%{_mandir}/*/sg_*
-
-%files examples
-%defattr(-,root,root)
-%{_bindir}/cpu_usage
-%{_bindir}/disk_traffic
-%{_bindir}/load_stats
-%{_bindir}/network_iface_stats
-%{_bindir}/network_traffic
-%{_bindir}/os_info
-%{_bindir}/page_stats
-%{_bindir}/process_snapshot
-%{_bindir}/process_stats
-%{_bindir}/user_list
-%{_bindir}/vm_stats
-
-%changelog
-* Tue Sep 17 2013 Oliver Falk <oliver@linux-kernel.at> - 1:0.17-1.2
-- Fix requires (epoch)
-
-* Tue Sep 17 2013 Oliver Falk <oliver@linux-kernel.at> - 1:0.17-1.1
-- Fix BZ#1008491 - too many broken deps
-
-* Tue Aug 13 2013 Oliver Falk <oliver@linux-kernel.at> - 0.90-1
-- Update
-- Should fix BZ#925891
-
-* Mon Aug 20 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.13-4
-- License clarification
-- Fixed License tags for statgrab-tools and libstatgrab-examples
-
-* Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.13-3
-- Bump-n-build
-
-* Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> - 0.13-2
-- Bump for FC6 rebuild
-
-* Thu Apr 20 2006 Oliver Falk <oliver@linux-kernel.at> - 0.13-1
-- Update
-
-* Wed Aug 10 2005 Oliver Falk <oliver@linux-kernel.at> - 0.12-1
-- Update
-- Added saidar manpage
-
-* Fri Jul 08 2005 Oliver Falk <oliver@linux-kernel.at> - 0.11.1-3
-- Included examples/*.c in doc
-
-* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.11.1-2
-- a lot of fixes for Fedora Extras
-
-* Thu May 19 2005 Oliver Falk <oliver@linux-kernel.at> - 0.11.1-1.1
-- Specfile cleanup
-
-* Sun Apr 03 2005 Oliver Falk <oliver@linux-kernel.at> - 0.11.1-1
-- Update
-
-* Fri Mar 25 2005 Oliver Falk <oliver@linux-kernel.at> - 0.11-2.1
-- Fix rpmlint warnings
-
-* Tue Feb 15 2005 Oliver Falk <oliver@linux-kernel.at> - 0.11-2
-- Don't require coreutils. They are normally installed on Fedora, but
- not available on RH 8, where the tools are usually also installed.
- Yes, rebuilding with nodeps would also do it, but it's not fine...
-
-* Tue Feb 15 2005 Oliver Falk <oliver@linux-kernel.at> - 0.11-1
-- Initial build for Fedora Core
diff --git a/sources b/sources
deleted file mode 100644
index da8807a..0000000
--- a/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-b7c349c500fabc14d04c7c1ac7770d94 libstatgrab-0.90.tar.gz
-58385c9392898be3b09ffc5e3ebe8717 libstatgrab-0.17.tar.gz