orfeo-toolbox
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
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)
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# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>
# Contributor: Tu Yu-Hsuan <dobe0331@gmail.com>
pkgname=orfeo-toolbox
pkgver=9.1.1
_pkgver=9.1
pkgrel=11
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org"
license=('CeCILL')
groups=()
depends=('gdal' 'cblas' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'muparserx' 'python' 'boost' 'lapack' 'hdf5' 'insight-toolkit4' 'libsvm' 'opencv>=3' 'openmpi' 'libkml')
makedepends=('git' 'swig' 'cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}-${pkgver}.tar.gz::https://www.orfeo-toolbox.org/packages/OTB-$pkgver.tar.gz"
"package.patch"
"git+https://github.com/jmichel-otb/GKSVM.git"
)
noextract=()
md5sums=('0d5a054a59e0b17e0e7539a3f6130f9d'
'77084e327855bdb6f3bac7290986111c'
'SKIP')
_gitname="GKSVM"
prepare() {
cd $srcdir/
cp -ra $srcdir/GKSVM $srcdir/Modules/Remote
patch -Np1 -i ../package.patch
}
build() {
echo $pkgdir
cd $srcdir/
if [ -d "$srcdir/build/" ]; then
rm -rf $srcdir/build/
fi
mkdir $srcdir/build/
cd $srcdir/build
cmake ../ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTING=OFF \
-DOTB_USE_CURL=ON \
-DOTB_WRAP_PYTHON=OFF \
-DBUILD_SHARED_LIBS=ON \
-DOTBGroup_FeaturesExtraction=ON \
-DOTBGroup_Hyperspectral=ON \
-DOTBGroup_Learning=OFF \
-DOTBGroup_Miscellaneous=ON \
-DOTBGroup_Remote=ON \
-DOTBGroup_SAR=ON \
-DOTBGroup_Segmentation=ON \
-DOTBGroup_StereoProcessing=ON \
-DOTB_USE_OPENCV=ON \
-DOTB_USE_MUPARSER=ON \
-DOTB_USE_MUPARSERX=OFF \
-DOTB_USE_LIBKML=ON \
-DOTB_USE_LIBSVM=ON \
-DOTB_USE_OPENMP=ON \
-DOTB_USE_6S=OFF \
-DOTB_DATA_USE_LARGEINPUT=ON \
-DOTB_USE_SPTW=ON \
-DOTB_USE_SPTW=ON \
-DOTB_USE_SHARK=ON \
-DITK_DIR=/opt/insight-toolkit4 \
-DCMAKE_PREFIX_PATH=/opt/insight-toolkit4 \
-DCMAKE_CXX_FLAGS:STRING="-std=c++11" \
-DCMAKE_C_FLAGS="-std=gnu99" \
-DBoost_USE_STATIC_LIBS=OFF \
-DGDAL_CONFIG_CHECKING=OFF
make
}
package() {
# Install an ldconfig conf for Orfeo libs to be visible on the
# system. Arch runs `ldconfig' after install automatically:
echo "/usr/lib/otb
/usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
cd "$srcdir/"build
make DESTDIR="$pkgdir" install
#mkdir ${pkgdir}/usr/bin/tools/
#install -D -m644 "$srcdir/build/post_install.sh" "${pkgdir}/usr/bin/tools/"
export OTB_INSTALL_DIR=$pkgdir/usr
export CMAKE_DIRS=$pkgdir/usr/lib/cmake
#sh $srcdir/build/post_install.sh
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |