Skip to content

Commit

Permalink
improve go-windapsearch (#3869)
Browse files Browse the repository at this point in the history
- rename the binary with the go prefix so there is no conflict with
  windapsearch
- release because it's not available in repository
  • Loading branch information
noraj committed Jun 27, 2023
1 parent b73999e commit fe078f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions lists/to-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go-windapsearch
6 changes: 2 additions & 4 deletions packages/go-windapsearch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
pkgname=go-windapsearch
_binname=windapsearch
pkgver=v0.3.0.r22.ged05587
pkgrel=1
pkgrel=2
pkgdesc='Utility to enumerate users, groups and computers from a Windows domain through LDAP queries.'
arch=('x86_64' 'aarch64')
groups=('blackarch' 'blackarch-recon' 'blackarch-windows')
url='https://github.com/ropnop/go-windapsearch'
license=('BSD')
makedepends=('git' 'go' 'mage')
conflicts=('windapsearch')
provides=('windapsearch')
source=("git+https://github.com/ropnop/$pkgname.git")
sha512sums=('SKIP')

Expand All @@ -31,7 +29,7 @@ build() {
package() {
cd $pkgname

install -Dm 755 $_binname "$pkgdir/usr/bin/$_binname"
install -Dm 755 $_binname "$pkgdir/usr/bin/$pkgname"
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Expand Down

0 comments on commit fe078f5

Please sign in to comment.