Permalink
Browse files

theHarvester: 3.0 bump

  • Loading branch information...
blshkv committed Oct 11, 2018
1 parent 01f0bfe commit 355d2545b43756b69111483f20d3300566700660
@@ -1,2 +1,2 @@
DIST theHarvester-2.7.3.tar.gz 62170 BLAKE2B aa565850506f1dc11cacd8e8fda67579972f35d45863b7a0af97706391943fcb272cffa89a9ccb267e42f9aac6849aaf58288aff961fb71e50f880d679c89b0b SHA512 9e4d1cf04ff49291d0366486fc80eb84f42d82fc34da0d270e10b3544e66f2026c680798e5652528bdce3383024b7eb023206eed4d1d99e21f1ead2cda1cd627
DIST theHarvester-2.7.tar.gz 58241 BLAKE2B 97405ac2987c501feb87c23f079985c0778b47a134f2037078db05d140fff385d4f2aff87ec83c0487534c9ea2655c19dac7a3b10164382fd8e975d2a653b955 SHA512 de60f2d9e3869f6951990748df4d153059e5b090b0f2c67fe59b6dfc403d4fc2b6a6d4ff9163efef17f69547f8b1ae70a662ab7f4a8d103a1f8595cd4e6ff6cf
DIST theHarvester-3.0.tar.gz 1026917 BLAKE2B 5a838cb6cb8fbee5107e020c57f91925ae5a05619369ec281a2ec0452167afac2a44e40a974e70e8680be9c5f8e05a253d8f6eedb46e376dae97903adfb5a7fc SHA512 d1e8eeaf0e6f6c431678086a24457ee97c865e7878467b2cdb000580962c99d8a25b8eaef60f2560b801b35ad2aa2d14a2cb9282f2d3de6fa92bccb794ea5931
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,25 +9,27 @@ inherit python-single-r1 python-utils-r1
DESCRIPTION="The Harvester is a tool designed to collect email accounts of the target domain"
HOMEPAGE="http://www.edge-security.com/theharvester.php"
SRC_URI="https://github.com/laramies/theHarvester/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/laramies/theHarvester/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
RDEPEND="net-analyzer/wfuzz[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
src_prepare() {
python_fix_shebang .
#make it a module
sed -e 's|from discovery|from theHarvester.discovery|' -i theHarvester.py || die "sed failed"
sed -e 's|from lib|from theHarvester.lib|' -i theHarvester.py || die "sed failed"
sed -e 's|import stash|import theHarvester.stash|' -i theHarvester.py || die "sed failed"
sed -e 's|from lib|from theHarvester.lib|' -i lib/htmlExport.py || die "sed failed"
for i in discovery/*.py; do
sed -e 's|import myparser|from theHarvester import myparser|' -i $i || die "sed for $i failed"
sed -e 's|import myparser|from theHarvester import myparser|' -i $i
done
touch __init__.py
@@ -36,7 +38,7 @@ src_prepare() {
src_install() {
python_moduleinto ${PN}
python_domodule __init__.py myparser.py discovery lib
python_domodule __init__.py myparser.py stash.py discovery lib
# old installation, just in case
# insinto $(python_get_sitedir)
@@ -47,5 +49,5 @@ src_install() {
# doins lib/*.py
newbin theHarvester.py theharvester
dodoc README LICENSES
dodoc README.md LICENSES
}
@@ -99,7 +99,7 @@ net-analyzer/snort
~net-analyzer/tcpdump-4.3.0
~net-analyzer/thc-ipv6-3.2
~net-analyzer/thc-pptp-bruter-0.1.4
=net-analyzer/theHarvester-2.7*
=net-analyzer/theHarvester-3.0*
~net-analyzer/upnpscan-0.4
~net-analyzer/upnpwn-0.8.0
~net-analyzer/vomit-0.2c

0 comments on commit 355d254

Please sign in to comment.