<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[114401] trunk/dports/net</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/114401">114401</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2013-12-07 05:04:37 -0800 (Sat, 07 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>ettercap: rename from ettercap-ng and update to 0.8.0, now hosted at github and built with cmake (#39266); enable +gtk and +plugins variants by default (why not?); add notes; rename default config files so they don't get clobbered on upgrades; install documentation files</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsnetettercapPortfile">trunk/dports/net/ettercap/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/net/ettercap/</li>
<li><a href="#trunkdportsnetettercapfilespatchdontincludepcapbpfhdiff">trunk/dports/net/ettercap/files/patch-dont-include-pcap-bpf.h.diff</a></li>
<li><a href="#trunkdportsnetettercapfilespatchsafe_free_memdiff">trunk/dports/net/ettercap/files/patch-safe_free_mem.diff</a></li>
<li><a href="#trunkdportsnetettercapfilespatchshareetterconfv6darwindiff">trunk/dports/net/ettercap/files/patch-share-etter.conf.v6-darwin.diff</a></li>
<li><a href="#trunkdportsnetettercapfilespatchsrcprotocolsec_tcpcdiff">trunk/dports/net/ettercap/files/patch-src-protocols-ec_tcp.c.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsnetettercapfilespatchconfigure">trunk/dports/net/ettercap/files/patch-configure</a></li>
<li><a href="#trunkdportsnetettercapfilespatchsrcMakefilein">trunk/dports/net/ettercap/files/patch-src-Makefile.in</a></li>
<li><a href="#trunkdportsnetettercapfilespatchsrcinterfacescurseswidgetswdgh">trunk/dports/net/ettercap/files/patch-src-interfaces-curses-widgets-wdg.h</a></li>
<li><a href="#trunkdportsnetettercapfilespatchsrc__protocols__ec_tcpc">trunk/dports/net/ettercap/files/patch-src__protocols__ec_tcp.c</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsnetettercapPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/ettercap/Portfile (114397 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap-ng/Portfile        2013-12-07 09:47:25 UTC (rev 114397)
+++ trunk/dports/net/ettercap/Portfile        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -1,11 +1,14 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem 1.0
</span><del>-name             ettercap-ng
-version          0.7.3
-revision         5
</del><ins>+PortGroup           cmake 1.0
+PortGroup           github 1.0
+
+github.setup        Ettercap ettercap 0.8.0 v
</ins><span class="cx"> categories       net security
</span><span class="cx"> maintainers      gmail.com:ultrix
</span><ins>+license             GPL-2+
+
</ins><span class="cx"> description      multipurpose sniffer/interceptor/logger for switched LAN
</span><span class="cx"> long_description \
</span><span class="cx">     Ettercap is a multi-functional packet sniffer/interceptor/logger \
</span><span class="lines">@@ -14,43 +17,126 @@
</span><span class="cx">     SSH1, and includes features for network and host analysis. Four \
</span><span class="cx">     modes are available: IP Based, MAC Address Based, ARP Based, and \
</span><span class="cx">     PublicARP Based.
</span><del>-homepage         http://ettercap.sourceforge.net/
</del><ins>+
+homepage            http://ettercap.github.io/ettercap/
</ins><span class="cx"> platforms        darwin freebsd
</span><span class="cx"> 
</span><del>-master_sites     sourceforge:ettercap
-distname         ettercap-NG-${version}
-checksums        md5 28fb15cd024162c55249888fe1b97820
</del><ins>+checksums           rmd160  0a790da4d8a801f41b7ed4887e9b944b24d1d7ad \
+                    sha256  0533f2fb41528d2100e36523772b8c43b1ca96c4720364dbb8bc7e665a6c4da9
</ins><span class="cx"> 
</span><del>-patchfiles       patch-src-Makefile.in patch-configure \
-                 patch-src-interfaces-curses-widgets-wdg.h \
-                 patch-src__protocols__ec_tcp.c
</del><ins>+depends_build-append \
+                    port:pkgconfig
</ins><span class="cx"> 
</span><del>-depends_build    port:pkgconfig
</del><span class="cx"> depends_lib      port:openssl \
</span><span class="cx">                  port:libpcap \
</span><span class="cx">                  port:libnet11 \
</span><del>-                 port:pcre
</del><ins>+                    port:ncurses \
+                    port:pcre \
+                    port:zlib
</ins><span class="cx"> 
</span><del>-configure.args   --disable-gtk \
-                 --disable-plugins \
-                 --with-openssl=${prefix} \
-                 --with-libpcap=${prefix} \
-                 --with-libnet=${prefix} \
-                 --with-libpcre=${prefix} \
-                 --mandir=\\\${prefix}/share/man \
-                 --infodir=\\\${prefix}/share/info
</del><ins>+#patchfiles          patch-src-protocols-ec_tcp.c.diff
+patchfiles          patch-dont-include-pcap-bpf.h.diff \
+                    patch-safe_free_mem.diff
</ins><span class="cx"> 
</span><del>-variant gtk {
-    depends_lib-append    port:gtk2
-    configure.args-delete --disable-gtk
-    configure.args-append --enable-gtk
</del><ins>+configure.dir       ${workpath}/build
+build.dir           ${configure.dir}
+
+post-extract {
+    file mkdir ${configure.dir}
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-variant plugins {
-    depends_lib-append  port:libtool
-    configure.args-delete --disable-plugins
-    configure.args-append --enable-plugins
</del><ins>+set docdir          ${prefix}/share/doc/${subport}
+set sysconfdir      ${prefix}/etc
+set confdir         ${sysconfdir}/${subport}
+set conffiles       {etter.conf etter.dns etter.mdns etter.nbns}
+
+post-patch {
+    reinplace &quot;s|/etc|${prefix}/etc|g&quot; ${worksrcpath}/man/ettercap.8.in
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-# fails, ticket #26060
-universal_variant no
</del><ins>+configure.args-append \
+                    -DBUNDLED_LIBS=OFF \
+                    -DENABLE_CURSES=ON \
+                    -DENABLE_GTK=OFF \
+                    -DENABLE_IPV6=ON \
+                    -DENABLE_LUA=OFF \
+                    -DENABLE_PDF_DOCS=OFF \
+                    -DENABLE_PLUGINS=OFF \
+                    -DENABLE_SSL=ON \
+                    -DENABLE_TESTS=OFF \
+                    -DINSTALL_SYSCONFDIR=${sysconfdir} \
+                    -DSYSTEM_LIBS=ON \
+                    ${worksrcpath}
+
+# The test suite doesn't do much yet, but to try it:
+#depends_build-append    port:check
+#patchfiles-append       patch-dont-use-librt-on-darwin.diff
+#configure.args-append   -DENABLE_TESTS=ON
+#test.run                yes
+
+post-destroot {
+    foreach f ${conffiles} {
+        move ${destroot}${confdir}/${f} ${destroot}${confdir}/${f}.default
+    }
+
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS \
+        CHANGELOG \
+        LICENSE \
+        README \
+        README.BINARIES \
+        README.BUGS \
+        README.OSXLION \
+        THANKS \
+        TODO \
+        TODO.TESTING \
+        ${destroot}${docdir}
+}
+
+post-activate {
+    foreach f ${conffiles} {
+        if {![file exists ${confdir}/${f}]} {
+            copy ${confdir}/${f}.default ${confdir}/${f}
+        }
+    }
+}
+
+variant gtk description {Enable GTK2 support} {
+    depends_lib-append      port:gtk2
+
+    configure.args-replace  -DENABLE_GTK=OFF -DENABLE_GTK=ON
+}
+
+variant plugins description {Enable plugins} {
+    depends_lib-append      port:curl \
+                            port:libtool
+
+    configure.args-replace  -DENABLE_PLUGINS=OFF -DENABLE_PLUGINS=ON
+}
+
+default_variants    +gtk +plugins
+
+notes &quot;
+Without root permission, ettercap will not be able to access your network\
+interfaces, so you probably want to run it as:
+    sudo ettercap
+&quot;
+
+if {[variant_isset gtk]} {
+    notes-append &quot;
+To start the GTK interface, use:
+    sudo ettercap -G
+&quot;
+}
+
+platform darwin {
+    patchfiles-append       patch-share-etter.conf.v6-darwin.diff
+}
+
+platform darwin 11 {
+    notes-append &quot;
+IP forwarding (port forwarding) does not work on OS X 10.7 Lion unless you\
+take special steps. Read ${docdir}/README.OSXLION for more information.
+&quot;
+}
</ins></span></pre></div>
<a id="trunkdportsnetettercapfilespatchconfigure"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/ettercap/files/patch-configure (114397 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap-ng/files/patch-configure        2013-12-07 09:47:25 UTC (rev 114397)
+++ trunk/dports/net/ettercap/files/patch-configure        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>---- configure.orig        2005-05-27 17:11:45.000000000 +0200
-+++ configure        2006-03-04 10:15:05.000000000 +0100
-@@ -28243,7 +28243,7 @@

- fi

--   elif test &quot;$OS&quot; != &quot;MACOSX&quot; -a &quot;$OS&quot; != &quot;WINDOWS&quot;; then
-+   elif test &quot;$OS&quot; != &quot;DARWIN&quot; -a &quot;$OS&quot; != &quot;WINDOWS&quot;; then
-       echo &quot;$as_me:$LINENO: checking whether $CC accepts -pthread&quot; &gt;&amp;5
- echo $ECHO_N &quot;checking whether $CC accepts -pthread... $ECHO_C&quot; &gt;&amp;6
-       LDFLAGS_store=&quot;$LDFLAGS&quot;
-@@ -31725,7 +31725,7 @@
-         owd=`pwd`
-         if cd $withval; then withval=`pwd`; cd $owd; fi
-         LNETINC=&quot;-I$withval/include&quot;
--        LNETLIB=&quot;-L$withval/lib -L$withval/src -lnet&quot;
-+        LNETLIB=&quot;-L$withval/lib -lnet&quot;
-         ac_ec_libnet=$withval
-         echo &quot;$as_me:$LINENO: result: $withval&quot; &gt;&amp;5
- echo &quot;${ECHO_T}$withval&quot; &gt;&amp;6
---- configure.orig        2011-01-27 03:25:41.000000000 +1100
-+++ configure        2011-01-27 03:28:47.000000000 +1100
-@@ -8346,7 +8346,7 @@
-   exit 1
- fi
- gentoo_lt_version=&quot;1.5.18&quot;
--gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
-+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
- if test &quot;$gentoo_lt_version&quot; != &quot;$gentoo_ltmain_version&quot;; then
-   echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
- echo &quot;${ECHO_T}no&quot; &gt;&amp;6
</del></span></pre></div>
<a id="trunkdportsnetettercapfilespatchdontincludepcapbpfhdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/net/ettercap/files/patch-dont-include-pcap-bpf.h.diff (0 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap/files/patch-dont-include-pcap-bpf.h.diff                                (rev 0)
+++ trunk/dports/net/ettercap/files/patch-dont-include-pcap-bpf.h.diff        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+Fix &quot;redefinition of 'bpf_program'&quot;
+https://github.com/Ettercap/ettercap/issues/326
+--- include/ec.h.orig        2013-09-11 15:18:45.000000000 -0500
++++ include/ec.h        2013-12-03 10:58:14.000000000 -0600
+@@ -16,6 +16,11 @@
+    #include &lt;windows.h&gt;
+ #endif

++#ifdef OS_DARWIN
++   #define PCAP_DONT_INCLUDE_PCAP_BPF_H 1
++   #include &lt;net/bpf.h&gt;
++#endif
++
+ #if !defined (__USE_GNU)   /* for memmem(), strsignal(), etc etc... */
+    #define __USE_GNU
+ #endif
+--- src/ec_send.c.orig        2013-09-11 15:18:45.000000000 -0500
++++ src/ec_send.c        2013-12-03 10:58:14.000000000 -0600
+@@ -22,7 +22,6 @@
+ #include &lt;ec.h&gt;

+ #if defined(OS_DARWIN) || defined(OS_BSD)
+-   #include &lt;net/bpf.h&gt;
+    #include &lt;sys/ioctl.h&gt;
+ #endif

</ins></span></pre></div>
<a id="trunkdportsnetettercapfilespatchsafe_free_memdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/net/ettercap/files/patch-safe_free_mem.diff (0 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap/files/patch-safe_free_mem.diff                                (rev 0)
+++ trunk/dports/net/ettercap/files/patch-safe_free_mem.diff        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+Fix &quot;Undefined symbols: '_safe_free_mem'&quot;
+https://github.com/Ettercap/ettercap/issues/344
+https://github.com/eaescob/ettercap/commit/33ac95f78e4f6f067e6bc33b8883b3b7daa896f3
+--- include/ec.h.orig
++++ include/ec.h
+@@ -172,6 +172,9 @@
+ /* exported by ec_main */
+ EC_API_EXTERN void clean_exit(int errcode);

++/* exported by ec_mem */
++EC_API_EXTERN void safe_free_mem(char **param, int *param_length, char *command);
++

+ #endif   /*  EC_H */

+--- src/CMakeLists.txt.orig
++++ src/CMakeLists.txt
+@@ -1,4 +1,5 @@
+ set(EC_SRC
++        ec_mem.c
+         ec_capture.c
+         ec_checksum.c
+         ec_conf.c
+--- /dev/null
++++ src/ec_mem.c
+@@ -0,0 +1,47 @@
++/*
++    ettercap -- global variables handling module
++
++    Copyright (C) ALoR &amp; NaGA
++
++    This program is free software; you can redistribute it and/or modify
++    it under the terms of the GNU General Public License as published by
++    the Free Software Foundation; either version 2 of the License, or
++    (at your option) any later version.
++
++    This program is distributed in the hope that it will be useful,
++    but WITHOUT ANY WARRANTY; without even the implied warranty of
++    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++    GNU General Public License for more details.
++
++    You should have received a copy of the GNU General Public License
++    along with this program; if not, write to the Free Software
++    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++
++*/
++
++#include &lt;ec.h&gt;
++
++void safe_free_mem(char **param, int *param_length, char *command);
++
++
++void safe_free_mem(char **param, int *param_length, char *command)
++{
++   int k;
++
++   SAFE_FREE(command);
++        for(k= 0; k &lt; (*param_length); ++k)
++                SAFE_FREE(param[k]);
++        SAFE_FREE(param);
++}
++
++
++
++
++
++
++
++
++/* EOF */
++
++// vim:ts=3:expandtab
++
+--- src/os/ec_linux.c.orig
++++ src/os/ec_linux.c
+@@ -31,7 +31,6 @@
+ static void restore_ip_forward(void);
+ u_int16 get_iface_mtu(const char *iface);
+ void disable_interface_offload(void);
+-void safe_free_mem(char **param, int *param_length, char *command);

+ /*******************************************/

+@@ -133,15 +132,6 @@ u_int16 get_iface_mtu(const char *iface)
+    return mtu;
+ }

+-void safe_free_mem(char **param, int *param_length, char *command)
+-{
+-   int k;
+-
+-   SAFE_FREE(command);
+-        for(k= 0; k &lt; (*param_length); ++k)
+-                SAFE_FREE(param[k]);
+-        SAFE_FREE(param);
+-}

+ /*
+  * disable segmentation offload on interface
</ins></span></pre></div>
<a id="trunkdportsnetettercapfilespatchshareetterconfv6darwindiff"></a>
<div class="addfile"><h4>Added: trunk/dports/net/ettercap/files/patch-share-etter.conf.v6-darwin.diff (0 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap/files/patch-share-etter.conf.v6-darwin.diff                                (rev 0)
+++ trunk/dports/net/ettercap/files/patch-share-etter.conf.v6-darwin.diff        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- share/etter.conf.v6.orig        2013-09-11 15:18:45.000000000 -0500
++++ share/etter.conf.v6        2013-12-07 05:46:45.000000000 -0600
+@@ -143,7 +143,7 @@
+ utf8_encoding = &quot;ISO-8859-1&quot;

+ # the command used by the remote_browser plugin
+-remote_browser = &quot;xdg-open http://%host%url&quot;
++remote_browser = &quot;open http://%host%url&quot;


+ #####################################
</ins></span></pre></div>
<a id="trunkdportsnetettercapfilespatchsrcMakefilein"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/ettercap/files/patch-src-Makefile.in (114397 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap-ng/files/patch-src-Makefile.in        2013-12-07 09:47:25 UTC (rev 114397)
+++ trunk/dports/net/ettercap/files/patch-src-Makefile.in        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>---- src/Makefile.in.orig        2005-05-30 16:05:44.000000000 -0700
-+++ src/Makefile.in        2005-05-30 16:07:01.000000000 -0700
-@@ -575,7 +575,7 @@
-                  interfaces/daemon/libec_daemon.a \
-                  interfaces/text/libec_text.a \
- $(am__append_3) $(am__append_4)
--ettercap_LDFLAGS = -export-dynamic @EC_LIBS@ 
-+ettercap_LDFLAGS = -export-dynamic @EC_LIBS@ -lresolv
- CLEANFILES = *.log *.out core* missing/*.o *~
- all: all-recursive

-@@ -3422,7 +3422,7 @@
-         $(COMPILE) @EC_LIBS@ -c missing/scandir.c -o missing/scandir.o

- missing/memmem.o:
--        $(COMPILE) @EC_LIBS@ -c missing/memmem.c -o missing/memmem.o
-+        $(COMPILE) @EC_LIBS@ $(ettercap_CFLAGS) -c missing/memmem.c -o missing/memmem.o

- missing/memcmp.o:
-         $(COMPILE) @EC_LIBS@ -c missing/memcmp.c -o missing/memcmp.o
</del></span></pre></div>
<a id="trunkdportsnetettercapfilespatchsrcinterfacescurseswidgetswdgh"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/ettercap/files/patch-src-interfaces-curses-widgets-wdg.h (114397 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap-ng/files/patch-src-interfaces-curses-widgets-wdg.h        2013-12-07 09:47:25 UTC (rev 114397)
+++ trunk/dports/net/ettercap/files/patch-src-interfaces-curses-widgets-wdg.h        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>---- src/interfaces/curses/widgets/wdg.h.orig        2005-05-27 17:11:45.000000000 +0200
-+++ src/interfaces/curses/widgets/wdg.h        2007-11-15 10:15:05.000000000 +0100
-@@ -11,8 +11,9 @@
- #include &lt;stdio.h&gt;
- #include &lt;unistd.h&gt;
- #include &lt;stdlib.h&gt;
- #include &lt;string.h&gt;
-+#include &lt;sys/types.h&gt;
-
- #ifdef OS_WINDOWS
-    #include &lt;windows.h&gt;
- #endif
-
</del></span></pre></div>
<a id="trunkdportsnetettercapfilespatchsrcprotocolsec_tcpcdifffromrev114397trunkdportsnetettercapngfilespatchsrc__protocols__ec_tcpc"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/ettercap/files/patch-src-protocols-ec_tcp.c.diff (from rev 114397, trunk/dports/net/ettercap-ng/files/patch-src__protocols__ec_tcp.c) (0 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap/files/patch-src-protocols-ec_tcp.c.diff                                (rev 0)
+++ trunk/dports/net/ettercap/files/patch-src-protocols-ec_tcp.c.diff        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- src/protocols/ec_tcp.c.orig        2013-09-11 15:18:45.000000000 -0500
++++ src/protocols/ec_tcp.c        2013-12-05 04:44:18.000000000 -0600
+@@ -115,7 +115,7 @@
+    tcp = (struct tcp_header *)DECODE_DATA;
+    
+    opt_start = (u_char *)(tcp + 1);
+-   opt_end = (u_char*)tcp + tcp-&gt;off * 4;
++   opt_end = (u_char*)((unsigned long)tcp + tcp-&gt;off * 4);

+    DECODED_LEN = (u_int32)(tcp-&gt;off * 4);

</ins></span></pre></div>
<a id="trunkdportsnetettercapfilespatchsrc__protocols__ec_tcpc"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/ettercap/files/patch-src__protocols__ec_tcp.c (114397 => 114401)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/ettercap-ng/files/patch-src__protocols__ec_tcp.c        2013-12-07 09:47:25 UTC (rev 114397)
+++ trunk/dports/net/ettercap/files/patch-src__protocols__ec_tcp.c        2013-12-07 13:04:37 UTC (rev 114401)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>---- src/protocols/ec_tcp.c.orig        2009-09-08 17:04:47.000000000 +0200
-+++ src/protocols/ec_tcp.c        2009-09-08 17:06:15.000000000 +0200
-@@ -116,7 +116,7 @@
-    tcp = (struct tcp_header *)DECODE_DATA;
-    
-    opt_start = (u_char *)(tcp + 1);
--   opt_end = (u_char *)((int)tcp + tcp-&gt;off * 4);
-+   opt_end = (u_char *)((unsigned long)tcp + tcp-&gt;off * 4);

-    DECODED_LEN = (u_int32)(tcp-&gt;off * 4);

</del></span></pre>
</div>
</div>

</body>
</html>