From: Timothy Redaelli Date: Sat, 9 Dec 2006 11:20:09 +0000 (+0000) Subject: Revision bump: Added Mike Auty patch to fix as-needed wrt bug #128675 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b67a413ceba3cad25de8a4ce204cfe9574735685;p=gentoo.git Revision bump: Added Mike Auty patch to fix as-needed wrt bug #128675 Package-Manager: portage-2.1.2_rc2-r4 --- diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog index 95cbd5d834f1..fac0512795a0 100644 --- a/net-analyzer/ettercap/ChangeLog +++ b/net-analyzer/ettercap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/ettercap # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.55 2006/10/25 08:37:12 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.56 2006/12/09 11:20:09 drizzt Exp $ + +*ettercap-0.7.3-r1 (09 Dec 2006) + + 09 Dec 2006; Timothy Redaelli + +files/ettercap-0.7.3-as-needed.patch, +ettercap-0.7.3-r1.ebuild: + Revision bump: Added Mike Auty patch to fix as-needed wrt bug #128675 25 Oct 2006; Timothy Redaelli ettercap-0.7.3.ebuild: Added ~x86-fbsd keyword. diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest index 92e203ade548..cd7387967653 100644 --- a/net-analyzer/ettercap/Manifest +++ b/net-analyzer/ettercap/Manifest @@ -1,15 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX ettercap-0.7.3-as-needed.patch 476 RMD160 1c7f5d24a4b77922e6499d048cd8b7b984db6eb4 SHA1 fd137a91ec37a5b1fbfa28fc075191cc92d298c7 SHA256 7722bd2e6f993d45e74ae8b36b200d34e10257fc7b2b8de7f76a6946f7a8046a +MD5 e3bf174f8719e24db5331413940a06ef files/ettercap-0.7.3-as-needed.patch 476 +RMD160 1c7f5d24a4b77922e6499d048cd8b7b984db6eb4 files/ettercap-0.7.3-as-needed.patch 476 +SHA256 7722bd2e6f993d45e74ae8b36b200d34e10257fc7b2b8de7f76a6946f7a8046a files/ettercap-0.7.3-as-needed.patch 476 DIST ettercap-NG-0.7.3.tar.gz 1138643 RMD160 f4e6c0d87b2064b3775e9af60f34575273742616 SHA1 7a2c3f848ca4f39c07fddeb0d6308641265bc4ff SHA256 c74239052d62565c13a82f9bbf217a4fdcce4b34949e361b53bb3f28e3168543 +EBUILD ettercap-0.7.3-r1.ebuild 1666 RMD160 b6fc631e65c478f9afc136783d3054cd15668f6e SHA1 a48f71c1accb8232036047e4726166124fceff87 SHA256 eb4db163cb9f4ebd36a17d570c719a1ae7ff3250045ee232b4b3f75885415467 +MD5 f7fbbcbc622c9d8adfb8dc1651b72614 ettercap-0.7.3-r1.ebuild 1666 +RMD160 b6fc631e65c478f9afc136783d3054cd15668f6e ettercap-0.7.3-r1.ebuild 1666 +SHA256 eb4db163cb9f4ebd36a17d570c719a1ae7ff3250045ee232b4b3f75885415467 ettercap-0.7.3-r1.ebuild 1666 EBUILD ettercap-0.7.3.ebuild 1561 RMD160 92ee760cf704ad542547824686144b40669442a0 SHA1 af6c94a379ed9d44415ac2768475291149ac14aa SHA256 06080716f3875630bcfce03baf24b032b2a3754b4e8c12c607b82d7c72e26c44 MD5 0566ae7d0ab66b6ca55d747824e176f2 ettercap-0.7.3.ebuild 1561 RMD160 92ee760cf704ad542547824686144b40669442a0 ettercap-0.7.3.ebuild 1561 SHA256 06080716f3875630bcfce03baf24b032b2a3754b4e8c12c607b82d7c72e26c44 ettercap-0.7.3.ebuild 1561 -MISC ChangeLog 6305 RMD160 2574cee27ac863f5dc18e7263033bea364cfa5e9 SHA1 ab131eeeee5c9369373a554356e98f7aaf0be320 SHA256 d3d5fe9c1e8f1e262870a4398a6a9965de9f5f674db7202f60612bb248dc3819 -MD5 4eef1eeeba61cd3b8cbaf4f88629881f ChangeLog 6305 -RMD160 2574cee27ac863f5dc18e7263033bea364cfa5e9 ChangeLog 6305 -SHA256 d3d5fe9c1e8f1e262870a4398a6a9965de9f5f674db7202f60612bb248dc3819 ChangeLog 6305 +MISC ChangeLog 6532 RMD160 c5f404514d57c614cafe4ad7e61bd985d9bdcea4 SHA1 021c2df7725031052ef891015c34d1820e6ddc33 SHA256 703f6019a6c280fb5e2d7842531c348604299e3aa33aa6a20cd8212b062f77df +MD5 5218d25f30c059ff59983a00d8040b16 ChangeLog 6532 +RMD160 c5f404514d57c614cafe4ad7e61bd985d9bdcea4 ChangeLog 6532 +SHA256 703f6019a6c280fb5e2d7842531c348604299e3aa33aa6a20cd8212b062f77df ChangeLog 6532 MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159 @@ -17,10 +25,13 @@ SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 metadata MD5 2063ae5fcf7595ed3346dc6c22e44a9e files/digest-ettercap-0.7.3 256 RMD160 b76cf90077a3b3275e5bbf106d43fd1bbca06e40 files/digest-ettercap-0.7.3 256 SHA256 8f1f64d3cd96d2893c3194830350996b9c8099fdc0b2fb75e1c740965e7fda68 files/digest-ettercap-0.7.3 256 +MD5 2063ae5fcf7595ed3346dc6c22e44a9e files/digest-ettercap-0.7.3-r1 256 +RMD160 b76cf90077a3b3275e5bbf106d43fd1bbca06e40 files/digest-ettercap-0.7.3-r1 256 +SHA256 8f1f64d3cd96d2893c3194830350996b9c8099fdc0b2fb75e1c740965e7fda68 files/digest-ettercap-0.7.3-r1 256 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFPyJVGDyatLGpTbYRAnH2AJ4/F4wSst8t3Cr1AD5RB2MrxFeXaQCgikZ3 -w4F2Qje39bqSl8rSfhhspwE= -=y/xU +iD8DBQFFepvzGDyatLGpTbYRApUHAJ4x/94tYAvVkcpXl6PO/u7WdpPl6gCePonQ +uCGfqLC7s/Com2fF1ulvbJc= +=flYQ -----END PGP SIGNATURE----- diff --git a/net-analyzer/ettercap/ettercap-0.7.3-r1.ebuild b/net-analyzer/ettercap/ettercap-0.7.3-r1.ebuild new file mode 100644 index 000000000000..aa69014080e6 --- /dev/null +++ b/net-analyzer/ettercap/ettercap-0.7.3-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/12/09 11:20:09 drizzt 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" + +inherit flag-o-matic autotools + +MY_P="${PN}-NG-${PV}" +S="${WORKDIR}/${MY_P}" + +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 ~sparc ~x86 ~x86-fbsd" +IUSE="ssl ncurses gtk debug" + +# libtool is needed because it provides libltdl (needed for plugins) +RDEPEND=">=sys-devel/libtool-1.4.3 + >=net-libs/libnet-1.1.2.1-r1 + net-libs/libpcap + ncurses? ( sys-libs/ncurses ) + ssl? ( dev-libs/openssl ) + gtk? ( >=x11-libs/gtk+-2.2.2 )" + +DEPEND=">=sys-apps/sed-4.0.5 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-as-needed.patch + + eautomake +} + +src_compile() { + strip-flags + + local myconf + + if use ssl; then + myconf="${myconf} --with-openssl=/usr" + else + myconf="${myconf} --without-openssl" + fi + + econf ${myconf} \ + $(use_enable gtk) \ + $(use_enable debug) \ + $(use_with ncurses) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" +} diff --git a/net-analyzer/ettercap/files/digest-ettercap-0.7.3-r1 b/net-analyzer/ettercap/files/digest-ettercap-0.7.3-r1 new file mode 100644 index 000000000000..658da46ad006 --- /dev/null +++ b/net-analyzer/ettercap/files/digest-ettercap-0.7.3-r1 @@ -0,0 +1,3 @@ +MD5 28fb15cd024162c55249888fe1b97820 ettercap-NG-0.7.3.tar.gz 1138643 +RMD160 f4e6c0d87b2064b3775e9af60f34575273742616 ettercap-NG-0.7.3.tar.gz 1138643 +SHA256 c74239052d62565c13a82f9bbf217a4fdcce4b34949e361b53bb3f28e3168543 ettercap-NG-0.7.3.tar.gz 1138643 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 new file mode 100644 index 000000000000..3a74210917c3 --- /dev/null +++ b/net-analyzer/ettercap/files/ettercap-0.7.3-as-needed.patch @@ -0,0 +1,14 @@ +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 *~ +