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