]> git.pld-linux.org Git - SPECS.git/blob - sniffit.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / sniffit.spec
1 Summary:        Program for demonstrating the unsafeness of TCP
2 Summary(es.UTF-8):      Programa para demonstrar la inseguridad de TCP
3 Summary(pl.UTF-8):      Program do nasłuchu połączeń TCP/UDP/ICMP
4 Summary(pt_BR.UTF-8):   Um analisador de protocolos de rede
5 Name:           sniffit
6 Version:        0.3.7
7 Release:        12
8 Epoch:          1
9 License:        distributable
10 Group:          Networking/Utilities
11 Source0:        http://reptile.rug.ac.be/~coder/sniffit/files/%{name}.%{version}.beta.tar.gz
12 # Source0-md5:  2697cc18878480199fe6db1e61134d5a
13 Patch0:         %{name}-fixes.patch
14 Patch1:         %{name}-gcc33.patch
15 Patch2:         %{name}-am18.patch
16 Patch3:         system-libpcap.patch
17 URL:            http://reptile.rug.ac.be/~coder/sniffit/sniffit.html
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libpcap-devel
21 BuildRequires:  ncurses-devel >= 5.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Sniffit is a packet sniffer for TCP/UDP/ICMP packets. Sniffit is able
26 to give you very detailed technical info on these packets (SEQ, ACK,
27 TTL, Window, ...) but also packet contents in different formats (hex
28 or plain text, ...).
29
30 %description -l es.UTF-8
31 Sniffit es un sniffer de paquetes TCP/UDP/ICMP. Es capaz de dar
32 información técnica muy detallada sobre esos paquetes (SEQ, ACK, TTL,
33 ventana, ...), igual que su contenido en varios formatos (hex, texto
34 plano, ...).
35
36 %description -l pl.UTF-8
37 Sniffit jest programem do podsłuchu pakietów TCP/UDP/ICMP. Sniffit
38 jest w stanie podać Ci bardzo wiele informacji o tych pakietach (SEQ,
39 ACK, TTL, Okno, ...) a także ich zawartość w różnych formatach
40 (szesnastkowo lub w czystej postaci, ...).
41
42 %description -l pt_BR.UTF-8
43 Sniffit é um analisador de redes. Ele monitora o tráfego de rede e
44 produz uma análise compreensível por humanos.
45
46 %prep
47 %setup -q -n %{name}.%{version}.beta
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51 %patch3 -p1
52 %{__sed} -i -e '/strip/d' Makefile.in
53
54 %build
55 cp -f /usr/share/automake/config.sub .
56 %{__aclocal}
57 %{__autoconf}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{5,8}}
64 install -p sniffit $RPM_BUILD_ROOT%{_bindir}
65 cp -a sniffit.5 $RPM_BUILD_ROOT%{_mandir}/man5
66 cp -a sniffit.8 $RPM_BUILD_ROOT%{_mandir}/man8
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc PLUGIN-HOWTO README.FIRST BETA-TESTING
74 %doc HISTORY sample_config_file sniffit-FAQ
75 %attr(755,root,root) %{_bindir}/*
76 %{_mandir}/man?/*
This page took 0.086275 seconds and 3 git commands to generate.