From bacecdd72613d83f63f2d3324c8c5e006d867bb2 Mon Sep 17 00:00:00 2001 From: Michael Lawnce Date: Tue, 20 Apr 2021 16:25:51 -0500 Subject: [PATCH 1/4] resync --- net-analyzer/honeypots/honeypots-0.11.ebuild | 49 ++++++++++++++++++++ net-analyzer/honeypots/metadata.xml | 8 ++++ 2 files changed, 57 insertions(+) create mode 100644 net-analyzer/honeypots/honeypots-0.11.ebuild create mode 100644 net-analyzer/honeypots/metadata.xml diff --git a/net-analyzer/honeypots/honeypots-0.11.ebuild b/net-analyzer/honeypots/honeypots-0.11.ebuild new file mode 100644 index 000000000..dee35d50f --- /dev/null +++ b/net-analyzer/honeypots/honeypots-0.11.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 eutils + +DESCRIPTION="16 different honeypots "swissarmy-knife" in a single PyPI package for monitoring network traffic" +HOMEPAGE="https://github.com/qeeqbox/honeypots" +## also has varrious python OSINT tools github.com/qeeqbox/ ..... + +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +# EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git" + +LICENSE="AGPL-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="" + +#### dev-python/psycopg2 https://pypi.org/project/psycopg2/ , https://github.com/psycopg/psycopg2/ + # dev-python/psycopg2cffi::tgbugs-overlay , mplementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5. +RDEPEND="${PYTHON_DEPS} + dev-python/pipenv + dev-python/twisted + dev-python/psutil + dev-python/psycopg2 + dev-python/dnspython + dev-python/requests[socks] + dev-python/impacket + dev-python/paramiko + dev-python/redis-py + dev-python/mysql-connector-python + dev-python/pycryptodome + dev-python/vncdotool + dev-python/service_identity + dev-python/PySocks + dev-python/pygments +DEPEND="${RDEPEND}" + + + +src_compile() { + compile_python() { + distutils-r1_python_compile --dynamic-linking + } + python_foreach_impl compile_python +} diff --git a/net-analyzer/honeypots/metadata.xml b/net-analyzer/honeypots/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/net-analyzer/honeypots/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + + From 2325a7dc836b48b481522d76e181eb2db2fc3881 Mon Sep 17 00:00:00 2001 From: Michael Lawnce Date: Tue, 20 Apr 2021 16:43:29 -0500 Subject: [PATCH 2/4] add depend --- dev-python/psycopg2cffi/Manifest | 2 ++ .../psycopg2cffi/psycopg2cffi-2.8.1-r1.ebuild | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 dev-python/psycopg2cffi/Manifest create mode 100644 dev-python/psycopg2cffi/psycopg2cffi-2.8.1-r1.ebuild diff --git a/dev-python/psycopg2cffi/Manifest b/dev-python/psycopg2cffi/Manifest new file mode 100644 index 000000000..05beeec97 --- /dev/null +++ b/dev-python/psycopg2cffi/Manifest @@ -0,0 +1,2 @@ +DIST psycopg2cffi-2.8.1.tar.gz 63189 BLAKE2B 1c32f7e0eb0263a16e165753cad8dabbcd7f982157e89d86f1ed7d315f988d677b2437e041607f9a1a0a5b747758b1b0100e083a591783cc7f984d0c6ad7264b SHA512 d6e85822193621b5558acce148ed5ead8e5c19a5096e3c00a82a861af0fa0510de27af3b717e5effbc675d606c238b615f867558e89661e1437842ac8eead07d +EBUILD psycopg2cffi-2.8.1-r1.ebuild 508 BLAKE2B 15051d76d6ab59e4bbee275a5bec55af67f5011f2755cd4536790ec9ac31fa24dd49f07418913ee270c31c6915b1cf8acc78f3d4d5c3e3cee5990c1a0b4773c5 SHA512 975406c8b34164c72008a40f40c21830cbb8f5daee28997ae26141608f6447da3174c5a39d89c2ec407d429a6a2180e5d4099e69484c3e841c5a21d65148f3d9 diff --git a/dev-python/psycopg2cffi/psycopg2cffi-2.8.1-r1.ebuild b/dev-python/psycopg2cffi/psycopg2cffi-2.8.1-r1.ebuild new file mode 100644 index 000000000..c58919680 --- /dev/null +++ b/dev-python/psycopg2cffi/psycopg2cffi-2.8.1-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python3_{5,6,7,9} ) +inherit distutils-r1 + +DESCRIPTION="Implementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5." +HOMEPAGE="https://github.com/chtd/psycopg2cffi" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +RESTRICT="test" From 77133c3a3cc83d074473bac71ad36a2f7c51c499 Mon Sep 17 00:00:00 2001 From: Michael Lawnce Date: Tue, 27 Apr 2021 14:56:05 -0500 Subject: [PATCH 3/4] update ebuild for review --- net-analyzer/honeypots/honeypots-0.14.ebuild | 1 + ...pots-0.11.ebuild => honeypots-9999.ebuild} | 33 +++++++++++-------- 2 files changed, 20 insertions(+), 14 deletions(-) create mode 120000 net-analyzer/honeypots/honeypots-0.14.ebuild rename net-analyzer/honeypots/{honeypots-0.11.ebuild => honeypots-9999.ebuild} (54%) diff --git a/net-analyzer/honeypots/honeypots-0.14.ebuild b/net-analyzer/honeypots/honeypots-0.14.ebuild new file mode 120000 index 000000000..758cafcc2 --- /dev/null +++ b/net-analyzer/honeypots/honeypots-0.14.ebuild @@ -0,0 +1 @@ +honeypots-9999.ebuild \ No newline at end of file diff --git a/net-analyzer/honeypots/honeypots-0.11.ebuild b/net-analyzer/honeypots/honeypots-9999.ebuild similarity index 54% rename from net-analyzer/honeypots/honeypots-0.11.ebuild rename to net-analyzer/honeypots/honeypots-9999.ebuild index dee35d50f..dcb8e0490 100644 --- a/net-analyzer/honeypots/honeypots-0.11.ebuild +++ b/net-analyzer/honeypots/honeypots-9999.ebuild @@ -5,23 +5,28 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -inherit distutils-r1 eutils +inherit distutils-r1 #eutils -DESCRIPTION="16 different honeypots "swissarmy-knife" in a single PyPI package for monitoring network traffic" +DESCRIPTION="16 different honeypots 'swissarmy-knife' in a single PyPI package for monitoring network traffic" HOMEPAGE="https://github.com/qeeqbox/honeypots" ## also has varrious python OSINT tools github.com/qeeqbox/ ..... SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -# EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git" + case "${PVR}" in + 9999) EGIT_BRANCH=main ;; + esac +fi LICENSE="AGPL-3.0" SLOT="0" KEYWORDS="amd64 ~arm64 x86" IUSE="" -#### dev-python/psycopg2 https://pypi.org/project/psycopg2/ , https://github.com/psycopg/psycopg2/ - # dev-python/psycopg2cffi::tgbugs-overlay , mplementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5. -RDEPEND="${PYTHON_DEPS} + +RDEPEND="${PYTHON_DEPS} ${DEPEND}" dev-python/pipenv dev-python/twisted dev-python/psutil @@ -36,14 +41,14 @@ RDEPEND="${PYTHON_DEPS} dev-python/vncdotool dev-python/service_identity dev-python/PySocks - dev-python/pygments -DEPEND="${RDEPEND}" + dev-python/pygments + DEPEND="|| ( dev-python/psycopg dev-python/psycopg2cffi )" +# 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. +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm ~arm64" +S="${WORKDIR}/${PN}-${MY_PV}" -src_compile() { - compile_python() { - distutils-r1_python_compile --dynamic-linking - } - python_foreach_impl compile_python -} +einfo "https://pypi.org/project/honeypots/ https://github.com/qeeqbox/honeypots for wiki/directions" From 6ebaf9d5926d7ce8e2eca72d0fe9e49568d07342 Mon Sep 17 00:00:00 2001 From: Michael Lawnce Date: Wed, 28 Apr 2021 17:11:29 -0500 Subject: [PATCH 4/4] manifest fix 9999 if/else typos, symlinks add manifest --- net-analyzer/honeypots/Manifest | 3 +++ net-analyzer/honeypots/honeypots-0.12.ebuild | 1 + net-analyzer/honeypots/honeypots-0.13.ebuild | 1 + net-analyzer/honeypots/honeypots-9999.ebuild | 17 +++++++++-------- 4 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 net-analyzer/honeypots/Manifest create mode 120000 net-analyzer/honeypots/honeypots-0.12.ebuild create mode 120000 net-analyzer/honeypots/honeypots-0.13.ebuild diff --git a/net-analyzer/honeypots/Manifest b/net-analyzer/honeypots/Manifest new file mode 100644 index 000000000..aa73442fd --- /dev/null +++ b/net-analyzer/honeypots/Manifest @@ -0,0 +1,3 @@ +DIST honeypots-0.12.tar.gz 24275 BLAKE2B 936d6eb34f3f8befb73bceee310b5ce1633af05880a4fdc397e1da1490a6023f9dfc6dc00291d232971deb0f7aadaa17833590b1e156a3bc75635371d27a862d SHA512 a2869abc86fe728785320c64c0c7b1831904d9a1ccd34427c56b2b56868c69f798315320cd48c9937a3770f5a641e3142503d3240b2341a68ef2d003e3153b69 +DIST honeypots-0.13.tar.gz 24739 BLAKE2B f07ed77279a5c3b8f99ffdb3a504639ee5bb30d613876191c13ffe339fb8959f7b5f798e4b105ea54b247a305423db720ff616b111e0fcfb942d5d087c515a2c SHA512 81144b38763dbbf5ed509729a4d7fa09a1a75964b5f0b8d971c80d90f01329b4704c300e7aa7e03251acfc1e6c3f792abea288e109a364dba5e4aa2f232a66aa +DIST honeypots-0.14.tar.gz 24742 BLAKE2B 9671eaffe3d3d7eef49f602a2a7f27faac58a5c2ff287aa016c0ac74d72fec15498d1ef00c12d0c1554aa064fc67bc32e60cba3e1d596736c3374b7c5cbd3202 SHA512 cd61b090d2f8951949456458bc484d06c532827363fa040e186f04666a27ea4204c3fd093299612cda959204b5f13460ce47004e92191ac287a403525a9a0045 diff --git a/net-analyzer/honeypots/honeypots-0.12.ebuild b/net-analyzer/honeypots/honeypots-0.12.ebuild new file mode 120000 index 000000000..758cafcc2 --- /dev/null +++ b/net-analyzer/honeypots/honeypots-0.12.ebuild @@ -0,0 +1 @@ +honeypots-9999.ebuild \ No newline at end of file diff --git a/net-analyzer/honeypots/honeypots-0.13.ebuild b/net-analyzer/honeypots/honeypots-0.13.ebuild new file mode 120000 index 000000000..758cafcc2 --- /dev/null +++ b/net-analyzer/honeypots/honeypots-0.13.ebuild @@ -0,0 +1 @@ +honeypots-9999.ebuild \ No newline at end of file diff --git a/net-analyzer/honeypots/honeypots-9999.ebuild b/net-analyzer/honeypots/honeypots-9999.ebuild index dcb8e0490..5987f73b6 100644 --- a/net-analyzer/honeypots/honeypots-9999.ebuild +++ b/net-analyzer/honeypots/honeypots-9999.ebuild @@ -11,18 +11,18 @@ DESCRIPTION="16 different honeypots 'swissarmy-knife' in a single PyPI package f HOMEPAGE="https://github.com/qeeqbox/honeypots" ## also has varrious python OSINT tools github.com/qeeqbox/ ..... -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -if [[ ${PV} == *9999 ]]; then - inherit git-r3 + +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git" - case "${PVR}" in - 9999) EGIT_BRANCH=main ;; - esac +else +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" fi + LICENSE="AGPL-3.0" SLOT="0" -KEYWORDS="amd64 ~arm64 x86" +KEYWORDS="amd64 ~arm64 ~x86 ~arm ~*" IUSE="" @@ -43,6 +43,7 @@ RDEPEND="${PYTHON_DEPS} ${DEPEND}" dev-python/PySocks dev-python/pygments DEPEND="|| ( dev-python/psycopg dev-python/psycopg2cffi )" + # 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. @@ -51,4 +52,4 @@ KEYWORDS="~amd64 ~x86 ~arm ~arm64" S="${WORKDIR}/${PN}-${MY_PV}" -einfo "https://pypi.org/project/honeypots/ https://github.com/qeeqbox/honeypots for wiki/directions" +einfo "https://pypi.org/project/honeypots/ https://github.com/qeeqbox/honeypots for wiki/directions" \ No newline at end of file