orfeo-toolbox
maintainer ArArgyridis
· 15 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source downloads a tarball from the project's official domain (orfeo-toolbox.org), which is a legitimate host for the software, and the git module is from a known contributor's GitHub; the non-whitelisted host is project-affiliated and used for official releases, posing minimal 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source downloads a tarball from the project's official domain (orfeo-toolbox.org), which is a legitimate host for the software, and the git module is from a known contributor's GitHub; the non-whitelisted host is project-affiliated and used for official releases, posing minimal supply-chain 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:25
source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
2
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>
3
# Contributor: Tu Yu-Hsuan <dobe0331@gmail.com>
4
5
pkgname=orfeo-toolbox
6
pkgver=9.1.1
7
_pkgver=9.1
8
pkgrel=11
9
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
10
arch=(x86_64 i686)
11
url="http://www.orfeo-toolbox.org"
12
license=('CeCILL')
13
groups=()
14
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
15
makedepends=('git' 'swig' 'cmake')
16
optdepends=()
17
provides=()
18
conflicts=()
19
replaces=()
20
backup=()
21
options=()
22
install=
23
changelog=
24
25
source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
26
"package.patch"
27
"git+https://github.com/jmichel-otb/GKSVM.git"
28
)
29
noextract=()
30
31
md5sums=('0d5a054a59e0b17e0e7539a3f6130f9d'
32
'77084e327855bdb6f3bac7290986111c'
33
'SKIP')
34
35
36
_gitname="GKSVM"
37
38
prepare() {
39
cd $srcdir/
40
cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
41
patch -Np1 -i ../package.patch
42
43
}
44
45
46
47
build() {
48
echo $pkgdir
49
cd $srcdir/
50
51
if [ -d "$srcdir/build/" ]; then
52
rm -rf $srcdir/build/
53
fi
54
mkdir $srcdir/build/
55
56
cd $srcdir/build
57
58
cmake ../ \
59
-DCMAKE_BUILD_TYPE=Release \
60
-DCMAKE_INSTALL_PREFIX=/usr \
61
-DBUILD_EXAMPLES=OFF \
62
-DBUILD_TESTING=OFF \
63
-DOTB_USE_CURL=ON \
64
-DOTB_WRAP_PYTHON=OFF \
65
-DBUILD_SHARED_LIBS=ON \
66
-DOTBGroup_FeaturesExtraction=ON \
67
-DOTBGroup_Hyperspectral=ON \
68
-DOTBGroup_Learning=OFF \
69
-DOTBGroup_Miscellaneous=ON \
70
-DOTBGroup_Remote=ON \
71
-DOTBGroup_SAR=ON \
72
-DOTBGroup_Segmentation=ON \
73
-DOTBGroup_StereoProcessing=ON \
74
-DOTB_USE_OPENCV=ON \
75
-DOTB_USE_MUPARSER=ON \
76
-DOTB_USE_MUPARSERX=OFF \
77
-DOTB_USE_LIBKML=ON \
78
-DOTB_USE_LIBSVM=ON \
79
-DOTB_USE_OPENMP=ON \
80
-DOTB_USE_6S=OFF \
81
-DOTB_DATA_USE_LARGEINPUT=ON \
82
-DOTB_USE_SPTW=ON \
83
-DOTB_USE_SPTW=ON \
84
-DOTB_USE_SHARK=ON \
85
-DITK_DIR=/opt/insight-toolkit4 \
86
-DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
87
-DCMAKE_CXX_FLAGS:STRING="-std=c++11" \
88
-DCMAKE_C_FLAGS="-std=gnu99" \
89
-DBoost_USE_STATIC_LIBS=OFF \
90
-DGDAL_CONFIG_CHECKING=OFF
91
92
make
93
94
95
96
}
97
98
package() {
99
# Install an ldconfig conf for Orfeo libs to be visible on the
100
# system. Arch runs `ldconfig' after install automatically:
101
echo "/usr/lib/otb
102
/usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
103
install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
104
105
cd "$srcdir/"build
106
make DESTDIR="$pkgdir" install
107
#mkdir ${pkgdir}/usr/bin/tools/
108
#install -D -m644 "$srcdir/build/post_install.sh" "${pkgdir}/usr/bin/tools/"
109
export OTB_INSTALL_DIR=$pkgdir/usr
110
export CMAKE_DIRS=$pkgdir/usr/lib/cmake
111
#sh $srcdir/build/post_install.sh
112
113
}
114
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 |