rhit: initial commit, version 1.5.3

This commit is contained in:
Tim Biermann 2021-09-19 22:56:58 +02:00
parent 525266aa62
commit bb3a30ae8f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 27 additions and 0 deletions

3
rhit/.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/rhit

5
rhit/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30v+KQnPf9CpaCQbJ6NuQtU6ozmQbu8KDGXz24KKe9tqdXZaV67xw+aUj3GRZ7m0XLjWORG9lHYh9BOcta2cWgE=
SHA256 (Pkgfile) = 3e0bc9a7e5dc73f5f2830aa923616174a92c0c8459811c0c3ad84310e637a874
SHA256 (.footprint) = d1bc596803259e516fd10e85534f841c0ec324ac5822c125c0d622751c3e3415
SHA256 (rhit-1.5.3.tar.gz) = fc2bd613a9ded70906f4c2af67a1540ffe6de165efe6aefeffaea97ceed76a82

19
rhit/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: A nginx log explorer
# URL: https://dystroy.org/rhit/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
name=rhit
version=1.5.3
release=1
source=(https://github.com/Canop/rhit/archive/v$version/$name-$version.tar.gz)
build() {
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 --manifest-path $name-$version/Cargo.toml
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}