mapserver
The source URL points to download.osgeo.org, a standard and official release mirror for OSGeo projects, making it a legitimate and expected source for MapServer, despite not being on the static analyzer's whitelist.
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 URL points to download.osgeo.org, a standard and official release mirror for OSGeo projects, making it a legitimate and expected source for MapServer, despite not being on the static analyzer's whitelist.
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:40
source=("http://download.osgeo.org/mapserver/mapserver-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: envolution
# Contributor: Samuel Fernando Mesa Giraldo <samuelmesa@linuxmail.org>
# Contributor: Marcos Piccinini <x@nofxx.com>
# Contributor: Jonathan Hudson <jh+arch@daria.co.uk>
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=mapserver
pkgver=8.6.0
pkgrel=1
pkgdesc="Platform for publishing spatial data and interactive mapping applications to the web"
arch=(i686 x86_64)
license=("Apache-2.0" "BSD-2-Clause")
url="http://www.mapserver.org"
depends=(
gdal
proj
libpng
freetype2
fribidi
fcgi
libjpeg-turbo
zlib
curl
libxml2
geos
gcc-libs
libxslt
pcre2
glibc
cairo
giflib
harfbuzz
protobuf-c
python
python-pillow
postgresql-libs
)
makedepends=(cmake swig)
provides=(python-mapserver)
source=("http://download.osgeo.org/mapserver/mapserver-${pkgver}.tar.gz")
md5sums=('e6f15c414e7ada32b4a17fa9da12fd7b')
build() {
cd "${pkgname}-${pkgver}"
mkdir -p build
cd build
#The following options are enabled by default
# WITH_PROJ, WITH_WMS, WITH_FRIBIDI,
# WITH_HARFBUZZ, WITH_ICONV, WITH_CAIRO,
# WITH_FCGI, WITH_GEOS, WITH_POSTGIS,
# WITH_GDAL, WITH_OGR, WITH_WFS,
# WITH_WCS, WITH_LIBXML2, WITH_GIF.
#svgcairo broken in AUR
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_SVGCAIRO=OFF \
../ >../configure.out.txt
make
}
package() {
cd "${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
#Copy the headers a include for ZooWPS project
install -d "$pkgdir"/usr/include/mapserver
install -d "$pkgdir"/usr/share/mapserver
install -d "$pkgdir"/opt/mapserver/test/
install -Dm644 "${srcdir}/${pkgname}-${pkgver}"/build/*.h "$pkgdir"/usr/include/mapserver/
cp -rfv "${srcdir}/${pkgname}-${pkgver}"/share/ogcapi "$pkgdir"/usr/share/mapserver
cp -rfv "${srcdir}/${pkgname}-${pkgver}"/tests/* "$pkgdir"/opt/mapserver/test
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/src/flatgeobuf/LICENSE" \
${pkgdir}/usr/share/licenses/${pkgname}/FlatGeoBuf-LICENSE
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/src/flatgeobuf/include/flatbuffers/LICENSE" \
${pkgdir}/usr/share/licenses/${pkgname}/FlatBuffers-LICENSE
}
# vim:set ts=2 sw=2 et:
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 |