pentoo-overlay/net-analyzer/honeypots/honeypots-9999.ebuild
2023-11-30 11:14:42 +08:00

46 lines
1.5 KiB
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="16 different honeypots for monitoring network traffic"
HOMEPAGE="https://github.com/qeeqbox/honeypots"
if [ "${PV#9999}" != "${PV}" ] ; then
SCM="git-r3"
EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git"
else
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
#untested and broken. Do not use
#KEYWORDS="amd64 ~arm64 ~x86 ~arm ~*"
fi
LICENSE="AGPL-3"
SLOT="0"
IUSE=""
RDEPEND="
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/impacket[${PYTHON_USEDEP}]
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/redis-py[${PYTHON_USEDEP}]
dev-python/mysql-connector-python[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/vncdotool[${PYTHON_USEDEP}]
dev-python/service_identity[${PYTHON_USEDEP}]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
( dev-python/psycopg[${PYTHON_USEDEP}] dev-python/psycopg2cffi[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# dev-python/psycopg in gentoo / psycopg2cffi rappid c++ extensions either should run.
# dev-python/psycopg2cffi::tgbugs-overlay , implementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5.