python-gdal-libkml
maintainer alireza6677
· 1 votes
· base
gdal-libkml
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a standard tarball from the official OSGeo project download server, which is plausibly the project's own infrastructure; building from this source is normal AUR packaging practice despite the non-whitelisted host.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a standard tarball from the official OSGeo project download server, which is plausibly the project's own infrastructure; building from this source is normal AUR packaging practice despite the non-whitelisted host.
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=(https://download.osgeo.org/gdal/${pkgver}/gdal-${pkgver}.tar.xz)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alireza S.N. <alireza6677@gmail.com>
2
# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3
# Maintainer: Bruno Pagani <archange@archlinux.org>
4
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
5
# Contributor: William Rea <sillywilly@gmail.com>
6
7
pkgbase=gdal-libkml
8
pkgname=(gdal-libkml python-gdal-libkml)
9
pkgver=3.13.2
10
pkgrel=1
11
provides=("gdal=${pkgver}")
12
pkgdesc="A translator library for raster and vector geospatial data formats (with libkml support)"
13
arch=(x86_64)
14
url="https://gdal.org/"
15
license=(custom)
16
makedepends=(cmake opencl-headers python-setuptools python-numpy
17
proj arrow blosc cfitsio curl crypto++ libdeflate expat libfreexl
18
libgeotiff geos giflib libheif hdf5 libjpeg-turbo json-c libjxl xz
19
libxml2 lz4 mariadb-libs netcdf unixodbc ocl-icd openexr openjpeg2
20
openssl pcre2 libpng podofo poppler postgresql-libs qhull
21
libspatialite sqlite swig libtiff libwebp xerces-c zlib zstd libaec libkml-git)
22
# armadillo brunsli lerc libkml qb3 rasterlite2 sfcgal tiledb
23
# ogdi
24
changelog=gdal.changelog
25
source=(https://download.osgeo.org/gdal/${pkgver}/gdal-${pkgver}.tar.xz)
26
b2sums=('6c22f3a19b28c67c03db83b8138283955371d1a939a1cfdeadd2fa646fa8fb760961f227ba4c819cb2386bc372371352a8c5e45c35ed552d91738590cee22013')
27
28
build() {
29
#-DCMAKE_CXX_STANDARD=20 \
30
cmake -B build -S gdal-$pkgver \
31
-DCMAKE_INSTALL_PREFIX=/usr \
32
-DENABLE_IPO=ON \
33
-DBUILD_PYTHON_BINDINGS=ON \
34
-DGDAL_ENABLE_PLUGINS=ON \
35
-DGDAL_USE_ARROW=ON \
36
-DGDAL_USE_BLOSC=ON \
37
-DGDAL_USE_CFITSIO=ON \
38
-DGDAL_USE_CURL=ON \
39
-DGDAL_USE_CRYPTOPP=ON \
40
-DGDAL_USE_DEFLATE=ON \
41
-DGDAL_USE_EXPAT=ON \
42
-DGDAL_USE_FREEXL=ON \
43
-DGDAL_USE_GEOTIFF=ON \
44
-DGDAL_USE_GEOS=ON \
45
-DGDAL_USE_GIF=ON \
46
-DGDAL_USE_HEIF=ON \
47
-DGDAL_USE_HDF5=ON \
48
-DGDAL_USE_ICONV=ON \
49
-DGDAL_USE_JPEG=ON \
50
-DGDAL_USE_JSONC=ON \
51
-DGDAL_USE_JXL=ON \
52
-DGDAL_USE_LIBLZMA=ON \
53
-DGDAL_USE_LIBXML2=ON \
54
-DGDAL_USE_LZ4=ON \
55
-DGDAL_USE_MYSQL=ON \
56
-DGDAL_USE_NETCDF=ON \
57
-DGDAL_USE_ODBC=ON \
58
-DGDAL_USE_OPENCL=ON \
59
-DGDAL_USE_OPENEXR=ON \
60
-DGDAL_USE_OPENJPEG=ON \
61
-DGDAL_USE_OPENSSL=ON \
62
-DGDAL_USE_PARQUET=ON \
63
-DGDAL_USE_PCRE2=ON \
64
-DGDAL_USE_PNG=ON \
65
-DGDAL_USE_POPPLER=ON \
66
-DGDAL_USE_POSTGRESQL=ON \
67
-DGDAL_USE_QHULL=ON \
68
-DGDAL_USE_SPATIALITE=ON \
69
-DGDAL_USE_SQLITE3=ON \
70
-DGDAL_USE_TIFF=ON \
71
-DGDAL_USE_WEBP=ON \
72
-DGDAL_USE_XERCESC=ON \
73
-DGDAL_USE_ZLIB=ON \
74
-DGDAL_USE_ZSTD=ON \
75
-DGDAL_USE_LIBKML=ON \
76
-DGDAL_USE_FILEGDB=OFF \
77
-DOGR_ENABLE_DRIVER_FILEGDB=OFF
78
make -C build -j $(nproc)
79
}
80
81
package_gdal-libkml () {
82
conflicts=('gdal')
83
depends=(proj blosc crypto++ curl libdeflate expat libfreexl geos libgeotiff
84
giflib libjpeg-turbo json-c xz libxml2 lz4 unixodbc ocl-icd openssl
85
pcre2 libpng qhull libspatialite sqlite libtiff xerces-c zlib zstd libaec libkml-git)
86
optdepends=('arrow: Arrow/Parquet support'
87
'cfitsio: FITS support'
88
'hdf5: HDF5 support'
89
'libheif: HEIF support'
90
'libjxl: JPEG XL support'
91
'mariadb-libs: MySQL support'
92
'netcdf: netCDF support'
93
'openexr: EXR support'
94
'openjpeg2: JP2 support'
95
'podofo: PDF support'
96
'poppler: PDF support'
97
'postgresql-libs: PostgreSQL support'
98
'libwebp: WebP support')
99
100
make -C build DESTDIR="${pkgdir}" install
101
install -Dm644 gdal-${pkgver}/LICENSE.TXT -t "${pkgdir}"/usr/share/licenses/gdal/
102
# Move python stuff
103
mkdir -p {bin,lib}
104
mv "${pkgdir}"/usr/bin/*py bin
105
mv "${pkgdir}"/usr/lib/python* lib
106
}
107
108
package_python-gdal-libkml () {
109
pkgdesc="Python bindings for GDAL"
110
depends=("gdal-libkml=$pkgver" 'python-numpy')
111
provides=("python-gdal=${pkgver}")
112
conflicts=('python-gdal')
113
114
install -d "${pkgdir}"/usr/{bin,lib}
115
mv bin/* "${pkgdir}"/usr/bin
116
mv lib/* "${pkgdir}"/usr/lib
117
install -dm755 "${pkgdir}"/usr/share/licenses
118
ln -s gdal "${pkgdir}"/usr/share/licenses/$pkgname
119
# byte-compile python modules since the CMake build does not do it.
120
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
121
python -m compileall -o 0 -o 1 -o 2 --hardlink-dupes -s "${pkgdir}" "${pkgdir}"${site_packages}
122
}
123
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-03 00:08@@ -6,7 +6,7 @@ pkgbase=gdal-libkml pkgname=(gdal-libkml python-gdal-libkml)-pkgver=3.13.1+pkgver=3.13.2 pkgrel=1 provides=("gdal=${pkgver}") pkgdesc="A translator library for raster and vector geospatial data formats (with libkml support)"@@ -23,7 +23,7 @@ # ogdi changelog=gdal.changelog source=(https://download.osgeo.org/gdal/${pkgver}/gdal-${pkgver}.tar.xz)-b2sums=('582bea82ed21059c8b3348f91806842f0ee5337e056c8270b48a2478176036e1e34de6d9f5ebaa2ce16c7569fa36663c1bad26861161ab0e78712313fe61b407')+b2sums=('6c22f3a19b28c67c03db83b8138283955371d1a939a1cfdeadd2fa646fa8fb760961f227ba4c819cb2386bc372371352a8c5e45c35ed552d91738590cee22013') build() { #-DCMAKE_CXX_STANDARD=20 \Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 21:28:26 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 18:55:24 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |