|
|
cf59ad |
Summary: A console-based network monitoring utility
|
|
|
cf59ad |
Name: iptraf-ng
|
|
|
cf59ad |
Version: 1.1.4
|
|
|
92fab0 |
Release: 4%{?dist}
|
|
|
cf59ad |
Source0: https://fedorahosted.org/releases/i/p/iptraf-ng/%{name}-%{version}.tar.gz
|
|
|
cf59ad |
Source1: iptraf-ng-logrotate.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
|
|
|
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
|
|
|
cf59ad |
which shows TCP flag 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
|
|
|
cf59ad |
|
|
|
cf59ad |
%build
|
|
|
cf59ad |
make %{?_smp_mflags} V=1 CFLAGS="-g -O2 -Wall -W -std=gnu99 %{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 |
|
|
|
cf59ad |
install -d -m 0755 %{buildroot}%{_localstatedir}/{lock,log,lib}/iptraf-ng
|
|
|
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}/lock/iptraf-ng
|
|
|
cf59ad |
%{_localstatedir}/log/iptraf-ng
|
|
|
cf59ad |
%{_localstatedir}/lib/iptraf-ng
|
|
|
cf59ad |
%config(noreplace) %{_sysconfdir}/logrotate.d/iptraf-ng
|
|
|
cf59ad |
|
|
|
cf59ad |
%changelog
|
|
|
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 |
|
|
|
cf59ad |
* Mon Jan 16 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.0-2
|
|
|
cf59ad |
- fix wrongly used execl
|
|
|
cf59ad |
|
|
|
cf59ad |
* Wed Jan 11 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.0-1
|
|
|
cf59ad |
- Initialization build
|