orfeo-toolbox

LOW
maintainer ArArgyridis 15 votes scanned 2026-09-17 00:27:14.276658
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
5pkgname=orfeo-toolbox
6pkgver=9.1.1
7_pkgver=9.1
8pkgrel=11
9pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
10arch=(x86_64 i686)
11url="http://www.orfeo-toolbox.org"
12license=('CeCILL')
13groups=()
14depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
15makedepends=('git' 'swig' 'cmake')
16optdepends=()
17provides=()
18conflicts=()
19replaces=()
20backup=()
21options=()
22install=
23changelog=
24
25source=("${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)
29noextract=()
30
31md5sums=('0d5a054a59e0b17e0e7539a3f6130f9d'
32 '77084e327855bdb6f3bac7290986111c'
33 'SKIP')
34
35
36_gitname="GKSVM"
37
38prepare() {
39 cd $srcdir/
40 cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
41 patch -Np1 -i ../package.patch
42
43}
44
45
46
47build() {
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
98package() {
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)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion