diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 05:54:22 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-09 09:59:44 -0300 |
commit | e30604da103e98238ab9dcbffd456030457df8b4 (patch) | |
tree | 6c5b1054ec6a45be03f7be7083c7d5c937cea6c1 /unmaintained/crackmapexec/APKBUILD | |
parent | ff55947a9b05839ed2ee7a38a291fa5ee1a4d375 (diff) | |
download | aports-e30604da103e98238ab9dcbffd456030457df8b4.zip |
unmaintained/crackmapexec: move from community
- Python2 only
Diffstat (limited to 'unmaintained/crackmapexec/APKBUILD')
-rw-r--r-- | unmaintained/crackmapexec/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/crackmapexec/APKBUILD b/unmaintained/crackmapexec/APKBUILD new file mode 100644 index 00000000000..789083bf9f4 --- /dev/null +++ b/unmaintained/crackmapexec/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=crackmapexec +_pkgname=CrackMapExec +pkgver=3.1.5 +pkgrel=2 +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 + py2-packaging py2-setuptools py2-chardet py2-urllib3 py2-certifi" +makedepends="python2-dev py-setuptools" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/byt3bl33d3r/$_pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +check() { + cd "$builddir" + python2 setup.py check +} + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" + install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="22843a22bea425ce55ba1f189754824f crackmapexec-3.1.5.tar.gz" +sha256sums="dbe067e21e2fb382bfbe1aa2eaa814e48add889dde1bc9015105990c6ea67250 crackmapexec-3.1.5.tar.gz" +sha512sums="c7501afc0f659466eca76863c8afeb262150f3f13ccf9d21412e69b114295c28ba001e979aae014124b31653a0a95a5a4afc5970892d01454f9941a82b6182ec crackmapexec-3.1.5.tar.gz" |