]> git.pld-linux.org Git - packages/ettercap6.git/blob - ettercap6.spec
31a486be390d2ff8f37c5faee6cfd80d68c1d023
[packages/ettercap6.git] / ettercap6.spec
1 # TODO:
2 #       - make GTK work
3 #
4 Summary:        ettercap - a ncurses-based sniffer/interceptor utility
5 Summary(pl):    ettercap - oparte o ncurses narzêdzie do sniffowania/przechwytywania
6 Summary(pt_BR): ettercap e um interceptador/sniffer paseado em ncurses
7 Name:           ettercap
8 Version:        0.7.3
9 Release:        0.1
10 Epoch:          1
11 License:        GPL
12 Group:          Networking/Utilities
13 Source0:        http://dl.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz
14 # Source0-md5:  28fb15cd024162c55249888fe1b97820
15 Patch1:         %{name}-ncurses.patch
16 Patch2:         %{name}-plugin_dir.patch
17 Patch3:         %{name}-kernel_version.patch
18 URL:            http://ettercap.sourceforge.net/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  ncurses-ext-devel
22 BuildRequires:  openssl-devel >= 0.9.7d
23 BuildRequires:  libnet-devel >= 1.1.2.1
24 BuildRequires:  libltdl-devel
25 BuildRequires:  libpcap-devel
26 BuildRequires:  pcre-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         specflags       -fomit-frame-pointer
30
31 %description
32 ettercap is a network sniffer/interceptor/logger for ethernet LANs
33 (both switched or not). It supports active and passive dissection of
34 many protocols (even ciphered ones, like SSH and HTTPS). Data
35 injection in an established connection and filtering (substitute or
36 drop a packet) on the fly is also possible, keeping the connection
37 synchronized. Many sniffing modes were implemented to give you a
38 powerful and complete sniffing suite. Plugins are supported. It has
39 the ability to check whether you are in a switched LAN or not, and to
40 use OS fingerprints (active or passive) to let you know the geometry
41 of the LAN. The passive scan of the LAN retrieves infos about: hosts
42 in the lan, open ports, services version, type of the host (gateway,
43 router or simple host) and extimated distance in hop.
44
45 %description -l pl
46 ettercap jest wieloczynno¶ciowym snifferem/przechwytywaczem/loggerem
47 dla sieci LAN (opartych na switchach lub hubach). Obs³uguje aktywn± i
48 pasywn± analizê wielu protoko³ów (nawet szyfrowanych, jak SSH czy
49 HTTPS). Mo¿liwe jest tak¿e wstrzykiwanie lub filtrowanie danych
50 (podmiana lub usuniêcie pakietu) w locie, przy podtrzymaniu
51 synchronizacji po³±czenia. Program ma zaimplementowane wiele trybów
52 sniffowania, aby daæ potê¿ne i kompletne narzêdzie. Obs³ugiwane s±
53 wtyczki. Program ma mo¿liwo¶æ sprawdzania, czy pracuje w sieci ze
54 switchami oraz u¿ywania odcisków systemów (aktywnego lub pasywnego)
55 do poznania geometrii sieci. Pasywne skanowanie sieci uzyskuje
56 informacje o: hostach w sieci, otwartych portach, wersjach us³ug,
57 rodzajach hostów (bramki, routery lub zwyk³e komputery) oraz
58 przybli¿onych odleg³o¶ciach (w hopach).
59
60 %description -l pt_BR
61 ettercap é um sniffer/interceptor/logger de rede para redes locais
62 (com uso de switches ou não). Suporta operações ativas e passivas de
63 vários protocolos (mesmo os criptografados, como SSH e HTTPS). Também
64 é possível injeção de dados em uma conexão estabelecida e filtragem
65 (substituição ou descarte de um pacote) em tempo real mantendo a
66 conexão sincronizada. Muitos modos de sniffing foram implementadas
67 para proporcionar a você um completo conjunto de sniffing. Plugins são
68 suportados. Tem a habilidade de verificar se você está em uma rede
69 local com switches ou não. Utiliza fingerprints do Sistema Operacional
70 (ativo ou passivo) para permitir que você conheça a geometria da rede
71 local. A varredura passiva da rede local obtém informações sobre:
72 hosts na rede local, portas abertas, versão de serviços, tipo de host
73 (gateway, router ou um computador) e a distância estimada no hop.
74
75 %prep
76 %setup -q -n %{name}-NG-%{version}
77 #%patch1 -p0
78 #%patch2 -p1
79 #%patch3 -p1
80
81 %build
82 #cp -f /usr/share/automake/config.sub .
83 #%{__aclocal}
84 #%{__autoconf}
85 #%{__autoheader}
86 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
87 %configure \
88         --enable-devel \
89         --enable-ncurses \
90         --disable-gtk \
91         --%{!?debug:dis}%{?debug:en}able-debug \
92         --enable-plugins \
93         --enable-https \
94         --enable-gtk
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files
107 %defattr(644,root,root,755)
108 %doc README CHANGELOG AUTHORS TODO doc/*
109 %doc THANKS README.BUGS
110 %attr(755,root,root) %{_bindir}/*
111 %{_libdir}/ettercap
112 %{_datadir}/ettercap
113 %{_mandir}/man8/*
114 %{_mandir}/man5/*
115 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/etter.conf
This page took 0.059276 seconds and 2 git commands to generate.