diff --git a/app-exploits/getsploit/Manifest b/app-exploits/getsploit/Manifest new file mode 100644 index 000000000..3cdb007fe --- /dev/null +++ b/app-exploits/getsploit/Manifest @@ -0,0 +1,2 @@ +DIST getsploit-0.2.2.tar.gz 12681 BLAKE2B 58fbfc265758bbd5e65e50e9df04690f592b13bea8b3c8a3b4ae76b42d51f8fe1f6a9c82258b33d64eef2c982b6580b70d9edb75fc25009b44ac4455d7bfe387 SHA512 b7150a49050fdef8a9e709844483c0fee991d13916a01a625f1f0c5a23960914d282cc48f74ffafe463053343d52a88576d06824fd27b5b8d7ce4d631b2fed81 +DIST getsploit-0.3.2_p20190322.tar.gz 8677 BLAKE2B 18d14e01ff59daba6169b71bc9e758ac183678a8c2d4ab77ae5afe565e4c302194ced8aa830543aac24ab67bda5d5957dc7d410c96283d38f79384546bcd6eb8 SHA512 2cd2867fc5c89d223f912b56fa8a62aaf72d660363f37179d7f3a6078259388c77038c51cdb140295954b4deec405c4ca9505da6ec4628ea3bded44b913d669d diff --git a/net-misc/getsploit/files/getsploit-0.2.2_add_support_user_home_dir.patch b/app-exploits/getsploit/files/getsploit-0.2.2_add_support_user_home_dir.patch similarity index 100% rename from net-misc/getsploit/files/getsploit-0.2.2_add_support_user_home_dir.patch rename to app-exploits/getsploit/files/getsploit-0.2.2_add_support_user_home_dir.patch diff --git a/net-misc/getsploit/getsploit-0.2.2.ebuild b/app-exploits/getsploit/getsploit-0.2.2.ebuild similarity index 100% rename from net-misc/getsploit/getsploit-0.2.2.ebuild rename to app-exploits/getsploit/getsploit-0.2.2.ebuild diff --git a/app-exploits/getsploit/getsploit-0.3.2_p20190322.ebuild b/app-exploits/getsploit/getsploit-0.3.2_p20190322.ebuild new file mode 120000 index 000000000..6b0fcae7b --- /dev/null +++ b/app-exploits/getsploit/getsploit-0.3.2_p20190322.ebuild @@ -0,0 +1 @@ +./getsploit-9999.ebuild \ No newline at end of file diff --git a/net-misc/getsploit/getsploit-9999.ebuild b/app-exploits/getsploit/getsploit-9999.ebuild similarity index 74% rename from net-misc/getsploit/getsploit-9999.ebuild rename to app-exploits/getsploit/getsploit-9999.ebuild index afc6bcd66..d7bf9e15e 100644 --- a/net-misc/getsploit/getsploit-9999.ebuild +++ b/app-exploits/getsploit/getsploit-9999.ebuild @@ -5,20 +5,21 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_{5,6}} ) PYTHON_REQ_USE="sqlite" -inherit distutils-r1 git-r3 +inherit distutils-r1 DESCRIPTION="Command line utility for searching and downloading exploits" HOMEPAGE="https://github.com/vulnersCom/getsploit" -SRC_URI="" -if [[ ${PV} != *9999 ]]; then - EGIT_REPO_URI="https://github.com/vulnersCom/getsploit" - EGIT_COMMIT="${PV}" - EGIT_COMMIT="65258268d83e942d342cd75c6d6ddf39a2e9ec2b" - KEYWORDS="~amd64 ~x86" -else +if [[ ${PV} == *9999 ]]; then + inherit git-r3 EGIT_REPO_URI="https://github.com/vulnersCom/getsploit" KEYWORDS="" +else + #snapshot + HASH_COMMIT="65258268d83e942d342cd75c6d6ddf39a2e9ec2b" + SRC_URI="https://github.com/vulnersCom/getsploit/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${HASH_COMMIT}" fi RESTRICT="mirror" diff --git a/net-misc/getsploit/metadata.xml b/app-exploits/getsploit/metadata.xml similarity index 100% rename from net-misc/getsploit/metadata.xml rename to app-exploits/getsploit/metadata.xml diff --git a/net-misc/getsploit/Manifest b/net-misc/getsploit/Manifest deleted file mode 100644 index 2b112d080..000000000 --- a/net-misc/getsploit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST getsploit-0.2.2.tar.gz 12681 BLAKE2B 58fbfc265758bbd5e65e50e9df04690f592b13bea8b3c8a3b4ae76b42d51f8fe1f6a9c82258b33d64eef2c982b6580b70d9edb75fc25009b44ac4455d7bfe387 SHA512 b7150a49050fdef8a9e709844483c0fee991d13916a01a625f1f0c5a23960914d282cc48f74ffafe463053343d52a88576d06824fd27b5b8d7ce4d631b2fed81 diff --git a/net-misc/getsploit/getsploit-0.3.2_p20190322.ebuild b/net-misc/getsploit/getsploit-0.3.2_p20190322.ebuild deleted file mode 100644 index afc6bcd66..000000000 --- a/net-misc/getsploit/getsploit-0.3.2_p20190322.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 git-r3 - -DESCRIPTION="Command line utility for searching and downloading exploits" -HOMEPAGE="https://github.com/vulnersCom/getsploit" -SRC_URI="" - -if [[ ${PV} != *9999 ]]; then - EGIT_REPO_URI="https://github.com/vulnersCom/getsploit" - EGIT_COMMIT="${PV}" - EGIT_COMMIT="65258268d83e942d342cd75c6d6ddf39a2e9ec2b" - KEYWORDS="~amd64 ~x86" -else - EGIT_REPO_URI="https://github.com/vulnersCom/getsploit" - KEYWORDS="" -fi - -RESTRICT="mirror" -LICENSE="LGPL-3" -SLOT="0" -IUSE="" - -RDEPEND="${PYTHON_DEPS} - dev-python/clint[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/texttable[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/vulners[${PYTHON_USEDEP}]" - -pkg_postinst() { - elog - elog "See documentation: https://github.com/vulnersCom/getsploit#how-to-use" - elog -} diff --git a/profiles/updates/1Q-2019 b/profiles/updates/1Q-2019 index 0ac33072e..b5d8076b4 100644 --- a/profiles/updates/1Q-2019 +++ b/profiles/updates/1Q-2019 @@ -1,3 +1,4 @@ move dev-python/lief dev-util/lief-bin move dev-python/androguard dev-util/androguard move app-misc/ROPgadget app-exploits/ROPgadget +move net-misc/getsploit app-exploits/getsploit