summaryrefslogtreecommitdiff
path: root/net-analyzer
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2016-09-03 22:36:51 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2016-09-04 00:11:35 +0100
commitd343b70f9519cf4c9f2631cc2466f34e92cfd7a0 (patch)
treeb6ffc61470495bb6dfa377fb4168d28712c423e4 /net-analyzer
parentmedia-libs/gst-plugins-base: Move to branch dev/beber/to-refresh (diff)
downloadportage-d343b70f9519cf4c9f2631cc2466f34e92cfd7a0.tar.xz
net-analyzer/ettercap: Move to branch dev/beber/to-refresh
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ettercap/Manifest8
-rw-r--r--net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild73
-rw-r--r--net-analyzer/ettercap/files/ettercap-0.7.3-64bit-casting.patch19
-rw-r--r--net-analyzer/ettercap/files/ettercap-0.7.3-as-needed.patch14
-rw-r--r--net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch145
-rw-r--r--net-analyzer/ettercap/files/ettercap-0.7.3-open_missing_mode.patch12
-rw-r--r--net-analyzer/ettercap/files/ettercap-BJA-cross-NS_GET32.diff39
-rw-r--r--net-analyzer/ettercap/metadata.xml13
8 files changed, 0 insertions, 323 deletions
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest
deleted file mode 100644
index cb87810e..00000000
--- a/net-analyzer/ettercap/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX ettercap-0.7.3-64bit-casting.patch 591 SHA256 7ce23fd163ad8c53c442e789bf9f0db3716c35a5da76dad6687938c34b122897 WHIRLPOOL 1136e0ed1c263e004eec50fcf2f5f1dffa25d04e38aa7a411d6181e097caeb704e4a23f45f414d010d606f56d37af51d75b2142808432b2609313a57b1990298
-AUX ettercap-0.7.3-as-needed.patch 476 SHA256 7722bd2e6f993d45e74ae8b36b200d34e10257fc7b2b8de7f76a6946f7a8046a WHIRLPOOL 47ae3f549dcab778edd95c30e844eebee3dc6cf8b8e4bce551b401a9304ae845095faea097523c81397b3216bf6347882d22d6db54cf03158b40e2159fe14907
-AUX ettercap-0.7.3-autotools.patch 5368 SHA256 9b9df4880b85d125233d6508b03e5912af1e00c4e0a863409a6ad235814eafd4 WHIRLPOOL c91c0401c518bdc7e528f2d181f72fa042e39ed0c6066bab5933225275d6b8880e40bc302d75d943f4446f375f75bd27bc34444702b76870837fff72e051e3c2
-AUX ettercap-0.7.3-open_missing_mode.patch 625 SHA256 be35690de1d1f70045a97903cfba253923ec0a86d7f7fc6e47e31dee8c03ce0c WHIRLPOOL aec55fc55b977464e4718b5e34645008b1680874945d49f088e5681a5bf252fda4cdf0725183aaa866c95ae19015cd6db3be7d69bf693c5532b667c00a03ceab
-AUX ettercap-BJA-cross-NS_GET32.diff 811 SHA256 d802f4649e107003678b38185db5217b7d079e5443204942bda6040e2926fb52 WHIRLPOOL bde625babbb1254a28f520ce362f4409776fb8b909d4a6e7061be1ae9f1178d9560d5a764f531e622d217ab8fa955bb3c1add3eee7f26666288761c5c8d7fd56
-DIST ettercap-NG-0.7.3.tar.gz 1138643 SHA256 c74239052d62565c13a82f9bbf217a4fdcce4b34949e361b53bb3f28e3168543 WHIRLPOOL 6411c844906bd80fa33f59deb622260bfa28e90362999d9695f85a024edb92197e559e65e2bf95726fa7a95f7f54d62821993473ea8ea1702ef1486e4b32b922
-EBUILD ettercap-0.7.3-r4.ebuild 1939 SHA256 9e50b28d875b9b108c4fdf29fdf89b268fdc82374d2c657042fee84b29a8f282 WHIRLPOOL 80cf719da38a867396b0af953bbc4b396b6fb26e3bf48be066d7e9401af24e238c85b4dbda53fd653ad097209f0111118f7742de858cac6533edb0622049148f
-MISC metadata.xml 386 SHA256 bcfb18a096821103a6913e9ce70a8a2d4c39fe027f561f59465d5515252201bb WHIRLPOOL b3fa86f75facea6412f67126a56eb628a7d2d7084571136fac109c7ae1d59ed70bb35a0a600c349c36f8ff6ad37cd1b625e20249d5f64f2c13d69b7f80314700
diff --git a/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild b/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild
deleted file mode 100644
index c49aa332..00000000
--- a/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# the actual version is "NG-0.7.0" but I suppose portage people will not be
-# happy with it (as for the 0.6.b version), so let's set it to "0.7.0".
-# since 'ettercap NG' has to be intended as an upgrade to 0.6.x series and not as
-# a new project or branch, this will be fine...
-
-EAPI=2
-
-inherit autotools flag-o-matic libtool
-
-MY_P="${PN}-NG-${PV}"
-DESCRIPTION="A suite for man in the middle attacks and network mapping"
-HOMEPAGE="http://ettercap.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="debug gtk ncurses ssl"
-
-# libtool is needed because it provides libltdl (needed for plugins)
-RDEPEND=">=net-libs/libnet-1.1.2.1-r1
- net-libs/libpcap
- sys-devel/libtool
- ncurses? ( sys-libs/ncurses )
- ssl? ( dev-libs/openssl )
- gtk? ( >=x11-libs/gtk+-2.2.2:2 )"
-DEPEND=${RDEPEND}
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- sed -e 's:-Werror ::' -i configure.in
- epatch "${FILESDIR}"/${P}-as-needed.patch
- epatch "${FILESDIR}"/${P}-open_missing_mode.patch
- #patch from Timothy Redaelli <timothy@redaelli.eu> which fixes crash
- # on 64bit CPU systems
- epatch "${FILESDIR}"/${P}-64bit-casting.patch
- epatch "${FILESDIR}"/${P}-autotools.patch
- epatch "${FILESDIR}"/${PN}-BJA-cross-NS_GET32.diff
-
- rm -rvf aclocal.m4 config.guess config.sub configure ltmain.sh
-
- eautoreconf
-}
-
-src_configure() {
- strip-flags
-
- append-flags "-DLTDL_SHLIB_EXT='\".so\"'" #272681
-
- local myconf
- if use ssl; then
- myconf="${myconf} --with-openssl=/usr"
- else
- myconf="${myconf} --without-openssl"
- fi
-
- econf \
- --disable-dependency-tracking \
- ${myconf} \
- $(use_enable gtk) \
- $(use_enable debug) \
- $(use_with ncurses) \
- --with-libnet="${ROOT}/usr"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-}
diff --git a/net-analyzer/ettercap/files/ettercap-0.7.3-64bit-casting.patch b/net-analyzer/ettercap/files/ettercap-0.7.3-64bit-casting.patch
deleted file mode 100644
index 3f0c7bf7..00000000
--- a/net-analyzer/ettercap/files/ettercap-0.7.3-64bit-casting.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit 8cdf08d401d368d5678f9d9c2cf36ddbdef03aec
-Author: Timothy Redaelli <timothy@redaelli.eu>
-Date: Tue Jun 23 09:16:27 2009 +0000
-
- Fix a crash in 64 bit CPUs
-
-diff --git a/src/protocols/ec_tcp.c b/src/protocols/ec_tcp.c
-index ea0c997..be8f3e0 100644
---- a/src/protocols/ec_tcp.c
-+++ b/src/protocols/ec_tcp.c
-@@ -116,7 +116,7 @@ FUNC_DECODER(decode_tcp)
- 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 *)(tcp + tcp->off * 4);
-
- DECODED_LEN = (u_int32)(tcp->off * 4);
-
diff --git a/net-analyzer/ettercap/files/ettercap-0.7.3-as-needed.patch b/net-analyzer/ettercap/files/ettercap-0.7.3-as-needed.patch
deleted file mode 100644
index 3a742109..00000000
--- a/net-analyzer/ettercap/files/ettercap-0.7.3-as-needed.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -uNr ettercap-NG-0.7.3.orig/src/Makefile.am ettercap-NG-0.7.3/src/Makefile.am
---- ettercap-NG-0.7.3.orig/src/Makefile.am 2006-04-03 19:33:36.000000000 +0100
-+++ ettercap-NG-0.7.3/src/Makefile.am 2006-04-03 19:35:09.000000000 +0100
-@@ -140,7 +140,9 @@
- ettercap_LDADD += interfaces/gtk/libec_gtk.a
- endif
-
--ettercap_LDFLAGS = -export-dynamic @EC_LIBS@
-+ettercap_LDADD += @EC_LIBS@
-+
-+ettercap_LDFLAGS = -export-dynamic
-
- CLEANFILES = *.log *.out core* missing/*.o *~
-
diff --git a/net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch b/net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch
deleted file mode 100644
index 6a7a0145..00000000
--- a/net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-Index: ettercap-NG-0.7.3/configure.in
-===================================================================
---- ettercap-NG-0.7.3.orig/configure.in
-+++ ettercap-NG-0.7.3/configure.in
-@@ -20,7 +20,7 @@ dnl
- dnl $Id: ettercap-0.7.3-autotools.patch,v 1.1 2010/12/01 06:04:16 flameeyes Exp $
- dnl
-
--AC_INIT
-+AC_INIT(ettercap, 0.7.3)
- AC_CONFIG_SRCDIR([include/ec.h])
-
- dnl Force autoconf 2.57
-@@ -32,16 +32,8 @@ dnl AM_INIT_AUTOMAKE(1.7.0)
- dnl Do not recompile configure Makefile et similia
- AM_MAINTAINER_MODE
-
--VERSION=`grep EC_VERSION\ ./include/ec_version.h | cut -f2 -d"\""`
--SB=`./shtool echo -n -e %B`
--EB=`./shtool echo -n -e %b`
--AC_SUBST(SB)
--AC_SUBST(EB)
--AC_SUBST(VERSION)
--EC_MESSAGE(Configuring ettercap $VERSION)
--
- AC_CONFIG_SRCDIR(src)
--AM_INIT_AUTOMAKE(ettercap, $VERSION)
-+AM_INIT_AUTOMAKE([subdir-objects])
-
- AC_CONFIG_HEADERS([include/config.h])
- dnl AC_CONFIG_HEADERS(include/config.h)
-@@ -282,29 +274,18 @@ EC_MESSAGE(Checking for missing function
-
- AC_CONFIG_LIBOBJ_DIR(src/missing)
-
--AM_CONDITIONAL(MISSING_STRLCPY, false)
--AM_CONDITIONAL(MISSING_STRLCAT, false)
--AM_CONDITIONAL(MISSING_STRSEP, false)
--AM_CONDITIONAL(MISSING_MEMMEM, false)
--AM_CONDITIONAL(MISSING_MEMCMP, false)
--AM_CONDITIONAL(MISSING_BASENAME, false)
--AM_CONDITIONAL(MISSING_GETOPT_LONG, false)
--AM_CONDITIONAL(MISSING_STRCASESTR, false)
--AM_CONDITIONAL(MISSING_INET_ATON, false)
--AM_CONDITIONAL(MISSING_SCANDIR, false)
--
- dnl AC_REPLACE_FUNCS(strlcpy)
-
--AC_CHECK_FUNCS([strlcpy], , [AC_LIBOBJ(missing/strlcpy) AM_CONDITIONAL(MISSING_STRLCPY, true)])
--AC_CHECK_FUNCS([strlcat], , [AC_LIBOBJ(missing/strlcat) AM_CONDITIONAL(MISSING_STRLCAT, true)])
--AC_CHECK_FUNCS([strsep], , [AC_LIBOBJ(missing/strsep) AM_CONDITIONAL(MISSING_STRSEP, true)])
--AC_CHECK_FUNCS([memmem], , [AC_LIBOBJ(missing/memmem) AM_CONDITIONAL(MISSING_MEMMEM, true)])
--AC_CHECK_FUNCS([memcmp], , [AC_LIBOBJ(missing/memcmp) AM_CONDITIONAL(MISSING_MEMCMP, true)])
--AC_CHECK_FUNCS([basename], , [AC_LIBOBJ(missing/basename) AM_CONDITIONAL(MISSING_BASENAME, true)])
--AC_CHECK_FUNCS([getopt_long], , [AC_LIBOBJ(missing/getopt) AM_CONDITIONAL(MISSING_GETOPT_LONG, true)])
--AC_CHECK_FUNCS([strcasestr], , [AC_LIBOBJ(missing/strcasestr) AM_CONDITIONAL(MISSING_STRCASESTR, true)])
--AC_CHECK_FUNCS([scandir], , [AC_LIBOBJ(missing/scandir) AM_CONDITIONAL(MISSING_SCANDIR, true)])
--AC_CHECK_FUNCS([inet_aton], , [AC_LIBOBJ(missing/inet_aton) AM_CONDITIONAL(MISSING_INET_ATON, true)])
-+AC_CHECK_FUNCS([strlcpy], , [AC_LIBOBJ(strlcpy)])
-+AC_CHECK_FUNCS([strlcat], , [AC_LIBOBJ(strlcat)])
-+AC_CHECK_FUNCS([strsep], , [AC_LIBOBJ(strsep)])
-+AC_CHECK_FUNCS([memmem], , [AC_LIBOBJ(memmem)])
-+AC_CHECK_FUNCS([memcmp], , [AC_LIBOBJ(memcmp)])
-+AC_CHECK_FUNCS([basename], , [AC_LIBOBJ(basename)])
-+AC_CHECK_FUNCS([getopt_long], , [AC_LIBOBJ(getopt)])
-+AC_CHECK_FUNCS([strcasestr], , [AC_LIBOBJ(strcasestr)])
-+AC_CHECK_FUNCS([scandir], , [AC_LIBOBJ(scandir)])
-+AC_CHECK_FUNCS([inet_aton], , [AC_LIBOBJ(inet_aton)])
-
- AC_CHECK_LIB(resolv, inet_aton,
- AM_CONDITIONAL(INET_ATON_WANTS_RESOLV, true),
-Index: ettercap-NG-0.7.3/utils/etterlog/Makefile.am
-===================================================================
---- ettercap-NG-0.7.3.orig/utils/etterlog/Makefile.am
-+++ ettercap-NG-0.7.3/utils/etterlog/Makefile.am
-@@ -30,32 +30,10 @@ etterlog_SOURCES = el_analyze.c \
- $(top_srcdir)/src/ec_passive.c \
- $(top_srcdir)/src/ec_strings.c \
- $(top_srcdir)/src/ec_format.c
--
--if MISSING_STRSEP
-- etterlog_SOURCES += $(top_srcdir)/src/missing/strsep.c
--endif
--if MISSING_STRLCAT
-- etterlog_SOURCES += $(top_srcdir)/src/missing/strlcat.c
--endif
--if MISSING_STRCASESTR
-- etterlog_SOURCES += $(top_srcdir)/src/missing/strcasestr.c
--endif
--if MISSING_MEMMEM
-- etterlog_SOURCES += $(top_srcdir)/src/missing/memmem.c
--endif
--if MISSING_BASENAME
-- etterlog_SOURCES += $(top_srcdir)/src/missing/basename.c
--endif
--if MISSING_INET_ATON
-- etterlog_SOURCES += $(top_srcdir)/src/missing/inet_aton.c
--endif
--if MISSING_GETOPT_LONG
-- etterlog_SOURCES += $(top_srcdir)/src/missing/getopt.c
--endif
-
- etterlog_CFLAGS = @EC_CFLAGS@
-
--etterlog_LDADD = -lz @ICONVLIB@
-+etterlog_LDADD = -lz @ICONVLIB@ @LIBOBJS@
-
- if INET_ATON_WANTS_RESOLV
- etterlog_LDADD += -lresolv
-Index: ettercap-NG-0.7.3/utils/etterfilter/Makefile.am
-===================================================================
---- ettercap-NG-0.7.3.orig/utils/etterfilter/Makefile.am
-+++ ettercap-NG-0.7.3/utils/etterfilter/Makefile.am
-@@ -26,22 +26,6 @@ etterfilter_SOURCES = ef_compiler.c \
- $(top_srcdir)/src/ec_strings.c
-
- noinst_HEADERS = ef_grammar.h
--
--if MISSING_STRSEP
-- etterfilter_SOURCES += $(top_srcdir)/src/missing/strsep.c
--endif
--if MISSING_STRLCPY
-- etterfilter_SOURCES += $(top_srcdir)/src/missing/strlcpy.c
--endif
--if MISSING_MEMMEM
-- etterfilter_SOURCES += $(top_srcdir)/src/missing/memmem.c
--endif
--if MISSING_INET_ATON
-- etterfilter_SOURCES += $(top_srcdir)/src/missing/inet_aton.c
--endif
--if MISSING_GETOPT_LONG
-- etterfilter_SOURCES += $(top_srcdir)/src/missing/getopt.c
--endif
-
- etterfilter_CFLAGS = @EC_CFLAGS@
-
-@@ -49,7 +33,7 @@ if BSD
- etterfilter_CFLAGS += -pthread
- endif
-
--etterfilter_LDADD =
-+etterfilter_LDADD = @LIBOBJS@
-
- if INET_ATON_WANTS_RESOLV
- etterfilter_LDADD += -lresolv
diff --git a/net-analyzer/ettercap/files/ettercap-0.7.3-open_missing_mode.patch b/net-analyzer/ettercap/files/ettercap-0.7.3-open_missing_mode.patch
deleted file mode 100644
index 03837fc9..00000000
--- a/net-analyzer/ettercap/files/ettercap-0.7.3-open_missing_mode.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur ettercap-NG-0.7.3-orig/src/ec_log.c ettercap-NG-0.7.3-patch/src/ec_log.c
---- ettercap-NG-0.7.3-orig/src/ec_log.c 2004-09-30 16:01:45.000000000 +0000
-+++ ettercap-NG-0.7.3-patch/src/ec_log.c 2009-02-16 13:04:23.000000000 +0000
-@@ -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, S_IRUSR | S_IWUSR);
- if (fd->fd == -1)
- SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
- }
diff --git a/net-analyzer/ettercap/files/ettercap-BJA-cross-NS_GET32.diff b/net-analyzer/ettercap/files/ettercap-BJA-cross-NS_GET32.diff
deleted file mode 100644
index 07b87c77..00000000
--- a/net-analyzer/ettercap/files/ettercap-BJA-cross-NS_GET32.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- acinclude.m4.ori 2012-01-13 20:02:14.709313803 +0100
-+++ acinclude.m4 2012-01-13 20:01:32.170081917 +0100
-@@ -179,23 +179,20 @@
- [
- AC_CHECK_HEADERS(arpa/nameser.h)
- AC_MSG_CHECKING(for NS_GET32)
-- AC_TRY_RUN([
-- #include <arpa/nameser.h>
--
-- int main()
-- {
-- int i;
-- char *p = "\x01\x02\x03\x04";
-- NS_GET32(i, p);
--
-- return 0;
-- }
-- ],
-- [ AC_MSG_RESULT(yes)
-- AC_DEFINE(HAVE_NS_GET,1) ],
-- [ AC_MSG_RESULT(no); ]
-+ AC_LINK_IFELSE(
-+ [AC_LANG_PROGRAM(
-+ [[#include <arpa/nameser.h>]],
-+ [[int i;
-+ char *p = "\x01\x02\x03\x04";
-+ NS_GET32(i, p);
-+
-+ return 0;
-+ ]]
-+ )],
-+ [AC_MSG_RESULT(yes)
-+ AC_DEFINE(HAVE_NS_GET,1)],
-+ [AC_MSG_RESULT(no)]
- )
--
- ])
-
- dnl
diff --git a/net-analyzer/ettercap/metadata.xml b/net-analyzer/ettercap/metadata.xml
deleted file mode 100644
index 80387d9d..00000000
--- a/net-analyzer/ettercap/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>netmon</herd>
- <maintainer>
- <email>zerochaos@gentoo.org</email>
- <name>Rick Farina</name>
- </maintainer>
- <maintainer>
- <email>ago@gentoo.org</email>
- <name>Agostino Sarubbo</name>
- </maintainer>
-</pkgmetadata>