%define name ettercap-ng %define version 0.7.3 %define release %mkrel 1 Summary: Ettercap is a ncurses/Gtk2 based sniffer/interceptor utility Name: %{name} Version: %{version} Release: %{release} Source: http://ettercap.sourceforge.net/download/ettercap-NG-%{version}.tar.bz2 License: GPL Group: Networking/Other BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot URL: http://ettercap.sourceforge.net/ BuildRequires: openssl-devel Buildrequires: ncurses-devel BuildRequires: gtk+2-devel BuildRequires: pcre-devel BuildRequires: libnet1.1.2-devel BuildRequires: libtool-devel BuildRequires: flex BuildRequires: bison BuildRequires: libpcap-devel Provides: ettercap = %version-%release # for compatibility Provides: ettercap-NG = %version-%release Obsoletes: ettercap < %version-%release Obsoletes: %mklibname %name 0 Provides: %mklibname %name 0 %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. %prep %setup -q -n ettercap-NG-%{version} %build aclocal libtoolize --copy --force automake -a || : autoconf %configure2_5x \ --disable-debug \ --with-openssl=%{_prefix} \ --enable-gtk \ --enable-plugins %make %make plug-ins %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -fr $RPM_BUILD_ROOT/%_datadir/doc %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS CHANGELOG INSTALL LICENSE README* THANKS TODO TODO.TESTING doc/* %config(noreplace) %_sysconfdir/etter.conf %{_mandir}/man?/* %{_bindir}/* %{_datadir}/ettercap %{_libexecdir}/ettercap %changelog * Sat Aug 05 2006 Olivier Thauvin <nanardon@mandriva.org> + 08/05/06 15:59:49 (53322) - 0.7.3 * Sat Aug 05 2006 Olivier Thauvin <nanardon@mandriva.org> + 08/05/06 15:52:05 (53317) Import ettercap-ng * Fri Mar 17 2006 Oden Eriksson <oeriksson@mandriva.com> 0.7.0-7mdk - rebuilt against libnet1.1.2 * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 0.7.0-6mdk - rebuilt against new libpcap-0.9.1 (aka. a "play safe" rebuild) * Sun Jun 26 2005 Pascal Terjan <pterjan@mandriva.org> 0.7.0-5mdk - The new libnet(>= 1.1.2.1) is needed to build * Wed Nov 24 2004 Abel Cheung <deaddog@mandrake.org> 0.7.0-4mdk - Yet another BuildRequires fix * Sun Nov 21 2004 Abel Cheung <deaddog@mandrake.org> 0.7.0-3mdk - Fix BuildRequires - No library exist, merge everything back to one package * Tue Aug 17 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.7.0-2mdk - s/conflicts/obsoletes/ ettercap * Tue Jul 06 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.7.0-1mdk - 0.7.0 final * Mon Apr 19 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.7.0-0.pre1.1mdk - ettercap NG from ettercap, new version 0.7.0_pre1 * 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