gnokii
maintainer Bevan
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
The source is a legitimate tarball from samba.org, a well-known and trusted host for open-source projects, despite not being on a standard whitelist; the package builds from official source code with no signs of malicious behavior.
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 95%): The source is a legitimate tarball from samba.org, a well-known and trusted host for open-source projects, despite not being on a standard whitelist; the package builds from official source code with no signs of malicious behavior.
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:21
source=("https://download.samba.org/pub/$pkgname/$pkgname/$pkgname-$pkgver.tar.bz2"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
2
# Contributor: Andrea Scarpino <andrea@archlinux.org>
3
# Contributor: Roman Kyrylych <roman@archlinux.org>
4
# Contributor: Aurelien Foret <orelien@chez.com>
5
6
pkgname=gnokii
7
pkgver=0.6.31
8
pkgrel=21
9
pkgdesc='Tools and user space driver for use with mobile phones'
10
arch=('x86_64')
11
url='https://www.gnokii.org/'
12
license=('GPL')
13
depends=('libusb-compat' 'libxpm' 'bluez-libs' 'libical' 'sqlite' 'systemd')
14
makedepends=('gtk2' 'mariadb-libs' 'postgresql-libs' 'intltool')
15
optdepends=('dialog: sendsms tool'
16
'gtk2: xgnokii GUI'
17
'mariadb-libs: smsd mysql backend'
18
'postgresql-libs: smsd postgresql backend')
19
backup=('etc/gnokiirc')
20
install=$pkgname.install
21
source=("https://download.samba.org/pub/$pkgname/$pkgname/$pkgname-$pkgver.tar.bz2"
22
'gnokii-config.patch'
23
'gnokii-lock.patch'
24
'gnokii-gcc5.patch'
25
'gnokii-gcc7.patch')
26
sha256sums=('8f5a083b05c1a66a3402ca5cd80084e14c2c0632c991bb53b03c78e9adb02501'
27
'4c795f0b80b3703a2813adb32399b42080a01670619c1db63ab094494cb6f329'
28
'e0584a44268e9055b43f1673d7db828f45294c5108635ebd5f664e12703f108b'
29
'eafe67990e383e92636a88de27f003674374db81d986ddbb397ab18d82b6556d'
30
'a5db8684216904bd2a2cd8a557dcc16484831b9bc2ec91a0b102b14c3bfe9245')
31
32
prepare() {
33
cd $pkgname-$pkgver
34
35
# Set bindir location
36
patch -Np1 -i ../gnokii-config.patch
37
38
# Set lock path
39
patch -Np1 -i ../gnokii-lock.patch
40
41
# Fix build with GCC 5 (Fedora patch)
42
patch -Np1 -i ../gnokii-gcc5.patch
43
44
# Fix build with GCC 7
45
patch -Np1 -i ../gnokii-gcc7.patch
46
}
47
48
build() {
49
cd $pkgname-$pkgver
50
51
_CFLAGSADDITIONS="-Wno-error=incompatible-pointer-types"
52
CFLAGS+=" ${_CFLAGSADDITIONS}"
53
export CFLAGS
54
55
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
56
--enable-security
57
make
58
pushd xgnokii
59
make
60
popd
61
}
62
63
package() {
64
cd $pkgname-$pkgver
65
66
make DESTDIR="$pkgdir" install
67
pushd xgnokii
68
make DESTDIR="$pkgdir" install
69
popd
70
71
# Install initial config file
72
install -Dm644 Docs/sample/gnokiirc "$pkgdir/etc/gnokiirc"
73
74
# Fix file permission
75
chmod 755 "$pkgdir/usr/bin/sendsms"
76
77
# Setup lock directory
78
install -dm755 "$pkgdir"/usr/lib/tmpfiles.d
79
echo 'd /run/lock/lockdev 0775 root lock -' > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
80
}
81
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-18 00:03@@ -18,7 +18,7 @@ 'postgresql-libs: smsd postgresql backend') backup=('etc/gnokiirc') install=$pkgname.install-source=("https://www.gnokii.org/download/$pkgname/$pkgname-$pkgver.tar.bz2"+source=("https://download.samba.org/pub/$pkgname/$pkgname/$pkgname-$pkgver.tar.bz2" 'gnokii-config.patch' 'gnokii-lock.patch' 'gnokii-gcc5.patch'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 00:03:42 | LOW | 2 |
| 2026-08-15 00:26:13 | LOW | 2 |
| 2026-08-14 00:03:41 | LOW | 2 |
| 2026-08-13 00:17:07 | LOW | 2 |
| 2026-08-12 00:27:08 | LOW | 2 |
| 2026-08-11 13:21:13 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |