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