diff --git a/net-analyzer/waffit/Manifest b/net-analyzer/waffit/Manifest new file mode 100644 index 000000000..aef0240c4 --- /dev/null +++ b/net-analyzer/waffit/Manifest @@ -0,0 +1 @@ +EBUILD waffit-9999.ebuild 686 RMD160 565aaa4ec28010cac80b5c455e2895b7c3e41974 SHA1 d66291d6f640aa83794d057cf141a520b4416d26 SHA256 df961598ec2779e9b0d506b083f675574df3c5eac538f3fee0d3a150126b8dc3 diff --git a/net-analyzer/waffit/waffit-9999.ebuild b/net-analyzer/waffit/waffit-9999.ebuild new file mode 100644 index 000000000..364fb4a7e --- /dev/null +++ b/net-analyzer/waffit/waffit-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit subversion python + +DESCRIPTION="web application firewall (waf) scanner" +HOMEPAGE="http://code.google.com/p/waffit/" +SRC_URI="" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-python/beautifulsoup" + +ESVN_REPO_URI="http://waffit.googlecode.com/svn/trunk/" + +src_install() { + dobin wafw00f.py + sed -i "s:libs.evillib:evillib:" "${D}"/usr/bin/wafw00f.py || die "sed failed" + python_version + insinto /usr/lib/python$PYVER/ + doins libs/evillib.py +} + +pkg_postinst() { + python_mod_optimize +} + +pkg_postrm() { + python_mod_cleanup +}