rshim

LOW
maintainer Doridian 1 votes scanned 2026-09-11 05:22:12.681428
View on AUR
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: Doridian <archlinux at doridian dot net>
2
3pkgname=rshim
4pkgver=2.8.5
5pkgrel=1
6pkgdesc="User-space RSHIM driver for Mellanox BlueField SoC"
7arch=('x86_64' 'aarch64')
8url="https://github.com/Mellanox/rshim-user-space"
9license=('GPL-2.0-only OR BSD-3-Clause')
10depends=('fuse2' 'gcc-libs' 'glibc' 'libusb' 'pciutils' 'perl' 'python' 'systemd-libs')
11conflicts=('rshim-git')
12backup=('etc/rshim.conf')
13source=(
14 "https://github.com/Mellanox/rshim-user-space/releases/download/rshim-${pkgver}/rshim-src-${pkgver}.tar.gz"
15 'fix-console-handling.patch::https://github.com/Mellanox/rshim-user-space/pull/363.patch'
16)
17sha256sums=(
18 '527bac1e2e1b60e9d499b8963c955ec78c51c9c65eb5d257adecb0877a717c33'
19 '189588932529e550f09934c7f4908b08f302ff180186488cd9aa092f727f0716'
20)
21
22prepare() {
23 cd "${srcdir}"
24 patch -p1 -i "${srcdir}/fix-console-handling.patch"
25 ./bootstrap.sh
26}
27
28# Thanks to https://aur.archlinux.org/packages/rshim-git for these below steps
29
30build() {
31 cd "${srcdir}"
32 ./configure \
33 --prefix=/usr \
34 --sbindir=/usr/bin \
35 --sysconfdir=/etc \
36 --with-systemdsystemunitdir=/usr/lib/systemd/system
37 make
38}
39
40package() {
41 cd "${srcdir}"
42 make DESTDIR="$pkgdir" install
43
44 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
45
46 # Arch installs sbin programs into /usr/bin
47 sed -i 's|/usr/sbin/rshim|/usr/bin/rshim|' \
48 "$pkgdir/usr/lib/systemd/system/rshim.service"
49
50 # Package-provided .link files belong under /usr/lib
51 install -d "$pkgdir/usr/lib/systemd/network"
52 mv "$pkgdir/etc/systemd/network/10-tmfifo-net.link" \
53 "$pkgdir/usr/lib/systemd/network/"
54 rmdir -p --ignore-fail-on-non-empty "$pkgdir/etc/systemd/network"
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-09-11 05:22:12 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion