flexisip
maintainer tyrolyean
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the project's official GitLab repository, which is a normal practice for AUR packages; the non-whitelisted host is the legitimate project host, and the SKIP'd checksum is justified by in-tree submodules, posing no real security 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from the project's official GitLab repository, which is a normal practice for AUR packages; the non-whitelisted host is the legitimate project host, and the SKIP'd checksum is justified by in-tree submodules, posing no real security risk.
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=("git+https://gitlab.linphone.org/BC/public/flexisip.git#tag=$pkgver")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Tyrolyean <tyrolyean@escpe.net>
2
pkgname=flexisip
3
pkgver=2.5.3
4
pkgrel=1
5
pkgdesc="A general purpose SIP proxy with media capabilities"
6
arch=('x86_64')
7
url="https://flexisip.org"
8
license=('AGPL-3.0-or-later')
9
groups=()
10
depends=('gsm' 'hiredis' 'jsoncpp' 'libnghttp2' 'libvpx' 'libxml2' 'mariadb-libs'
11
'net-snmp' 'openssl' 'opus' 'postgresql-libs' 'python' 'speex' 'speexdsp'
12
'sqlite' 'xerces-c' 'zlib')
13
makedepends=('cmake' 'git' 'doxygen' 'python-pystache' 'python-six' 'yasm')
14
optdepends=('python-google-auth: firebase_v1_get_access_token.py push notification helper')
15
backup=('etc/flexisip/flexisip.conf' 'etc/logrotate.d/flexisip-logrotate')
16
install='flexisip.install'
17
# Upstream no longer supports building against a system linphone-sdk: the SDK,
18
# sofia-sip and soci are compiled in-tree from git submodules, so we have to
19
# build from the git tag instead of the release tarball (which ships the
20
# submodule directories empty).
21
source=("git+https://gitlab.linphone.org/BC/public/flexisip.git#tag=$pkgver")
22
noextract=()
23
sha256sums=('SKIP')
24
25
prepare() {
26
cd "$pkgname"
27
# gitlab.linphone.org refuses a large share of connection attempts when
28
# it is loaded, and fetching the ~40 nested submodules in one go rarely
29
# gets through. The update is resumable, so retry until it completes.
30
local try
31
for try in {1..10}; do
32
git submodule update --init --recursive && return
33
echo "submodule fetch failed (attempt $try/10), retrying in 15s..."
34
sleep 15
35
done
36
return 1
37
}
38
39
build() {
40
# The vendored linphone-sdk installs generic libbctoolbox.so,
41
# liblinphone.so, libmbedtls.so, ... so keep the whole tree in its own
42
# prefix to avoid file conflicts with the system packages. The binaries
43
# find the bundled libraries through the install rpath.
44
cmake -B build -S "$pkgname" \
45
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
46
-DCMAKE_INSTALL_PREFIX=/opt/flexisip \
47
-DSYSCONF_INSTALL_DIR=/etc \
48
-DFLEXISIP_SYSTEMD_INSTALL_DIR=/usr/lib/systemd/system \
49
-DENABLE_REDIS=YES \
50
-DENABLE_PRESENCE=YES \
51
-DENABLE_CONFERENCE=YES \
52
-DENABLE_OPENID_CONNECT=NO
53
cmake --build build
54
}
55
56
package() {
57
DESTDIR="$pkgdir" cmake --install build
58
59
install -d "$pkgdir/usr/bin"
60
for B in flexisip flexisip_cli.py flexisip_pusher flexisip_serializer; do
61
ln -s "/opt/flexisip/bin/$B" "$pkgdir/usr/bin/$B"
62
done
63
}
64
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |