mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
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:
parent
3f299a58f9
commit
9a2afe4fbe
27
testing/gobuster/APKBUILD
Normal file
27
testing/gobuster/APKBUILD
Normal 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"
|
||||
Loading…
x
Reference in New Issue
Block a user