Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2929
Modified Files:
ettercap.info
Removed Files:
ettercap-gtk.info ettercap-gtk.patch
Log Message:
Updated version of ettercap with variants and PreInstScript
--- ettercap-gtk.patch DELETED ---
--- ettercap-gtk.info DELETED ---
Index: ettercap.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net/ettercap.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ettercap.info 10 Aug 2004 13:28:08 -0000 1.4
+++ ettercap.info 19 Sep 2004 01:38:19 -0000 1.5
@@ -1,35 +1,83 @@
-Package: ettercap
+Info2: <<
+Package: ettercap%type_pkg[-gtk]
Version: 0.7.0
-Revision: 1
+Revision: 4
Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
-Depends: dlcompat-shlibs, libpoll-shlibs, libtool14-shlibs, ncurses-shlibs ( >=
5.3-20031018-2), libpcap-shlibs ( >= 0.8.1 ), pcre-shlibs ( >= 4.2 ), libnet1.1 ( >=
1.1.2.1 )
-BuildDepends: fink (>= 0.12.0-1), cctools (>= 446-1), ncurses-dev, dlcompat-dev,
pcre, libpcap ( >= 0.8.1 )
-Conflicts: ettercap-ssl ( <= %v-%r ), ettercap-ssl-gtk ( <= %v-%r ), ettercap-gtk (
<= %v-%r )
-Replaces: ettercap-ssl ( <= %v-%r ), ettercap-ssl-gtk ( <= %v-%r ), ettercap-gtk ( <=
%v-%r )
-Source: mirror:sourceforge:%n/%n-NG-%v.tar.gz
+Type: -gtk (boolean)
+Depends: <<
+libpoll-shlibs,
+libtool14-shlibs,
+ncurses-shlibs ( >= 5.3-20031018-2),
+libpcap-shlibs ( >= 0.8.1 ),
+pcre-shlibs ( >= 4.2 ),
+libnet1.1 ( >= 1.1.2.1 ),
+(%type_raw[-gtk] = -gtk) glib2-shlibs (>= 2.2.2),
+(%type_raw[-gtk] = -gtk) gtk+2-shlibs (>= 2.2.2),
+(%type_raw[-gtk] = -gtk) atk1-shlibs (>= 1.2.4),
+(%type_raw[-gtk] = -gtk) pango1-xft2-shlibs (>= 1.2.3)
+<<
+BuildDepends: <<
+fink (>= 0.19.2-1),
+cctools (>= 446-1),
+ncurses-dev,
+pcre,
+libpcap ( >= 0.8.1 ),
+(%type_raw[-gtk] = -gtk) glib2-dev (>= 2.2.2),
+(%type_raw[-gtk] = -gtk) gtk+2-dev (>= 2.2.2),
+(%type_raw[-gtk] = -gtk) pango1-xft2-dev (>= 1.2.3),
+(%type_raw[-gtk] = -gtk) pkgconfig (>= 0.15.0)
+<<
+Conflicts: <<
+ettercap,
+ettercap-ssl,
+ettercap-ssl-gtk,
+ettercap-gtk
+<<
+Replaces: <<
+ettercap,
+ettercap-ssl,
+ettercap-ssl-gtk,
+ettercap-gtk
+<<
+Source: mirror:sourceforge:%{Ni}/%{Ni}-NG-%v.tar.gz
Source-MD5: 41eb78c0f047dddbcb81c5444ecbfc96
-PatchScript: sed 's|@FINK_PREFIX@|%p|g' < %a/%n.patch | patch -p1
-ConfigureParams: --mandir=%p/share/man --with-libpcre=%p --with-libnet=%p
--with-libpcap=%p --with-libncurses=%p --enable-plugins --without-openssl --disable-gtk
+SourceDirectory: %{Ni}-NG-%v
+PatchScript: sed 's|@FINK_PREFIX@|%p|g' < %a/%{Ni}.patch | patch -p1
+ConfigureParams: --mandir=%p/share/man --with-libpcre=%p --with-libnet=%p
--with-libpcap=%p --with-libncurses=%p --enable-plugins --without-openssl
+CompileScript: <<
+ #!/bin/bash -ev
+ if [ "%type_raw[-gtk]" == "-gtk" ]; then
+ ./configure %c --enable-gtk
+ else
+ ./configure %c --disable-gtk
+ fi
+ make
+<<
InstallScript: <<
make install DESTDIR=%d
#chmod +x %i/sbin/%n
-mkdir -p %i/etc/%n
-mv %i/share/%n/* %i/etc/%n
-rm -rf %i/share/%n
-ln -s %p/etc/%n %i/share/%n
+mkdir -p %i/etc/%{Ni}
+mv %i/share/%{Ni}/* %i/etc/%{Ni}
+rm -rf %i/share/%{Ni}
+ln -s %p/etc/%{Ni} %i/share/%{Ni}
<<
ConfFiles: <<
%p/etc/etter.conf
-%p/etc/%n/etter.dns
-%p/etc/%n/etter.fields
-%p/etc/%n/etter.filter
-%p/etc/%n/etter.finger.mac
-%p/etc/%n/etter.finger.os
-%p/etc/%n/etter.mime
-%p/etc/%n/etter.services
-%p/etc/%n/etter.ssl.crt
-%p/etc/%n/etterfilter.cnt
-%p/etc/%n/etterfilter.tbl
+%p/etc/%{Ni}/etter.dns
+%p/etc/%{Ni}/etter.fields
+%p/etc/%{Ni}/etter.filter
+%p/etc/%{Ni}/etter.finger.mac
+%p/etc/%{Ni}/etter.finger.os
+%p/etc/%{Ni}/etter.mime
+%p/etc/%{Ni}/etter.services
+%p/etc/%{Ni}/etter.ssl.crt
+%p/etc/%{Ni}/etterfilter.cnt
+%p/etc/%{Ni}/etterfilter.tbl
+<<
+PreInstScript: <<
+if [ -d %p/share/ettercap ] && [ ! -L %p/share/ettercap ]; then
+ sudo rmdir %p/share/ettercap
+fi
<<
Description: Powerful net sniffer (without OpenSSL)
DescDetail: <<
@@ -50,10 +98,12 @@
interface, enables plugins, enables PCRE and disables use of openssl and gtk UI.
InstallScript moves configuration files into own directory under PREFIX/etc,
and creates symlinks to the previous directory.
-This version was updated by Masseboeuf Mathieu <[EMAIL PROTECTED]>.
+Version 0.7.0-1 was updated by Masseboeuf Mathieu <[EMAIL PROTECTED]>.
+Package has been designed to make use of variant support added in Fink 0.19.2.
<<
DescPort: <<
Patch modifies Makefile.in file to put the plugins in the proper directory.
<<
License: GPL
Homepage: http://ettercap.sourceforge.net/
+<<
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits