w3af: yet another set of fixes. Thanks pull #64 for the terrable job

This commit is contained in:
blshkv 2016-01-12 13:07:25 +08:00
parent f6a999c9f0
commit 3f1e2e3ee8
5 changed files with 82 additions and 28 deletions

View file

@ -0,0 +1 @@
DIST stopit-1.1.1.tar.gz 18009 SHA256 d879a892e6c0d524763b8bf20831a78311d86ea59ec199ec551abf3f494b0708 SHA512 bfa5e8e0a2e4f1682bfa7c4ce9b2793ce295b96dd4d0858b2415b7fa094d555472025ff859f6c9b8b0a427de0569f058430d70f29fe65afc3c3ebd0ed7359ec1 WHIRLPOOL f9b40900d7598626d8f185e743fa692cb3a6e69cdfdb204fd19d9b3410cad9ba375658f86a7c434ca0c7ce96266e08e525118bb4fef03bf8e34a020fff12b012

View file

@ -0,0 +1,21 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_3,3_4} )
inherit distutils-r1
DESCRIPTION="Timeout control decorator and context managers"
HOMEPAGE="https://pypi.python.org/pypi/stopit"
SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -1,6 +1,30 @@
diff -urN w3af-1.6.0.3.orig/w3af/core/controllers/dependency_check/dependency_check.py w3af-1.6.0.3/w3af/core/controllers/dependency_check/dependency_check.py
--- w3af-1.6.0.3.orig/w3af/core/controllers/dependency_check/dependency_check.py 2014-06-12 20:37:39.000000000 +0800
+++ w3af-1.6.0.3/w3af/core/controllers/dependency_check/dependency_check.py 2014-06-14 14:37:29.096864811 +0800
import warnings
import logging
-try:
- # Is pip even there?
- import pip
-except ImportError:
- print('We recommend you install pip before continuing.')
- print('http://www.pip-installer.org/en/latest/installing.html')
- sys.exit(1)
-
-try:
- # We do this in order to check for old pip versions
- from pip._vendor.packaging.version import Version
-except ImportError:
- print('An old pip version was detected. We recommend a pip update'
- ' before continuing:')
- print(' sudo pip install --upgrade pip')
- sys.exit(1)
-
from .utils import verify_python_version
from .helper_script import (generate_helper_script,
generate_pip_install_non_git,
@@ -61,6 +61,8 @@
disable_warnings()

View file

@ -22,47 +22,52 @@ IUSE="clamav doc gtk test"
#<@__apr__> Zero_Chaos, users should never run "nosetests" in w3af
RESTRICT=test
#dev-python/pyClamd
#net-proxy/mitmproxy
RDEPEND=">=dev-python/fpconst-0.7.2
>=app-text/pdfminer-20140328
>=dev-python/chardet-2.1.1
RDEPEND="
clamav? ( dev-python/clamd )
>=dev-python/esmre-0.3.1
>=dev-python/git-python-1.0.1
dev-python/guess-language
dev-python/halberd
>=dev-python/msgpack-0.4.4
=dev-python/nltk-2.0.4
dev-python/phply
dev-python/pyopenssl
dev-python/pysvn
dev-python/python-cluster
dev-python/python-ntlm
>=dev-python/PyGithub-1.21.0
dev-python/pyyaml
dev-python/simplejson
>=dev-python/git-python-1.0.1
>=dev-python/pybloomfiltermmap-0.3.14
>=dev-python/esmre-0.3.1
>=dev-python/phply-0.9.1
dev-python/stopit
>=dev-python/nltk-3.0.1
>=dev-python/chardet-2.1.1
>=dev-python/tblib-0.2.0
>=app-text/pdfminer-20140328
>=dev-python/futures-2.1.5
>=dev-python/pyopenssl-0.13.1
dev-python/ndg-httpsclient
dev-python/pyasn1
>=dev-python/lxml-3.4.4
>=net-analyzer/scapy-2.0.0
>=dev-python/guess-language-0.2
dev-python/python-cluster
>=dev-python/msgpack-0.4.4
>=dev-python/python-ntlm-1.0.1
>=dev-python/halberd-0.2.4
>=dev-python/DartsPyLRU-0.5
dev-python/jinja
>=dev-python/vulndb-0.0.17
dev-python/markdown
>=dev-python/psutil-2.2.1
>=dev-python/ruamel-ordereddict-0.4.8
dev-python/soappy
dev-db/sqlmap
|| (
net-analyzer/gnu-netcat
net-analyzer/netcat
net-analyzer/netcat6 )
>=net-analyzer/scapy-2
dev-db/sqlmap
dev-python/lxml
dev-python/pybloomfiltermmap
>=dev-python/futures-2.1.5
>=dev-python/tblib-0.2.0
>=dev-python/ruamel-ordereddict-0.4.8
>=dev-python/vulndb-0.0.17
gtk? ( dev-python/pygraphviz
>dev-python/pygtk-2.0
=dev-python/xdot-0.6
dev-python/pygtksourceview )
dev-python/DartsPyLRU"
"
DEPEND=""
#>=dev-python/psutil-2.2.1
src_prepare(){
rm doc/{GPL,INSTALL} || die
find "${S}" -type d -name .svn -exec rm -R {} +

View file

@ -71,6 +71,9 @@
~dev-python/git-python-1.0.1
~dev-python/tblib-1.2.0
~dev-python/setuptools-git-1.1
~dev-python/pybloomfiltermmap-0.3.14
~dev-python/stopit-1.1.1
~dev-python/psutil-3.0.1
#https://bugs.gentoo.org/show_bug.cgi?id=530538
~dev-python/matplotlib-1.4.0