diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c3024dd..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ifstatus-v1.1.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..42df648 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +upstream is long dead and this no longer compiles in gcc6/f24 diff --git a/ifstatus-1.1.0-fedora.patch b/ifstatus-1.1.0-fedora.patch deleted file mode 100644 index d8e8749..0000000 --- a/ifstatus-1.1.0-fedora.patch +++ /dev/null @@ -1,39 +0,0 @@ -Patch by Robert Scheck for ifstatus >= 1.1.0, -which honors $RPM_OPT_FLAGS by default and allows to override all makefile -variables. Using of variables as been also corrected at missing points. - ---- ifstatus/Makefile 2005-07-13 03:22:03.000000000 +0200 -+++ ifstatus/Makefile.fedora 2009-04-14 00:48:26.000000000 +0200 -@@ -3,7 +3,7 @@ - - GCC = g++ - LDFLAGS = -lncurses --CFLAGS = -O2 -Wall -+CFLAGS = -O2 -Wall $(RPM_OPT_FLAGS) - - BIN = ifstatus - OBJ = BorderDecorator.o\ -@@ -23,9 +23,10 @@ - Window.o - - --INSTDIR = /usr/local/bin --INSTALL=/usr/bin/install --INSTALL_PARMS=-o 0 -g 0 -s -m 0755 -+MKDIR := mkdir -p -+INSTDIR := /usr/local/bin -+INSTALL := /usr/bin/install -+INSTALL_PARMS := -o 0 -g 0 -s -m 0755 - - all : ifstatus printdone - -@@ -38,7 +39,8 @@ - clean: - rm -f ${BIN} *.o core *~ - install: -- $(INSTALL) $(INSTALL_PARMS) ifstatus /usr/local/bin -+ $(MKDIR) $(DESTDIR)$(INSTDIR) -+ $(INSTALL) $(INSTALL_PARMS) $(BIN) $(DESTDIR)$(INSTDIR) - - - diff --git a/ifstatus-1.1.0-gcc44.patch b/ifstatus-1.1.0-gcc44.patch deleted file mode 100644 index 75bc3be..0000000 --- a/ifstatus-1.1.0-gcc44.patch +++ /dev/null @@ -1,66 +0,0 @@ -Patch by Robert Scheck for ifstatus >= 1.1.0, -which adds a few missing #include lines to not violate the C++ standards -and to build successfully with G++ version 4.3 and 4.4. - ---- ifstatus/IFStatus.cc 2006-01-17 00:18:46.000000000 +0100 -+++ ifstatus/IFStatus.cc.gcc44 2009-04-14 00:42:04.000000000 +0200 -@@ -22,6 +22,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#include - #include "Main.h" - #include "IFStatus.h" - #include "Graph.h" ---- ifstatus/GraphDecorator.cc 2006-01-17 01:00:59.000000000 +0100 -+++ ifstatus/GraphDecorator.cc.gcc44 2009-04-14 00:41:38.000000000 +0200 -@@ -21,7 +21,8 @@ - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ -- -+ -+#include - #include "GraphDecorator.h" - #include "Config.h" - ---- ifstatus/Interface.cc 2006-01-17 02:48:27.000000000 +0100 -+++ ifstatus/Interface.cc.gcc44 2009-04-14 00:42:23.000000000 +0200 -@@ -22,6 +22,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#include - #include "Interface.h" - #include "Config.h" - ---- ifstatus/Config.cc 2005-02-26 12:54:51.000000000 +0100 -+++ ifstatus/Config.cc.gcc44 2009-04-14 00:40:13.000000000 +0200 -@@ -22,6 +22,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#include - #include "Main.h" - #include "Config.h" - #include "Util.h" ---- ifstatus/Email.cc 2005-02-26 12:54:51.000000000 +0100 -+++ ifstatus/Email.cc.gcc44 2009-04-14 00:40:44.000000000 +0200 -@@ -22,6 +22,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#include - #include "Email.h" - #include "Config.h" - ---- ifstatus/Interfaces.cc 2006-01-16 23:45:33.000000000 +0100 -+++ ifstatus/Interfaces.cc.gcc44 2009-04-14 00:42:45.000000000 +0200 -@@ -22,6 +22,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#include - #include "Interfaces.h" - #include "Config.h" - #include "Util.h" diff --git a/ifstatus.spec b/ifstatus.spec deleted file mode 100644 index 4d2fbb1..0000000 --- a/ifstatus.spec +++ /dev/null @@ -1,98 +0,0 @@ -Name: ifstatus -Version: 1.1.0 -Release: 17%{?dist} -Summary: Command line real time interface graphs using ncurses - -Group: Applications/Internet -License: GPLv2+ -URL: http://ifstatus.sourceforge.net/ -Source0: http://ifstatus.sourceforge.net/download/%{name}-v%{version}.tar.gz -Patch0: ifstatus-1.1.0-gcc44.patch -Patch1: ifstatus-1.1.0-fedora.patch - -BuildRoot: %{_tmppath}/%{name}-v%{version}-%{release}-buildroot - -BuildRequires: ncurses-devel - -%description -IFStatus was developed for Linux users that are usually in console mode. -It is a simple, easy to use program for displaying commonly needed / wanted -statistics in real time about ingoing and outgoing traffic of multiple -network interfaces that is usually hard to find, with a simple and -effecient view. It is the substitute for PPPStatus and EthStatus projects. - -%prep -%setup -q -n %{name} -%patch0 -p1 -b .gcc44 -%patch1 -p1 -b .fedora - -%build -# The Makefile of the upstream project is non-automake and can't handle -# the %{?smp_mflags} -make CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" - -%install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} INSTDIR=%{_sbindir} INSTALL_PARMS="-m 0755" - -%clean -rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{_sbindir}/%{name} - -%changelog -* Thu Feb 04 2016 Fedora Release Engineering - 1.1.0-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.1.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 1.1.0-15 -- Rebuilt for GCC 5 C++11 ABI change - -* Sat Aug 16 2014 Fedora Release Engineering - 1.1.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.1.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 1.1.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 1.1.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 1.1.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue Feb 28 2012 Fedora Release Engineering - 1.1.0-9 -- Rebuilt for c++ ABI breakage - -* Fri Jan 13 2012 Fedora Release Engineering - 1.1.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Feb 09 2011 Fedora Release Engineering - 1.1.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 1.1.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Apr 22 2009 Adam Miller - 1.1.0-5 -- Added CXXFLAGS and CXFLAGS to resolve debuginfo sources issue - -* Tue Apr 14 2009 Adam Miller - 1.1.0-4 -- Typo in the Summary field. - -* Mon Apr 13 2009 Adam Miller - 1.1.0-3 -- Fixed rpm group tag to match similar utilities -- Fixed build for gcc44 - -* Mon Apr 13 2009 Adam Miller - 1.1.0-2 -- Fixed rpm Group tag - -* Mon Apr 13 2009 Adam Miller - 1.1.0-1 -- First build of ifstatus diff --git a/sources b/sources deleted file mode 100644 index 1988486..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -f4d413f880754fd6677290160f8bc5d7 ifstatus-v1.1.0.tar.gz