crackmapexec: drop old

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-09-27 13:23:29 -04:00
parent 5739877ed9
commit a37aab1196
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 0 additions and 68 deletions

View file

@ -1,2 +1 @@
DIST crackmapexec-5.1.7.tar.gz 196805 BLAKE2B de9fe124d06825bd9413708fa44ef31f7502e1ac59002d475eef6d6813845fda1886bff3dd3ff8c20b31bb7c54e4a4823a759d41e7be521d83384df1165a97a2 SHA512 3b4be83d30d58908f0828adb3b64aea608eb40ca21a9f9d3f69289f4be976ba9933990de6db46801ec3318ce93879af9ae30ed4bd3bcbbe0cbec748c82af4f11
DIST crackmapexec_5.1.6.orig.tar.xz 11067336 BLAKE2B 28faf14feb2afb102acd79a30d0b1a9bb0792ff53d6d6274be2162afbd447132a9b6e4cecafdbab7aade2b6e687a0d09c5d8bc5dd1776180282ea5b63a209ca1 SHA512 f08ccde568dd200a637da69a914a0b8aa548c4044d5317b75d8900f023cb95843dd8d9f4f5c7366d006d1b94efb43a5ca7a58efeb7751e947cd48a1762b842ca

View file

@ -1,67 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
PYTHON_COMPAT=( python3_{8..9} )
inherit python-utils-r1 distutils-r1
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
HOMEPAGE="https://github.com/byt3bl33d3r/CrackMapExec/releases"
SRC_URI="https://mirrors.neusoft.edu.cn/kali/pool/main/c/crackmapexec/crackmapexec_${PV}.orig.tar.xz"
LICENSE="BSD-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
#pyproject.toml, [tool.poetry.dependencies]
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-ntlm[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/lsassy[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
>=dev-python/neo4j-4.1.1[${PYTHON_USEDEP}]
dev-python/pylnk3[${PYTHON_USEDEP}]
>=dev-python/pypsrp-0.5.0[${PYTHON_USEDEP}]
>=dev-python/paramiko-2.7.2[${PYTHON_USEDEP}]
dev-python/impacket[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
dev-python/terminaltables[${PYTHON_USEDEP}]
dev-python/pywerview[${PYTHON_USEDEP}]
dev-python/aioconsole[${PYTHON_USEDEP}]
"
QA_FLAGS_IGNORED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
QA_PRESTRIPPED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
PATCHES=(
#thirdparty: https://github.com/byt3bl33d3r/CrackMapExec/issues/361
# "${FILESDIR}/5.1.4-remove_thirdparty.patch"
#almost debian patch, bs4 -> beautifulsoup4
"${FILESDIR}/5.1.4-setup.py.patch"
)
S="${WORKDIR}"
src_prepare() {
default
}
#src_install() {
# distutils-r1_src_install
python_install() {
distutils-r1_python_install
insinto /etc/revdep-rebuild
doins "${FILESDIR}"/50${PN}
python_optimize "./cme/modules/"
insinto "$(python_get_sitedir)/cme/data/"
doins "./cme/data/cme.conf"
insinto "$(python_get_sitedir)/cme/"
doins -r "./cme/modules"
}