dnsrecon: virtual migration

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-07-30 15:40:22 -04:00
parent 52389d0358
commit f359b8f2ad
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 1 additions and 30 deletions

View file

@ -1,29 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit multilib python-r1
HOMEPAGE="https://github.com/darkoperator/dnsrecon"
DESCRIPTION="DNS Enumeration Script"
SRC_URI="https://github.com/darkoperator/dnsrecon/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND="${PYTHON_DEPS}
virtual/python-dnspython[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
src_install() {
# should be as simple as copying everything into the target...
dodir /usr/$(get_libdir)/${PN}
cp -R "${S}"/* "${D}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
dosym "${EPREFIX}"/usr/$(get_libdir)/${PN}/${PN}.py /usr/bin/${PN}
}

View file

@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND="${PYTHON_DEPS}
virtual/python-dnspython[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"