Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7401/10.4-transitional/unstable/main/finkinfo/net
Modified Files: ettercap.info ettercap.patch Log Message: Fix nested functions in ./configure. Switch to gettext3. Index: ettercap.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/net/ettercap.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ettercap.patch 27 Apr 2005 03:26:11 -0000 1.1 +++ ettercap.patch 8 Mar 2006 23:56:45 -0000 1.2 @@ -1,12 +1,54 @@ -diff -Naur ettercap-NG-0.7.0.orig/Makefile.in ettercap-NG-0.7.0/Makefile.in ---- ettercap-NG-0.7.0.orig/Makefile.in Mon Jul 5 21:28:57 2004 -+++ ettercap-NG-0.7.0/Makefile.in Tue Jul 6 12:09:27 2004 +diff -Nurd -x'*~' ettercap-NG-0.7.3.orig/Makefile.in ettercap-NG-0.7.3/Makefile.in +--- ettercap-NG-0.7.3.orig/Makefile.in 2005-05-27 11:11:46.000000000 -0400 ++++ ettercap-NG-0.7.3/Makefile.in 2006-03-08 18:13:44.000000000 -0500 @@ -19,7 +19,7 @@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -+pkglibdir = @FINK_PREFIX@/share/@PACKAGE@/plugins/ ++pkglibdir = $(prefix)/share/@PACKAGE@/plugins/ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +diff -Nurd -x'*~' ettercap-NG-0.7.3.orig/configure ettercap-NG-0.7.3/configure +--- ettercap-NG-0.7.3.orig/configure 2005-05-27 11:11:45.000000000 -0400 ++++ ettercap-NG-0.7.3/configure 2006-03-08 18:11:02.000000000 -0500 +@@ -28243,7 +28243,7 @@ + + fi + +- elif test "$OS" != "MACOSX" -a "$OS" != "WINDOWS"; then ++ elif test "$OS" != "DARWIN" -a "$OS" != "WINDOWS"; then + echo "$as_me:$LINENO: checking whether $CC accepts -pthread" >&5 + echo $ECHO_N "checking whether $CC accepts -pthread... $ECHO_C" >&6 + LDFLAGS_store="$LDFLAGS" +@@ -28260,13 +28260,8 @@ + int + main () + { +- +- int main(int argc, char **argv) +- { + pthread_create(NULL, NULL, NULL, NULL); + return 0; +- } +- + ; + return 0; + } +@@ -29604,15 +29599,10 @@ + int + main () + { +- +- int main(int argc, char **argv) +- { + char *q; + char p[NS_MAXDNAME]; + + dn_expand(q, q, q, p, sizeof(p)); +- } +- + ; + return 0; + } Index: ettercap.info =================================================================== RCS file: /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/net/ettercap.info,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ettercap.info 10 Feb 2006 21:10:53 -0000 1.6 +++ ettercap.info 8 Mar 2006 23:56:45 -0000 1.7 @@ -1,11 +1,11 @@ Info2: << Package: ettercap%type_pkg[-gtk] Version: 0.7.3 -Revision: 2 +Revision: 3 Maintainer: Jeremy Higgs <[EMAIL PROTECTED]> Type: -gtk (boolean) Depends: << -gettext, +libgettext3-shlibs, libiconv, libtool14-shlibs, libncurses5-shlibs, @@ -21,7 +21,7 @@ fink (>= 0.19.2-1), cctools (>= 446-1), -gettext-dev, +libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, @@ -53,10 +53,7 @@ Source: mirror:sourceforge:ettercap/ettercap-NG-%v.tar.gz Source-MD5: 28fb15cd024162c55249888fe1b97820 SourceDirectory: ettercap-NG-%v -PatchScript: << - sed 's|@FINK_PREFIX@|%p|g' < %a/%{Ni}.patch | patch -p1 - perl -pi -e 's/"MACOSX"/"DARWIN"/' configure -<< +Patch: %{Ni}.patch ConfigureParams: --mandir=%p/share/man --with-libpcre=%p --with-libnet=%p --with-libpcap=%p --with-libncurses=%p --enable-plugins --without-openssl --disable-dependency-tracking CompileScript: << #!/bin/bash -ev @@ -117,6 +114,11 @@ << DescPort: << Patch modifies Makefile.in file to put the plugins in the proper directory. + +Fix spelling of token that configure uses to indicate OS X. + +Remove nested functions (prohibitted by gcc4) that are due to mis-use +of AC_TRY_COMPILE macro. << License: GPL Homepage: http://ettercap.sourceforge.net/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits