Author: undefine Date: Wed Oct 19 16:55:07 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - 0.6.x, old version of ettercap, but with few nice features than ettercap-NG(0.7.x)
---- Files affected: SPECS: ettercap6.spec (1.59 -> 1.60) ---- Diffs: ================================================================ Index: SPECS/ettercap6.spec diff -u SPECS/ettercap6.spec:1.59 SPECS/ettercap6.spec:1.60 --- SPECS/ettercap6.spec:1.59 Sun Aug 7 13:14:05 2005 +++ SPECS/ettercap6.spec Wed Oct 19 18:55:01 2005 @@ -1,32 +1,25 @@ # $Revision$, $Date$ -# -# Conditional build: -%bcond_without gtk # build without gtk-based frontend (fewer dependencies) -# 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.7.3 -Release: 1 +Name: ettercap6 +Version: 0.6.b +Release: 5 Epoch: 1 License: GPL Group: Networking/Utilities -Source0: http://dl.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz -# Source0-md5: 28fb15cd024162c55249888fe1b97820 +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: autoconf BuildRequires: automake -%{?with_gtk:BuildRequires: gtk+2-devel} 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 +Provides: ettercap = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define specflags -fomit-frame-pointer @@ -54,11 +47,11 @@ 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). +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 @@ -76,43 +69,50 @@ (gateway, router ou um computador) e a distância estimada no hop. %prep -%setup -q -n %{name}-NG-%{version} -#%patch1 -p0 +%setup -q -n ettercap-%{version} +%patch1 -p0 #%patch2 -p1 -#%patch3 -p1 +%patch3 -p1 +%patch4 %build -#cp -f /usr/share/automake/config.sub . -#%{__aclocal} -#%{__autoconf} -#%{__autoheader} +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 \ - --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \ --enable-plugins \ - --enable-https + --enable-https %{__make} +%{__make} plug-ins %install rm -rf $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 %files %defattr(644,root,root,755) -%doc README CHANGELOG AUTHORS TODO doc/* -%doc THANKS README.BUGS -%attr(755,root,root) %{_bindir}/* -%{_libdir}/ettercap -%{_datadir}/ettercap +%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}/ettercap6 +%{_datadir}/ettercap6 %{_mandir}/man8/* -%{_mandir}/man5/* -%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/etter.conf %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -120,49 +120,8 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ -Revision 1.59 2005/08/07 11:14:05 adamg -- reenabled gtk frontend (bconded, built by default) -- dropped bogus configure options -- adapterized -- release 1 - -Revision 1.58 2005/06/18 22:03:47 areq -- disable gtk - -Revision 1.57 2005/06/12 15:44:17 glen -- need STBR due security (smb check and do it) - -Revision 1.56 2005/05/29 18:06:45 paszczus -- updated to 0.7.3 - -Revision 1.55 2005/05/27 14:15:13 deejay1 -- rel. down to 0.1 - package seriously borked - see %build -- added missing BR's and TODO - -Revision 1.54 2005/05/22 21:34:35 averne -- BR: libnet-devel - -Revision 1.53 2005/03/10 19:23:34 megabajt -- fixed source0 - -Revision 1.52 2004/12/23 10:26:01 luzik -- added BR libnet -- rel 3 - -Revision 1.51 2004/12/23 10:16:51 luzik -- fixed %build -- rel 2 - -Revision 1.50 2004/12/22 12:21:10 qboosh -- workaround for sf - -Revision 1.49 2004/12/22 09:26:51 paszczus -- updated to 0.7.2 - -Revision 1.48 2004/12/21 20:37:39 luzik -- updated to 0.7.1 -- patching hashed -- change Source name to ettercap-NG +Revision 1.60 2005/10/19 16:55:01 undefine +- 0.6.x, old version of ettercap, but with few nice features than ettercap-NG(0.7.x) Revision 1.47 2004/08/18 09:49:15 undefine - release 4 @@ -247,12 +206,12 @@ - STBR Revision 1.22 2002/05/21 23:13:00 kloczek -- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \ +perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \ s/^automake -a -c -f/\%\{__automake\}/; \ - s/^autoconf/\%\{__autoconf\}/" + s/^autoconf/\%\{__autoconf\}/" Revision 1.21 2002/04/25 16:15:53 arturs -- fixed a small typo +fixed a small typo Revision 1.20 2002/04/24 19:00:01 mmazur - updated to 0.6.5; rel 1; STBR @@ -302,7 +261,7 @@ - typo. Revision 1.6 2001/09/06 17:35:14 kloczek -- use --{dis,en}ablele-debug depending on %{debug}. +- use --{dis,en}ablele-debug depending on %%{debug}. Revision 1.5 2001/09/06 16:56:48 mkochano - Added BROKEN kernel_version patch which should make ettercap check version @@ -312,10 +271,10 @@ - added missing BuildRequires and cosmetics. Revision 1.3 2001/09/06 16:11:16 mkochano -- Added plugin_dir patch --- plugins moved to %{_libdir}. They are binary - files (*.so) and AFAIK should not be in %{_datadir}. -- Removed not needed ,,\'' from %build section. -- Corrected %files section --- ettercap now owns %{_libdir}/%{name} +- Added plugin_dir patch --- plugins moved to %%{_libdir}. They are binary + files (*.so) and AFAIK should not be in %%{_datadir}. +- Removed not needed ,,\'' from %%build section. +- Corrected %%files section --- ettercap now owns %%{_libdir}/%%{name} directory. Revision 1.2 2001/09/06 15:39:36 mkochano ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/ettercap6.spec?r1=1.59&r2=1.60&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
