|
|
e6bd45 |
Summary: A console-based network monitoring utility
|
|
|
e6bd45 |
Name: iptraf-ng
|
|
|
883146 |
Version: 1.2.1
|
|
|
883146 |
Release: 2%{?dist}
|
|
|
e6bd45 |
Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz
|
|
|
e6bd45 |
Source1: %{name}-logrotate.conf
|
|
|
e6bd45 |
Source2: %{name}-tmpfiles.conf
|
|
|
e6bd45 |
URL: https://github.com/iptraf-ng/iptraf-ng/
|
|
|
e6bd45 |
License: GPLv2+
|
|
|
e6bd45 |
Group: Applications/System
|
|
|
883146 |
BuildRequires: gcc
|
|
|
e6bd45 |
BuildRequires: ncurses-devel
|
|
|
e6bd45 |
Obsoletes: iptraf < 3.1
|
|
|
e6bd45 |
Provides: iptraf = 3.1
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%description
|
|
|
e6bd45 |
IPTraf-ng is a console-based network monitoring utility. IPTraf gathers
|
|
|
e6bd45 |
data like TCP connection packet and byte counts, interface statistics
|
|
|
e6bd45 |
and activity indicators, TCP/UDP traffic breakdowns, and LAN station
|
|
|
e6bd45 |
packet and byte counts. IPTraf-ng features include an IP traffic monitor
|
|
|
e6bd45 |
which shows TCP flag information, packet and byte counts, ICMP
|
|
|
e6bd45 |
details, OSPF packet types, and oversized IP packet warnings;
|
|
|
e6bd45 |
interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP
|
|
|
e6bd45 |
packet counts, IP checksum errors, interface activity and packet size
|
|
|
e6bd45 |
counts; a TCP and UDP service monitor showing counts of incoming and
|
|
|
e6bd45 |
outgoing packets for common TCP and UDP application ports, a LAN
|
|
|
e6bd45 |
statistics module that discovers active hosts and displays statistics
|
|
|
e6bd45 |
about their activity; TCP, UDP and other protocol display filters so
|
|
|
e6bd45 |
you can view just the traffic you want; logging; support for Ethernet,
|
|
|
e6bd45 |
FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the
|
|
|
e6bd45 |
built-in raw socket interface of the Linux kernel, so it can be used
|
|
|
e6bd45 |
on a wide variety of supported network cards.
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%prep
|
|
|
e6bd45 |
%setup -q
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%build
|
|
|
e6bd45 |
make %{?_smp_mflags} V=1 \
|
|
|
e6bd45 |
CFLAGS="-g -O2 -Wall -W -std=gnu99 -Werror=format-security %{optflags}" \
|
|
|
e6bd45 |
LDFLAGS="$RPM_LD_FLAGS"
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%install
|
|
|
e6bd45 |
rm -rf %{buildroot}
|
|
|
e6bd45 |
make install DESTDIR=%{buildroot} prefix=%{_prefix}
|
|
|
e6bd45 |
|
|
|
e6bd45 |
# remove everything besides the html and pictures in Documentation
|
|
|
e6bd45 |
find Documentation -type f | grep -v '\.html$\|\.png$\|/stylesheet' | \
|
|
|
e6bd45 |
xargs rm -f
|
|
|
e6bd45 |
|
|
|
e6bd45 |
install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/iptraf-ng
|
|
|
e6bd45 |
|
|
|
e6bd45 |
install -d -m 0755 %{buildroot}%{_localstatedir}/{log,lib}/iptraf-ng
|
|
|
e6bd45 |
|
|
|
e6bd45 |
mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
|
|
|
e6bd45 |
install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
|
|
e6bd45 |
|
|
|
e6bd45 |
mkdir -p %{buildroot}/run
|
|
|
e6bd45 |
install -d -m 0755 %{buildroot}/run/%{name}/
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%clean
|
|
|
e6bd45 |
rm -rf %{buildroot}
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%files
|
|
|
e6bd45 |
%defattr(-,root,root,-)
|
|
|
883146 |
%doc CHANGES FAQ LICENSE README*
|
|
|
e6bd45 |
%doc Documentation
|
|
|
e6bd45 |
%{_sbindir}/iptraf-ng
|
|
|
e6bd45 |
%{_mandir}/man8/iptraf-ng.8*
|
|
|
e6bd45 |
%{_localstatedir}/log/iptraf-ng
|
|
|
e6bd45 |
%{_localstatedir}/lib/iptraf-ng
|
|
|
e6bd45 |
%config(noreplace) %{_sysconfdir}/logrotate.d/iptraf-ng
|
|
|
e6bd45 |
%dir /run/%{name}/
|
|
|
e6bd45 |
%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
|
|
e6bd45 |
|
|
|
e6bd45 |
%changelog
|
|
|
883146 |
* Thu Jan 28 2021 Andrea Claudi <aclaudi@redhat.com>
|
|
|
883146 |
- Make sure logrotate use iptraf-ng directory.
|
|
|
883146 |
|
|
|
883146 |
* Wed Dec 09 2020 Andrea Claudi <aclaudi@redhat.com>
|
|
|
883146 |
- New version 1.2.1 (Andrea Claudi) [1906097]
|
|
|
883146 |
|
|
|
883146 |
* Thu Apr 11 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-19
|
|
|
883146 |
- add tests/tests.yml
|
|
|
883146 |
Resolves: rhbz#1682317
|
|
|
883146 |
|
|
|
e6bd45 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-18
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Thu Feb 1 2018 Florian Weimer <fweimer@redhat.com> - 1.1.4-17
|
|
|
e6bd45 |
- Build with linker flags from redhat-rpm-config
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Mon Jan 22 2018 Phil Cameron <pcameron@redhat.com> - 1.1.4-16
|
|
|
e6bd45 |
- Moved upstream from https://fedorahosted.org/iptraf-ng/ to
|
|
|
e6bd45 |
https://github.com/iptraf-ng/iptraf-ng/ with release v1.1.4
|
|
|
e6bd45 |
Fixes error in patch Patch03 - this fixes 1283773
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-15
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-14
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-13
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Sun Apr 17 2016 Alejandro Pérez <aeperezt@fedoraproject.org> - 1.1.4-12
|
|
|
e6bd45 |
- Added sources and clean tree
|
|
|
e6bd45 |
* Fri Apr 15 2016 Phil Cameron <pcameron@redhat.com> - 1.1.4-11
|
|
|
e6bd45 |
- fix 1283773
|
|
|
e6bd45 |
bugfix-positionptr-properly-allocate-newly-create
|
|
|
e6bd45 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-10
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-9
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-8
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Tue Jun 17 2014 Alejandro Pérez <aeperezt@fedoraproject.org> - 1.1.4-7
|
|
|
e6bd45 |
- fix 1109768
|
|
|
e6bd45 |
bad configuration logrotate
|
|
|
e6bd45 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-6
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e6bd45 |
* Sun Mar 02 2014 Alejandro Pérez <aeperezt@fedoraproject.org> - 1.1.4-5
|
|
|
e6bd45 |
- fix bug 1020552
|
|
|
e6bd45 |
rpm report /var/lock/ipraf-ng is missing
|
|
|
e6bd45 |
fix dates on changelog
|
|
|
e6bd45 |
added missing file iptraf-nf-tmpfiles.conf
|
|
|
e6bd45 |
* Tue Dec 03 2013 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.4-4
|
|
|
e6bd45 |
- iptraf-ng-1.1.4-4
|
|
|
e6bd45 |
|
|
|
e6bd45 |
Fedora start using -Werror=format-security and iptraf-ng had some
|
|
|
e6bd45 |
parts where error compilation was trigged.
|
|
|
e6bd45 |
|
|
|
e6bd45 |
202b2e7b27a1 Makefile: add -Werror=format-security
|
|
|
e6bd45 |
|
|
|
e6bd45 |
Resolved: #1037133
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Mon Sep 02 2013 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.4-3
|
|
|
e6bd45 |
- 9b32013 BUGFIX: fix "Floating point exception" in tcplog_flowrate_msg() (Vitezslav Samel)
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Tue Jul 23 2013 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.4
|
|
|
e6bd45 |
- new upstream iptraf-ng-1.1.4
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3.1-4
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3.1-3
|
|
|
e6bd45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Thu May 24 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.3.1-2
|
|
|
e6bd45 |
- append standard CFLAGS
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Wed May 23 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.3.1-1
|
|
|
e6bd45 |
- new upstream iptraf-ng-1.1.3.1-1
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Fri May 04 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.2-1
|
|
|
e6bd45 |
- new upstream iptraf-ng-1.1.2-1
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Fri Apr 27 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.2.rc0-1
|
|
|
e6bd45 |
- new upstream iptraf-ng-1.1.2.rc0-1
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Thu Feb 02 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.1-1
|
|
|
e6bd45 |
- new upstream iptraf-ng-1.1.1
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Sun Jan 16 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.0-2
|
|
|
e6bd45 |
- fix wrongly used execl
|
|
|
e6bd45 |
|
|
|
e6bd45 |
* Tue Jan 11 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.0-1
|
|
|
e6bd45 |
- Initialization build
|