mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 21:00:56 +02:00
kaleido-bin-0.2.1.ebuild
This commit is contained in:
parent
99d1ad68f4
commit
31258fd5d0
7 changed files with 112 additions and 82 deletions
1
dev-python/quark-engine/Manifest
Normal file
1
dev-python/quark-engine/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST quark-engine-22.1.1.tar.gz 57603 BLAKE2B ec1f5c64a47e41190e0a5a05b0466d4a595eee4df45351a75e5c89009cef693dedde5ccb2fc78dbed44fd99280a7a3fa3b8cb9fae1dd9eaab2f227c257eb0d46 SHA512 2e58ea41899e97f5531afc19415150093edb8e5dc16d1bc7a591409087ff0d44d64bfc8540805287326f8d5c2615dafe96f7ab78c9c04cbdeeb902d98b361889
|
||||
39
dev-python/quark-engine/quark-engine-22.1.1.ebuild
Normal file
39
dev-python/quark-engine/quark-engine-22.1.1.ebuild
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An Obfuscation-Neglect Android Malware Scoring System"
|
||||
HOMEPAGE="https://github.com/quark-engine/quark-engine"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/prettytable[${PYTHON_USEDEP}]
|
||||
dev-util/androguard[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/graphviz[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/prompt_toolkit[${PYTHON_USEDEP}]
|
||||
dev-python/plotly[${PYTHON_USEDEP}]
|
||||
dev-python/rzpipe[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-util/kaleido-bin
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare(){
|
||||
#relax deps
|
||||
sed "s|==|>=|g" -i setup.py || die
|
||||
rm -r tests
|
||||
default
|
||||
}
|
||||
1
dev-python/rzpipe/Manifest
Normal file
1
dev-python/rzpipe/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST rzpipe-0.1.2.tar.gz 10252 BLAKE2B 58e893897b43b50c40ec20c3c0846cd1407781d88c9acdcf13dfe76fc2eebde8d58668744b33c19578ec307908dc7bc16ecbeb1a8f4a5b31a1fd3fd2d5e17d2f SHA512 44a849851d62e9c89ecfee242db22dec5d80ef2202f2f2cbe7c0f017189cdf2a194ead6e862e602c319eaa6e3059dfa4b9901e4decc5f62728ee215f2fc04471
|
||||
23
dev-python/rzpipe/rzpipe-0.1.2.ebuild
Normal file
23
dev-python/rzpipe/rzpipe-0.1.2.ebuild
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pipe interface for rizin"
|
||||
HOMEPAGE="https://rizin.re/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
#rizin is not stable, but it's ok
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-util/rizin"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
1
dev-util/kaleido-bin/Manifest
Normal file
1
dev-util/kaleido-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST kaleido-bin-0.2.1.zip 79832371 BLAKE2B dceb44add740cbb81cea9774e81fc5b58f84617fa2360600aea4601561a466b8b1eecd0ac1930c998c87f769e0fd7bbd8ac9bc57f8f2477d19ae7c6afc78b8b3 SHA512 251a8387d24b4d4f864413d93266ea2e6726d1ee2ce4e4476adbdf147ac0695371b43a8a3cab1f1c025612a4d74cef731227a36da09bc57b747560c488745437
|
||||
47
dev-util/kaleido-bin/kaleido-bin-0.2.1.ebuild
Normal file
47
dev-util/kaleido-bin/kaleido-bin-0.2.1.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="kaleido"
|
||||
|
||||
DESCRIPTION="Static image export for web-based visualization libraries"
|
||||
HOMEPAGE="https://github.com/plotly/Kaleido"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/plotly/Kaleido/releases/download/v0.2.1/kaleido_linux_x64.zip -> ${P}.zip
|
||||
)
|
||||
"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}/"
|
||||
INSTALLDIR="/opt/kaleido"
|
||||
|
||||
src_install() {
|
||||
# application
|
||||
insinto ${INSTALLDIR}
|
||||
doins -r *
|
||||
|
||||
# binaries
|
||||
chmod 755 "${D}/${INSTALLDIR}/bin/kaleido"
|
||||
chmod 755 "${D}/${INSTALLDIR}/kaleido"
|
||||
|
||||
# dosym "${EPREFIX}"/${INSTALLDIR}/kaleido /usr/bin/kaleido
|
||||
|
||||
newbin - ${MY_PN} <<-EOF
|
||||
#!/bin/sh
|
||||
|
||||
cd ${INSTALLDIR}
|
||||
./${MY_PN} "\$@"
|
||||
EOF
|
||||
|
||||
# default docs
|
||||
dodoc README.md
|
||||
}
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Mobile-Security-Framework-MobSF"
|
||||
|
||||
DESCRIPTION="Automated, all-in-one mobile application (Android/iOS/Windows) pen-testing"
|
||||
HOMEPAGE="https://github.com/MobSF/Mobile-Security-Framework-MobSF"
|
||||
SRC_URI="https://github.com/MobSF/Mobile-Security-Framework-MobSF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
#Dynamic Analysis or genymotion
|
||||
IUSE="genymotion pdf"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/lib/python.*/site-packages/mobsf/DynamicAnalyzer.*
|
||||
usr/lib/python.*/site-packages/mobsf/StaticAnalyzer.*"
|
||||
QA_PRESTRIPPED="usr/lib/python.*/site-packages/mobsf/DynamicAnalyzer.*
|
||||
usr/lib/python.*/site-packages/mobsf/StaticAnalyzer.*"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
dev-python/biplist[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/colorlog[${PYTHON_USEDEP}]
|
||||
dev-python/macholib[${PYTHON_USEDEP}]
|
||||
dev-python/google-play-scraper[${PYTHON_USEDEP}]
|
||||
dev-python/whitenoise[${PYTHON_USEDEP}]
|
||||
dev-python/waitress[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/shelljob[${PYTHON_USEDEP}]
|
||||
dev-python/asn1crypto[${PYTHON_USEDEP}]
|
||||
dev-python/oscrypto[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/IP2Location[${PYTHON_USEDEP}]
|
||||
dev-util/lief[${PYTHON_USEDEP}]
|
||||
>=dev-python/http-tools-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/libsast-1.3.9[${PYTHON_USEDEP}]
|
||||
dev-util/androguard[${PYTHON_USEDEP}]
|
||||
dev-python/apkid[${PYTHON_USEDEP}]
|
||||
dev-python/frida-python[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
|
||||
dev-python/yara-python[${PYTHON_USEDEP}]
|
||||
|
||||
pdf? ( $(python_gen_cond_dep 'dev-python/pdfkit[${PYTHON_USEDEP}]') )
|
||||
www-servers/gunicorn
|
||||
genymotion? ( app-emulation/genymotion-bin )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
#regular user support
|
||||
sed -e 's|USE_HOME = False|USE_HOME = True|' -i ./mobsf/MobSF/settings.py || die "sed settings failed"
|
||||
|
||||
sed -e '/waitress/d' \
|
||||
-e '/pyOpenSSL/d' -e '/cryptography/d' \
|
||||
-e '/bs4/d' -i requirements.txt || die "sed failed"
|
||||
sed -e 's|==|>=|' -i requirements.txt || die "sed failed"
|
||||
|
||||
use pdf || sed -e '/pdfkit/d' -i requirements.txt || die "sed failed"
|
||||
|
||||
./manage.py makemigrations
|
||||
./manage.py makemigrations StaticAnalyzer
|
||||
./manage.py migrate
|
||||
|
||||
eapply_user
|
||||
}
|
||||
Loading…
Reference in a new issue