mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 13:20:57 +02:00
owtf: massive deps fix, WIP
This commit is contained in:
parent
bc449ceeb1
commit
a77b01b583
18 changed files with 134 additions and 11 deletions
21
dev-python/EasyProcess/EasyProcess-0.2.5.ebuild
Normal file
21
dev-python/EasyProcess/EasyProcess-0.2.5.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy to use python subprocess interface"
|
||||
HOMEPAGE="https://github.com/ponty/easyprocess"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
1
dev-python/EasyProcess/Manifest
Normal file
1
dev-python/EasyProcess/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST EasyProcess-0.2.5.tar.gz 9914 BLAKE2B 0acf21a8c4dd5d4987ba473aa057681f1bbf7847b82b047921a790a04faa14a3d1b484390ad3f9b91c2a18d38304e0e737d2cd56118a72f8b82de111aaa410e0 SHA512 7f55819093dab3c7a2474978e5d9f8712fff9bca30ff2dc9a0f8389b08e3c23895c9546db1a6f3a9c6391923929f42df2e4a2933ca2650bb204903794f57f433
|
||||
25
dev-python/Js2Py/Js2Py-0.60.ebuild
Normal file
25
dev-python/Js2Py/Js2Py-0.60.ebuild
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
#https://github.com/PiotrDabkowski/Js2Py/issues/106
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="JavaScript to Python Translator & JavaScript interpreter"
|
||||
HOMEPAGE="https://pypi.org/project/Js2Py/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/tzlocal-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjsparser-2.5.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
1
dev-python/Js2Py/Manifest
Normal file
1
dev-python/Js2Py/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST Js2Py-0.60.tar.gz 833612 BLAKE2B 1c769017ce205b12365aa2a5fffccced863b519125378d39eb35f57a5a35e9b88e1b7a8cd2331bef371d0cdf45e70d9665c683e7136c47aa6d26929e9785190e SHA512 adca62e8313db18b5cfce15ae8d40d45d65a3e5ea02fbe77f91a5e1e0ab90aa664cb852859cad935e63781e48df63dbbbf0cd5f87633d5d01e286179b539b023
|
||||
|
|
@ -1,9 +1,11 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
#https://github.com/PiotrDabkowski/Js2Py/issues/106
|
||||
#{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
@ -16,7 +18,8 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/Js2Py[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
DIST PyVirtualDisplay-0.2.1.tar.gz 30785 SHA256 012883851a992f9c53f0dc6a512765a95cf241bdb734af79e6bdfef95c6e9982 SHA512 2ffb290a975e5520b44f9710ed5767a36b5e793c4e6c642e053c11fa8942b44bac1c2c9ef27ccb1a67bc50b73bb27a9ac77f001c699c3ce48ebe0dbdd6d44e52 WHIRLPOOL f962aef55fa2fcf245b2b581adc12ac0905f699de7abee78583e9304d5b873379200d2cce7951e5338f160dbddbb6f24c911ad4690f72d1605d81c48acd1996d
|
||||
DIST PyVirtualDisplay-0.2.1.tar.gz 30785 BLAKE2B 793832c8063070c54096219b03ee5a634d1fb5d9755c29befdf130617d3a321202c24b78858a44ad4e6c224b7380418f587c1fbb966d0294cac44903b400269b SHA512 2ffb290a975e5520b44f9710ed5767a36b5e793c4e6c642e053c11fa8942b44bac1c2c9ef27ccb1a67bc50b73bb27a9ac77f001c699c3ce48ebe0dbdd6d44e52
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
|
|
@ -16,6 +16,6 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
RDEPEND="dev-python/EasyProcess[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
1
dev-python/pyjsparser/Manifest
Normal file
1
dev-python/pyjsparser/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST pyjsparser-2.5.2.tar.gz 24039 BLAKE2B 7cd1e70ea7f6e7a59bb785074a7c6bc11c73baa60923fc740c6572d749313207af05b530df5b322fe9d3003ede2b86ec14b578b5efaaedf97a0cc5a21182f4d4 SHA512 53784a0a78431f286dfb781111372a68e3812227c2a25464c8dd2f68a47d864684448731bcf0c6cb95e0f1e73c75bf3f6f573aa455376034b882447df2852f57
|
||||
21
dev-python/pyjsparser/pyjsparser-2.5.2.ebuild
Normal file
21
dev-python/pyjsparser/pyjsparser-2.5.2.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast javascript parser (based on esprima.js)"
|
||||
HOMEPAGE="https://pypi.org/project/pyjsparser/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
1
dev-python/sqlalchemy_mixins/Manifest
Normal file
1
dev-python/sqlalchemy_mixins/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST sqlalchemy_mixins-1.1.tar.gz 14831 BLAKE2B 589c1ec0258fd17c9f819513607a0ad46c6b7f5eac2dcd996474b040a65cb647603f05b7b24bd5b2ac5434cecbb6d44f26fdf0f50cf5b4f18e2ee2f12042f860 SHA512 a9c84247becd1955378735d2053b92d58fc353fb6bbbfe1d1289df636e8a59a3e60771346c9f6a797c1a48c5a6f8bf72bfe1a714b620e9c0a7c47004117ea38d
|
||||
24
dev-python/sqlalchemy_mixins/sqlalchemy_mixins-1.1.ebuild
Normal file
24
dev-python/sqlalchemy_mixins/sqlalchemy_mixins-1.1.ebuild
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Active Record, Django-like queries"
|
||||
HOMEPAGE="https://pypi.org/project/sqlalchemy_mixins/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sqlalchemy-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
virtual/python-typing[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_6 )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
#python3_6 )
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="The Offensive Web Testing Framework"
|
||||
|
|
@ -39,7 +40,10 @@ RDEPEND="
|
|||
>=dev-python/selenium-3.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.1.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy_mixins-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-5.0.2[${PYTHON_USEDEP}]
|
||||
|
||||
virtual/python-typing[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
|
@ -47,13 +51,15 @@ src_prepare() {
|
|||
use doc || sed -e 's| + reqs("docs.txt")||' -i setup.py || die "sed failed"
|
||||
#do not run postinstall scripts
|
||||
sed -e 's|, "install": PostInstallCommand||' -i setup.py || die "sed failed"
|
||||
#relax deps
|
||||
sed -e 's|==.*||' -i requirements/base.txt || die "sed failed"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "If the following fails, it is likely because you forgot to start/config postgresql first"
|
||||
su postgres -c "createuser owtf_db_user -D -S -R"
|
||||
su postgres -c "createdb --owner=owtf_db_user owtfdb"
|
||||
su postgres -c "createdb --owner=owtf_db_user owtf_db"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
|
|
|||
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-1.log
Normal file
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-1.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
[DEBUG] [2019-03-30 23:44:39,728] [File 'error.py', line 125, in log_and_exit_handler] - LocalWorker-1: caught signal SIGINT, exiting
|
||||
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-2.log
Normal file
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-2.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
[DEBUG] [2019-03-30 23:44:39,728] [File 'error.py', line 125, in log_and_exit_handler] - LocalWorker-2: caught signal SIGINT, exiting
|
||||
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-3.log
Normal file
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-3.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
[DEBUG] [2019-03-30 23:44:39,728] [File 'error.py', line 125, in log_and_exit_handler] - LocalWorker-3: caught signal SIGINT, exiting
|
||||
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-4.log
Normal file
1
net-analyzer/owtf/owtf_review/logs/LocalWorker-4.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
[DEBUG] [2019-03-30 23:44:39,728] [File 'error.py', line 125, in log_and_exit_handler] - LocalWorker-4: caught signal SIGINT, exiting
|
||||
12
net-analyzer/owtf/owtf_review/logs/MainProcess.log
Normal file
12
net-analyzer/owtf/owtf_review/logs/MainProcess.log
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[DEBUG] [2019-03-30 23:44:11,947] [File 'worker.py', line 104, in spawn_worker] - Adding a new worker
|
||||
[DEBUG] [2019-03-30 23:44:11,976] [File 'worker.py', line 104, in spawn_worker] - Adding a new worker
|
||||
[DEBUG] [2019-03-30 23:44:12,094] [File 'worker.py', line 104, in spawn_worker] - Adding a new worker
|
||||
[DEBUG] [2019-03-30 23:44:12,121] [File 'worker.py', line 104, in spawn_worker] - Adding a new worker
|
||||
[INFO] [2019-03-30 23:44:12,358] [File 'config.py', line 30, in load_config_file] - Loading /usr/lib64/python2.7/site-packages/owtf/data/conf/framework.yaml..
|
||||
[INFO] [2019-03-30 23:44:12,416] [File 'config.py', line 30, in load_config_file] - Loading /usr/lib64/python2.7/site-packages/owtf/data/conf/general.yaml..
|
||||
[INFO] [2019-03-30 23:44:12,844] [File 'resource.py', line 133, in load_resources_from_file] - Loading resources from: /home/blshkv/.owtf/conf/resources.cfg..
|
||||
[DEBUG] [2019-03-30 23:44:13,623] [File 'base.py', line 134, in __init__] - Setting up proxy(inbound) for OWTF requests..
|
||||
[INFO] [2019-03-30 23:44:14,274] [File 'core.py', line 266, in initialise_framework] - Loading framework please wait..
|
||||
[WARNING] [2019-03-30 23:44:14,295] [File 'main.py', line 221, in start_proxy] - Starting HTTP(s) proxy server at 127.0.0.1:8008
|
||||
[ERROR] [2019-03-30 23:44:14,296] [File 'error.py', line 53, in abort_framework] - Aborted by Framework: Files required for SSL MiTM are missing.Please run the install script
|
||||
[DEBUG] [2019-03-30 23:44:39,734] [File 'error.py', line 125, in log_and_exit_handler] - MainProcess: caught signal SIGINT, exiting
|
||||
|
|
@ -276,13 +276,16 @@ dev-python/cfscrape
|
|||
|
||||
#required by net-analyzer/owtf
|
||||
dev-python/PyVirtualDisplay
|
||||
=dev-python/EasyProcess-0.2*
|
||||
~dev-python/pyyaml-3.13
|
||||
=dev-python/psycopg2-binary-2.7*
|
||||
~dev-python/PTP-0.4.2
|
||||
~dev-python/Js2Py-0.60
|
||||
~dev-python/pyjsparser-2.5.2
|
||||
~dev-python/selenium-3.13.0
|
||||
#version 6 does not support python2
|
||||
=dev-python/tornado-5*
|
||||
=dev-python/sphinxcontrib-asyncio-0.2*
|
||||
=dev-python/sqlalchemy_mixins-1*
|
||||
~dev-python/hrt-0.1.0
|
||||
~dev-python/markdown-2.6.9
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue