mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
getsploit: move to app-exploit, restructure
This commit is contained in:
parent
9f94a2e30a
commit
b6e5e93b46
9 changed files with 13 additions and 49 deletions
2
app-exploits/getsploit/Manifest
Normal file
2
app-exploits/getsploit/Manifest
Normal file
|
|
@ -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
|
||||
1
app-exploits/getsploit/getsploit-0.3.2_p20190322.ebuild
Symbolic link
1
app-exploits/getsploit/getsploit-0.3.2_p20190322.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
./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"
|
||||
|
|
@ -1 +0,0 @@
|
|||
DIST getsploit-0.2.2.tar.gz 12681 BLAKE2B 58fbfc265758bbd5e65e50e9df04690f592b13bea8b3c8a3b4ae76b42d51f8fe1f6a9c82258b33d64eef2c982b6580b70d9edb75fc25009b44ac4455d7bfe387 SHA512 b7150a49050fdef8a9e709844483c0fee991d13916a01a625f1f0c5a23960914d282cc48f74ffafe463053343d52a88576d06824fd27b5b8d7ce4d631b2fed81
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue