void-packages/srcpkgs/impacket/template
2021-06-16 23:20:29 -06:00

25 lines
913 B
Bash

# Template file for 'impacket'
pkgname=impacket
version=0.9.23
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-future python3-six python3-chardet python3-pyasn1
python3-pycryptodomex python3-openssl python3-ldap3 python3-Flask
ldapdomaindump"
checkdepends="python3-pytest $depends"
short_desc="Collection of Python classes for working with network protocols"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="Apache-1.1, MIT"
homepage="https://www.secureauth.com/labs/open-source-tools/impacket/"
distfiles="https://github.com/SecureAuthCorp/impacket/releases/download/impacket_${version//./_}/impacket-${version}.tar.gz"
checksum=1c1be8a50cdbe3cffc566ba64f552b1b28bcc79b7a406b833956b49c56d77184
make_check=extended
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/bin/A.py \
${DESTDIR}/usr/bin/PoC.py \
${DESTDIR}/usr/bin/PoC2.py
}