diff options
Diffstat (limited to 'net-analyzer/w3af')
-rw-r--r-- | net-analyzer/w3af/Manifest | 9 | ||||
-rw-r--r-- | net-analyzer/w3af/files/w3af_console | 3 | ||||
-rw-r--r-- | net-analyzer/w3af/files/w3af_gui | 3 | ||||
-rw-r--r-- | net-analyzer/w3af/metadata.xml | 16 | ||||
-rw-r--r-- | net-analyzer/w3af/w3af-1.1-r1.ebuild | 70 | ||||
-rw-r--r-- | net-analyzer/w3af/w3af-1.5.ebuild | 76 |
6 files changed, 177 insertions, 0 deletions
diff --git a/net-analyzer/w3af/Manifest b/net-analyzer/w3af/Manifest new file mode 100644 index 000000000000..95cb8338280a --- /dev/null +++ b/net-analyzer/w3af/Manifest @@ -0,0 +1,9 @@ +AUX w3af_console 45 SHA256 baec5ace41ba0ff29b792dd288ee9a14eef83546af633620125644ad29fd19c7 SHA512 e8353393663d892f0f362a03e9459383cb8cf2de87a4bdd135f6c7fbc289cc34a236abf514dcfb9d9a3c573e2e5747c06c819527b1b0051c9513130cd0047a21 WHIRLPOOL 4b61760caf06b8df3cf1fb3d220c990efc72ea1de1f03ebe875e75f71904037006de6e3470f30f9607c6343ff0130b08622523a34bac822ddc084f43a6b0137f +AUX w3af_gui 41 SHA256 12f98d26f6c844b74e9d12a4df12ac8430eeb627dd15e8452e37202d254dda69 SHA512 1fd52f555d9fe3ebf7c8a985d83e7f86eb6e9a379589c50c567ed12c54abb63125ccd21b028215a87acb533aa45ec8fd8dc3169a3c9cbe090b8d32f2a9b751ca WHIRLPOOL af264d9b03b34c97a09ff7bafe44f041b07a044bdd47ece3095353c1155bbf57c5cf055f0a0e8d1c8242ed4270ba1822ae264fb0c1f4d987e81713184810f29c +DIST w3af-1.1.tar.bz2 39994121 SHA256 0bf3cec513931b9bf20e6f753dedeaab57b5cad303489ab9ff365786c04d9444 SHA512 9a6c7d474d61f9039c150b44d4c6027451d58e925e47083262105f62b0fca718373103015e3f5bbed1cb89a40c9c057d3d54ce0c533ad3cc90e8ff24e193f868 WHIRLPOOL cb5d0d7bc9096ae27e5597e5dfd2963e03e0b7f4939fb0583ef61d2dec0c8b595ccbfb3e43f4ed170cb8ac79a74f654a5502eeb5d590138f43cfd7cdbe3e4e1f +DIST w3af-1.5.tar.gz 31147412 SHA256 ce3ac0c5a1c1ae4f8aba012619e400558bf33b77080af61a9756d615883c523f SHA512 5b0b83e36b35883bd78fe990e9e5f0c955e49a22421d8eee4ec877cda842e79c8af0b490f0927ea253bdd60b957fbacf7ad1116e2c3d93023f160691aa50ce7e WHIRLPOOL 79662c1bbf05b825aa5251b43f98ebe118780d456e3dab8368d51c055792c435435cc245ec6d5f897c49a6445e90503d8917a7aa4ef3af6d87c5dcdf3a287b47 +EBUILD w3af-1.1-r1.ebuild 1884 SHA256 764ba1452f7bd5f5db2b52598dc5025bd6489cc03c6eb05d8365e076008cfb73 SHA512 51d625b9517c6575d66da139d73b4c04879d49aba12dc0cb7900e96f44131719ad0211871a1a1672257beec0019c4eef0031852580b0464bfcb1608c385f5631 WHIRLPOOL 673ecc35c18236e695d74ebcc68bfe3df9885b0af1febb9db42693a5e9f4b00f14ea6b77574aaa4885d5ffa10c9ee4a3408732cfcf2adf8e364e8dae97d39a9b +EBUILD w3af-1.5.ebuild 2348 SHA256 f8f309d5b9f797d0dbc53cf3f1569968a2b55322d724b15664a367016fdb764c SHA512 84f76244a37fcb30edfca70b64700eb06093027d6f66624522cceee4e9c9ba54bd466fa7fc1f8e69ddcee70c3d919456e9a1e70d592cdaff8435a7ed67fea32f WHIRLPOOL 457b6d8c430901d406a75734a62865e043c307b6a5f6cb8ae1111f01cd44e452f2cfab6f43aa71639dd27cf1363ba0efd0715d26ea7b2348596f8172ee80ee29 +MISC ChangeLog 3418 SHA256 7312f15375a7234379274bb27fecd8e524928e9ca2a4d4c3dfedd4af036797d6 SHA512 5440bc59d9a718ffc5e0428d92e6e37d99125a3cf1fd55b2b950ae8683643ea93d83307ebd56bf8d4267840d14e80b3cdd11afdedd127edd81bb281a3861a2a5 WHIRLPOOL af341aa91fc42c2e06f16a94b315b621a897c33403b3d22fa98014673d780e8e3dc222226fb40a9a644d34ddc0040d18c3980d46da50e5a84b61867ed5712b74 +MISC ChangeLog-2015 3764 SHA256 20785338ff2c38cc785b087d185813c951489276faaafb46ca672f5e63db090e SHA512 ede74f11d21ce45b28f0990fedaef474fe59e468871ef08ed9f9b38ab8eed6e5698274a2fe7160409c1f0e8daa5fab7ec52d5d5668c4e6dbb4b70a3875caa61f WHIRLPOOL 82ad6a310345a3598237e2e11ed63934c830cb46d7ba194eab963720ad9a3f837ad399e119693a3d361cf8043d1068ab411087ed1d5a39e06d420c728abfb2c9 +MISC metadata.xml 515 SHA256 5f1fd7c17635297957e7a63613b32bccba2f1bd231aaa6e6db5d41e21c040ae6 SHA512 01a5e591fab2095f36570418ea556d385155c417dd94b2ed7a2a4c85897bc024bc139cbc3cfba55a0b76ea8c7973cadf867e183dffa426cf911c1af430d34f2a WHIRLPOOL 46cb49179b06b6b8bfbb628e25e03f6849e726465b64de4a68c2049cd255e2a5f3ece005159765d004f9a0a422d41cdb9a7d1dfdd4dae62bb14dc761bab9ac8d diff --git a/net-analyzer/w3af/files/w3af_console b/net-analyzer/w3af/files/w3af_console new file mode 100644 index 000000000000..93212cefb237 --- /dev/null +++ b/net-analyzer/w3af/files/w3af_console @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/lib/w3af +./w3af_console $* diff --git a/net-analyzer/w3af/files/w3af_gui b/net-analyzer/w3af/files/w3af_gui new file mode 100644 index 000000000000..41f4802e3ae1 --- /dev/null +++ b/net-analyzer/w3af/files/w3af_gui @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/lib/w3af +./w3af_gui $* diff --git a/net-analyzer/w3af/metadata.xml b/net-analyzer/w3af/metadata.xml new file mode 100644 index 000000000000..5f71099f5b98 --- /dev/null +++ b/net-analyzer/w3af/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>clabbe.montjoie@gmail.com</email> + <name>LABBE Corentin (Montjoie)</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">andresriancho/w3af</remote-id> + <remote-id type="sourceforge">w3af</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-analyzer/w3af/w3af-1.1-r1.ebuild b/net-analyzer/w3af/w3af-1.1-r1.ebuild new file mode 100644 index 000000000000..a2a89f6c86f3 --- /dev/null +++ b/net-analyzer/w3af/w3af-1.1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit multilib python-single-r1 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="${PYTHON_DEPS} + >=dev-python/fpconst-0.7.2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/nltk[${PYTHON_USEDEP}] + dev-python/pybloomfiltermmap[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyPdf[${PYTHON_USEDEP}] + dev-python/python-cluster[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/soappy[${PYTHON_USEDEP}] + dev-python/pysvn[${PYTHON_USEDEP}] + || ( + net-analyzer/gnu-netcat + net-analyzer/netcat + net-analyzer/netcat6 + ) + >=net-analyzer/scapy-2 + gtk? ( + media-gfx/graphviz + >dev-python/pygtk-2.0 + dev-python/pygtksourceview + )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S=${WORKDIR}/${PN} + +src_prepare(){ + rm -r extlib/{cluster,fpconst-0.7.2,pyPdf,SOAPpy,yaml} || die + sed -i 's,extlib.pyPdf.,,' core/data/parsers/pdfParser.py || die + rm readme/{GPL,INSTALL} || die + rm plugins/attack/payloads/code/netcat || die #bug 349780 + esvn_clean +} + +src_install() { + insinto /usr/$(get_libdir)/w3af + doins -r core extlib locales plugins profiles scripts tools w3af_gui w3af_console + fperms +x /usr/$(get_libdir)/w3af/w3af_{gui,console} + dobin "${FILESDIR}"/w3af_console + use gtk && dobin "${FILESDIR}"/w3af_gui + #use flag doc is here because doc is bigger than 3 Mb + if use doc ; then + insinto /usr/share/doc/${PF}/ + doins -r readme/* + fi + python_fix_shebang "${ED}"usr/$(get_libdir)/${PN} +} diff --git a/net-analyzer/w3af/w3af-1.5.ebuild b/net-analyzer/w3af/w3af-1.5.ebuild new file mode 100644 index 000000000000..857b058864f1 --- /dev/null +++ b/net-analyzer/w3af/w3af-1.5.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit multilib python-single-r1 + +DESCRIPTION="Web Application Attack and Audit Framework" +HOMEPAGE="http://w3af.sourceforge.net/" +SRC_URI="https://github.com/andresriancho/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc gtk" + +#w3af seems to ship sqlmap? maybe we should split this out... + +QA_PREBUILT=" + usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/mysql/linux/32/lib_mysqludf_sys.so + usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/mysql/linux/64/lib_mysqludf_sys.so + usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.2/lib_postgresqludf_sys.so + usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.3/lib_postgresqludf_sys.so + usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.4/lib_postgresqludf_sys.so + usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/9.0/lib_postgresqludf_sys.so" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/fpconst-0.7.2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/nltk[${PYTHON_USEDEP}] + dev-python/pybloomfiltermmap[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyPdf[${PYTHON_USEDEP}] + dev-python/python-cluster[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/soappy[${PYTHON_USEDEP}] + dev-python/pysvn[${PYTHON_USEDEP}] + || ( + net-analyzer/gnu-netcat + net-analyzer/netcat + net-analyzer/netcat6 + ) + >=net-analyzer/scapy-2 + gtk? ( + media-gfx/graphviz + >dev-python/pygtk-2.0 + dev-python/pygtksourceview + )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare(){ + rm doc/{GPL,INSTALL} || die +} + +src_install() { + insinto /usr/$(get_libdir)/${PN} + doins -r core locales plugins profiles scripts tools w3af_gui w3af_console + fperms +x /usr/$(get_libdir)/${PN}/${PN}_{gui,console} + dobin "${FILESDIR}"/${PN}_console + if use gtk ; then + dobin "${FILESDIR}"/${PN}_gui + else + rm "${ED}"/usr/$(get_libdir)/${PN}/w3af_gui + fi + #use flag doc is here because doc is bigger than 3 Mb + if use doc ; then + insinto /usr/share/doc/${PF}/ + doins -r doc/* + fi + python_fix_shebang "${ED}"usr/$(get_libdir)/${PN} +} |