X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ettercap.spec;h=b04ddc5576a811e6994da5d47bf29c017b51da97;hb=2a4c4c84bc7c12f8910f615180296698c9ea1e5b;hp=c610ebb934ba715e9460436269996f6df9728633;hpb=538202b6130544b1edf8e0edf80db2a2da24d8c5;p=packages%2Fettercap.git diff --git a/ettercap.spec b/ettercap.spec index c610ebb..b04ddc5 100644 --- a/ettercap.spec +++ b/ettercap.spec @@ -1,27 +1,38 @@ -Summary: ettercap is a ncurses-based sniffer/interceptor utility -Summary(pl): ettercap jest opartym o ncurses narzêdziem do sniffowania/przechwytywania -Summary(pt_BR): ettercap e um interceptador/sniffer paseado em ncurses +# +# Conditional build: +%bcond_without gtk # build without gtk-based frontend (fewer dependencies) +# +Summary: ettercap - a ncurses-based sniffer/interceptor utility +Summary(pl.UTF-8): ettercap - oparte o ncurses narzędzie do sniffowania/przechwytywania +Summary(pt_BR.UTF-8): ettercap e um interceptador/sniffer paseado em ncurses Name: ettercap -Version: 0.6.a -Release: 1 +Version: 0.7.3 +Release: 17 Epoch: 1 License: GPL Group: Networking/Utilities -Source0: http://dl.sourceforge.net/ettercap/%{name}-%{version}.tar.gz -# Source0-md5: 72bee584510c3bb40568188067f43e3f -Patch0: %{name}-dont_require_root.patch -Patch1: %{name}-ncurses.patch -Patch2: %{name}-plugin_dir.patch -Patch3: %{name}-kernel_version.patch +Source0: http://downloads.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz +# Source0-md5: 28fb15cd024162c55249888fe1b97820 +Patch1: %{name}-build.patch +Patch2: %{name}-as-needed.patch +Patch3: %{name}-libmissing.patch +Patch4: %{name}-shlib_ext.patch +Patch5: %{name}-flags.patch URL: http://ettercap.sourceforge.net/ -BuildRequires: awk -BuildRequires: textutils -BuildRequires: grep BuildRequires: autoconf BuildRequires: automake -BuildRequires: ncurses-devel -BuildRequires: openssl-devel >= 0.9.7 -Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%{?with_gtk:BuildRequires: gtk+2-devel} +BuildRequires: libltdl-devel +BuildRequires: libnet-devel >= 1.1.2.1 +BuildRequires: libpcap-devel +BuildRequires: libtool +BuildRequires: ncurses-ext-devel +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: pcre-devel +BuildRequires: pkgconfig +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define specflags -fomit-frame-pointer %description ettercap is a network sniffer/interceptor/logger for ethernet LANs @@ -29,66 +40,83 @@ ettercap is a network sniffer/interceptor/logger for ethernet LANs 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 -sincronized. Many sniffing modes were implemented to give you a +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 retrives infos about: hosts in -the lan, open ports, services version, type of the host (gateway, +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. +%description -l pl.UTF-8 +ettercap jest wieloczynnościowym snifferem/przechwytywaczem/loggerem +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. +%description -l pt_BR.UTF-8 +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 -#%patch2 -p1 +%setup -q -n %{name}-NG-%{version} +%patch1 -p1 +%patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build +%{__libtoolize} %{__aclocal} %{__autoconf} -CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses" +%{__autoheader} +%{__automake} %configure \ --%{!?debug:dis}%{?debug:en}able-debug \ - --enable-ncurses \ - --disable-gtk + --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \ + --enable-plugins \ + --enable-https %{__make} -%{__make} plug-ins %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT -%{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO -%doc THANKS KNOWN-BUGS PORTINGS -%doc plugins/{H03_hydra1/HYDRA.HOWTO,H01_zaratan/ZARATAN.HOWTO,H09_roper/ROPER.HOWTO} -%attr(755,root,root) %{_sbindir}/* -%{_libdir}/ettercap +%doc README CHANGELOG AUTHORS TODO doc/* +%doc THANKS README.BUGS +%attr(755,root,root) %{_bindir}/* +%dir %{_libdir}/ettercap +%attr(755,root,root) %{_libdir}/ettercap/*.so +%{_libdir}/ettercap/*.la %{_datadir}/ettercap %{_mandir}/man8/* +%{_mandir}/man5/* +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/etter.conf