libsigrok-chromium-twinkie
maintainer XenGi
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (sigrok.org), which is plausibly the project's own infrastructure, and the package builds from source; the non-whitelisted host is not inherently risky in this context.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official domain (sigrok.org), which is plausibly the project's own infrastructure, and the package builds from source; the non-whitelisted host is not inherently risky in this context.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:19
source=("https://sigrok.org/download/source/$_pkgname/$_pkgname-$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
2
# Contributor: Thomas Krug <t.krug@elektronenpumpe.de>
3
4
pkgname=libsigrok-chromium-twinkie
5
_pkgname=libsigrok
6
pkgver=0.5.2
7
pkgrel=1
8
pkgdesc='Client software that supports various hardware logic analyzers, core library'
9
arch=('x86_64')
10
url='https://www.sigrok.org/wiki/Libsigrok'
11
license=('GPL3')
12
depends=('libftdi' 'libserialport' 'glibmm' 'libzip' 'libieee1284' 'bluez-libs' 'hidapi' 'libudev.so')
13
makedepends=('cmake' 'doxygen' 'ruby' 'jdk8-openjdk' 'swig' 'python' 'pygobject-devel' 'python-numpy' 'python-setuptools' 'autoconf-archive')
14
optdepends=('python' 'ruby' 'jdk8-openjdk'
15
'sigrok-firmware-fx2lafw: Cypress FX2-based device support')
16
options=(!lto) # FS#78381
17
conflicts=(libsigrok)
18
provides=(libsigrok)
19
source=("https://sigrok.org/download/source/$_pkgname/$_pkgname-$pkgver.tar.gz"
20
"fix_swig4_java_bindings.patch"
21
"libsigrok-0.5.2-swig-4.1.patch"
22
"fix_ruby_bindings.patch::https://sigrok.org/bugzilla/attachment.cgi?id=640"
23
"chromium-twinkie-driver.patch"
24
"chromium-twinkie-vbus-channels.patch")
25
sha512sums=('cf673dad6280302d69050c29490621f66c6d6a73932d019a53ec3501316d3f2e23e7667a04f866dbe6ed73f86a63de73d2173e2b6cea563631d705e06f887092'
26
'0e6bdddb2dcc03d76e5d16708bb127ec8a9207fba0e04b436ac92e370618cc0b1bc9d3e2c86a0878783626f2a8b59961c3a1a52a1e180e69005e3585e5766a89'
27
'7a1e35b6b268d117e67dff55c2ff1320257525eedb7454a068732d79074b6d743036ab2c11043952738dd3990ca084782feeb15ad92a306b3b58c73ecc530154'
28
'0e5b9ed566605acac02de6f559f9029929be7ca34d9688ed35d24d66c1b014f89a16902a4de79d0a1ef6347be257f24f77ea37b880aab757b2c338497de23030'
29
'd5b20497be7d295b0b4cb7f254c279bddaaf598d222b2c6062450f1c5326defdf50ba53d88539b2c01dba01c978170e582deba5793cd00cfd2c7a2ba5e854208'
30
'44737ff60df9b3c42ae5068b8c13c8a14ad02e483ebf2d8ca40f39bedad1f5d4804740c3b143d30f1fdaa8dc4cba3074f4fe37428717bea6fa787bbfc1331a0e')
31
32
prepare() {
33
cd $_pkgname-$pkgver
34
patch -p1 < ../fix_swig4_java_bindings.patch # https://sigrok.org/bugzilla/show_bug.cgi?id=1527
35
patch -p1 < ../fix_ruby_bindings.patch # https://sigrok.org/bugzilla/show_bug.cgi?id=1526
36
patch -p1 < ../libsigrok-0.5.2-swig-4.1.patch # https://sigrok.org/bugzilla/show_bug.cgi?id=1827
37
patch -p1 < ../chromium-twinkie-driver.patch
38
patch -p1 < ../chromium-twinkie-vbus-channels.patch
39
40
# regenerate ./configure so it can detect Python 3.10
41
autoreconf -vi
42
}
43
44
build() {
45
cd $_pkgname-$pkgver
46
47
./configure --prefix=/usr --enable-ruby
48
49
make
50
}
51
52
package() {
53
cd libsigrok-$pkgver
54
55
make DESTDIR="$pkgdir" PREFIX=/usr install
56
57
install -m644 -D contrib/60-libsigrok.rules "$pkgdir"/usr/lib/udev/rules.d/60-libsigrok.rules
58
install -m644 -D contrib/61-libsigrok-uaccess.rules "$pkgdir"/usr/lib/udev/rules.d/61-libsigrok-uaccess.rules
59
}
60
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |