rusty-filer
LOW
maintainer TrialnError
0 votes
scanned 2026-08-29 17:40:20.882297
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Lex Black <autumn-wind@web.de>
2
3
pkgname=rusty-filer
4
pkgver=1.0.0
5
pkgrel=1
6
url='https://codeberg.org/thomas.leister/rusty-filer'
7
license=('MIT')
8
pkgdesc='External XMPP HTTP Upload Server for Prosody and Ejabberd'
9
arch=('x86_64')
10
depends=(glibc libgcc zstd)
11
makedepends=(cargo git)
12
backup=("etc/rusty-filer.toml")
13
install=rusty-filer.install
14
source=(git+https://codeberg.org/thomas.leister/rusty-filer.git#tag=v${pkgver}
15
rusty-filer.service
16
rusty-filer.sysusers
17
rusty-filer.tmpfiles)
18
sha256sums=('3089bf336d4ed026dc3dbe0fe8af5756b9d5888ed1161fec56a12940bc1c8fab'
19
'78701e484f746d376978c4b8c2c1418a7fd996d9abec636a25c77bb9ebb57ac8'
20
'65e8834a77ec76edb8aaa123a0b3d71fbc33b8a61d3c6f83dbab7018699589df'
21
'b0c359a4c719ba4e2a334093f61e2eb4eff0cd46a514f52b1671a0403266203c')
22
23
24
prepare() {
25
cd "${pkgname}"
26
export RUSTUP_TOOLCHAIN=stable
27
cargo fetch --locked --target host-tuple
28
}
29
30
build() {
31
cd "${pkgname}"
32
export RUSTUP_TOOLCHAIN=stable
33
export CARGO_TARGET_DIR=target
34
export ZSTD_SYS_USE_PKG_CONFIG=1
35
cargo build --frozen --release --all-features
36
}
37
38
package() {
39
install -Dm0755 -t "${pkgdir}/usr/bin/" "${pkgname}/target/release/$pkgname"
40
41
install -Dm0644 ${pkgname}/config.example.toml "${pkgdir}/etc/rusty-filer.toml"
42
install -Dm0644 -t "${pkgdir}/usr/lib/systemd/system/" ${pkgname}.service
43
install -Dm0644 "${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
44
install -Dm0644 "${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
45
}
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-29 17:40:20 | Low | 1 |