diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-11-08 15:16:59 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-11-08 15:16:59 +0000 |
commit | 7de74294d82d05de75334f078d7cc4409fa4056c (patch) | |
tree | 150fad2899ce55544c8bbf28251d15c2ec6b15a1 /net-analyzer/webfuzzer | |
parent | Stable on ppc wrt bug 245785 (diff) | |
download | gentoo-2-7de74294d82d05de75334f078d7cc4409fa4056c.tar.gz gentoo-2-7de74294d82d05de75334f078d7cc4409fa4056c.tar.bz2 gentoo-2-7de74294d82d05de75334f078d7cc4409fa4056c.zip |
Fix C(XX)FLAGS and CC for bug #240870
(Portage version: 2.1.4.5)
Diffstat (limited to 'net-analyzer/webfuzzer')
-rw-r--r-- | net-analyzer/webfuzzer/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild | 20 |
2 files changed, 22 insertions, 5 deletions
diff --git a/net-analyzer/webfuzzer/ChangeLog b/net-analyzer/webfuzzer/ChangeLog index c68f05b22b47..2e8a9f0ee4d3 100644 --- a/net-analyzer/webfuzzer/ChangeLog +++ b/net-analyzer/webfuzzer/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/webfuzzer -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/ChangeLog,v 1.2 2007/11/30 14:35:02 coldwind Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/ChangeLog,v 1.3 2008/11/08 15:16:59 cedk Exp $ + + 08 Nov 2008; Cédric Krier <cedk@gentoo.org> webfuzzer-0.2.0.ebuild: + Fix C(XX)FLAGS and CC for bug #240870 30 Nov 2007; Santiago M. Mola <coldwind@gentoo.org> webfuzzer-0.2.0.ebuild: diff --git a/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild b/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild index 97bd4cd52fea..0a3f78ef6bda 100644 --- a/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild +++ b/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild,v 1.2 2007/11/30 14:35:02 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild,v 1.3 2008/11/08 15:16:59 cedk Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Poor man's web vulnerability scanner" HOMEPAGE="http://gunzip.altervista.org/g.php?f=projects" @@ -18,6 +18,20 @@ RDEPEND="${DEPEND}" S=${WORKDIR}/devel +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s/CFLAGS=-g -O3/CFLAGS+=-g/" \ + -e "s/CC=/CC?=/" \ + Makefile || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + src_install() { dodoc CHANGES README TODO dobin webfuzzer |