pentoo-overlay/dev-python/Impacket/Impacket-0.9.6.0-r1.ebuild

34 lines
806 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit python
DESCRIPTION="a collection of Python classes focused on providing access to network packets."
HOMEPAGE="http://oss.coresecurity.com/projects/impacket.html"
SRC_URI="http://oss.coresecurity.com/repo/${P}.tar.gz"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/python"
DEPEND="${RDEPEND}"
src_compile() {
einfo "Nothing to compile"
}
src_install() {
insinto /usr/lib/python"$(python_get_version)"/site-packages/impacket
doins impacket/*
insinto ${INSDESTTREE}/dcerpc
doins impacket/dcerpc/*
dodoc ChangeLog README doc/*
docinto examples && dodoc examples/*
cd examples && dosbin rpcdump.py samrdump.py smbclient.py smbcat.py
}