2024-01-06 07:35:45 +01:00
|
|
|
Name: nethogs
|
2024-10-09 10:48:39 +02:00
|
|
|
Version: 0.8.8
|
2024-01-06 07:35:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: NetHogs is a small 'net top' tool.
|
|
|
|
Group: Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
2024-10-09 10:48:39 +02:00
|
|
|
URL: https://nethogs.sourceforge.net/
|
2024-01-06 07:35:45 +01:00
|
|
|
Source: https://github.com/raboof/nethogs.git/v%{version}/nethogs-%{version}.tar.bz2
|
2024-01-06 07:35:45 +01:00
|
|
|
Patch0: nethogs-makelist.patch
|
2024-01-06 07:35:45 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libpcap-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%description
|
|
|
|
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 07:35:45 +01:00
|
|
|
%setup -q
|
2024-01-06 07:35:45 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 07:35:45 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:35:45 +01:00
|
|
|
%makeinstall PREFIX=%{_prefix} libdir=%{_libdir} \
|
|
|
|
LIBVERSION=%(echo %version | cut -d. -f1) \
|
|
|
|
LIBSUBVERSION=%(echo %version | cut -d. -f2) \
|
|
|
|
LIBMINORVERSION=%(echo %version | cut -d. -f3)
|
2024-01-06 07:35:45 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/nethogs
|
2024-01-06 07:35:45 +01:00
|
|
|
#%{_libdir}/libnethogs.so.*
|
2024-01-06 07:35:45 +01:00
|
|
|
%{_mandir}/man8/nethogs.8*
|
2024-01-06 07:35:45 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-10-09 10:48:39 +02:00
|
|
|
* Tue Oct 08 2024 Automatic Build System <autodist@openmamba.org> 0.8.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:35:45 +01:00
|
|
|
* Tue Apr 05 2022 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:35:45 +01:00
|
|
|
* Fri Apr 17 2020 Automatic Build System <autodist@mambasoft.it> 0.8.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:35:45 +01:00
|
|
|
* Sun Jul 31 2016 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:35:45 +01:00
|
|
|
* Wed Jul 06 2016 Automatic Build System <autodist@mambasoft.it> 0.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:35:45 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- update to 0.8.1
|
|
|
|
|
2024-01-06 07:35:45 +01:00
|
|
|
* Sun Apr 29 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.8.0-1mamba
|
|
|
|
- package created by autospec
|