diff options
author | Tim Biermann <tbier@posteo.de> | 2021-09-19 22:56:58 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-09-19 22:56:58 +0200 |
commit | bb3a30ae8fc006c03f7fa57fece168559d966191 (patch) | |
tree | 9b05bcb143c8f2334b65a2826437a5822dd0b704 /rhit | |
parent | 525266aa62d1cff8736f438a995ac2cba2e36a3c (diff) | |
download | contrib-bb3a30ae8fc006c03f7fa57fece168559d966191.tar.gz contrib-bb3a30ae8fc006c03f7fa57fece168559d966191.tar.xz |
rhit: initial commit, version 1.5.3
Diffstat (limited to 'rhit')
-rw-r--r-- | rhit/.footprint | 3 | ||||
-rw-r--r-- | rhit/.signature | 5 | ||||
-rw-r--r-- | rhit/Pkgfile | 19 |
3 files changed, 27 insertions, 0 deletions
diff --git a/rhit/.footprint b/rhit/.footprint new file mode 100644 index 000000000..b4d30b38c --- /dev/null +++ b/rhit/.footprint @@ -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 diff --git a/rhit/.signature b/rhit/.signature new file mode 100644 index 000000000..aefa14043 --- /dev/null +++ b/rhit/.signature @@ -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 diff --git a/rhit/Pkgfile b/rhit/Pkgfile new file mode 100644 index 000000000..7f8c6597b --- /dev/null +++ b/rhit/Pkgfile @@ -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 +} |