diff options
author | 2010-12-01 06:04:16 +0000 | |
---|---|---|
committer | 2010-12-01 06:04:16 +0000 | |
commit | 69325505ed7fa4c768e1dd4d5beb4be80e6608e9 (patch) | |
tree | 570c996882a35f93108deeee064038ec0c969941 /net-analyzer/ettercap | |
parent | version bump (diff) | |
download | historical-69325505ed7fa4c768e1dd4d5beb4be80e6608e9.tar.gz historical-69325505ed7fa4c768e1dd4d5beb4be80e6608e9.tar.bz2 historical-69325505ed7fa4c768e1dd4d5beb4be80e6608e9.zip |
Fix build with libtool 2.4 by patching up the build system to work with automake 1.11; dependency tracking is broken though, so make sure to hard-disable it (we don't need it anyway). Also make it more obvious that libtool is a _runtime_ dependency for this package.
Package-Manager: portage-2.2.0_alpha6/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/ettercap')
-rw-r--r-- | net-analyzer/ettercap/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/ettercap/Manifest | 15 | ||||
-rw-r--r-- | net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild | 14 | ||||
-rw-r--r-- | net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch | 145 |
4 files changed, 175 insertions, 10 deletions
diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog index df8529d0ac66..a4b7a588cdea 100644 --- a/net-analyzer/ettercap/ChangeLog +++ b/net-analyzer/ettercap/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/ettercap -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.76 2009/10/17 18:27:12 hwoarang Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.77 2010/12/01 06:04:16 flameeyes Exp $ + + 01 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org> + ettercap-0.7.3-r4.ebuild, +files/ettercap-0.7.3-autotools.patch: + Fix build with libtool 2.4 by patching up the build system to work with + automake 1.11; dependency tracking is broken though, so make sure to + hard-disable it (we don't need it anyway). Also make it more obvious that + libtool is a _runtime_ dependency for this package. *ettercap-0.7.3-r4 (17 Oct 2009) diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest index 63e977496d82..63badd7c1f2a 100644 --- a/net-analyzer/ettercap/Manifest +++ b/net-analyzer/ettercap/Manifest @@ -1,9 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX ettercap-0.7.3-64bit-casting.patch 591 RMD160 fdee869048dcdb510324e5b173e1e514c2aed2fd SHA1 e53753de80c2fecb1a2d677f6213886e5f272a22 SHA256 7ce23fd163ad8c53c442e789bf9f0db3716c35a5da76dad6687938c34b122897 AUX ettercap-0.7.3-as-needed.patch 476 RMD160 1c7f5d24a4b77922e6499d048cd8b7b984db6eb4 SHA1 fd137a91ec37a5b1fbfa28fc075191cc92d298c7 SHA256 7722bd2e6f993d45e74ae8b36b200d34e10257fc7b2b8de7f76a6946f7a8046a +AUX ettercap-0.7.3-autotools.patch 5368 RMD160 2d3ea1962be61aff0584f6b542f8c2e82297314d SHA1 647ca23c2e85fdefca7c650dec6ff1601c448cdf SHA256 9b9df4880b85d125233d6508b03e5912af1e00c4e0a863409a6ad235814eafd4 AUX ettercap-0.7.3-open_missing_mode.patch 625 RMD160 9bc96776088d33c347bd1bcb2b29b62f9173d348 SHA1 e680a22e24d5f48d1f1604e8d9e55d645cffd117 SHA256 be35690de1d1f70045a97903cfba253923ec0a86d7f7fc6e47e31dee8c03ce0c DIST ettercap-NG-0.7.3.tar.gz 1138643 RMD160 f4e6c0d87b2064b3775e9af60f34575273742616 SHA1 7a2c3f848ca4f39c07fddeb0d6308641265bc4ff SHA256 c74239052d62565c13a82f9bbf217a4fdcce4b34949e361b53bb3f28e3168543 EBUILD ettercap-0.7.3-r2.ebuild 1609 RMD160 7d706e68550d31c90d87f57490fd79669cb819f3 SHA1 f25dcb74141bb78409f94770cd884c4b57530010 SHA256 63f600d4561c630636826d3ff4b90f26d60f91a5a957b012ad1168299fa1ef5d EBUILD ettercap-0.7.3-r3.ebuild 1725 RMD160 916aec20e3f4e132111c616c0cd4b0077da62539 SHA1 e2de81cb08a4577f52b79b2acf844cb5f2d83b77 SHA256 19421abc8be216b2edd6256e88b00ac2784e91e3bcc71beb7182195a1e8713ec -EBUILD ettercap-0.7.3-r4.ebuild 1875 RMD160 984b125fea4de05b835e25ce4bbefea664349ae1 SHA1 fe7b3caa481e13e78176b57506495f64536133e5 SHA256 a7cd10fa35041c0850090d6c1ef4471dffa645f36cbe212dd0c1aa9ac5957049 -MISC ChangeLog 9261 RMD160 eae0a28811d9a20323b7541fcae5b35bb52fe238 SHA1 2010126eb9461cfe604a7a95e968a26d5fc08ac6 SHA256 0353f384ed648d403e4e2b69dd509482884c9933892baa2e0c720541cd272989 +EBUILD ettercap-0.7.3-r4.ebuild 1955 RMD160 b82261dcb25e59a1bc9af128bf9514d2c5727e1f SHA1 63c330934f9fcdc72a6915cfc1d67f5e82e85ba2 SHA256 0c77502ffb7d34e28f7c2b73b7d0de24509cee75757cbe08d48a939bc5545239 +MISC ChangeLog 9661 RMD160 53e35ee67090e355465ea8f0ff849d27b46ddd4d SHA1 f3ad9c6633e296d848a5243dbeace577608f9948 SHA256 1085027b967e5ee73981dd5402b6f579f27bcb60562418bdc6f96022aed0a92e MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkz15QMACgkQAiZjviIA2XjXqwCgpCIMXBlcf6ON3v9O0/PtQQ0C +GpMAniEjyvhllSiOeSR1m86yFXlV2Iqn +=jaaN +-----END PGP SIGNATURE----- diff --git a/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild b/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild index 2439f4ba11b7..b0a46b4cdddf 100644 --- a/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild +++ b/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild @@ -1,15 +1,12 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild,v 1.1 2009/10/17 18:27:12 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.3-r4.ebuild,v 1.2 2010/12/01 06:04:16 flameeyes Exp $ # 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... -WANT_AUTOMAKE="1.8" - -# libtool is needed because it provides libltdl (needed for plugins) inherit autotools flag-o-matic libtool MY_P="${PN}-NG-${PV}" @@ -22,8 +19,10 @@ 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 )" @@ -40,6 +39,7 @@ src_unpack() { #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 eautoreconf } @@ -55,7 +55,9 @@ src_compile() { myconf="${myconf} --without-openssl" fi - econf ${myconf} \ + econf \ + --disable-dependency-tracking \ + ${myconf} \ $(use_enable gtk) \ $(use_enable debug) \ $(use_with ncurses) diff --git a/net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch b/net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch new file mode 100644 index 000000000000..6a7a0145ff03 --- /dev/null +++ b/net-analyzer/ettercap/files/ettercap-0.7.3-autotools.patch @@ -0,0 +1,145 @@ +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 |