X-Git-Url: http://git.pld-linux.org/?p=packages%2Fettercap6.git;a=blobdiff_plain;f=ettercap6.spec;h=0ba5e796c18fd662efe3b8e08eef0adf136af3a8;hp=652bbb60dfaeb3a6b52eb79ee47d4edeb5c7e937;hb=374ead66167c2f89dc613f1914ec05908dc8ad7e;hpb=d6fe5b15b05bfb9c070f4b27aeb396b25e589e5c diff --git a/ettercap6.spec b/ettercap6.spec index 652bbb6..0ba5e79 100644 --- a/ettercap6.spec +++ b/ettercap6.spec @@ -1,25 +1,27 @@ -Summary: ettercap is a ncurses-based sniffer/interceptor utility -Summary(pl): ettercap jest opartym o ncurses narzêdziem do sniffowania/przechwytywania +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.7 -Release: 1 +Name: ettercap6 +Version: 0.6.b +Release: 5 +Epoch: 1 License: GPL Group: Networking/Utilities -Source0: http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz -Patch0: %{name}-dont_require_root.patch +Source0: http://dl.sourceforge.net/ettercap/ettercap-%{version}.tar.gz +# Source0-md5: f665cf82347a91f216184537f8f2c4bd Patch1: %{name}-ncurses.patch Patch2: %{name}-plugin_dir.patch Patch3: %{name}-kernel_version.patch +Patch4: %{name}-name.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 +Provides: ettercap = %{version}-%{release} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define specflags -fomit-frame-pointer %description ettercap is a network sniffer/interceptor/logger for ethernet LANs @@ -27,17 +29,28 @@ 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. +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 @@ -55,27 +68,37 @@ hosts na rede local, portas abertas, vers (gateway, router ou um computador) e a distância estimada no hop. %prep -%setup -q -#%patch0 -p1 -%patch1 +%setup -q -n ettercap-%{version} +%patch1 -p0 #%patch2 -p1 %patch3 -p1 +%patch4 %build -aclocal +cp -f /usr/share/automake/config.sub . +%{__aclocal} %{__autoconf} -CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses" +%{__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 %{__make} %{__make} plug-ins %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT -%{__make} plug-ins_install DESTDIR=$RPM_BUILD_ROOT +mv ettercap{,6}.8 + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +%{__make} plug-ins_install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT @@ -84,7 +107,8 @@ rm -rf $RPM_BUILD_ROOT %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 -%{_datadir}/ettercap +%{_libdir}/ettercap6 +%{_datadir}/ettercap6 %{_mandir}/man8/*