mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
35 lines
786 B
Bash
35 lines
786 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7} )
|
|
EGO_PN=github.com/ShawnDEvans/${PN}
|
|
|
|
inherit python-r1
|
|
|
|
if [[ ${PV} = *9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/madengr/ham2mon.git"
|
|
KEYWORDS=""
|
|
else
|
|
KEYWORDS="~amd64 ~x86"
|
|
EGIT_COMMIT="${PV}"
|
|
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
fi
|
|
|
|
DESCRIPTION="SMBMap is a handy SMB enumeration tool."
|
|
HOMEPAGE="https://github.com/ShawnDEvans/smbmap"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-python/impacket-0.9.20[${PYTHON_USEDEP}]
|
|
dev-python/pyasn1[${PYTHON_USEDEP}]
|
|
dev-python/pycryptodomex[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_install() {
|
|
newbin "${PN}.py" "${PN}"
|
|
}
|