diff --git a/packages/bloodhound-python-ce/PKGBUILD b/packages/bloodhound-python-ce/PKGBUILD new file mode 100644 index 00000000000..55dfe61bed6 --- /dev/null +++ b/packages/bloodhound-python-ce/PKGBUILD @@ -0,0 +1,39 @@ +# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). +# See COPYING for license details. + +pkgname=bloodhound-ce-python +_pkgname=BloodHound.py +pkgver=v1.0.1.r182.g3def775 +pkgrel=1 +pkgdesc='Python data collector for Bloodhound community edition (v5)' +arch=('any') +groups=('blackarch' 'blackarch-recon' 'blackarch-windows') +url='https://github.com/dirkjanm/BloodHound.py' +license=('MIT') +depends=('python' 'python-dnspython' 'impacket' 'python-ldap3' 'python-pyasn1' + 'python-pycryptodome') +makedepends=('python-setuptools' 'git') +source=("git+https://github.com/dirkjanm/$_pkgname.git#branch=bloodhound-ce") +sha512sums=('SKIP') + +pkgver() { + cd $_pkgname + + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$_pkgname" + + python setup.py build +} + +package() { + cd "$_pkgname" + + python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build + + install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + diff --git a/packages/bloodhound-python/PKGBUILD b/packages/bloodhound-python/PKGBUILD index a18eb3da7e7..958ed4efe5d 100644 --- a/packages/bloodhound-python/PKGBUILD +++ b/packages/bloodhound-python/PKGBUILD @@ -3,17 +3,17 @@ pkgname=bloodhound-python _pkgname=BloodHound.py -pkgver=v1.0.1.r151.ge8b0b7a -pkgrel=4 -pkgdesc='Bloodhound python data collector' +pkgver=v1.0.1.r163.g44bd5c2 +pkgrel=1 +pkgdesc='Python data collector for Bloodhound legcacy (v4)' arch=('any') groups=('blackarch' 'blackarch-recon' 'blackarch-windows') -url='https://github.com/fox-it/BloodHound.py' +url='https://github.com/dirkjanm/BloodHound.py' license=('MIT') depends=('python' 'python-dnspython' 'impacket' 'python-ldap3' 'python-pyasn1' - 'python-future' 'ldapdomaindump') + 'python-pycryptodome') makedepends=('python-setuptools' 'git') -source=("git+https://github.com/fox-it/$_pkgname.git") +source=("git+https://github.com/dirkjanm/$_pkgname.git") sha512sums=('SKIP') pkgver() {