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