X-Git-Url: http://git.pld-linux.org/?p=packages%2Fettercap6.git;a=blobdiff_plain;f=ettercap6.spec;h=31a486be390d2ff8f37c5faee6cfd80d68c1d023;hp=e7d28293afc3c6d57ae9c7b5fe5c21d1f24af0a6;hb=514a80b120de9de36e584ee57149c6438701ab8c;hpb=82fd73538df86d54024d64b4c9a8d896332eb442 diff --git a/ettercap6.spec b/ettercap6.spec index e7d2829..31a486b 100644 --- a/ettercap6.spec +++ b/ettercap6.spec @@ -1,79 +1,115 @@ -Summary: ettercap is a ncurses-based sniffer/interceptor utility -Summary(pl): ettercap jest opartym o ncurses narzêdziem do sniffowania/przechwytywania +# TODO: +# - make GTK work +# +Summary: ettercap - a ncurses-based sniffer/interceptor utility +Summary(pl): ettercap - oparte o ncurses narzêdzie do sniffowania/przechwytywania +Summary(pt_BR): ettercap e um interceptador/sniffer paseado em ncurses Name: ettercap -Version: 0.6.3.1 -Release: 1 +Version: 0.7.3 +Release: 0.1 +Epoch: 1 License: GPL Group: Networking/Utilities -Group(cs): Sí»ové/Utility -Group(da): Netværks/Værktøj -Group(de): Netzwerkwesen/Dienstprogramme -Group(es): Red/Utilitarios -Group(fr): Réseau/Utilitaires -Group(it): Rete/Utility -Group(no): Nettverks/Verktøy -Group(pl): Sieciowe/Narzêdzia -Group(pt_BR): Rede/Utilitários -Group(pt): Rede/Utilidades -Group(ru): óÅÔÅ×ÙÅ/ðÒÉÌÏÖÅÎÉÑ -Group(sv): Nätverk/Verktyg -Source0: http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz -Patch0: %{name}-dont_require_root.patch +Source0: http://dl.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz +# Source0-md5: 28fb15cd024162c55249888fe1b97820 Patch1: %{name}-ncurses.patch Patch2: %{name}-plugin_dir.patch Patch3: %{name}-kernel_version.patch URL: http://ettercap.sourceforge.net/ -BuildRequires: awk -BuildRequires: textutils -BuildRequires: grep BuildRequires: autoconf BuildRequires: automake -BuildRequires: ncurses-devel -BuildRequires: openssl-devel -Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +BuildRequires: ncurses-ext-devel +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: libnet-devel >= 1.1.2.1 +BuildRequires: libltdl-devel +BuildRequires: libpcap-devel +BuildRequires: pcre-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define specflags -fomit-frame-pointer %description -ettercap is a multipurpose sniffer/interceptor/logger for switched or -"hubbed" LAN. +ettercap is a network sniffer/interceptor/logger for ethernet LANs +(both switched or not). It supports active and passive dissection of +many protocols (even ciphered ones, like SSH and HTTPS). Data +injection in an established connection and filtering (substitute or +drop a packet) on the fly is also possible, keeping the connection +synchronized. Many sniffing modes were implemented to give you a +powerful and complete sniffing suite. Plugins are supported. It has +the ability to check whether you are in a switched LAN or not, and to +use OS fingerprints (active or passive) to let you know the geometry +of the LAN. The passive scan of the LAN retrieves infos about: hosts +in the lan, open ports, services version, type of the host (gateway, +router or simple host) and extimated distance in hop. %description -l pl ettercap jest wieloczynno¶ciowym snifferem/przechwytywaczem/loggerem -dla sieci LAN opartych na switchach lub hubach. +dla sieci LAN (opartych na switchach lub hubach). Obs³uguje aktywn± i +pasywn± analizê wielu protoko³ów (nawet szyfrowanych, jak SSH czy +HTTPS). Mo¿liwe jest tak¿e wstrzykiwanie lub filtrowanie danych +(podmiana lub usuniêcie pakietu) w locie, przy podtrzymaniu +synchronizacji po³±czenia. Program ma zaimplementowane wiele trybów +sniffowania, aby daæ potê¿ne i kompletne narzêdzie. Obs³ugiwane s± +wtyczki. Program ma mo¿liwo¶æ sprawdzania, czy pracuje w sieci ze +switchami oraz u¿ywania odcisków systemów (aktywnego lub pasywnego) +do poznania geometrii sieci. Pasywne skanowanie sieci uzyskuje +informacje o: hostach w sieci, otwartych portach, wersjach us³ug, +rodzajach hostów (bramki, routery lub zwyk³e komputery) oraz +przybli¿onych odleg³o¶ciach (w hopach). + +%description -l pt_BR +ettercap é um sniffer/interceptor/logger de rede para redes locais +(com uso de switches ou não). Suporta operações ativas e passivas de +vários protocolos (mesmo os criptografados, como SSH e HTTPS). Também +é possível injeção de dados em uma conexão estabelecida e filtragem +(substituição ou descarte de um pacote) em tempo real mantendo a +conexão sincronizada. Muitos modos de sniffing foram implementadas +para proporcionar a você um completo conjunto de sniffing. Plugins são +suportados. Tem a habilidade de verificar se você está em uma rede +local com switches ou não. Utiliza fingerprints do Sistema Operacional +(ativo ou passivo) para permitir que você conheça a geometria da rede +local. A varredura passiva da rede local obtém informações sobre: +hosts na rede local, portas abertas, versão de serviços, tipo de host +(gateway, router ou um computador) e a distância estimada no hop. %prep -%setup -q -#%patch0 -p1 -%patch1 -p1 +%setup -q -n %{name}-NG-%{version} +#%patch1 -p0 #%patch2 -p1 -%patch3 -p1 +#%patch3 -p1 %build -aclocal -autoconf +#cp -f /usr/share/automake/config.sub . +#%{__aclocal} +#%{__autoconf} +#%{__autoheader} CFLAGS="%{rpmcflags} -I/usr/include/ncurses" %configure \ + --enable-devel \ + --enable-ncurses \ + --disable-gtk \ --%{!?debug:dis}%{?debug:en}able-debug \ - --enable-ncurses + --enable-plugins \ + --enable-https \ + --enable-gtk %{__make} -%{__make} plug-ins %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT -%{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT - -gzip -9nf \ - README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO \ - THANKS KNOWN-BUGS PORTINGS +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz -%attr(755,root,root) %{_sbindir}/* +%doc README CHANGELOG AUTHORS TODO doc/* +%doc THANKS README.BUGS +%attr(755,root,root) %{_bindir}/* %{_libdir}/ettercap %{_datadir}/ettercap %{_mandir}/man8/* +%{_mandir}/man5/* +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/etter.conf