mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 04:30:56 +02:00
29 lines
833 B
Bash
29 lines
833 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{5,6} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Fierce is a DNS reconnaissance tool written in perl"
|
|
HOMEPAGE="https://github.com/mschwager/fierce"
|
|
SRC_URI="https://github.com/mschwager/fierce/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE=""
|
|
|
|
#RDEPEND="dev-perl/Net-DNS"
|
|
|
|
RDEPEND="virtual/python-dnspython[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
python_prepare_all() {
|
|
#https://github.com/mschwager/fierce/issues/25
|
|
sed -i -e "s|os.path.dirname(__file__)|\"/usr/share/fierce/\"|" fierce.py || die
|
|
sed -i -e "s|'lists', data|'share/fierce/lists', data|" setup.py || die
|
|
distutils-r1_python_prepare_all
|
|
}
|