lidarr-develop

LOW
maintainer txtsd 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The flagged 'yarn install' in prepare() is part of building the project's own frontend from source, using a frozen lockfile; this is normal for AUR packages and not a supply-chain risk.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 90%): The flagged 'yarn install' in prepare() is part of building the project's own frontend from source, using a frozen lockfile; this is normal for AUR packages and not a supply-chain risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:84 yarn install --frozen-lockfile --network-timeout 120000

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: txtsd <aur.archlinux@ihavea.quest>
2# Maintainer: Donald Webster <fryfrog@gmail.com>
3# Helpful URL: https://services.lidarr.audio/v1/update/develop?version=0.0.0.0&os=linux&runtime=netcore&arch=x64&includeMajorVersion=true
4
5pkgname=lidarr-develop
6_pkgname=Lidarr
7pkgver=3.1.6.5078
8pkgrel=1
9pkgdesc='Music collection manager for newsgroup and torrent users (develop branch)'
10arch=(x86_64 aarch64 armv7h)
11url='https://lidarr.audio'
12license=('GPL-3.0-or-later')
13groups=(servarr-develop)
14depends=(
15 aspnet-runtime-8.0
16 gcc-libs
17 glibc
18 sqlite
19)
20makedepends=(dotnet-sdk-8.0 yarn)
21optdepends=(
22 'postgresql: postgresql database'
23 'sabnzbd: usenet downloader'
24 'nzbget: usenet downloader'
25 'qbittorrent: torrent downloader'
26 'deluge: torrent downloader'
27 'rtorrent: torrent downloader'
28 'nodejs-flood: torrent downloader'
29 'vuze: torrent downloader'
30 'aria2: torrent downloader'
31 'transmission-cli: torrent downloader (CLI and daemon)'
32 'transmission-gtk: torrent downloader (GTK+)'
33 'transmission-qt: torrent downloader (Qt)'
34 'jackett: torrent indexer proxy'
35 'nzbhydra2: torznab and usenet indexer proxy'
36 'prowlarr: torrent and usenet indexer proxy'
37 'autobrr: irc, torrent and usenet indexer proxy'
38)
39provides=(lidarr)
40conflicts=(lidarr)
41install=lidarr.install
42source=(
43 "${pkgname}-${pkgver}.tar.gz::https://github.com/Lidarr/Lidarr/archive/refs/tags/v${pkgver}.tar.gz"
44 lidarr.service
45 lidarr.sysusers
46 lidarr.tmpfiles
47 package_info
48)
49sha256sums=('be7452eee7c089781e9d46365fe3f30d5ba3e93007c5a93e6b2c1cecc4381f8f'
50 '48f4cc5040b1a51e624f5be4977078b77bf7f87b9c1fb7fa34e844da4c831401'
51 '85098d47734e8087480f8a29eafec50faa453487221ef01173888155d2b06e42'
52 'd71e37213ac65722e42f6f2c5772d4515c2d28a77b9f7608dc05c787d86ebaa5'
53 'ea7786c48dce48db0ecfe2feace923d122981f6af86a01985c3662a76153a620')
54
55case ${CARCH} in
56 x86_64) _CARCH='x64' ;;
57 aarch64) _CARCH='arm64' ;;
58 armv7h) _CARCH='arm' ;;
59esac
60
61_framework='net8.0'
62_runtime="linux-${_CARCH}"
63_output="_output"
64_artifacts="${_output}/${_framework}/${_runtime}/publish"
65_branch='develop'
66
67prepare() {
68 cd "${_pkgname}-${pkgver}"
69
70 # Remove upstream dotnet version
71 rm global.json
72
73 export DOTNET_CLI_TELEMETRY_OPTOUT=1
74 export DOTNET_NOLOGO=1
75 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
76 dotnet new globaljson --sdk-version 8.0.127 --roll-forward latestFeature
77
78 # Prepare backend
79 dotnet restore "src/${_pkgname}.sln" \
80 --runtime "${_runtime}" \
81 --locked-mode
82
83 # Prepare frontend
84 yarn install --frozen-lockfile --network-timeout 120000
85}
86
87build() {
88 cd "${_pkgname}-${pkgver}"
89
90 # Build backend
91 export DOTNET_CLI_TELEMETRY_OPTOUT=1
92 export DOTNET_NOLOGO=1
93 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
94 dotnet build src/${_pkgname}.sln \
95 --framework ${_framework} \
96 --runtime ${_runtime} \
97 --no-self-contained \
98 --no-restore \
99 --configuration Release \
100 -p:Platform=Posix \
101 -p:AssemblyVersion=${pkgver} \
102 -p:AssemblyConfiguration=${_branch} \
103 -p:RuntimeIdentifiers=${_runtime} \
104 -t:PublishAllRids \
105 && dotnet build-server shutdown # Build servers do not terminate automatically
106
107 # Build frontend
108 yarn run build --env production
109}
110
111package() {
112 cd "${_pkgname}-${pkgver}"
113
114 install -dm755 "${pkgdir}/usr/lib/lidarr/bin/UI"
115
116 # Remove Service Helpers, Update, and Windows files
117 rm "${_artifacts}/ServiceInstall"*
118 rm "${_artifacts}/ServiceUninstall"*
119 rm "${_artifacts}/Lidarr.Windows."*
120
121 # Copy backend
122 cp -dr "${_artifacts}/"* "${pkgdir}/usr/lib/lidarr/bin"
123 # Copy frontend
124 cp -dr "${_output}/UI/"* "${pkgdir}/usr/lib/lidarr/bin/UI"
125
126 # License
127 install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
128
129 # Disable built in updater.
130 cd "${srcdir}"
131 install -Dm644 package_info "${pkgdir}/usr/lib/lidarr"
132 echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/lidarr/package_info"
133
134 # Systemd
135 install -Dm644 lidarr.service "${pkgdir}/usr/lib/systemd/system/lidarr.service"
136 install -Dm644 lidarr.sysusers "${pkgdir}/usr/lib/sysusers.d/lidarr.conf"
137 install -Dm644 lidarr.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/lidarr.conf"
138}
139

Changes since previous scan

--- PKGBUILD @ 2026-09-14 00:27
+++ PKGBUILD @ 2026-09-17 00:27
@@ -4,7 +4,7 @@
pkgname=lidarr-develop
_pkgname=Lidarr
-pkgver=3.1.5.5066
+pkgver=3.1.6.5078
pkgrel=1
pkgdesc='Music collection manager for newsgroup and torrent users (develop branch)'
arch=(x86_64 aarch64 armv7h)
@@ -46,7 +46,7 @@
lidarr.tmpfiles
package_info
)
-sha256sums=('957246cdc51753aff839e41cfbf61efd3f59995dc4999f1629cdc31ce1f31e82'
+sha256sums=('be7452eee7c089781e9d46365fe3f30d5ba3e93007c5a93e6b2c1cecc4381f8f'
'48f4cc5040b1a51e624f5be4977078b77bf7f87b9c1fb7fa34e844da4c831401'
'85098d47734e8087480f8a29eafec50faa453487221ef01173888155d2b06e42'
'd71e37213ac65722e42f6f2c5772d4515c2d28a77b9f7608dc05c787d86ebaa5'

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 23:18:17 Medium 1
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 13:11:32 Medium 1
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2

Report a package

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

0 / 4000
Your suggestion