impacket: bump to fix CVE-2021-31800

This commit is contained in:
Anton Bolshakov 2021-06-05 11:42:37 +08:00
parent f7a4d9fb07
commit 1cb38354f0
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 15 additions and 5 deletions

View file

@ -1 +1,2 @@
DIST impacket-0.9.22.tar.gz 1373065 BLAKE2B a457420176987794bdb25521600873384bff72818f44e9a05c2b4078c2001e23bc053a5c35fa0f58763cca4810366c6c171e2c509046d328e0e2672bde59ba1d SHA512 ff007f4570d875951615120cc5211ca4841e33e65a6508ba1a08c69dbf3d14c093a777c9d8489588ff5083db3045d919807b0288c6792ef7464810684eaa1e75
DIST impacket-0.9.22_p20210529.tar.gz 1389007 BLAKE2B 9c58565bc61bc1cc12ab30cda94aef6d197ff10bca9afd4bde4dba2ca2da052df4730c45a18a292353a0d3193f685c0c00acf2c6b5ea82cff6c7864560e7e5bb SHA512 53e6e96a9339bbdce4e223e2b630d2f72988c46742a05a96d77ddf35fff5cba7928c42571b42481b3fa7fce3459b4d4010d8c76887de40fb053304836e44b986

View file

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

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
@ -13,9 +13,13 @@ HOMEPAGE="https://github.com/SecureAuthCorp/impacket"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SecureAuthCorp/impacket"
elif [[ ${PV} == *"_p202"* ]]; then
HASH_COMMIT="25c62f65a420e7ce3541c9099e32e91f6e9d3bd9"
SRC_URI="https://github.com/SecureAuthCorp/impacket/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
else
SRC_URI="https://github.com/SecureAuthCorp/impacket/archive/impacket_${PV//./_}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 x86"
S="${WORKDIR}/${PN}-${PN}_${PV//./_}"
fi
@ -26,11 +30,14 @@ SLOT="0"
RDEPEND="${PYTHON_DEPS}
>=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
>dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.16.2[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]
dev-python/ldap3[${PYTHON_USEDEP}]
>=dev-python/ldapdomaindump-0.9.0[${PYTHON_USEDEP}]
>=dev-python/flask-1.0[${PYTHON_USEDEP}]"
>=dev-python/flask-1.0[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View file

@ -29,6 +29,7 @@ def portage_mapping(search):
"dev-python/pysocks": "dev-python/PySocks",
"dev-python/unicorn": "dev-util/unicorn[python]",
"dev-python/colored_traceback": "dev-python/colored-traceback",
"dev-python/pycryptodomedomex": "dev-python/pycryptodome",
}
for key in mapping: