Skip to content
Merged

mobsf #3037

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-python/billiard/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST billiard-4.3.0.tar.gz 160930 BLAKE2B cbed0b7eedf371e2e7d1b18568586cac7a372e68aed194763d82168ca3e6fc86a54f7d86df36f07bd6adf77832d4097a5dfb4c7159acadc17c745af81b39092d SHA512 ecbc2a8bf6cb44ccf3391c12c6ff6faf212c38eaa1460e42c4b52580b8e9b435684e2e135823761f2d071bc66978e1bef1d7fde27befe8d16eea611c52bf87ae
15 changes: 15 additions & 0 deletions dev-python/billiard/billiard-4.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi

DESCRIPTION="Python's multiprocessing package fork with improvements and bugfixes"
HOMEPAGE="https://github.com/celery/billiard"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
12 changes: 12 additions & 0 deletions dev-python/billiard/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">celery/billiard</remote-id>
<remote-id type="pypi">billiard</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-python/http_tools/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST http_tools-5.0.0.tar.gz 550370 BLAKE2B 8d18f1920481a2517edd7180a650c00e9802e73625ba16fa0b53bd12ffc7d707277266acabf939b4d1a3b706e4b03866dcea42cfd2c83ad5c24686abd905873f SHA512 00a31374cf455c148e91b9dc214074981b92b53d15159d3946a3b4b3cf936f7eaa219a0d45a6f709cc4165fbb66100461a727c0a6552e1c38dfda1c87ea9aa9c
DIST http_tools-6.0.1.tar.gz 550380 BLAKE2B 8d65f8abe8c215518887cc243166115323ba949d6b7106620872b9ad737bac8c78f6dac580ed434fcb544f79f8372b5de0799b199efffafa344df9bcd3410f90 SHA512 3840f2c9e880391b3ec1ea563078eb3467fab922705c422bd3b2d3b8ede63760f591d2faa3f8dfa7f68566fb37f065388190067d7c34d5e22f50bb87217d8103
26 changes: 26 additions & 0 deletions dev-python/http_tools/http_tools-6.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi

DESCRIPTION="Capture, repeat and live intercept HTTP requests"
HOMEPAGE="https://github.com/MobSF/httptools"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"

RDEPEND="net-proxy/mitmproxy[${PYTHON_USEDEP}]
>=dev-python/markupsafe-3.0.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

src_prepare(){
sed -i "s|'mitmproxy.*'|'mitmproxy'|g" setup.py
eapply_user
}
2 changes: 1 addition & 1 deletion dev-python/libsast/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DIST libsast-1.5.2.tar.gz 36744 BLAKE2B c2591cb40a76cbe0982b53ce85dd8356f5e67b61db46e12b8efb637c7ea1e090c131c841f9b13e3c4442de72ff630ac7042991d782f76396ee5c05cb8c0d777a SHA512 86643d89aefca2a0e80f7516e3270c05e32ddba10a649746cb0fb868a3a3f444e3359097061648b8efc99800a7f48ead9954a8effbaa0258624b3e3d8c7fa809
DIST libsast-2.0.3.tar.gz 35349 BLAKE2B 610d9e32618dbfe2f24d9c7d24336c4f56b262a79ab533a281b2e4fd2102858a68a2871505b16c922d55c199fb1d7997f9eb76024c7e95b34bae41f134d79975 SHA512 66c7580b413c92120e27f0c96c9483008ae18fafe16b733ad3c44adfa89e91264f10c3595425bc70339b399aa5ab847b3dd924ffae8e1323b2e62e8c47d564b2
DIST libsast-3.1.6.tar.gz 36919 BLAKE2B 5c1803c8693fc5d14a51f5fde578d42f668c5a2fc01894333bfdd5a42e95f58f1952e8e299506803c923a0803b7b9a9548dc67cb5adeb0a74db383c59998d5c8 SHA512 395f896971700923098a3fdd61b32c96d0557226f618a8c5db7774f77317113ca52f3e41a863782b1edabfbf8a8b5e1b041731fdb9bd6cfe843e3c6949c1c1e3
DIST libsast-3.1.8.tar.gz 37559 BLAKE2B 8c759677ba485f9c83838f329ba01f8b485dc4e583ffc4816b8cf58610a97fa3c6f8c7ea6d7805b38e46f1543019324b7d7b4dac73f7243352096d27440c0c82 SHA512 1325b929595dd6c2cbcafc63bc8c42c4e3d44fcb0e0301faad41d17cc0d74527073326c1adbf907f0db6b030fb64e7d415effe92088ea678a5dd0aaa745749f5
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="A generic SAST core built on top of semgrep and regex"
DESCRIPTION="A generic SAST library built on top of semgrep and regex"
HOMEPAGE="https://github.com/ajinabraham/libsast/"

LICENSE="LGPL-3"
Expand All @@ -19,11 +19,6 @@ RESTRICT="!test? ( test )"

RDEPEND=">=dev-python/requests-2.27.1[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
>=dev-python/semgrep-0.104.0[${PYTHON_USEDEP}]"
>=dev-python/billiard-4.2.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

src_prepare(){
sed -i "s|semgrep==|semgrep>=|g" setup.py
eapply_user
}
2 changes: 1 addition & 1 deletion dev-python/openstep-parser/openstep-parser-2.0.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SRC_URI="https://github.com/kronenthaler/openstep-parser/archive/refs/tags/${PV}

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 ~x86"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest
50 changes: 29 additions & 21 deletions dev-python/python3-saml/python3-saml-1.16.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2023 Gentoo Authors
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -27,23 +27,31 @@ RDEPEND="
>=dev-python/lxml-4.9.0[${PYTHON_USEDEP}]
>=dev-python/xmlsec-1.3.9[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
"

distutils_enable_tests pytest

python_test() {
local EPYTEST_DESELECT=(
# Internet
tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testGetMetadataWithHeaders
tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testParseRemoteWithHeaders
)

# The tests are horribly fragile to paths.
local -x PYTHONPATH=src
epytest -o 'python_files=*_test.py'
}
# next release >1.16.0 should be able to drop freezegun:
# https://github.com/SAML-Toolkits/python3-saml/commit/6c1fbd84ed498841b252ba7eb3a7d81a9ea77d15

# Stuck on Python 3.12, broken tests, no reverse dependencies.
# Removal on 2026-10-05. Bug #952388

RESTRICT="test"

#BDEPEND="
# test? (
# dev-python/freezegun[${PYTHON_USEDEP}]
# dev-python/pytest[${PYTHON_USEDEP}]
# )
#"
#
#distutils_enable_tests pytest
#
#python_test() {
# local EPYTEST_DESELECT=(
# # Internet
# tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testGetMetadataWithHeaders
# tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testParseRemoteWithHeaders
# )
#
# # The tests are horribly fragile to paths.
# local -x PYTHONPATH=src
# epytest -o 'python_files=*_test.py'
#}
2 changes: 1 addition & 1 deletion dev-util/mobsf/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST mobsf-4.4.5.tar.gz 104845913 BLAKE2B 2a0e6f56fec1c317371c87d81f6ac773bc2a8c533c5413213d307fafcbcd9549323e17dd75a5a2b108d103eafe36ab678c78e9ea80142925e9e1760cc5d2c55a SHA512 664c459605a6ed41939d5f57a1d410929845cd43a3be30c31c645dec1690f81e7cf3f1d1e20aba7e994362f232b9e6fb97c5f8e51aff57c1ca4c2ec7fd95bed9
DIST mobsf-4.4.6.tar.gz 104846852 BLAKE2B 1f11ab7ef0239740b4905c7ae6e12f7d28565ac60a86b812a297c5487356eb83889b6f4dc5f3fe75e49b435f7c1709251e7265b6cf4251867a1f372064af3379 SHA512 38a038ed2626882c9b519f2a829e03c3d9a85d30cca676296eba19b56200b609a3c71c85c61eeb8f9aa72b2e325f76d3a16798c062571cb743bc00d82739c0a8
DIST mobsf-4.5.3.tar.gz 99100076 BLAKE2B 192cf0b2833692ecaf7dda665c014e1782b23aea77bd7525b8a4c41155657ac9e79e1adcdf9e4551f4d04f728140af04136cbd33876cae1b9ed2b2f337d64a96 SHA512 b67212e5206a76cf4a4b02eb43bb5aef92dbaa4d07e8617432f6d2bd43a4d5dd583c1f8e68356a50c78d280cf02234721c59851285216fd6c5b0be66013b25ef
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -28,7 +28,6 @@ QA_PRESTRIPPED="usr/lib/python.*/site-packages/mobsf/DynamicAnalyzer.*

RDEPEND="
>=dev-python/django-3.1.5[${PYTHON_USEDEP}]
>=dev-python/lxml-4.6.2[${PYTHON_USEDEP}]
>=dev-python/rsa-4.7[${PYTHON_USEDEP}]
>=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup4-0.0.1[${PYTHON_USEDEP}]
Expand All @@ -41,34 +40,27 @@ RDEPEND="
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
>=dev-python/IP2Location-8.10.4[${PYTHON_USEDEP}]
>=dev-python/google-play-scraper-0.1.2[${PYTHON_USEDEP}]
>=dev-python/apkid-2.1.5[${PYTHON_USEDEP}]
>=virtual/frida-16.1.4[${PYTHON_USEDEP}]
>=dev-python/apkid-3.0.0[${PYTHON_USEDEP}]
>=virtual/frida-17.0.0[${PYTHON_USEDEP}]
>=dev-python/tldextract-5.1.3[${PYTHON_USEDEP}]
>=dev-python/openstep-parser-2.0.1[${PYTHON_USEDEP}]
>=dev-python/svgutils-0.3.4[${PYTHON_USEDEP}]
>=dev-python/arpy-2.3.0[${PYTHON_USEDEP}]
>=dev-python/apksigtool-0.1.0[${PYTHON_USEDEP}]
>=dev-python/tzdata-2023.3[${PYTHON_USEDEP}]
>=dev-python/http_tools-5.0.0[${PYTHON_USEDEP}]
>=dev-python/libsast-3.1.6[${PYTHON_USEDEP}]
>=dev-python/http_tools-6.0.0[${PYTHON_USEDEP}]
>=dev-python/libsast-3.1.8[${PYTHON_USEDEP}]
>=dev-python/paramiko-3.3.1[${PYTHON_USEDEP}]
>=dev-python/six-1.16.0[${PYTHON_USEDEP}]
>=dev-python/python3-saml-1.16.0[${PYTHON_USEDEP}]
>=dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
>=dev-python/psycopg-2.9.10[${PYTHON_USEDEP}]
>=dev-util/lief-0.15.1[${PYTHON_USEDEP}]
>=dev-util/lief-0.16.6[${PYTHON_USEDEP}]
>=dev-python/packaging-24.2[${PYTHON_USEDEP}]
>=dev-python/django-ratelimit-4.1.0[${PYTHON_USEDEP}]
>=dev-python/django-q2-1.7.4[${PYTHON_USEDEP}]
>=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
>=dev-python/xmlsec-1.3.14[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.16.13[${PYTHON_USEDEP}]
>=dev-python/click-8.0.1[${PYTHON_USEDEP}]
>=dev-python/decorator-4.4.2[${PYTHON_USEDEP}]
www-servers/gunicorn

dev-python/yara-python[${PYTHON_USEDEP}]

>=dev-python/bleach-6.2.0[${PYTHON_USEDEP}]
www-servers/gunicorn
genymotion? ( app-emulation/genymotion-bin )"
DEPEND="${RDEPEND}"
Expand All @@ -77,13 +69,6 @@ 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
Expand Down
2 changes: 2 additions & 0 deletions profiles/pentoo/base/package.unmask
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ virtual/jdk:24

# Being removed from gentoo on 2026-04-18
dev-python/dunamai

dev-python/python3-saml
Loading