Jonas 30a51275f9 testing/rustscan: upgrade to 2.2.3
https://github.com/RustScan/RustScan/releases/tag/2.2.3

Also deleted the Cargo.lock.patch as it was not needed to compile.
2024-05-12 21:29:16 +00:00

40 lines
976 B
Plaintext

# Contributor: guddaff <guddaff@protonmail.com>
# Maintainer: guddaff <guddaff@protonmail.com>
pkgname=rustscan
pkgver=2.2.3
pkgrel=0
pkgdesc="Modern Port Scanner"
url="https://github.com/RustScan/RustScan"
license="GPL-3.0-or-later"
# ppc64le and s390x and riscv64 blocked by ring crate
# armhf timout while building
arch="all !ppc64le !armhf !s390x !riscv64"
makedepends="cargo cargo-auditable"
checkdepends="bash perl python3"
source="https://github.com/RustScan/RustScan/archive/$pkgver/rustscan-$pkgver.tar.gz"
options="net"
builddir="$srcdir/RustScan-$pkgver"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --release --frozen
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/rustscan -t "$pkgdir"/usr/bin/
}
sha512sums="
12a32c689aae378c4328164da4bdcc1fff8a9b0b6958ec40ffa9477a4281c58f39646359f6b6022c8b86e2240d65c24c39cb22d97f2ad1bd015757bf6c8d3407 rustscan-2.2.3.tar.gz
"