diff --git a/net-analyzer/owtf/Manifest b/net-analyzer/owtf/Manifest deleted file mode 100644 index 73ad4c50d..000000000 --- a/net-analyzer/owtf/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST owtf-2.6.0.tar.gz 3986836 BLAKE2B aac1cdfd67ff2b5c361093b91b5ab3832afab88e2e5948c90aeea9562fae5189fa1b07de3cee19c0511b0cae5293d0bdf1ad28dbfc3964d6f12c33736b4bfa0f SHA512 14ede611ea324ecf94812e5951e665ec409d8398694f08bfa3907a243c71a31652de65a58896b0300c440e0a884a7f13e51e171c0cca1f5d102cf68d8413c837 -DIST owtf-2.6.0_p20210714.tar.gz 4481047 BLAKE2B 517d3b39db9f3231db44fc95d489c265fe80030073765b10d6047b9364a0ae1ba1aef61f898fd40d792a1f40bbf21190617ea3c79d0705fd6b2bdd007545a538 SHA512 d24f6b2f770e7a99d49bd1d27ae8936d1106e394a59241233e645485ada9ad348e1fa7d685f2a2344cd6c53df513d3c3ff1cbb6dd9f6b56b202668164e4810a5 -DIST owtf-2.6.0_p20220317.tar.gz 4456232 BLAKE2B 3ff0c95d76bf4d40e716a28ed4f6dd2784017125516ab83741de8690a5b60916bda7ff4f30ee48f383594c39d7fe84555faf66cdeb34218257d3d10e5cd7e64c SHA512 05b3f9b040fa9b858960f0da463efb23973e644b3522c962cc64e308360d793a573bdbf5466a72ba6f1463dd5decb680064e83568fde7adebd0220b21d7efbaf diff --git a/net-analyzer/owtf/files/install.patch b/net-analyzer/owtf/files/install.patch deleted file mode 100644 index 049cd6b40..000000000 --- a/net-analyzer/owtf/files/install.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- install.sh.orig 2019-03-28 13:23:46.000000000 +0800 -+++ install.sh 2019-03-31 13:24:19.453276269 +0800 -@@ -9,7 +9,7 @@ - os=${OSTYPE//[0-9.-]*/} - - --. ${SCRIPT_DIR}/platform_config.sh -+#. ${SCRIPT_DIR}/platform_config.sh - export NVM_DIR="${HOME}/.nvm" - - # ====================================== -@@ -195,10 +195,10 @@ - echo "${info}[!] There will be lot of output, please be patient :)${reset}" - - # Copy git hooks --echo "${info}[*] Installing pre-commit and black for git hooks...${reset}" --pip install pre-commit==1.8.2 --pip install black==18.4a3 --pre-commit install -+#echo "${info}[*] Installing pre-commit and black for git hooks...${reset}" -+#pip install pre-commit==1.8.2 -+#pip install black==18.4a3 -+#pre-commit install - - # Copy all necessary directories - for dir in ${ROOT_DIR}/data/*; do -@@ -209,9 +209,9 @@ - check_sudo > /dev/null - fi - --proxy_setup -+#proxy_setup - ui_setup --make post-install -+#make post-install - - echo "${info}[*] Finished!${reset}" - echo "${info}[*] Start OWTF by running cd path/to/pentest/directory; owtf${reset}" diff --git a/net-analyzer/owtf/files/owtf-setup.patch b/net-analyzer/owtf/files/owtf-setup.patch deleted file mode 100644 index 574c48d02..000000000 --- a/net-analyzer/owtf/files/owtf-setup.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- setup.py.orig 2018-05-16 08:54:51.000000000 +0800 -+++ setup.py 2018-07-31 15:38:03.413783774 +0800 -@@ -4,7 +4,6 @@ - import ast - from subprocess import call - import io --import pip - try: - from setuptools import setup, find_packages - except ImportError: -@@ -26,22 +25,6 @@ - contents = fo.read() - return contents - --links = [] --requires = [] -- --# new versions of pip requires a session --requirements = pip.req.parse_requirements('requirements.txt', session=pip.download.PipSession()) -- --for item in requirements: -- if getattr(item, 'url', None): # older pip has url -- links.append(str(item.url)) -- if getattr(item, 'link', None): # newer pip has link -- links.append(str(item.link)) -- if item.req: -- requires.append(str(item.req)) # always the package name -- --post_script = os.path.join(ROOT_DIR, "owtf/install/install.py") -- - tests_requires = [ - 'PyHamcrest==1.9.0', - 'mock>=1.3.0', -@@ -52,21 +35,6 @@ - 'sphinx_py3doc_enhanced_theme' - ] - --class PostDevelopCommand(develop): -- """Post-installation for development mode.""" -- def run(self): -- develop.run(self) -- print('Running post install') -- call([sys.executable, post_script]) -- --class PostInstallCommand(install): -- """Post-installation for installation mode.""" -- def run(self): -- # Need because of a setuptools bug: https://github.com/pypa/setuptools/issues/456 -- self.do_egg_install() -- print('Running post install') -- call([sys.executable, post_script]) -- - setup( - name='owtf', - version=version, -@@ -80,16 +48,10 @@ - include_package_data=True, - zip_safe=False, - platforms='any', -- install_requires=sorted(requires, key=lambda s: s.split("==")[0].lower()), -- dependency_links=links, - extras_require={ -- 'test': tests_requires + requires, -+ 'test': tests_requires, - 'docs': docs_requires - }, -- cmdclass={ -- 'develop': PostDevelopCommand, -- 'install': PostInstallCommand, -- }, - entry_points={ - 'console_scripts': [ - 'owtf = owtf.__main__:main' diff --git a/net-analyzer/owtf/owtf-2.6.0-r1.ebuild b/net-analyzer/owtf/owtf-2.6.0-r1.ebuild deleted file mode 100644 index 96191a79a..000000000 --- a/net-analyzer/owtf/owtf-2.6.0-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit eutils distutils-r1 - -DESCRIPTION="The Offensive Web Testing Framework" -HOMEPAGE="https://github.com/owtf/owtf" -SRC_URI="https://github.com/owtf/owtf/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc tools" - -RDEPEND=" - >=dev-python/blinker-1.4[${PYTHON_USEDEP}] - >=dev-python/cffi-1.10.0[${PYTHON_USEDEP}] - >=dev-python/cookies-2.2.1[${PYTHON_USEDEP}] - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - >=dev-python/future-0.16.0[${PYTHON_USEDEP}] - >=dev-python/hrt-0.1.0[${PYTHON_USEDEP}] - dev-python/ipaddr[${PYTHON_USEDEP}] - >=dev-python/markdown-2.6.9[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.2.1[${PYTHON_USEDEP}] - >=dev-python/psutil-5.3.1[${PYTHON_USEDEP}] - >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}] - >=dev-python/PTP-0.4.2[${PYTHON_USEDEP}] - >=dev-python/pycurl-7.43.0[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}] - >=dev-python/PyVirtualDisplay-0.2.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.4[${PYTHON_USEDEP}] - >=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 - >=www-servers/tornado-5.0.2[${PYTHON_USEDEP}] - - net-misc/proxychains - - dev-db/postgresql:* - - tools? ( - net-analyzer/theHarvester - net-analyzer/nikto - net-analyzer/dnsrecon - net-analyzer/nmap - net-analyzer/whatweb - net-analyzer/metasploit:* - net-analyzer/wpscan - net-analyzer/wapiti - net-analyzer/hydra - net-analyzer/metagoofil - ) -" -# tor libffi -#opt-tools: -# lbd gnutls-bin arachni o-saft -# tlssled skipfish dirbuster -# waffit o-saft - -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -src_prepare() { - rm -r tests/ - 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" - #rename psycopg - sed -e 's|psycopg2-binary.*|psycopg2|' -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 owtf_db" -} - -pkg_postinst() { - einfo "To complete the installation, run the following command:" - einfo "/etc/init.d/postgresql-11 start" - einfo "emerge --config net-analyzer/owtf-${PV}" - einfo - einfo "You will also need to create a certificate for the current user using the following commands:" - einfo "mkdir -p ~/.owtf/proxy/{build,certs}/" - einfo "openssl genrsa -des3 -passout pass:owtf_ca_pass -out ~/.owtf/proxy/certs/ca.key 4096" - einfo "openssl req -new -x509 -days 3650 -subj \"/C=US/ST=Pwnland/L=OWASP/O=OWTF/CN=MiTMProxy\" -passin pass:owtf_ca_pass -key ~/.owtf/proxy/certs/ca.key -out ~/.owtf/proxy/certs/ca.crt" - einfo - einfo "Next, patch the install.sh script and configure local env using the following command:" - einfo "./scripts/install.sh" - einfo - einfo "In addition, you might want to change owtf_db_user password in the database (currently empty)" - einfo "and adjust ~/.owtf/db.cfg accordingly" -} diff --git a/net-analyzer/owtf/owtf-2.6.0_p20210714-r1.ebuild b/net-analyzer/owtf/owtf-2.6.0_p20210714-r1.ebuild deleted file mode 100644 index f411f243f..000000000 --- a/net-analyzer/owtf/owtf-2.6.0_p20210714-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit eutils distutils-r1 - -HASH_COMMIT="033a1b504bbd619b99f6f353e7d8ca9bc07ed7f0" - -DESCRIPTION="The Offensive Web Testing Framework" -HOMEPAGE="https://github.com/owtf/owtf" -SRC_URI="https://github.com/owtf/owtf/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc tools" - -RDEPEND=" - >=dev-python/blinker-1.4[${PYTHON_USEDEP}] - >=dev-python/cffi-1.14.1[${PYTHON_USEDEP}] - >=dev-python/cookies-2.2.1[${PYTHON_USEDEP}] - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - >=dev-python/future-0.16.0[${PYTHON_USEDEP}] - >=dev-python/hrt-0.1.0[${PYTHON_USEDEP}] - dev-python/ipaddr[${PYTHON_USEDEP}] - >=dev-python/markdown-2.6.9[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] - >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] - >=dev-python/psycopg-2.8[${PYTHON_USEDEP}] - >=dev-python/PTP-0.4.2[${PYTHON_USEDEP}] - >=dev-python/pycurl-7.43.0.2[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}] - >=dev-python/PyVirtualDisplay-0.2.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] - >=dev-python/selenium-3.4.3[${PYTHON_USEDEP}] - >=dev-python/six-1.15.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy_mixins-1.2.1[${PYTHON_USEDEP}] - - !dev-python/tornado - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}] - - >=dev-python/bcrypt-3.2.0[${PYTHON_USEDEP}] - >=dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - - net-misc/proxychains - - dev-db/postgresql:* - - tools? ( - net-analyzer/theHarvester - net-analyzer/nikto - net-analyzer/dnsrecon - net-analyzer/nmap - net-analyzer/whatweb - net-analyzer/metasploit:* - net-analyzer/wpscan - net-analyzer/wapiti - net-analyzer/hydra - net-analyzer/metagoofil - ) -" -# tor libffi -#opt-tools: -# lbd gnutls-bin arachni o-saft -# tlssled skipfish dirbuster -# waffit o-saft - -S="${WORKDIR}/${PN}-${HASH_COMMIT}" - -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -src_prepare() { - rm -r tests/ - 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" - #rename psycopg - sed -e 's|psycopg2-binary.*|psycopg2|' -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 owtf_db" -} - -pkg_postinst() { - einfo "To complete the installation, run the following command:" - einfo "/etc/init.d/postgresql-11 start" - einfo "emerge --config net-analyzer/owtf-${PV}" - einfo - einfo "You will also need to create a certificate for the current user using the following commands:" - einfo "mkdir -p ~/.owtf/proxy/{build,certs}/" - einfo "openssl genrsa -des3 -passout pass:owtf_ca_pass -out ~/.owtf/proxy/certs/ca.key 4096" - einfo "openssl req -new -x509 -days 3650 -subj \"/C=US/ST=Pwnland/L=OWASP/O=OWTF/CN=MiTMProxy\" -passin pass:owtf_ca_pass -key ~/.owtf/proxy/certs/ca.key -out ~/.owtf/proxy/certs/ca.crt" - einfo - einfo "Next, patch the install.sh script and configure local env using the following command:" - einfo "./scripts/install.sh" - einfo - einfo "In addition, you might want to change owtf_db_user password in the database (currently empty)" - einfo "and adjust ~/.owtf/db.cfg accordingly" -} diff --git a/net-analyzer/owtf/owtf-2.6.0_p20220317.ebuild b/net-analyzer/owtf/owtf-2.6.0_p20220317.ebuild deleted file mode 100644 index c478b143e..000000000 --- a/net-analyzer/owtf/owtf-2.6.0_p20220317.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit eutils distutils-r1 - -HASH_COMMIT="fe8f230693ba5448fc8c9d29af4cb8e22bb10002" - -DESCRIPTION="The Offensive Web Testing Framework" -HOMEPAGE="https://github.com/owtf/owtf" -SRC_URI="https://github.com/owtf/owtf/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc tools" - -RESTRICT="test" - -# python2 only: dev-python/uuid[${PYTHON_USEDEP}] -RDEPEND=" - >=dev-python/blinker-1.4[${PYTHON_USEDEP}] - >=dev-python/cffi-1.14.1[${PYTHON_USEDEP}] - >=dev-python/cookies-2.2.1[${PYTHON_USEDEP}] - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - >=dev-python/future-0.16.0[${PYTHON_USEDEP}] - >=dev-python/hrt-0.1.0[${PYTHON_USEDEP}] - dev-python/ipaddr[${PYTHON_USEDEP}] - >=dev-python/markdown-2.6.9[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] - >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] - >=dev-python/psycopg-2.8[${PYTHON_USEDEP}] - >=dev-python/PTP-0.4.2[${PYTHON_USEDEP}] - >=dev-python/pycurl-7.43.0.2[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}] - >=dev-python/PyVirtualDisplay-0.2.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] - >=dev-python/selenium-3.4.3[${PYTHON_USEDEP}] - >=dev-python/six-1.15.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy_mixins-1.2.1[${PYTHON_USEDEP}] - - !dev-python/tornado - >=www-servers/tornado-5.1.1[${PYTHON_USEDEP}] - - >=dev-python/bcrypt-3.2.0[${PYTHON_USEDEP}] - >=dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/pyotp[${PYTHON_USEDEP}] - - net-misc/proxychains - - dev-db/postgresql:* - - tools? ( - net-analyzer/theHarvester - net-analyzer/nikto - net-analyzer/dnsrecon - net-analyzer/nmap - net-analyzer/whatweb - net-analyzer/metasploit:* - net-analyzer/wpscan - net-analyzer/wapiti - net-analyzer/hydra - net-analyzer/metagoofil - ) -" -# tor libffi -#opt-tools: -# lbd gnutls-bin arachni o-saft -# tlssled skipfish dirbuster -# waffit o-saft - -S="${WORKDIR}/${PN}-${HASH_COMMIT}" - -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -src_prepare() { - rm -r tests/ - 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" - #rename psycopg - sed -e 's|psycopg2-binary.*|psycopg2|' -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 owtf_db" -} - -pkg_postinst() { - einfo "To complete the installation, run the following command:" - einfo "/etc/init.d/postgresql-11 start" - einfo "emerge --config net-analyzer/owtf-${PV}" - einfo - einfo "You will also need to create a certificate for the current user using the following commands:" - einfo "mkdir -p ~/.owtf/proxy/{build,certs}/" - einfo "openssl genrsa -des3 -passout pass:owtf_ca_pass -out ~/.owtf/proxy/certs/ca.key 4096" - einfo "openssl req -new -x509 -days 3650 -subj \"/C=US/ST=Pwnland/L=OWASP/O=OWTF/CN=MiTMProxy\" -passin pass:owtf_ca_pass -key ~/.owtf/proxy/certs/ca.key -out ~/.owtf/proxy/certs/ca.crt" - einfo - einfo "Next, patch the install.sh script and configure local env using the following command:" - einfo "./scripts/install.sh" - einfo - einfo "In addition, you might want to change owtf_db_user password in the database (currently empty)" - einfo "and adjust ~/.owtf/db.cfg accordingly" -}