Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/net In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3453
Modified Files: ettercap.info ettercap.patch Log Message: ettercap 0.7.6 Index: ettercap.patch =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/net/ettercap.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ettercap.patch 12 Dec 2011 17:03:04 -0000 1.1 +++ ettercap.patch 13 Aug 2013 02:21:32 -0000 1.2 @@ -1,15 +1,3 @@ -diff -uNbwr ettercap-NG-0.7.3/src/interfaces/curses/Makefile.in ettercap-NG-0.7.3-new/src/interfaces/curses/Makefile.in ---- ettercap-NG-0.7.3/src/interfaces/curses/Makefile.in 2005-05-27 11:11:54.000000000 -0400 -+++ ettercap-NG-0.7.3-new/src/interfaces/curses/Makefile.in 2008-10-24 01:57:29.000000000 -0400 -@@ -294,7 +294,7 @@ - SUBDIRS = widgets - noinst_HEADERS = ec_curses.h - noinst_LIBRARIES = libec_curses.a --libec_curses_a_CFLAGS = @EC_CFLAGS@ @NCURSINC@ -Iwidgets -+libec_curses_a_CFLAGS = -Iwidgets @EC_CFLAGS@ @NCURSINC@ - libec_curses_a_SOURCES = ec_curses.c \ - ec_curses_filters.c \ - ec_curses_help.c \ diff -uNbwr ettercap-NG-0.7.3/src/interfaces/curses/widgets/wdg.h ettercap-NG-0.7.3-new/src/interfaces/curses/widgets/wdg.h --- ettercap-NG-0.7.3/src/interfaces/curses/widgets/wdg.h 2004-09-28 09:50:37.000000000 -0400 +++ ettercap-NG-0.7.3-new/src/interfaces/curses/widgets/wdg.h 2008-02-19 08:42:09.000000000 -0500 @@ -21,80 +9,3 @@ #ifdef OS_WINDOWS #include <windows.h> -diff -uNbwr ettercap-NG-0.7.3/src/interfaces/text/Makefile.in ettercap-NG-0.7.3-new/src/interfaces/text/Makefile.in ---- ettercap-NG-0.7.3/src/interfaces/text/Makefile.in 2005-05-27 11:11:56.000000000 -0400 -+++ ettercap-NG-0.7.3-new/src/interfaces/text/Makefile.in 2008-10-24 01:57:08.000000000 -0400 -@@ -268,7 +268,7 @@ - DISTCLEANFILES = *~ - noinst_HEADERS = ec_text.h - noinst_LIBRARIES = libec_text.a --libec_text_a_CFLAGS = @EC_CFLAGS@ -I. -+libec_text_a_CFLAGS = -I. @EC_CFLAGS@ - libec_text_a_SOURCES = ec_text.c \ - ec_text_conn.c \ - ec_text_display.c \ -diff -Nurd ettercap/Makefile.in ettercap.patched/Makefile.in ---- ettercap/Makefile.in 2011-12-05 18:02:02.000000000 -0500 -+++ ettercap.patched/Makefile.in 2011-12-12 08:01:08.000000000 -0500 -@@ -19,7 +19,7 @@ - VPATH = @srcdir@ - pkgdatadir = $(datadir)/@PACKAGE@ - pkgincludedir = $(includedir)/@PACKAGE@ --pkglibdir = $(libdir)/@PACKAGE@ -+pkglibdir = $(prefix)/share/@PACKAGE@/plugins/ - pkglibexecdir = $(libexecdir)/@PACKAGE@ - am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd - install_sh_DATA = $(install_sh) -c -m 644 -diff -Nurd ettercap/configure ettercap.patched/configure ---- ettercap/configure 2011-12-05 18:01:58.000000000 -0500 -+++ ettercap.patched/configure 2011-12-12 08:10:26.000000000 -0500 -@@ -15375,7 +15375,7 @@ - - fi - -- elif test "$OS" = "MACOSX"; then -+ elif test "$OS" = "DARWIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5 - $as_echo_n "checking whether $CC accepts -pthread... " >&6; } - LDFLAGS_store="$LDFLAGS" -@@ -15388,13 +15388,8 @@ - int - main () - { -- -- int main(int argc, char **argv) -- { - pthread_create(NULL, NULL, NULL, NULL); - return 0; -- } -- - ; - return 0; - } -@@ -15797,15 +15792,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; - } -@@ -17933,8 +17923,8 @@ - - - --EC_CFLAGS="$DEBUG_FLAGS $PCAPINC $LNETINC $SSLINC $PCREINC $ICONVINC" --EC_LIBS="$LIBS $PCAPLIB $LNETLIB $SSLLIB $PCRELIB $NCURSLIB $GTK_LIBS $ICONVLIB" -+EC_CFLAGS="$DEBUG_FLAGS $SSLINC $PCAPINC $LNETINC $PCREINC $ICONVINC" -+EC_LIBS="$SSLLIB $LIBS $PCAPLIB $LNETLIB $PCRELIB $NCURSLIB $GTK_LIBS $ICONVLIB" - CFLAGS="$EC_CFLAGS" - LDFLAGS="$EC_LIBS" - Index: ettercap.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/net/ettercap.info,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ettercap.info 5 May 2013 18:58:38 -0000 1.4 +++ ettercap.info 13 Aug 2013 02:21:32 -0000 1.5 @@ -1,58 +1,52 @@ Info2: << Package: ettercap%type_pkg[-gtk] -Version: 0.7.4 -Revision: 3 +Version: 0.7.6 +Revision: 1 +Description: Powerful net sniffer (with OpenSSL) +License: GPL Maintainer: None <fink-de...@lists.sourceforge.net> Type: -gtk (boolean) Depends: << - bzip2-shlibs, - libgettext8-shlibs, + libcurl4-shlibs libiconv, libncurses5-shlibs (>= 5.4-20041023-1006), libnet1.1-shlibs (>= 1.1.2.1-3), libpcap1-shlibs, - libtool2-shlibs, libpcre1-shlibs, + libtool2-shlibs, - (%type_raw[-gtk] = -gtk) atk1-shlibs (>= 1.24.0-1), - (%type_raw[-gtk] = -gtk) cairo-shlibs (>= 1.8-1), - (%type_raw[-gtk] = -gtk) expat1-shlibs, - (%type_raw[-gtk] = -gtk) fontconfig2-shlibs (>= 2.4.1-1), - (%type_raw[-gtk] = -gtk) freetype219-shlibs (>= 2.3.7-7), - (%type_raw[-gtk] = -gtk) glib2-shlibs (>= 2.18.0-1), - (%type_raw[-gtk] = -gtk) glitz-shlibs, - (%type_raw[-gtk] = -gtk) gtk+2-shlibs (>= 2.14.0-1), - (%type_raw[-gtk] = -gtk) libpng15-shlibs, - (%type_raw[-gtk] = -gtk) pango1-xft2-ft219-shlibs (>= 1.22.0-4), - (%type_raw[-gtk] = -gtk) pixman-shlibs (>= 0.12.0-1), + (%type_raw[-gtk] = -gtk) atk1-shlibs (>= 1.32.0-1), + (%type_raw[-gtk] = -gtk) cairo-shlibs (>= 11.12.14-1), + (%type_raw[-gtk] = -gtk) fontconfig2-shlibs (>= 2.10.2-1), + (%type_raw[-gtk] = -gtk) freetype219-shlibs (>= 2.4.11-1), + (%type_raw[-gtk] = -gtk) glib2-shlibs (>= 2.22.4-5), + (%type_raw[-gtk] = -gtk) gtk+2-shlibs (>= 2.18.9-11), + (%type_raw[-gtk] = -gtk) pango1-xft2-ft219-shlibs (>= 1.24.5-7), (%type_raw[-gtk] = -gtk) x11 << BuildDepends: << cctools (>= 446-1), - bzip2-dev, + cmake, + fink-package-precedence, gettext-bin, gettext-tools, - libgettext8-dev, + libcurl4, libiconv-dev, libncurses5 (>= 5.4-20041023-1006), libnet1.1 (>= 1.1.2.1-3), libpcap1, - libtool2, libpcre1, + libtool2, system-openssl-dev, - (%type_raw[-gtk] = -gtk) atk1 (>= 1.24.0-1), - (%type_raw[-gtk] = -gtk) cairo (>= 1.8-1), - (%type_raw[-gtk] = -gtk) expat1, - (%type_raw[-gtk] = -gtk) fontconfig2-dev (>= 2.4.1-1), - (%type_raw[-gtk] = -gtk) freetype219 (>= 2.3.7-7), - (%type_raw[-gtk] = -gtk) glib2-dev (>= 2.18.0-1), - (%type_raw[-gtk] = -gtk) glitz, - (%type_raw[-gtk] = -gtk) gtk+2-dev (>= 2.14.0-1), - (%type_raw[-gtk] = -gtk) libpng15, - (%type_raw[-gtk] = -gtk) pango1-xft2-ft219-dev (>= 1.22.0-4), - (%type_raw[-gtk] = -gtk) pixman (>= 0.12.0-1), + (%type_raw[-gtk] = -gtk) atk1 (>= 1.32.0-1), + (%type_raw[-gtk] = -gtk) cairo (>= 1.12.14-1), + (%type_raw[-gtk] = -gtk) fontconfig2-dev (>= 2.10.2-1), + (%type_raw[-gtk] = -gtk) freetype219 (>= 2.4.11-1), + (%type_raw[-gtk] = -gtk) glib2-dev (>= 2.22.4-5), + (%type_raw[-gtk] = -gtk) gtk+2-dev (>= 2.18.9-11), + (%type_raw[-gtk] = -gtk) pango1-xft2-ft219-dev (>= 1.24.5-7), (%type_raw[-gtk] = -gtk) pkgconfig (>= 0.23), (%type_raw[-gtk] = -gtk) x11-dev, (%type_raw[-gtk] = -gtk) xft2-dev @@ -68,49 +62,73 @@ ettercap-ssl-gtk << Source: mirror:sourceforge:ettercap/%{Ni}-%v.tar.gz -Source-MD5: 6846d76af94c0c1c1eb107d1913cc768 -SourceDirectory: %{Ni} +Source-MD5: 7c5f5e1fd4002afdfd13765ef92866e1 +Source-Checksum: SHA1(55818952a8c28beb1b650f3ccc9600a2d784a18f) PatchFile: %{Ni}.patch -PatchFile-MD5: c216173f85dd1de12e637496deff5adf +PatchFile-MD5: 854f5b5483beed16577ccc77cd01d4fb PatchScript: << %{default_script} - perl -pi -e 's/^[a-z]\S*_CFLAGS =/AM_CPPFLAGS =/' `find . -name Makefile.in` - perl -pi -e 's/(COMPILE\) \@EC)_LIBS/\1_CFLAGS/' src/Makefile.in perl -pi -e 's|INSTALL_DATADIR|"%p/share"|' \ src/interfaces/gtk/ec_gtk.c \ + src/ec_debug.c \ src/ec_file.c \ src/ec_sslwrap.c perl -pi -e 's|INSTALL_LIBDIR|"%p/lib"|' src/interfaces/gtk/ec_gtk_plugins.c src/ec_plugins.c perl -pi -e 's|INSTALL_SYSCONFDIR|"%p/etc"|' src/ec_file.c + perl -pi -e 's|MACPORTS_BASE_DIRECTORY|FINK_BASE_DIRECTORY|g' CMakeLists.txt << -UseMaxBuildJobs: false -ConfigureParams: --mandir=%p/share/man --with-libpcre=%p --with-libnet=%p --with-libpcap=%p --with-libncurses=%p --enable-plugins --with-openssl=%p/lib/system-openssl --disable-dependency-tracking +#UseMaxBuildJobs: false SetLDFLAGS: -L%p/lib/system-openssl/lib CompileScript: << - #!/bin/bash -ev - if [ "%type_raw[-gtk]" == "-gtk" ]; then - ./configure %c --enable-gtk PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" - else - ./configure %c --disable-gtk - fi - make + #!/bin/bash -ev + if [ "%type_raw[-gtk]" == "-gtk" ]; then + GTK_PARAMS="-DENABLE_GTK:BOOL=ON" + else + GTK_PARAMS="-DENABLE_GTK:BOOL=OFF" + fi + mkdir finkbuild + pushd finkbuild + cmake \ + -DCMAKE_INSTALL_PREFIX=%p \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DCMAKE_C_FLAGS:STRING=-MD \ + -DINSTALL_SYSCONFDIR=%p/etc \ + -DFINK_BASE_DIRECTORY:PATH=%p \ + -DCURL_INCLUDE_DIR:PATH=%p/include \ + -DCURL_LIBRARY:FILEPATH=%p/lib/libcurl.dylib \ + -DCURSES_CURSES_H_PATH:PATH=%p/include \ + -DCURSES_CURSES_LIBRARY:FILEPATH=%p/lib/libcurses.dylib \ + -DCURSES_NCURSES_LIBRARY:FILEPATH=%p/lib/libncurses.dylib \ + -DHAVE_ICONV:FILEPATH=%p/lib/libiconv.dylib \ + $GTK_PARAMS \ + -LAH .. + make -w VERBOSE=1 + fink-package-precedence --depfile-ext='\.d' . + popd << + InstallScript: << +#!/bin/sh -ev +pushd finkbuild 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 ln -s %p/etc/ettercap %i/share/ettercap +popd << ConfFiles: << -%p/etc/etter.conf +%p/etc/ettercap/etter.conf %p/etc/ettercap/etter.dns %p/etc/ettercap/etter.fields %p/etc/ettercap/etter.filter +%p/etc/ettercap/etter.filter.kill +%p/etc/ettercap/etter.filter.pcre +%p/etc/ettercap/etter.filter.ssh %p/etc/ettercap/etter.finger.mac %p/etc/ettercap/etter.finger.os %p/etc/ettercap/etter.mime +%p/etc/ettercap/etter.nbns %p/etc/ettercap/etter.services %p/etc/ettercap/etter.ssl.crt %p/etc/ettercap/etterfilter.cnt @@ -121,7 +139,7 @@ rmdir %p/share/ettercap fi << -Description: Powerful net sniffer (with OpenSSL) +Homepage: http://www.ettercap-project.org/ DescDetail: << Ettercap is a suite for man in the middle attacks on LAN. It features sniffing of live connections, content filtering on the @@ -135,28 +153,19 @@ Start Ettercap with the -C option to use the curse interface. << DescPackaging: << -ConfigureParams places manpages in proper directories, enables ncurses -interface, enables plugins, enables PCRE and disables use of openssl and gtk UI. +'CMakeParams' points to proper locations of Fink provided libraries, rather +than first looking for system libraries. InstallScript moves configuration files into own directory under PREFIX/etc, and creates symlinks to the previous directory. -Version 0.7.0-1 was updated by Masseboeuf Mathieu <mathie...@users.sourceforge.net>. -Package has been designed to make use of variant support added in Fink 0.19.2. - dmacks unified as part of GNOME2.24 upgrades (0.7.3-1008), - including overhaul of -I ordering +dmacks unified as part of GNOME2.24 upgrades (0.7.3-1008), +including overhaul of -I ordering << 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. - akh: In 0.7.4, for some reason the various INSTALL* tokens weren't getting defined for the build, so I hand-patched them with the proper locations in the Fink filesystem. + +nieder: 0.7.6 moved to a cmake build system. << -License: GPL -Homepage: http://ettercap.sourceforge.net/ << ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs