%define name ettercap %define version 0.6.b %define release 2mdk %define major 0 Epoch: 1 %define libname %mklibname %name %major Summary: Ettercap is a ncurses-based sniffer/interceptor utility Name: %{name} Version: %{version} Release: %{release} Source: http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.bz2 License: GPL Group: Networking/Other BuildRoot: %{_tmppath}/%{name}-buildroot URL: http://ettercap.sourceforge.net/ BuildRequires: libopenssl-devel Buildrequires: libncurses-devel BuildRequires: libgtk+2.0_0-devel Requires: %libname = %version-%release %description 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 sincronized. 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, router or simple host) and extimated distance in hop. %package -n %{libname} Summary: Libraries for ettercap Group: System/Libraries Epoch: 1 # Epoch sucks Provides: %libname = %version-%release Provides: lib%name = %version-%release %description -n %{libname} Libraries need by ettercap, this include some plugins. %prep %setup -q %build %configure --disable-debug --with-openssl --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 rm -fr $RPM_BUILD_ROOT/%_datadir/doc %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_mandir}/man8/* %doc COPYING README README.PLUGINS README.WIN32 HISTORY CHANGELOG AUTHORS TODO TODO.WIN32 THANKS KNOWN-BUGS PORTINGS INSTALL ./plugins/H01_zaratan/ZARATAN.HOWTO %_sbindir/* %{_datadir}/ettercap %files -n %{libname} %defattr(-,root,root) %{_libdir}/ettercap %changelog * Thu Feb 26 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.b-2mdk - fix dep * Fri Jul 11 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.b-1mdk - 0.6.b * Thu May 08 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.a-1mdk - 0.6.a - epoch 1, version sucks * Thu May 01 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.9-3mdk - still distlint * Wed Apr 30 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.9-2mdk - distlint fix * Thu Apr 03 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.9-1mdk - 0.6.9 - use %%mklibname * Fri Dec 27 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.7-2mdk - rebuild for rpm and glibc * Fri Jul 19 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.7-1mdk - 0.6.7 * Mon Jun 03 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.6.6-1mdk - 0.6.6.6 * Tue Apr 23 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.6.5-1mdk - Adapted for mdk - lib package