aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/crackmapexec/APKBUILD
blob: 789083bf9f4b532bbd97d4a7eba5dd46225f5806 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                           
            
        



                                                                                 
                                                             
                                                                     
                                                                         
                                       
                          
                                                                                                  

                                    




                              

                      
                              



                      
                                                               


                                                                           


                                                                                                                                                                        
# 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"