New sockstat package added

This commit is contained in:
2020-04-09 10:40:55 +02:00
parent 0dd3c4a2b0
commit 3c898f89dd
2 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
Name: sockstat
Version: 0.4.1
Release: 1%{?dist}
Summary: View detailed information about open connections
License: BSD-3
URL: https://github.com/alteholz/sockstat/
Source0: %{name}-%{version}.tar.gz
# disable debug:
%global debug_package %{nil}
%description
View detailed information about open connections
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
%{__install} -D %{name} %{buildroot}%{_bindir}/%{name}
%{__install} -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%files
%doc LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Thu Apr 9 2020 Daniel Steiner <daniel.steiner@dsteiner.org>
- Initial version for CentOS 8 (0.4.1).