diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-08-31 09:37:17 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-08-31 09:37:17 +0000 |
commit | 5b4bf1cc8f117bbd226137376621f84fb289de04 (patch) | |
tree | 2c8d785525f3809f6d64d4e5580fb47302b4e519 /net-analyzer/w3af | |
parent | Revision bump to fix bug #332897 (diff) | |
download | gentoo-2-5b4bf1cc8f117bbd226137376621f84fb289de04.tar.gz gentoo-2-5b4bf1cc8f117bbd226137376621f84fb289de04.tar.bz2 gentoo-2-5b4bf1cc8f117bbd226137376621f84fb289de04.zip |
Moved from sunrise overlay. Bug #272200. Thanks to LABBE Corentin (Montjoie) <corentin.labbe@geomatys.fr> for the ebuild
(Portage version: 2.2_rc72/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/w3af')
-rw-r--r-- | net-analyzer/w3af/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/w3af/metadata.xml | 18 | ||||
-rw-r--r-- | net-analyzer/w3af/w3af-1.0_rc3.ebuild | 51 |
3 files changed, 80 insertions, 0 deletions
diff --git a/net-analyzer/w3af/ChangeLog b/net-analyzer/w3af/ChangeLog new file mode 100644 index 000000000000..430525672211 --- /dev/null +++ b/net-analyzer/w3af/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-analyzer/w3af +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/w3af/ChangeLog,v 1.1 2010/08/31 09:37:17 hwoarang Exp $ + +*w3af-1.0_rc3 (31 Aug 2010) + + 31 Aug 2010; Markos Chandras <hwoarang@gentoo.org> +w3af-1.0_rc3.ebuild, + +metadata.xml: + Moved from sunrise overlay. Bug #272200. Thanks to LABBE Corentin + (Montjoie) <corentin.labbe@geomatys.fr> for the ebuild + diff --git a/net-analyzer/w3af/metadata.xml b/net-analyzer/w3af/metadata.xml new file mode 100644 index 000000000000..109294d71ff4 --- /dev/null +++ b/net-analyzer/w3af/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd></herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +<description>Proxy maintainer. CC him on bugs</description> +</maintainer> +<maintainer> +<email>corentin.labbe@geomatys.fr</email> +<name>LABBE Corentin (Montjoie)</name> +<description>Maintainer. Assign bugs to him</description> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/net-analyzer/w3af/w3af-1.0_rc3.ebuild b/net-analyzer/w3af/w3af-1.0_rc3.ebuild new file mode 100644 index 000000000000..b88b55c6d89e --- /dev/null +++ b/net-analyzer/w3af/w3af-1.0_rc3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/w3af/w3af-1.0_rc3.ebuild,v 1.1 2010/08/31 09:37:17 hwoarang Exp $ + +EAPI=2 + +PYTHON_USE_WITH="sqlite" +PYTHON_DEPEND="2" + +inherit multilib python versionator + +MY_P=${PN}-"$(replace_version_separator 2 '-')" +DESCRIPTION="Web Application Attack and Audit Framework" +HOMEPAGE="http://w3af.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gtk" + +RDEPEND="dev-python/beautifulsoup + >=dev-python/fpconst-0.7.2 + dev-python/nltk + dev-python/pyopenssl + dev-python/pyPdf + dev-python/pysqlite + dev-python/soappy + net-analyzer/scapy + gtk? ( media-gfx/graphviz + >dev-python/pygtk-2.0 )" + +S=${WORKDIR}/${PN} + +src_prepare(){ + rm -r extlib/{BeautifulSoup.py,fpconst-0.7.2,jsonpy,nltk,nltk_contrib,pygoogle,pyPdf,scapy,SOAPpy,yaml} || die + rm readme/{GPL,INSTALL} || die +} + +src_install() { + insinto /usr/$(get_libdir)/w3af + doins -r core extlib locales plugins profiles scripts tools w3af_gui w3af_console || die + dosym /usr/$(get_libdir)/w3af/w3af_gui usr/bin/w3af_gui || die + dosym /usr/$(get_libdir)/w3af/w3af_console usr/bin/w3af_console || die + fperms +x /usr/$(get_libdir)/w3af/w3af_{gui,console} || die + #use flag doc is here because doc is bigger than 3 Mb + if use doc ; then + insinto /usr/share/doc/${PF}/ + doins -r readme/* || die + fi +} |