aboutsummaryrefslogtreecommitdiffstats
path: root/community/crackmapexec/APKBUILD
blob: efcf693724e1f3576aa35dc795cfa81dd3ffccdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=crackmapexec
_pkgname=CrackMapExec
pkgver=3.1.4
pkgrel=1
pkgdesc="A swiss army knife for pentesting Windows/Active Directory environments"
url="https://github.com/byt3bl33d3r/CrackMapExec"
arch="noarch"
license="custom"
depends="python2 py2-asn1 py2-impacket py2-netaddr py2-crypto 
	py2-openssl py2-msgpack py2-requests py2-termcolor py2-gevent"
makedepends="python2-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/byt3bl33d3r/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
	install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

md5sums="1e18e694d8d5cdb29fcf7f436738ea41  crackmapexec-3.1.4.tar.gz"
sha256sums="925b447f51851bd84fa4763ae87e8f7e79b0f42dee513581ba90ff972bd6aa73  crackmapexec-3.1.4.tar.gz"
sha512sums="21fe449e1ef7a383ccc544bc8b25b1239668d48b8ea546441a9cec215990545657faef1b1f4fcc0b723a48f38e1ed2f2bee2dc36e5a40b18b6a4061f14cfb71a  crackmapexec-3.1.4.tar.gz"