cpl
The package builds from source tarballs hosted on the official ESO FTP server, a plausible project-owned host, and includes a non-executable shell script for environment setup; the non-whitelisted host is actually a legitimate project domain, and all built components are from verifiable upstream sources.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source tarballs hosted on the official ESO FTP server, a plausible project-owned host, and includes a non-executable shell script for environment setup; the non-whitelisted host is actually a legitimate project domain, and all built components are from verifiable upstream sources.
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:16
source=(ftp://ftp.eso.org/pub/dfs/pipelines/libraries/cpl/cpl-${pkgver}.tar.gz
PKGBUILD
1 offending line(s) highlighted# Maintainer: masutu < masutu dot arch at gmail dot com >
# Contributor: Yigit Dallilar <yigit.dallilar@gmail.com>
pkgname=cpl
pkgver=7.4
pkgrel=1
#lock the versions
_wcs_ver=8.5
_cfitsio_ver=4.6.3
_fftw_ver=3.3.10
pkgdesc="ESO Common Pipeline Library"
url="https://www.eso.org/sci/software/cpl/index.html"
arch=('x86_64')
license=('GPL2')
depends=(gsl)
source=(ftp://ftp.eso.org/pub/dfs/pipelines/libraries/cpl/cpl-${pkgver}.tar.gz
https://ftp.eso.org/pub/dfs/pipelines/libraries/cfitsio/cfitsio-${_cfitsio_ver}.tar.gz
https://ftp.eso.org/pub/dfs/pipelines/libraries/wcslib/wcslib-${_wcs_ver}.tar.bz2
https://ftp.eso.org/pub/dfs/pipelines/libraries/fftw/fftw-${_fftw_ver}.tar.gz
cpl.sh)
md5sums=('26930526738069a72c1b607f8a3ddacd'
'1f95e471cf89403ff877ab58a788ad69'
'07b188f67739a621101103f92ccf52cc'
'8ccbf6a5ea78a16dbc3e1306e234cc5c'
'SKIP')
build_cfitsio () {
cd ${srcdir}/cfitsio-${_cfitsio_ver}
./configure --prefix=${srcdir}/build --enable-reentrant --enable-shared
make
make install
}
build_wcslib () {
cd ${srcdir}/wcslib-${_wcs_ver}
./configure --prefix=${srcdir}/build --without-pgplot --with-x --with-cfitsiolib=${srcdir}/lib --with-cfitsioinc=${srcdir}/include --disable-fortran
make
make install
}
build_fftw () {
cd ${srcdir}/fftw-${_fftw_ver}
./configure --prefix=${srcdir}/build --enable-openmp --enable-threads --enable-avx --enable-sse2 --disable-fortran --enable-shared --enable-float
make
make install
make clean
./configure --prefix=${srcdir}/build --enable-openmp --enable-threads --enable-avx --enable-sse2 --disable-fortran --enable-shared
make
make install
}
build () {
build_cfitsio
build_wcslib
build_fftw
export LD_LIBRARY_PATH=${srcdir}/build/lib:${LD_LIBRARY_PATH}
export C_INCLUDE_PATH=${srcdir}/build/include:${C_INCLUDE_PATH}
export CFITSIODIR=${srcdir}/build
export WCSDIR=${srcdir}/build
export FFTWDIR=${srcdir}/build
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=${pkgdir}/opt/esopipes --with-fftw=${FFTWDIR} CPPFLAGS="-DCX_DISABLE_ASSERT -DL2_CACHE_BYTES=0" --with-system-cext=no
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make install
install -D -m644 COPYING "${pkgdir}/share/licenses/${pkgname}/LICENSE"
install -D -m755 ${srcdir}/cpl.sh ${pkgdir}/etc/profile.d/cpl.sh
cp -a ${srcdir}/build/* ${pkgdir}/opt/esopipes/
install -d "$pkgdir/opt/esopipes/lib/esopipes-plugins"
}
# vim:set ts=4 sw=4 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |