mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 02:16:39 +02:00
30 lines
936 B
Text
30 lines
936 B
Text
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=naabu
|
|
pkgver=2.3.3
|
|
pkgrel=4
|
|
pkgdesc="Fast port scanner written in go with a focus on reliability and simplicity"
|
|
url="https://docs.projectdiscovery.io/tools/naabu"
|
|
arch="aarch64 s390x x86_64" # test only succeed on these archs
|
|
license="MIT"
|
|
makedepends="go libpcap-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/projectdiscovery/naabu/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="net" # go dependencies
|
|
|
|
build() {
|
|
make build
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "$builddir/naabu" -t "$pkgdir/usr/bin/"
|
|
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
b6df145d5afceceaebde88d9ee3d444cde7d6a6631de29b4b125f2ceb6a0cb6847a392d8ca8e06b34fa2e8354c74b34d70f3106beec3c795a6822eb24d9b71ae naabu-2.3.3.tar.gz
|
|
"
|