|
|
cf59ad |
Summary: A console-based network monitoring utility
|
|
|
cf59ad |
Name: iptraf-ng
|
|
|
cf59ad |
Version: 1.1.4
|
|
|
c2c72f |
Release: 6%{?dist}
|
|
|
cf59ad |
Source0: https://fedorahosted.org/releases/i/p/iptraf-ng/%{name}-%{version}.tar.gz
|
|
|
c2c72f |
Source1: %{name}-logrotate.conf
|
|
|
c2c72f |
Source2: %{name}-tmpfiles.conf
|
|
|
cf59ad |
URL: https://fedorahosted.org/iptraf-ng/
|
|
|
cf59ad |
License: GPLv2+
|
|
|
cf59ad |
Group: Applications/System
|
|
|
cf59ad |
BuildRequires: ncurses-devel
|
|
|
cf59ad |
Obsoletes: iptraf < 3.1
|
|
|
cf59ad |
Provides: iptraf = 3.1
|
|
|
cf59ad |
Patch01: 0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch
|
|
|
c2c72f |
Patch02: 0002-Makefile-add-Werror-format-security.patch
|
|
|
c2c72f |
Patch03: 0001-fix-segfault-in-adding-interface.patch
|
|
|
cf59ad |
|
|
|
cf59ad |
%description
|
|
|
cf59ad |
IPTraf-ng is a console-based network monitoring utility. IPTraf gathers
|
|
|
cf59ad |
data like TCP connection packet and byte counts, interface statistics
|
|
|
cf59ad |
and activity indicators, TCP/UDP traffic breakdowns, and LAN station
|
|
|
cf59ad |
packet and byte counts. IPTraf-ng features include an IP traffic monitor
|
|
|
c2c72f |
which shows TCP olag information, packet and byte counts, ICMP
|
|
|
cf59ad |
details, OSPF packet types, and oversized IP packet warnings;
|
|
|
cf59ad |
interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP
|
|
|
cf59ad |
packet counts, IP checksum errors, interface activity and packet size
|
|
|
cf59ad |
counts; a TCP and UDP service monitor showing counts of incoming and
|
|
|
cf59ad |
outgoing packets for common TCP and UDP application ports, a LAN
|
|
|
cf59ad |
statistics module that discovers active hosts and displays statistics
|
|
|
cf59ad |
about their activity; TCP, UDP and other protocol display filters so
|
|
|
cf59ad |
you can view just the traffic you want; logging; support for Ethernet,
|
|
|
cf59ad |
FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the
|
|
|
cf59ad |
built-in raw socket interface of the Linux kernel, so it can be used
|
|
|
cf59ad |
on a wide variety of supported network cards.
|
|
|
cf59ad |
|
|
|
cf59ad |
%prep
|
|
|
cf59ad |
%setup -q
|
|
|
cf59ad |
%patch01 -p1
|
|
|
c2c72f |
%patch02 -p1
|
|
|
c2c72f |
%patch03 -p1
|
|
|
cf59ad |
|
|
|
cf59ad |
%build
|
|
|
c2c72f |
make %{?_smp_mflags} V=1 CFLAGS="-g -O2 -Wall -W -std=gnu99 -Werror=format-security %{optflags}"
|
|
|
cf59ad |
|
|
|
cf59ad |
%install
|
|
|
cf59ad |
rm -rf %{buildroot}
|
|
|
cf59ad |
make install DESTDIR=%{buildroot} prefix=%{_prefix}
|
|
|
cf59ad |
|
|
|
cf59ad |
# remove everything besides the html and pictures in Documentation
|
|
|
cf59ad |
find Documentation -type f | grep -v '\.html$\|\.png$\|/stylesheet' | \
|
|
|
cf59ad |
xargs rm -f
|
|
|
cf59ad |
|
|
|
cf59ad |
install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/iptraf-ng
|
|
|
cf59ad |
|
|
|
c2c72f |
install -d -m 0755 %{buildroot}%{_localstatedir}/{log,lib}/iptraf-ng
|
|
|
c2c72f |
|
|
|
c2c72f |
mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
|
|
|
c2c72f |
install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
|
|
c2c72f |
|
|
|
c2c72f |
mkdir -p %{buildroot}/run
|
|
|
c2c72f |
install -d -m 0755 %{buildroot}/run/%{name}/
|
|
|
cf59ad |
|
|
|
cf59ad |
%clean
|
|
|
cf59ad |
rm -rf %{buildroot}
|
|
|
cf59ad |
|
|
|
cf59ad |
%files
|
|
|
cf59ad |
%defattr(-,root,root,-)
|
|
|
cf59ad |
%doc CHANGES FAQ LICENSE README* RELEASE-NOTES
|
|
|
cf59ad |
%doc Documentation
|
|
|
cf59ad |
%{_sbindir}/iptraf-ng
|
|
|
cf59ad |
%{_sbindir}/rvnamed-ng
|
|
|
cf59ad |
%{_mandir}/man8/iptraf-ng.8*
|
|
|
cf59ad |
%{_mandir}/man8/rvnamed-ng.8*
|
|
|
cf59ad |
%{_localstatedir}/log/iptraf-ng
|
|
|
cf59ad |
%{_localstatedir}/lib/iptraf-ng
|
|
|
cf59ad |
%config(noreplace) %{_sysconfdir}/logrotate.d/iptraf-ng
|
|
|
c2c72f |
%dir /run/%{name}/
|
|
|
c2c72f |
%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
|
|
cf59ad |
|
|
|
cf59ad |
%changelog
|
|
|
c2c72f |
* Fri Apr 15 2016 Phil Cameron <pcameron@redhat.com> - 1.1.4-6
|
|
|
c2c72f |
- fix 1283773 - segfault in rate_add_rate
|
|
|
c2c72f |
|
|
|
c2c72f |
Jun 17 2014 Alejandro Pérez <aeperezt@fedoraproject.org>
|
|
|
c2c72f |
fix 1109768 bad configuration logrotate
|
|
|
c2c72f |
Mar 02 2014 Alejandro Pérez <aeperezt@fedoraproject.org>
|
|
|
c2c72f |
fix bug 1020552 - rpm report /var/lock/ipraf-ng is missing
|
|
|
c2c72f |
added missing file iptraf-nf-tmpfiles.conf
|
|
|
c2c72f |
Dec 03 2013 Nikola Pajkovsky <npajkovs@redhat.com>
|
|
|
c2c72f |
Fedora start using -Werror=format-security and iptraf-ng had some
|
|
|
c2c72f |
parts where error compilation was trigged.
|
|
|
c2c72f |
202b2e7b27a1 Makefile: add -Werror=format-security
|
|
|
c2c72f |
Resolved: #1037133
|
|
|
c2c72f |
|
|
|
92fab0 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1.4-4
|
|
|
92fab0 |
- Mass rebuild 2014-01-24
|
|
|
92fab0 |
|
|
|
92fab0 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.4-3
|
|
|
92fab0 |
- Mass rebuild 2013-12-27
|
|
|
92fab0 |
|
|
|
cf59ad |
* Mon Sep 02 2013 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.4-2
|
|
|
cf59ad |
- 9b32013 BUGFIX: fix "Floating point exception" in tcplog_flowrate_msg() (Vitezslav Samel)
|
|
|
cf59ad |
|
|
|
cf59ad |
* Tue Jul 23 2013 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.4
|
|
|
cf59ad |
- new upstream iptraf-ng-1.1.4
|
|
|
cf59ad |
|
|
|
cf59ad |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3.1-4
|
|
|
cf59ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cf59ad |
|
|
|
cf59ad |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3.1-3
|
|
|
cf59ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
cf59ad |
|
|
|
cf59ad |
* Thu May 24 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.3.1-2
|
|
|
cf59ad |
- append standard CFLAGS
|
|
|
cf59ad |
|
|
|
cf59ad |
* Wed May 23 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.3.1-1
|
|
|
cf59ad |
- new upstream iptraf-ng-1.1.3.1-1
|
|
|
cf59ad |
|
|
|
cf59ad |
* Fri May 04 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.2-1
|
|
|
cf59ad |
- new upstream iptraf-ng-1.1.2-1
|
|
|
cf59ad |
|
|
|
cf59ad |
* Fri Apr 27 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.2.rc0-1
|
|
|
cf59ad |
- new upstream iptraf-ng-1.1.2.rc0-1
|
|
|
cf59ad |
|
|
|
cf59ad |
* Thu Feb 02 2012 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.1-1
|
|
|
cf59ad |
- new upstream iptraf-ng-1.1.1
|
|
|
cf59ad |
|
|
|
c2c72f |
* Sun Jan 16 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.0-2
|
|
|
cf59ad |
- fix wrongly used execl
|
|
|
cf59ad |
|
|
|
c2c72f |
* Tue Jan 11 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.0-1
|
|
|
cf59ad |
- Initialization build
|