sublist3r: change src source

This commit is contained in:
blshkv 2018-10-27 09:28:17 +08:00
parent b0927df974
commit d4f5247f9b
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 7 additions and 4 deletions

View file

@ -0,0 +1 @@
DIST sublist3r-1.0_p20181016.zip 748565 BLAKE2B cd052f8a4bfb1b1a390aa09d95382b8d25dd6254c8874c8c1679b3197ebaf4e264722d7867ddf8917672672f9215da96a1207fe24def5d4632ff06bee7c8989e SHA512 0b157158c94fd6f961b2545090a85051ec7872c06abfb324b901707910a7c01cf9ecb45124eb7063d575c350bd70174fe9c7cf259844f49d2a2cd63022ce05f0

View file

@ -4,13 +4,13 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
#PYTHON_COMPAT=( python2_7 )
inherit python-r1 python-utils-r1 git-r3
inherit python-r1 python-utils-r1
COMMIT_HASH="69fdd12708f5d44c416428e2fe369c1d596df1cd"
DESCRIPTION="Enumerate subdomains of websites using OSINT"
HOMEPAGE="https://github.com/aboul3la/Sublist3r"
EGIT_REPO_URI="https://github.com/aboul3la/Sublist3r.git"
EGIT_COMMIT="69fdd12708f5d44c416428e2fe369c1d596df1cd"
SRC_URI="https://github.com/aboul3la/Sublist3r/archive/${COMMIT_HASH}.zip -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
@ -22,6 +22,8 @@ RDEPEND="dev-python/argparse[${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"