Fix cross-compilation and typo
authorCédric Krier <cedk@gentoo.org>
Fri, 1 Dec 2006 23:16:06 +0000 (23:16 +0000)
committerCédric Krier <cedk@gentoo.org>
Fri, 1 Dec 2006 23:16:06 +0000 (23:16 +0000)
Package-Manager: portage-2.1.1-r1

net-analyzer/dsniff/ChangeLog
net-analyzer/dsniff/Manifest
net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild

index 41d46c0ffffb1806967edd542e0f0c3c22609651..e5f2c6f8d78f28b14e25ac4b1c9e07fc41662e81 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-analyzer/dsniff
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.40 2006/12/01 23:06:45 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.41 2006/12/01 23:16:06 cedk Exp $
+
+  01 Dec 2006; Cedric Krier <cedk@gentoo.org> dsniff-2.4_beta1-r3.ebuild:
+  Fix cross-compilation and typo
 
   01 Dec 2006; Cedric Krier <cedk@gentoo.org> +files/2.3-openssl.patch,
   dsniff-2.3-r10.ebuild:
index e9e57420c01d76a6a94930e1066287e01978fb10..ac6dd1d9914e7b82a9e987d346bc9173a1bbe9a4 100644 (file)
@@ -25,14 +25,14 @@ EBUILD dsniff-2.3-r7.ebuild 1609 RMD160 d0aa370e9f4253ba260f621fb47a23af987d1dcb
 MD5 c6775269533cbec52699818eb5b18735 dsniff-2.3-r7.ebuild 1609
 RMD160 d0aa370e9f4253ba260f621fb47a23af987d1dcb dsniff-2.3-r7.ebuild 1609
 SHA256 95784cf504cf02b728c5e7d19ac30a1ff387ba77bfd8b7b4c206a191e092d8c5 dsniff-2.3-r7.ebuild 1609
-EBUILD dsniff-2.4_beta1-r3.ebuild 1842 RMD160 523aaa30c307486df464eeb82ca927a4262282b7 SHA1 550b3213bc72a8a5cc5d902505ccfbc88d8a5a61 SHA256 55e6fe1792d74ccfd9039d474fa3933dc45b38170cdfb8732c581e8030eeabd4
-MD5 f33900cd6373d84ba8de9daa2b33716b dsniff-2.4_beta1-r3.ebuild 1842
-RMD160 523aaa30c307486df464eeb82ca927a4262282b7 dsniff-2.4_beta1-r3.ebuild 1842
-SHA256 55e6fe1792d74ccfd9039d474fa3933dc45b38170cdfb8732c581e8030eeabd4 dsniff-2.4_beta1-r3.ebuild 1842
-MISC ChangeLog 5901 RMD160 7048ef0a7f7d65c9f624d826d6d040cdc93d209e SHA1 921c8d35dd9cc3994b9a15490031f481ef1954c5 SHA256 96075f34ad980c6f0b139c1d7d4567a7596edf1d2eb01fec2d903b931422d982
-MD5 e8af74a7bcfe55566dea07845dd10755 ChangeLog 5901
-RMD160 7048ef0a7f7d65c9f624d826d6d040cdc93d209e ChangeLog 5901
-SHA256 96075f34ad980c6f0b139c1d7d4567a7596edf1d2eb01fec2d903b931422d982 ChangeLog 5901
+EBUILD dsniff-2.4_beta1-r3.ebuild 1899 RMD160 0779f2b29a5f693a2039a6e12df220b1422a4dd6 SHA1 1162660d970d9b85fe3844056a9d1f168022ce25 SHA256 1e291623e8e121f2c7389c2e08920d1eb8a185ad7f3a174665579aee214350bf
+MD5 10d332f96cf9f706b8558ec884092b89 dsniff-2.4_beta1-r3.ebuild 1899
+RMD160 0779f2b29a5f693a2039a6e12df220b1422a4dd6 dsniff-2.4_beta1-r3.ebuild 1899
+SHA256 1e291623e8e121f2c7389c2e08920d1eb8a185ad7f3a174665579aee214350bf dsniff-2.4_beta1-r3.ebuild 1899
+MISC ChangeLog 6009 RMD160 926d4cc2a4823fc6718d0021a88e80279889b2a3 SHA1 e6abbd4eefb3210bb69ee11dedb9de91bad79dec SHA256 a048954049b49cb403ea8dea46ffb6d09d8c732cc6bf784011c22354906084b7
+MD5 2ff559de5224ce9d242c006bb7368c06 ChangeLog 6009
+RMD160 926d4cc2a4823fc6718d0021a88e80279889b2a3 ChangeLog 6009
+SHA256 a048954049b49cb403ea8dea46ffb6d09d8c732cc6bf784011c22354906084b7 ChangeLog 6009
 MISC metadata.xml 719 RMD160 25237084345cb83a625ebbaf43371aefc14ee49c SHA1 d8da8f1944703f293eec18770a30fa89a8079e9d SHA256 a30d2d3541d263d4260a1306aa810f8ef1ba4f45769fc0cd6bb715cc253d34ad
 MD5 bb880c49bdffe94226562c9f6b06e0e7 metadata.xml 719
 RMD160 25237084345cb83a625ebbaf43371aefc14ee49c metadata.xml 719
index 55aba5be7c4e3256ee68df95e1e8b44131d66d3e..e6ceebcb0615c327ad29da0ea093b3f5e8579c67 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.3 2006/10/31 21:28:37 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.4 2006/12/01 23:16:06 cedk Exp $
 
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
 
 DESCRIPTION="A collection of tools for network auditing and penetration testing"
 HOMEPAGE="http://monkey.org/~dugsong/dsniff/"
@@ -46,7 +46,7 @@ src_unpack() {
        epatch "${FILESDIR}"/2.3-makefile.patch
 
        # Bug 125084
-       epatch ${FILESDIR}/${PN}-httppostfix.patch
+       epatch "${FILESDIR}"/${PN}-httppostfix.patch
 
        # Allow amd64 compilation
        append-ldflags -lresolv
@@ -59,13 +59,13 @@ src_compile() {
        econf \
            $(use_with X x) \
            || die "econf failed"
-       emake || die "emake failed"
+       emake CC="$(tc-getCC)" || die "emake failed"
 }
 
 src_install() {
-       make install install_prefix="${D}" || die
+       make install install_prefix="${D}" || die "make install failed"
        dodir /etc/dsniff
        cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
-       "${D}"/etc/dsniff/
+               "${D}"/etc/dsniff/
        dodoc CHANGES README TODO
 }