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