rustscan: 2.1.0 -> 2.1.1

This commit is contained in:
Tim Biermann 2022-11-12 12:45:34 +00:00
parent 7b60d1a342
commit 5880288aee
2 changed files with 8 additions and 12 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32Nq+Mi+mThHrD2QT+rsCSH5vukJMC/D4AAmOWa2vkfusRJLczapj8UQwlMRfF+PzFgnXV+/mD6vPu3EEGFYqwk=
SHA256 (Pkgfile) = 42cac6ad6f889d9ae108c64bd7bfb218275e7d844898ccfc83a1a90ada39e3eb
RWSagIOpLGJF3yEXy3pCpFYuWJ1klzpn5lKXQeoZRGoGNTyERcsJdYD0ZrS53muyDbT0HjJFOosgJ+AMcyQDoRefDwnvNW3lsgg=
SHA256 (Pkgfile) = ed276aa81aed469f84415d746eeb5da4e181bed8837aae3a2220e1dcd8ddb863
SHA256 (.footprint) = 09e74ff4ec946a1c0dc666a6a2ef69f056d462ddfa8c4ab9702eb7886b8f8486
SHA256 (rustscan-2.1.0.tar.gz) = 10958957148544da780c1be4004b906e94bafe02a19f0224f6026828fb77a8cc
SHA256 (rustscan-2.1.1.tar.gz) = 51244a5bde278b25de030bd91e4ebe1d4b87269b2d0f7f601565caef4fb5749a

View File

@ -4,19 +4,15 @@
# Depends on: nmap rust
name=rustscan
version=2.1.0
version=2.1.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"
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
cargo update
cargo fetch
cargo build --release --locked
install -Dt $PKG/usr/bin target/release/rustscan
cargo build --release --manifest-path RustScan-$version/Cargo.toml
install -Dt $PKG/usr/bin RustScan-$version/target/release/$name
}