crackmapexec: drop old; 3.1.5_p20200124 update deps

This commit is contained in:
Yury Martynov 2020-02-11 21:28:14 +03:00
parent db5b2ea8e2
commit 538ef80218
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
5 changed files with 12 additions and 122 deletions

View file

@ -1 +0,0 @@
DIST crackmapexec-3.1.5.tar.gz 1028305 BLAKE2B da4ee3dd5bdee2b06b9dd6daf700fdaadfd01c4a1dcfe4b5b2cfbc86631da2d3ca48fff6265fedb78b84f01b26f1934b922ec203fc2ab3be37d067c124a59955 SHA512 c7501afc0f659466eca76863c8afeb262150f3f13ccf9d21412e69b114295c28ba001e979aae014124b31653a0a95a5a4afc5970892d01454f9941a82b6182ec

View file

@ -1,35 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
HOMEPAGE="https://github.com/byt3bl33d3r/CrackMapExec/releases"
SRC_URI="https://github.com/byt3bl33d3r/CrackMapExec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
RDEPEND=">=dev-python/impacket-0.9.15[${PYTHON_USEDEP}]
>=dev-python/gevent-1.2.0[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]"
S="${WORKDIR}/CrackMapExec-${PV}"
python_prepare_all() {
# disarm pycrypto dep to allow || ( pycryptodome pycrypto )
sed -i -e "s|pycrypto|pycryptodome|" requirements.txt || die
sed -i -e "s|pycrypto|pycryptodome|" setup.py || die
distutils-r1_python_prepare_all
}

View file

@ -1,79 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 git-r3
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
HOMEPAGE="https://github.com/byt3bl33d3r/CrackMapExec/releases"
EGIT_REPO_URI="https://github.com/byt3bl33d3r/CrackMapExec.git"
EGIT_COMMIT="333f1c4e06884e85b2776459963ef85d182aba8e"
#use system impacket
EGIT_SUBMODULES=('*' '-*impacket*')
LICENSE="BSD-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
RDEPEND="
dev-python/asn1crypto[${PYTHON_USEDEP}]
dev-python/bcrypt[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]
dev-python/gevent[${PYTHON_USEDEP}]
dev-python/idna[${PYTHON_USEDEP}]
virtual/python-ipaddress[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/ntlm-auth[${PYTHON_USEDEP}]
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
dev-python/pycryptodomex[${PYTHON_USEDEP}]
dev-python/pylnk[${PYTHON_USEDEP}]
dev-python/pynacl[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/requests-ntlm[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/selenium[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/splinter[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/terminaltables[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
dev-python/impacket[${PYTHON_USEDEP}]
"
#soupsieve==1.8 not in use?
QA_FLAGS_IGNORED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
#https://github.com/byt3bl33d3r/CrackMapExec/issues/282
PATCHES=( "${FILESDIR}/setup.patch" )
python_prepare_all() {
# sed -i -e "/pycrypto/d" setup.py || die
sed -i -e '/bs4/d' setup.py || die
sed -i -e 's#msgpack-python#msgpack#' setup.py || die
distutils-r1_python_prepare_all
}
python_install(){
#install data files disabled in setup.patch
rm -r cme/thirdparty/impacket
cp -r cme/{data,thirdparty} "${BUILD_DIR}"/lib/cme
distutils-r1_python_install
}

View file

@ -1,9 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1 git-r3
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
@ -60,10 +61,6 @@ RDEPEND="
dev-python/terminaltables[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
dev-python/impacket[${PYTHON_USEDEP}]
dev-python/pywinrm[${PYTHON_USEDEP}]
dev-python/pywerview[${PYTHON_USEDEP}]
"
#soupsieve==1.8 not in use?

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>