rustscan: initial commit, version 2.0.1

This commit is contained in:
Tim Biermann 2020-11-19 09:17:14 +00:00
parent 764af80003
commit 9047234a7e
3 changed files with 30 additions and 0 deletions

3
rustscan/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/rustscan

5
rustscan/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39AuHrMuvF8hQ6FgYYaC1h4me3uHFMqaxXK1F/EYMX9ywesOjVFn73BhiJ4cBt9UngWu2XEDCBWdmjH50V8gnQ0=
SHA256 (Pkgfile) = 637e1e80eb8149e5f520ff7ff9492255bbdc0bde89dcc4dc52d79e5ee05ad09d
SHA256 (.footprint) = 09e74ff4ec946a1c0dc666a6a2ef69f056d462ddfa8c4ab9702eb7886b8f8486
SHA256 (rustscan-2.0.1.tar.gz) = 1d458cb081cbed2db38472ff33f9546a6640632148b4396bd12f0229ca9de7eb

22
rustscan/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: Faster Nmap Scanning with Rust
# URL: https://github.com/brandonskerritt/RustScan
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: nmap rust
name=rustscan
version=2.0.1
release=1
source=(https://github.com/brandonskerritt/RustScan/archive/$version/$name-$version.tar.gz)
build() {
cd RustScan-$version
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
cargo update
cargo fetch
cargo build --release --locked
install -Dt $PKG/usr/bin target/release/rustscan
}