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