owtf: fix typos

This commit is contained in:
blshkv 2019-03-30 12:18:02 +08:00
parent 2c99f8e22c
commit a21b6c4cf6
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 11 additions and 5 deletions

View file

@ -13,7 +13,9 @@ SRC_URI="https://github.com/owtf/owtf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE=""
SLOT="0"
#KEYWORDS="~amd64"
IUSE=""
IUSE="doc"
#RESTRICT="test"
DEPEND=""
RDEPEND="
@ -42,7 +44,9 @@ RDEPEND="
src_prepare() {
rm -r tests/
# epatch "${FILESDIR}"/owtf-setup.patch
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"
eapply_user
}
@ -54,10 +58,10 @@ pkg_config() {
pkg_postinst() {
einfo "To complete the installation, run the following command:"
einfo "emerge --config net-analyzer/owtf-2.0a"
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 "mdkir -p ~/.owtf/proxy/ca.key"
einfo "mkdir -p ~/.owtf/proxy"
einfo "openssl genrsa -des3 -passout pass:owtf_ca_pass -out ~/.owtf/proxy/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/ca.key -out ~/.owtf/proxy/ca.crt"
einfo

View file

@ -280,7 +280,9 @@ dev-python/PyVirtualDisplay
=dev-python/psycopg2-binary-2.7*
~dev-python/PTP-0.4.2
~dev-python/selenium-3.13.0
=dev-python/tornado-5.1*
#version 6 does not support python2
=dev-python/tornado-5*
=dev-python/sphinxcontrib-asyncio-0.2*
~dev-python/hrt-0.1.0
~dev-python/markdown-2.6.9