mapserver

maintainer envolution · 11 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
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:40 source=("http://download.osgeo.org/mapserver/mapserver-${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: envolution
2# Contributor: Samuel Fernando Mesa Giraldo <samuelmesa@linuxmail.org>
3# Contributor: Marcos Piccinini <x@nofxx.com>
4# Contributor: Jonathan Hudson <jh+arch@daria.co.uk>
5# shellcheck shell=bash disable=SC2034,SC2154
6
7pkgname=mapserver
8pkgver=8.6.0
9pkgrel=1
10pkgdesc="Platform for publishing spatial data and interactive mapping applications to the web"
11arch=(i686 x86_64)
12license=("Apache-2.0" "BSD-2-Clause")
13url="http://www.mapserver.org"
14depends=(
15 gdal
16 proj
17 libpng
18 freetype2
19 fribidi
20 fcgi
21 libjpeg-turbo
22 zlib
23 curl
24 libxml2
25 geos
26 gcc-libs
27 libxslt
28 pcre2
29 glibc
30 cairo
31 giflib
32 harfbuzz
33 protobuf-c
34 python
35 python-pillow
36 postgresql-libs
37)
38makedepends=(cmake swig)
39provides=(python-mapserver)
40source=("http://download.osgeo.org/mapserver/mapserver-${pkgver}.tar.gz")
41md5sums=('e6f15c414e7ada32b4a17fa9da12fd7b')
42
43build() {
44 cd "${pkgname}-${pkgver}"
45 mkdir -p build
46 cd build
47 #The following options are enabled by default
48 # WITH_PROJ, WITH_WMS, WITH_FRIBIDI,
49 # WITH_HARFBUZZ, WITH_ICONV, WITH_CAIRO,
50 # WITH_FCGI, WITH_GEOS, WITH_POSTGIS,
51 # WITH_GDAL, WITH_OGR, WITH_WFS,
52 # WITH_WCS, WITH_LIBXML2, WITH_GIF.
53 #svgcairo broken in AUR
54 cmake \
55 -DCMAKE_INSTALL_PREFIX=/usr \
56 -DCMAKE_INSTALL_LIBDIR=lib \
57 -DWITH_SVGCAIRO=OFF \
58 ../ >../configure.out.txt
59
60 make
61}
62
63package() {
64 cd "${pkgname}-${pkgver}/build"
65 make DESTDIR=${pkgdir} install
66
67 #Copy the headers a include for ZooWPS project
68 install -d "$pkgdir"/usr/include/mapserver
69 install -d "$pkgdir"/usr/share/mapserver
70 install -d "$pkgdir"/opt/mapserver/test/
71 install -Dm644 "${srcdir}/${pkgname}-${pkgver}"/build/*.h "$pkgdir"/usr/include/mapserver/
72 cp -rfv "${srcdir}/${pkgname}-${pkgver}"/share/ogcapi "$pkgdir"/usr/share/mapserver
73 cp -rfv "${srcdir}/${pkgname}-${pkgver}"/tests/* "$pkgdir"/opt/mapserver/test
74 install -Dm644 "${srcdir}/${pkgname}-${pkgver}/src/flatgeobuf/LICENSE" \
75 ${pkgdir}/usr/share/licenses/${pkgname}/FlatGeoBuf-LICENSE
76 install -Dm644 "${srcdir}/${pkgname}-${pkgver}/src/flatgeobuf/include/flatbuffers/LICENSE" \
77 ${pkgdir}/usr/share/licenses/${pkgname}/FlatBuffers-LICENSE
78}
79# vim:set ts=2 sw=2 et:
80

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion