commit: ec5815bc780db7720a5df13b83f1554a247b57c9 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Wed Oct 26 19:26:09 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Nov 23 01:43:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5815bc
net-analyzer/wtfis: new package, add 0.4.0, 9999 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27966 Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/wtfis/Manifest | 1 + net-analyzer/wtfis/metadata.xml | 22 ++++++++++++++++++++ net-analyzer/wtfis/wtfis-0.4.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ net-analyzer/wtfis/wtfis-9999.ebuild | 38 +++++++++++++++++++++++++++++++++++ 4 files changed, 99 insertions(+) diff --git a/net-analyzer/wtfis/Manifest b/net-analyzer/wtfis/Manifest new file mode 100644 index 000000000000..da10d284853e --- /dev/null +++ b/net-analyzer/wtfis/Manifest @@ -0,0 +1 @@ +DIST wtfis-0.4.0.gh.tar.gz 459363 BLAKE2B 10338f17700815aa8f25bd1e9587855795710925481ea3d7bd85782fea657055053d965977f601bc25d624352c97c639008d33d30aa3ac248ea7504c7e0ceaa7 SHA512 bb19923668e8172fd07b86159839c95a1b32d9975edcf1e9ab99bb574eae24f70c3a6bf83cc8ade66c1e5f57632625e7f604966ee06445839df87a9af4962573 diff --git a/net-analyzer/wtfis/metadata.xml b/net-analyzer/wtfis/metadata.xml new file mode 100644 index 000000000000..495aa987e99e --- /dev/null +++ b/net-analyzer/wtfis/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>[email protected]</email> + <name>Mario Haustein</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + wtfis is a commandline tool that gathers information about a domain, + FQDN or IP address using various OSINT services. Unlike other tools of + its kind, it's built specifically for human consumption, providing + results that are pretty (YMMV) and easy to read and understand. + </longdescription> + <upstream> + <remote-id type="github">pirxthepilot/wtfis</remote-id> + <remote-id type="pypi">wtfis</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-analyzer/wtfis/wtfis-0.4.0.ebuild b/net-analyzer/wtfis/wtfis-0.4.0.ebuild new file mode 100644 index 000000000000..f8b9786fcce5 --- /dev/null +++ b/net-analyzer/wtfis/wtfis-0.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" +HOMEPAGE="https://github.com/pirxthepilot/wtfis" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" +else + SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.28.1[${PYTHON_USEDEP}] + >=dev-python/rich-12.6.0[${PYTHON_USEDEP}] + >=net-analyzer/shodan-1.28.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/net-analyzer/wtfis/wtfis-9999.ebuild b/net-analyzer/wtfis/wtfis-9999.ebuild new file mode 100644 index 000000000000..f8b9786fcce5 --- /dev/null +++ b/net-analyzer/wtfis/wtfis-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" +HOMEPAGE="https://github.com/pirxthepilot/wtfis" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" +else + SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.28.1[${PYTHON_USEDEP}] + >=dev-python/rich-12.6.0[${PYTHON_USEDEP}] + >=net-analyzer/shodan-1.28.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
