Update of /cvsroot/fink/dists/10.3/unstable/crypto/finkinfo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3121

Modified Files:
        ettercap-ssl.info 
Log Message:
Updated version of ettercap-ssl with variants and PreInstScript

Index: ettercap-ssl.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/crypto/finkinfo/ettercap-ssl.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ettercap-ssl.info   10 Aug 2004 13:29:13 -0000      1.4
+++ ettercap-ssl.info   19 Sep 2004 01:39:25 -0000      1.5
@@ -1,17 +1,63 @@
-Package: ettercap-ssl
+Info2: <<
+Package: ettercap-ssl%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 ), openssl097-shlibs
-BuildDepends: fink (>= 0.12.0-1), cctools (>= 446-1), ncurses-dev, dlcompat-dev, 
openssl097-dev, pcre, libpcap ( >= 0.8.1 )
-Conflicts: ettercap ( <= %v-%r ), ettercap-ssl-gtk ( <= %v-%r ), ettercap-gtk ( <= 
%v-%r )
-Replaces: ettercap ( <= %v-%r ), ettercap-ssl-gtk ( <= %v-%r ), ettercap-gtk ( <= 
%v-%r )
+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 ),
+openssl097-shlibs,
+(%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 ),
+openssl097-dev,
+(%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:ettercap/ettercap-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 --with-openssl=%p --enable-plugins --disable-gtk
+SourceDirectory: ettercap-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 --with-openssl=%p
+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/ettercap
 mv %i/share/ettercap/* %i/etc/ettercap
 rm -rf %i/share/ettercap
@@ -30,13 +76,20 @@
 %p/etc/ettercap/etterfilter.cnt
 %p/etc/ettercap/etterfilter.tbl
 <<
+PreInstScript: <<
+if [ -d %p/share/ettercap ] && [ ! -L /sw/share/ettercap ]; then
+  sudo rmdir %p/share/ettercap
+fi
+<<
 Description: Powerful net sniffer (with OpenSSL)
 DescDetail: <<
 Ettercap is a suite for man in the middle attacks on LAN.
 It features sniffing of live connections, content filtering on the
 fly and many other interesting tricks.
-It supports active and passive dissection of many protocols (even ciphered
-ones) and includes many feature for network and host analysis.
+It supports active and passive dissection of many protocols and
+includes many feature for network and host analysis. 
+This version does not have OpenSSL support. For a version with OpenSSL,
+see the 'ettercap-ssl' package.
 <<
 DescUsage: <<
 Ettercap must be run as root, either through "sudo" or "su -".
@@ -44,13 +97,15 @@
 <<
 DescPackaging: <<
 ConfigureParams places manpages in proper directories, enables ncurses 
-interface, enables plugins, enables PCRE and disables use of the gtk UI.
+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

Reply via email to