From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B43D158020 for ; Wed, 23 Nov 2022 01:45:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5B7AE0C0D; Wed, 23 Nov 2022 01:45:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0B3AE0C03 for ; Wed, 23 Nov 2022 01:45:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CA07340688 for ; Wed, 23 Nov 2022 01:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC6A176C for ; Wed, 23 Nov 2022 01:45:16 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1669167790.2f4ed11c2d13ddb7ed61730295e3e9e72648eddc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/shodan/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/shodan/Manifest net-analyzer/shodan/metadata.xml net-analyzer/shodan/shodan-1.28.0.ebuild net-analyzer/shodan/shodan-9999.ebuild X-VCS-Directories: net-analyzer/shodan/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2f4ed11c2d13ddb7ed61730295e3e9e72648eddc X-VCS-Branch: master Date: Wed, 23 Nov 2022 01:45:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f887c3f4-d967-4798-90ae-e5bc35044fc9 X-Archives-Hash: 528cdc99853a4683aef5ed14323d397d commit: 2f4ed11c2d13ddb7ed61730295e3e9e72648eddc Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Oct 26 19:21:31 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f4ed11c net-analyzer/shodan: new package, add 1.28.0, 9999 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Signed-off-by: Sam James gentoo.org> net-analyzer/shodan/Manifest | 1 + net-analyzer/shodan/metadata.xml | 22 +++++++++++++++++++ net-analyzer/shodan/shodan-1.28.0.ebuild | 36 ++++++++++++++++++++++++++++++++ net-analyzer/shodan/shodan-9999.ebuild | 36 ++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) diff --git a/net-analyzer/shodan/Manifest b/net-analyzer/shodan/Manifest new file mode 100644 index 000000000000..692d15a254a3 --- /dev/null +++ b/net-analyzer/shodan/Manifest @@ -0,0 +1 @@ +DIST shodan-1.28.0.gh.tar.gz 51277 BLAKE2B e2cd4c322ccdd1d81c998dc810c56b85de903afe9c3a59adc231d382779806909a78e994ff163639468dd9af1e8f7a547953b0e2304ac167ed7cf9c437d69adc SHA512 cb2476faf2c435d29823635e5262bdf6b224b2a5f19b77513fb6e920f4d042b15a7fd23cea7e2a29bc73b00be188dfac16f945fba090da28a72d0342357232c3 diff --git a/net-analyzer/shodan/metadata.xml b/net-analyzer/shodan/metadata.xml new file mode 100644 index 000000000000..506479336f85 --- /dev/null +++ b/net-analyzer/shodan/metadata.xml @@ -0,0 +1,22 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Shodan is a search engine for Internet-connected devices. Google lets + you search for websites, Shodan lets you search for devices. This + library provides developers easy access to all of the data stored in + Shodan in order to automate tasks and integrate into existing tools. + + + achillean/shodan-python + shodan + + diff --git a/net-analyzer/shodan/shodan-1.28.0.ebuild b/net-analyzer/shodan/shodan-1.28.0.ebuild new file mode 100644 index 000000000000..c66417af8251 --- /dev/null +++ b/net-analyzer/shodan/shodan-1.28.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="The official Python library for Shodan" +HOMEPAGE="https://github.com/achillean/shodan-python" + +MY_PN="${PN}-python" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/achillean/shodan-python.git" +else + SRC_URI="https://github.com/achillean/shodan-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${MY_PN}-${PV}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-plugins[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] + dev-python/xlsxwriter[${PYTHON_USEDEP}] +" + +# Test requires API key +RESTRICT="test" diff --git a/net-analyzer/shodan/shodan-9999.ebuild b/net-analyzer/shodan/shodan-9999.ebuild new file mode 100644 index 000000000000..c66417af8251 --- /dev/null +++ b/net-analyzer/shodan/shodan-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="The official Python library for Shodan" +HOMEPAGE="https://github.com/achillean/shodan-python" + +MY_PN="${PN}-python" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/achillean/shodan-python.git" +else + SRC_URI="https://github.com/achillean/shodan-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${MY_PN}-${PV}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-plugins[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] + dev-python/xlsxwriter[${PYTHON_USEDEP}] +" + +# Test requires API key +RESTRICT="test"