sublist3r-1.1_p20200629.ebuild

This commit is contained in:
Anton Bolshakov 2021-05-26 12:05:31 +08:00
parent 41c976cd95
commit fd66cb15d5
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 41 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST sublist3r-1.0_p20200105.zip 742768 BLAKE2B 933803c23d657b688931641725254cc2b27cf770d2bad9d7b989712f41d3bebc4b4d7543f287346004fe6ece7924fca0256f4dc518cd710199a86c3fdc9efd20 SHA512 bd30e835e4322d1f361888e2a37e770cb4d13777349fb2448c6880bbdc061c4cd3a3efdee0a3a78d87ac22c880c0154158b4d298b0b411ee33f76c53d3fb0601
DIST sublist3r-1.1_p20200629.zip 742756 BLAKE2B df5bc9de1a918a53c8732d8638f206f3e56e67e59f699402599b8217e5367395f725ba72d74f80768555e5d8d27bceb12fdc7f1eb7815f84d0cdc04a5e37adb6 SHA512 28afde457aa7fefab2c38dbb2c871d4d5f62e78d091076dc3984b1f24497d89272f33d4fe87db4024265f7376cf257d89feecf7d9be840568c187d518b936434

View file

@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit python-r1
COMMIT_HASH="729d649ec5370730172bf6f5314aafd68c874124"
DESCRIPTION="Enumerate subdomains of websites using OSINT"
HOMEPAGE="https://github.com/aboul3la/Sublist3r"
SRC_URI="https://github.com/aboul3la/Sublist3r/archive/${COMMIT_HASH}.zip -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/Sublist3r-${COMMIT_HASH}"
src_prepare() {
#make it a module
sed -e 's|from subbrute|from sublist3r.subbrute|' -i sublist3r.py || die "sed failed"
touch __init__.py
#https://github.com/aboul3la/Sublist3r/issues/215
sed -e '/argparse/d' -i requirements.txt || die "sed failed"
default
}
src_install() {
python_moduleinto ${PN}
python_foreach_impl python_domodule subbrute __init__.py
newbin sublist3r.py sublist3r
dodoc README.md
}