From d83106f2f5f13db0b4999439cd7b99afc2032bbf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:21:51 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.5-1mamba;Thu Jul 10 2014] --- README.md | 2 ++ tcpstat.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 tcpstat.spec diff --git a/README.md b/README.md index 13a06ee..34c9647 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # tcpstat +tcpstat reports certain network interface statistics much like vmstat(8) does for system statistics. tcpstat gets its information by either monitoring a specific interface, or by reading previously saved tcpdump(1) data from a file. + diff --git a/tcpstat.spec b/tcpstat.spec new file mode 100644 index 0000000..37358aa --- /dev/null +++ b/tcpstat.spec @@ -0,0 +1,46 @@ +Name: tcpstat +Version: 1.5 +Release: 1mamba +Summary: A tool to reports certain network interface statistics +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.frenchfries.net/paul/tcpsta +Source: http://www.frenchfries.net/paul/tcpstat/tcpstat-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpcap-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +tcpstat reports certain network interface statistics much like vmstat(8) does for system statistics. tcpstat gets its information by either monitoring a specific interface, or by reading previously saved tcpdump(1) data from a file. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/tcpstat +%{_mandir}/man1/tcpprof.1* +%{_mandir}/man1/tcpstat.1* +%doc AUTHORS COPYING LICENSE + +%changelog +* Thu Jul 10 2014 Silvan Calarco 1.5-1mamba +- package created using the webbuild interface