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