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