]> git.pld-linux.org Git - packages/iptraf-ng.git/blob - iptraf-ng.spec
- release 2 (by relup.sh)
[packages/iptraf-ng.git] / iptraf-ng.spec
1 Summary:        IPTraf is a console-based network monitoring program
2 Summary(es.UTF-8):      Herramienta para verificación de redes desde consolas
3 Summary(pl.UTF-8):      IPTraf służy do monitorowania sieci
4 Summary(pt_BR.UTF-8):   Ferramenta baseada no console para monitoração de rede
5 Summary(ru.UTF-8):      IPTraf - консольная программа мониторинга сетевого траффика
6 Summary(uk.UTF-8):      IPTraf - консольна програма моніторингу трафіку в мережі
7 Name:           iptraf-ng
8 Version:        1.1.4
9 Release:        2
10 License:        GPL
11 Group:          Networking/Utilities
12 Source0:        https://fedorahosted.org/releases/i/p/iptraf-ng/%{name}-%{version}.tar.gz
13 # Source0-md5:  de27cfeeede96e2acfb0edc8439b034a
14 Patch0:         %{name}-format-security.patch
15 Patch1:         0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch
16 URL:            https://fedorahosted.org/iptraf-ng/
17 BuildRequires:  ncurses-ext-devel >= 5.4
18 Obsoletes:      iptraf
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 IPTraf is a console-based network monitoring utility. IPTraf gathers
23 data like TCP connection packet and byte counts, interface statistics
24 and activity indicators, TCP/UDP traffic breakdowns, and LAN station
25 packet and byte counts. IPTraf features include an IP traffic monitor
26 which shows TCP flag information, packet and byte counts, ICMP
27 details, OSPF packet types, and oversized IP packet warnings;
28 interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP
29 packet counts, IP checksum errors, interface activity and packet size
30 counts; a TCP and UDP service monitor showing counts of incoming and
31 outgoing packets for common TCP and UDP application ports, a LAN
32 statistics module that discovers active hosts and displays statistics
33 about their activity; TCP, UDP and other protocol display filters so
34 you can view just the traffic you want; logging; support for Ethernet,
35 FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the
36 built-in raw socket interface of the Linux kernel, so it can be used
37 on a wide variety of supported network cards.
38
39 %description -l es.UTF-8
40 Herramienta para verificación de redes desde consolas.
41
42 %description -l pl.UTF-8
43 IPTraf jest narzędziem służącym do monitorowania sieci. Posiada
44 kolorowy, prosty w obsłudze interfejs. Współpracuje z wieloma
45 protokołami sieciowymi. Obsługuje standardy : Ethernet i PPP/SLIP.
46
47 %description -l pt_BR.UTF-8
48 O IPTraf é uma ferramenta de monitoração baseada no modo console, para
49 o Linux que mostra informações sobre o tráfego IP.
50
51 %description -l ru.UTF-8
52 IPTraf - консольная программа мониторинга сетевого IP-траффика. Ее
53 можно использовать, среди прочего, для определения типа траффика в
54 вашей сети и того, какой вид сервиса самый используемый на каких
55 компьютерах. IPTraf работает с интерфейсами Ethernet и SLIP/PPP.
56
57 %description -l uk.UTF-8
58 IPTraf - консольна утиліта моніторингу IP-трафіку в мережі. Її можна
59 використовувати, поміж іншим, для визначення типу трафіку у вашій
60 мережі і того, який вид сервісу найбільш використовується на
61 конкретних комп'ютерах. IPTraf працює з інтерфейсами Ethernet та
62 SLIP/PPP.
63
64 %define         _bindir         %{_sbindir}
65 %prep
66 %setup -q
67 %patch0 -p1
68 %patch1 -p1
69
70 %build
71 %configure \
72         CPPFLAGS="-I/usr/include/ncurses"
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT/var/{lib,log}/iptraf-ng
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc CHANGES FAQ README* RELEASE*
88 %doc Documentation/*.{html,png}
89 %attr(755,root,root) %{_sbindir}/iptraf-ng
90 %attr(755,root,root) %{_sbindir}/rvnamed-ng
91 %attr(750,root,root) %dir /var/lib/iptraf-ng
92 %attr(750,root,root) %dir /var/log/iptraf-ng
93 %{_mandir}/man*/*
This page took 0.093845 seconds and 3 git commands to generate.