]> git.pld-linux.org Git - packages/ettercap.git/blob - ettercap.spec
- rel 4
[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:        4
11 Epoch:          1
12 License:        GPL
13 Group:          Networking/Utilities
14 Source0:        http://dl.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz
15 # Source0-md5:  28fb15cd024162c55249888fe1b97820
16 Patch1:         %{name}-ncurses.patch
17 Patch2:         %{name}-plugin_dir.patch
18 Patch3:         %{name}-kernel_version.patch
19 Patch4:         %{name}-as-needed.patch
20 URL:            http://ettercap.sourceforge.net/
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 %{?with_gtk:BuildRequires:      gtk+2-devel}
24 BuildRequires:  libltdl-devel
25 BuildRequires:  libnet-devel >= 1.1.2.1
26 BuildRequires:  libpcap-devel
27 BuildRequires:  ncurses-ext-devel
28 BuildRequires:  openssl-devel >= 0.9.7d
29 BuildRequires:  pcre-devel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         specflags       -fomit-frame-pointer
33
34 %description
35 ettercap is a network sniffer/interceptor/logger for ethernet LANs
36 (both switched or not). It supports active and passive dissection of
37 many protocols (even ciphered ones, like SSH and HTTPS). Data
38 injection in an established connection and filtering (substitute or
39 drop a packet) on the fly is also possible, keeping the connection
40 synchronized. Many sniffing modes were implemented to give you a
41 powerful and complete sniffing suite. Plugins are supported. It has
42 the ability to check whether you are in a switched LAN or not, and to
43 use OS fingerprints (active or passive) to let you know the geometry
44 of the LAN. The passive scan of the LAN retrieves infos about: hosts
45 in the lan, open ports, services version, type of the host (gateway,
46 router or simple host) and extimated distance in hop.
47
48 %description -l pl.UTF-8
49 ettercap jest wieloczynnościowym snifferem/przechwytywaczem/loggerem
50 dla sieci LAN (opartych na switchach lub hubach). Obsługuje aktywną i
51 pasywną analizę wielu protokołów (nawet szyfrowanych, jak SSH czy
52 HTTPS). Możliwe jest także wstrzykiwanie lub filtrowanie danych
53 (podmiana lub usunięcie pakietu) w locie, przy podtrzymaniu
54 synchronizacji połączenia. Program ma zaimplementowane wiele trybów
55 sniffowania, aby dać potężne i kompletne narzędzie. Obsługiwane są
56 wtyczki. Program ma możliwość sprawdzania, czy pracuje w sieci ze
57 switchami oraz używania odcisków systemów (aktywnego lub pasywnego) do
58 poznania geometrii sieci. Pasywne skanowanie sieci uzyskuje informacje
59 o: hostach w sieci, otwartych portach, wersjach usług, rodzajach
60 hostów (bramki, routery lub zwykłe komputery) oraz przybliżonych
61 odległościach (w hopach).
62
63 %description -l pt_BR.UTF-8
64 ettercap é um sniffer/interceptor/logger de rede para redes locais
65 (com uso de switches ou não). Suporta operações ativas e passivas de
66 vá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
69 conexão sincronizada. Muitos modos de sniffing foram implementadas
70 para proporcionar a você um completo conjunto de sniffing. Plugins são
71 suportados. Tem a habilidade de verificar se você está em uma rede
72 local com switches ou não. Utiliza fingerprints do Sistema Operacional
73 (ativo ou passivo) para permitir que você conheça a geometria da rede
74 local. A varredura passiva da rede local obtém informações sobre:
75 hosts 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.
77
78 %prep
79 %setup -q -n %{name}-NG-%{version}
80 #%patch1 -p0
81 #%patch2 -p1
82 %patch4 -p1
83
84 %build
85 #cp -f /usr/share/automake/config.sub .
86 #%{__aclocal}
87 #%{__autoconf}
88 #%{__autoheader}
89 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
90 %configure \
91         --%{!?debug:dis}%{?debug:en}able-debug \
92         --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \
93         --enable-plugins \
94         --enable-https
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 %dir %{_libdir}/ettercap
112 %attr(755,root,root) %{_libdir}/ettercap/*.so
113 %{_libdir}/ettercap/*.la
114 %{_datadir}/ettercap
115 %{_mandir}/man8/*
116 %{_mandir}/man5/*
117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/etter.conf
This page took 0.092552 seconds and 4 git commands to generate.