impacket: 0.9.21 bump

This commit is contained in:
blshkv 2020-03-28 07:37:21 +08:00
parent c0e3431853
commit 34d80b4193
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 55 additions and 7 deletions

View file

@ -1 +1,2 @@
DIST impacket-0.9.20.tar.gz 1242341 BLAKE2B 91093dd46565d4c9b1d5a117ec875987a91a04fe72ef6827f4916844fb95c0255c7c8b9f19ffd2df26761be3a80e5daad0b2332ffa54bfbedcc9ea738a2bc567 SHA512 14e97d03352b8a86701f0f6cdd688b8a7b9952eef5bf3ed9b984fbec6ee60b427c7d8f4200ddc0ae44279c78db30b6a2a48330243da80de25f7d9541a202e731
DIST impacket-0.9.21.tar.gz 1269120 BLAKE2B 2f1bd11fb12b995d5c64f55151859296c55e5c2b27bfbcdea852972da3581959d5b4ef108891ac408f669f03d5f1a2d34f801fce2244d8dc2fedae89ce84dfe3 SHA512 9602019461cc07c2fc1e1a7baf40da0558a6cea4f6086e3c4ee16562cf0298c099c88f32ff7842ba403fc1560ccf29c1b3e9671cddcacb3ff6473d95dc11df2a

View file

@ -1 +0,0 @@
impacket-9999.ebuild

View file

@ -0,0 +1,48 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# TODO: add py3.* support
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A collection of Python classes focused on providing access to network packets"
HOMEPAGE="https://github.com/CoreSecurity/impacket"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/CoreSecurity/impacket"
else
SRC_URI="https://github.com/CoreSecurity/impacket/archive/impacket_${PV//./_}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${PN}_${PV//./_}"
fi
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="${PYTHON_DEPS}
dev-python/future[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]
dev-python/ldapdomaindump[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
python_prepare_all() {
# do not install data files under Gentoo
sed -i -e "s|Darwin|Linux|" setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
cd tests || die
./runall.sh || die
}

View file

@ -0,0 +1 @@
impacket-9999.ebuild

View file

@ -25,14 +25,13 @@ LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="${PYTHON_DEPS}
dev-python/future[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]
dev-python/ldapdomaindump[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]"
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]
>=dev-python/ldapdomaindump-0.9.0[${PYTHON_USEDEP}]
>=dev-python/flask-1.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"