]> Pileus Git - ~andy/sunrise/commitdiff
net-analyzer/w3af: New Ebuild for bug 272200 thanks to hwoarang, c1pher, binki, xmw...
authorLABBE Corentin (Montjoie) <corentin.labbe@geomatys.fr>
Wed, 11 Aug 2010 12:51:52 +0000 (12:51 +0000)
committerLABBE Corentin (Montjoie) <corentin.labbe@geomatys.fr>
Wed, 11 Aug 2010 12:51:52 +0000 (12:51 +0000)
svn path=/sunrise/; revision=11116

net-analyzer/w3af/ChangeLog [new file with mode: 0644]
net-analyzer/w3af/Manifest [new file with mode: 0644]
net-analyzer/w3af/metadata.xml [new file with mode: 0644]
net-analyzer/w3af/w3af-1.0_rc3.ebuild [new file with mode: 0644]

diff --git a/net-analyzer/w3af/ChangeLog b/net-analyzer/w3af/ChangeLog
new file mode 100644 (file)
index 0000000..d05187d
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for net-analyzer/w3af
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  11 Aug 2010; LABBE Corentin (Montjoie) <corentin.labbe@geomatys.fr
+  +w3af-1.0_rc3.ebuild, +metadata.xml:
+  New Ebuild for bug 272200 thanks to hwoarang, c1pher, binki, xmw and
+  apostrophe for reviewing
+
diff --git a/net-analyzer/w3af/Manifest b/net-analyzer/w3af/Manifest
new file mode 100644 (file)
index 0000000..2ed27c7
--- /dev/null
@@ -0,0 +1,4 @@
+DIST w3af-1.0-rc3.tar.bz2 19128303 RMD160 63f775c967d0c5d5149befc868f1872a021b0d68 SHA1 f0004aece2a21c12acddb90c71cc40b9cc5d557f SHA256 36bf724726ec152f125680597f7314a424717cf2f1aa464ca4f18b7c5361ac86
+EBUILD w3af-1.0_rc3.ebuild 1583 RMD160 76ab531ee034b7f3f4ca870cc8e9871d70b7d523 SHA1 e64f9980e9e25f17b185fc9b4055befc5e1fb53c SHA256 d09cdd81d366dfb6d17e1aab7114d555e0f18f80d10ead2174b0018dba318bd7
+MISC ChangeLog 325 RMD160 e60f25252b43fabadb754200e9f06b6a6e3d2a56 SHA1 16f06df8536c463d71f05df7113047a583f24aa2 SHA256 a5f5fbbabaac1c3e599e9e87089b47f79dc27206c290b4f087182b941b963d6d
+MISC metadata.xml 231 RMD160 6aebfea93d789d2b96ea6d8259dc842dd1fdacd3 SHA1 e10a04c4c18a66af326abc1f40c61b28cc610fae SHA256 48054ea190d00518c1e035fc6663b2368854cdea5ff69a94830e4f9a38260987
diff --git a/net-analyzer/w3af/metadata.xml b/net-analyzer/w3af/metadata.xml
new file mode 100644 (file)
index 0000000..c6be580
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>no-herd</herd>
+       <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</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 (file)
index 0000000..7caad05
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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(){
+       for i in BeautifulSoup.py fpconst-0.7.2 jsonpy nltk nltk_contrib pygoogle pyPdf scapy SOAPpy yaml; do
+               rm -r "${S}"/extlib/$i || die
+       done
+}
+
+src_install() {
+       insinto /usr/$(get_libdir)/w3af
+       doins -r * || die "initial copy failed"
+       dosym /usr/$(get_libdir)/w3af/w3af_gui usr/bin/w3af_gui || die "making w3af_gui symlink failed"
+       dosym /usr/$(get_libdir)/w3af/w3af_console usr/bin/w3af_console || die "making w3af_console symlink failed"
+       chmod +x "${D}"/usr/$(get_libdir)/w3af/w3af_gui || die
+       chmod +x "${D}"/usr/$(get_libdir)/w3af/w3af_console || die
+       #use flag doc is here because doc is bigger than 3 Mb
+       if use doc ; then
+               dodir /usr/share/doc/${PF} || die "dodir failed"
+               mv "${D}"/usr/$(get_libdir)/w3af/readme "${D}"/usr/share/doc/${PF} || die
+       else
+               rm -r "${D}"/usr/$(get_libdir)/w3af/readme || die "rm of docs failed"
+       fi
+}