swiften4-git
LOW
maintainer orphaned
0 votes
base
swift4-git
scanned 2026-11-01 00:21:48.120785
Why flagged
The source is a git checkout from the project's own domain (swift.im), which is plausibly official; building from source is normal for AUR, even if the host isn't whitelisted.
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 git checkout from the project's own domain (swift.im), which is plausibly official; building from source is normal for AUR, even if the host isn't whitelisted.
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:13
source=("git://swift.im/swift#branch=swift-4.x")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Bjoern Franke <bjo@nord-west.org>
2
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
3
4
pkgbase='swift4-git'
5
pkgname=('swift4-im-git' 'swiften4-git')
6
pkgver=4.0.2.r6.gbb3bd8a32
7
pkgrel=1
8
arch=('i686' 'x86_64')
9
url="http://swift.im/"
10
license=('GPL3')
11
makedepends=('git' 'python2' 'openssl' 'boost' 'qt5-base' 'qt5-multimedia'
12
'qt5-webkit' 'qt5-x11extras' 'qt5-tools' 'qt5-svg')
13
source=("git://swift.im/swift#branch=swift-4.x")
14
md5sums=('SKIP')
15
16
pkgver() {
17
cd "$srcdir/swift"
18
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^swift\.//'
19
}
20
21
# Those options need to be consistent between each scons invocation.
22
_scons_options='max_jobs=1 optimize=1 debug=0 swiften_dll=1'
23
_directory='swift'
24
25
build() {
26
cd "$srcdir/$_directory"
27
./scons $_scons_options Swift Swiften
28
}
29
30
package_swift4-im-git() {
31
pkgdesc='XMPP client written in C++ with Qt and Swiften (4.x branch)'
32
depends=("swiften4-git=$pkgver" 'qt5-base' 'qt5-multimedia' 'qt5-webkit'
33
'qt5-x11extras' 'qt5-svg')
34
provides=('swift-im=3.0')
35
conflicts=('swift-im')
36
37
cd "$srcdir/$_directory"
38
./scons $_scons_options SWIFT_INSTALLDIR="$pkgdir/usr/" "$pkgdir/usr/"
39
}
40
41
package_swiften4-git() {
42
pkgdesc='XMPP library written in C++ with Boost (4.x branch)'
43
depends=('boost-libs')
44
provides=('swiften=4.0')
45
conflicts=('swiften')
46
47
cd "$srcdir/$_directory"
48
./scons $_scons_options SWIFTEN_INSTALLDIR="$pkgdir/usr/" "$pkgdir/usr/"
49
}
50
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |