diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-09-07 15:14:45 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-09-07 15:14:45 +0000 |
commit | fe769389426a6aa5a2878bf7dcfc6144717e1e93 (patch) | |
tree | 5b320a614525ebafdbaeb6add65bb51da36c4ef2 /extra/ettercap | |
parent | 52442b30a60f3a0dc7bc0eb214d123d001987c83 (diff) |
Wed Sep 7 15:14:45 UTC 2011
Diffstat (limited to 'extra/ettercap')
-rw-r--r-- | extra/ettercap/01_pointers_and_ints_dont_mix.diff | 13 | ||||
-rw-r--r-- | extra/ettercap/ettercap-NG-0.7.3_dns_support_on_x86_64.patch | 39 |
2 files changed, 0 insertions, 52 deletions
diff --git a/extra/ettercap/01_pointers_and_ints_dont_mix.diff b/extra/ettercap/01_pointers_and_ints_dont_mix.diff deleted file mode 100644 index 65571309c..000000000 --- a/extra/ettercap/01_pointers_and_ints_dont_mix.diff +++ /dev/null @@ -1,13 +0,0 @@ -See debian bug #521857, patch from Timothy Redaelli <timothy@redaelli.eu> -Revised by Robert Edmonds <edmonds@debian.org> - ---- a/src/protocols/ec_tcp.c -+++ b/src/protocols/ec_tcp.c -@@ -116,7 +116,7 @@ - tcp = (struct tcp_header *)DECODE_DATA; - - opt_start = (u_char *)(tcp + 1); -- opt_end = (u_char *)((int)tcp + tcp->off * 4); -+ opt_end = (u_char *)(((u_char *)tcp) + tcp->off * 4); - - DECODED_LEN = (u_int32)(tcp->off * 4); diff --git a/extra/ettercap/ettercap-NG-0.7.3_dns_support_on_x86_64.patch b/extra/ettercap/ettercap-NG-0.7.3_dns_support_on_x86_64.patch deleted file mode 100644 index 1754f2e3d..000000000 --- a/extra/ettercap/ettercap-NG-0.7.3_dns_support_on_x86_64.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/configure 2011-08-06 12:50:26.000000000 +0200 -+++ b/configure 2011-08-06 13:01:56.000000000 +0200 -@@ -15732,7 +15732,7 @@ - if ${ac_cv_search_dn_expand+:} false; then : - - else -- ac_cv_search_dn_expand=no -+ ac_cv_search_dn_expand='-lresolv' - fi - rm conftest.$ac_ext - LIBS=$ac_func_search_save_LIBS -@@ -15790,14 +15790,14 @@ - ac_ec_dns=yes - - else -- if false; then -+ if true; then - HAVE_DN_EXPAND_TRUE= - HAVE_DN_EXPAND_FALSE='#' - else - HAVE_DN_EXPAND_TRUE='#' - HAVE_DN_EXPAND_FALSE= - fi -- ac_ec_dns=no -+ ac_ec_dns=yes - fi - - ---- a/src/ec_log.c 2004-09-30 18:01:45.000000000 +0200 -+++ b/src/ec_log.c 2011-08-06 13:04:30.000000000 +0200 -@@ -190,7 +190,7 @@ - if (fd->cfd == NULL) - SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr)); - } else { -- fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY); -+ fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0666); - if (fd->fd == -1) - SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno)); - } |