Gentoo masked pycryptodomex, fix reverse deps

This commit is contained in:
Rick Farina (Zero_Chaos) 2020-12-23 10:34:43 -05:00
parent d0fc770f26
commit d0b1967128
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
13 changed files with 6 additions and 123 deletions

View file

@ -1,3 +1 @@
DIST impacket-0.9.21.tar.gz 1269120 BLAKE2B 2f1bd11fb12b995d5c64f55151859296c55e5c2b27bfbcdea852972da3581959d5b4ef108891ac408f669f03d5f1a2d34f801fce2244d8dc2fedae89ce84dfe3 SHA512 9602019461cc07c2fc1e1a7baf40da0558a6cea4f6086e3c4ee16562cf0298c099c88f32ff7842ba403fc1560ccf29c1b3e9671cddcacb3ff6473d95dc11df2a
DIST impacket-0.9.21_p20201015.tar.gz 1364508 BLAKE2B 1cbf258da080847c8d884898f26a6fd3a4805da4cf57101c138771439b85745d1c4c6495e5894e0d10c76901102f8e4fb613e7f57cda3969275476736c144eb2 SHA512 4cb3c823fc27fd386002c390060af40a178e73029010e916a391c80970e5fc6735c273503c0cb67d605547195386d29a8c76906f8e9579db048297b06eb28b01
DIST impacket-0.9.22.tar.gz 1373065 BLAKE2B a457420176987794bdb25521600873384bff72818f44e9a05c2b4078c2001e23bc053a5c35fa0f58763cca4810366c6c171e2c509046d328e0e2672bde59ba1d SHA512 ff007f4570d875951615120cc5211ca4841e33e65a6508ba1a08c69dbf3d14c093a777c9d8489588ff5083db3045d919807b0288c6792ef7464810684eaa1e75

View file

@ -1,46 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
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
HASH_COMMIT="78e8c8e41b3f163f1271a01ce3f2bf3bb880f687"
SRC_URI="https://github.com/CoreSecurity/impacket/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
fi
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="${PYTHON_DEPS}
>=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]
>dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
dev-python/six[${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}"
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

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

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit distutils-r1
@ -25,7 +25,7 @@ SLOT="0"
RDEPEND="${PYTHON_DEPS}
>=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
>dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]

View file

@ -1,2 +1 @@
DIST ldapdomaindump-0.9.1.tar.gz 17764 BLAKE2B 7294410fae6f29708c810abcd607ab1ce6047ec9c5b4215c6e4cd2794b663785621fb023e497ea960fbc47670263eab999483f54eb80eaf51dc450617461973f SHA512 952981d65366b1f243714ce5ed053bbb08e27174e3789d803a65010a7ff5ae2b9af88f4b91ad826c8b75b3f323bf0505a217dc42224ef7974e236ee8bc5f6c5e
DIST ldapdomaindump-0.9.3.tar.gz 18745 BLAKE2B 21ae800dc2be80aad3bbc57a1d6de1a11d649a1678160c5d5ac75f571597efd6b17687022ac759912fb40154794e1e2f7492ab125d051764f0e9cf4c81b9b8c7 SHA512 b24083d271033e3c38e280d8cedd822ca503840716cd21361b1956595179dd6d67a9d75f0e3e4b47d8d21e313ee1f4e370d20c5453a3703ed370b75ba7d505e1

View file

@ -1,29 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Active Directory information dumper via LDAP"
HOMEPAGE="https://github.com/dirkjanm/ldapdomaindump"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="${PYTHON_DEPS}
dev-python/dnspython[${PYTHON_USEDEP}]
>=dev-python/ldap3-2.5.1[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
src_prepare(){
sed -i "s|ldap3==2.5.1|ldap3|g" setup.py
eapply_user
}

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit distutils-r1

View file

@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-python/impacket-0.9.20[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"

View file

@ -1,2 +1 @@
DIST smbmap-1.1.0.tar.gz 26090 BLAKE2B bdc9faceba78ad65d3e5a90713c9c9e98ec3681e3c454b1bdce6556e9d22510181cef0fa0bbddf83d5ecf17db614b3f5b111bb7d1bc55188b4a8a4ac20efedf0 SHA512 9e94953a17cd9b84d782a3afb12b2fea71c50c5a80c3b9e1274aa7b9de74ecf30fa22831a1c00035c89d26808859b2a840a6cfb3ade0efcf87e4586f77cef097
DIST smbmap-1.8.2.tar.gz 32811 BLAKE2B fd0cd82f027faa562ee1cb4da101cab97e0d8b398b712815c1cf47c85c88874831acbfcef2e8f75dbbc89f6c69f85be6c46bfe1069d3d030171b55f52bb1b3fa SHA512 e2f2f4bd76178d02a0cd0822e36a04e4f87f6b00d4ff461e0a5e14d54d3652f95fe2415d1e8b7678873b4aac108c8372f0fff9848344f742ef1ca88b0f0792b8

View file

@ -1,36 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit python-r1
DESCRIPTION="SMBMap is a handy SMB enumeration tool"
HOMEPAGE="https://github.com/ShawnDEvans/smbmap"
if [[ ${PV} = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ShawnDEvans/smbmap"
else
SRC_URI="https://github.com/ShawnDEvans/smbmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="${PYTHON_DEPS}
dev-python/impacket[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
pkg_setup() {
python_setup
}
src_install() {
python_foreach_impl python_newscript ${PN}.py ${PN}
}

View file

@ -4,7 +4,7 @@
EAPI=7
# TODO: add py3.* support
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_8 )
inherit python-r1
@ -25,7 +25,7 @@ SLOT="0"
RDEPEND="${PYTHON_DEPS}
dev-python/impacket[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]"
dev-python/pycryptodome[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
pkg_setup() {

View file

@ -57,7 +57,6 @@ dev-python/pywerview
~dev-python/neo4j-4.2.0
############ Gentoo unstable ======================
=dev-python/pycryptodomex-3.9*
~dev-python/ldap3-2.7
~dev-python/requests-credssp-1.2.0 ~amd64
~dev-python/nltk-2.0.1_rc1