testing/gobuster: new aport

Directory/File, DNS and VHost busting tool written in Go
https://github.com/OJ/gobuster

fixes #11567
This commit is contained in:
Pedro Filipe 2020-08-08 09:23:07 +00:00 committed by Rasmus Thomsen
parent 3f299a58f9
commit 9a2afe4fbe

27
testing/gobuster/APKBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=gobuster
pkgver=3.0.1
pkgrel=0
pkgdesc="Directory/File, DNS and VHost busting tool written in Go"
url="https://github.com/OJ/gobuster"
arch="all"
license="Apache-2.0"
makedepends="go>=1.10"
source="$pkgname-$pkgver.tar.gz::https://github.com/OJ/gobuster/archive/v$pkgver.tar.gz"
build() {
go build -ldflags "-s -w" \
-gcflags="all=-trimpath=$GOPATH/src" \
-asmflags="all=-trimpath=$GOPATH/src" \
-o build/gobuster
}
check() {
make test
}
package() {
install -Dm755 "./build/gobuster" "$pkgdir/usr/bin/gobuster"
}
sha512sums="52afcadb26863a111c3aae1902a06c44307ec3f705f076e1cba8169c265e85059f75bc3ddf6c0ca1007753f0603dbf65ceea7414bfc8f236df3f79d99d98361c gobuster-3.0.1.tar.gz"