xsens-device-api

MEDIUM
maintainer orphaned 0 votes scanned 2026-09-02 11:50:42.784749
View on AUR
Why flagged

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

Triggered rules

Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:15 source=("https://www.xsens.com/hubfs/Downloads/Software/MTSS/Releases/${pkgver}/MT_Software_Suite_linux-x64_${pkgver::6}_${_pkgrev}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer:
2# Contributor: Oystein Sture <oysstu@gmail.com>
3pkgname=xsens-device-api
4pkgver=2022.0.0
5pkgrel=1
6_pkgrev=b7085_r119802
7pkgdesc="Movella Xsens Device API"
8url="https://www.xsens.com/software-downloads"
9arch=('any')
10license=('custom')
11depends=('libusb')
12checkdepends=()
13optdepends=()
14makedepends=()
15source=("https://www.xsens.com/hubfs/Downloads/Software/MTSS/Releases/${pkgver}/MT_Software_Suite_linux-x64_${pkgver::6}_${_pkgrev}.tar.gz")
16sha256sums=('2872b96f7c48cfdbe0788dc89881973ea17cd59624bce8af8e7a76b1f4d82d43')
17
18prepare() {
19 # Skip install location dialog
20 cd "${srcdir}/MT_Software_Suite_linux-x64_${pkgver::6}"
21 sed -i -e 's\/usr/local/xsens\${XS_INST_DIR} \g' -e 's\read INSTALL_PREFIX\#ead INSTALL_PREFIX\g' "mtsdk_linux-x64_${pkgver::6}.sh"
22
23 # Unpack sources
24 export XS_INST_DIR=${srcdir}/xda
25 mkdir -p ${XS_INST_DIR}
26 chmod +x "mtsdk_linux-x64_${pkgver::6}.sh"
27 ./mtsdk_linux-x64_${pkgver::6}.sh
28
29 # Change install from static to shared library
30 sed -i -e 's/libxscommon.a/libxscommon.so/g' -e 's/ar rcs $@ $^/gcc -shared $^ -o $@/g' "${XS_INST_DIR}/public/xspublic/xscommon/Makefile"
31 sed -i -e 's/libxscontroller.a/libxscontroller.so/g' -e 's/ar rcs $@ $^/gcc -shared $^ -o $@/g' "${XS_INST_DIR}/public/xspublic/xscontroller/Makefile"
32 sed -i -e 's/libxstypes.a/libxstypes.so/g' -e 's/ar rcs $@ $^/gcc -shared $^ -o $@/g' "${XS_INST_DIR}/public/xspublic/xstypes/Makefile"
33}
34
35build() {
36 cd "${XS_INST_DIR}/public/xspublic/"
37 export CFLAGS="${CFLAGS} -fPIC -DHAVE_LIBUSB"
38 export CXXFLAGS="${CXXFLAGS} -fPIC -DHAVE_LIBUSB"
39 cd xscommon && make
40 cd ../xstypes && make
41 cd ../xscontroller && make
42}
43
44package() {
45 mkdir -p "${pkgdir}/usr/include"
46 cp -r "${XS_INST_DIR}/include" "${pkgdir}/usr/"
47
48 mkdir -p "${pkgdir}/usr/lib"
49 install -m644 "${XS_INST_DIR}/public/xspublic/xscommon/libxscommon.so" "${pkgdir}/usr/lib/libxscommon.so"
50 install -m644 "${XS_INST_DIR}/public/xspublic/xstypes/libxstypes.so" "${pkgdir}/usr/lib/libxstypes.so"
51 install -m644 "${XS_INST_DIR}/public/xspublic/xscontroller/libxscontroller.so" "${pkgdir}/usr/lib/libxscontroller.so"
52
53 install -Dm644 "${XS_INST_DIR}/Xsens Technologies MT SS License Agreement.rtf" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
54}
55

Changes since previous scan

--- PKGBUILD @ 2026-06-19 19:07
+++ PKGBUILD @ 2026-09-02 11:50
@@ -1,5 +1,5 @@
-# Maintainer: Oystein Sture <oysstu@gmail.com>
-# Contributor:
+# Maintainer:
+# Contributor: Oystein Sture <oysstu@gmail.com>
pkgname=xsens-device-api
pkgver=2022.0.0
pkgrel=1

Scan history

Scanned at (UTC)SeverityRules
2026-09-02 11:50:42 Medium 1
2026-06-19 19:07:35 Clean 2
2026-06-19 18:54:17 Clean 2
2026-06-18 16:11:54 Medium 1

Report a package

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

0 / 4000
Your suggestion