google-earth-pro
LOW
maintainer iyanmv
1092 votes
scanned 2026-09-03 13:53:13.144096
Triggered rules
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:35
'Google-Terms-of-Service.html'::'https://www.google.com/intl/ALL/policies/terms/index.html'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
2
# Contributor: Daniel Bermond <dbermond@archlinux.org>
3
# Contributor: Det <nimetonmaili g-mail>
4
5
# check the latest version with:
6
# $ curl -sL https://dl.google.com/linux/earth/deb/dists/stable/main/binary-amd64/Packages | grep -Pom1 'Version: \K[^-]*'
7
8
pkgname=google-earth-pro
9
pkgver=7.3.7.1327
10
pkgrel=1
11
pkgdesc="3D interface to explore the globe, terrain, streets, buildings and other planets (Pro version)"
12
arch=(x86_64)
13
url="https://www.google.com/earth/"
14
license=(LicenseRef-Google-custom)
15
depends=(
16
alsa-lib
17
desktop-file-utils
18
fontconfig
19
glu
20
gst-plugins-base-libs
21
hicolor-icon-theme
22
libcups
23
libsm
24
libproxy
25
libxi
26
libxml2-legacy
27
libxrender
28
sqlite
29
)
30
provides=(google-earth)
31
options=('!strip' '!emptydirs')
32
install="${pkgname}.install"
33
source=(
34
"https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-pro-stable/google-earth-pro-stable_${pkgver}-r0_amd64.deb"
35
'Google-Terms-of-Service.html'::'https://www.google.com/intl/ALL/policies/terms/index.html'
36
'Google-Earth-Additional-Terms-of-Service.html'::'https://www.google.com/help/terms_maps.html'
37
'Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html'::'https://www.google.com/help/legalnotices_maps.html'
38
'Google-Privacy-Policy.html'::'https://www.google.com/intl/ALL/policies/privacy/index.html'
39
)
40
noextract=("google-earth-pro-stable_${pkgver}-r0_amd64.deb")
41
b2sums=('f6fcdd893be86db6741e7b058b4162f5544d32084fa7b13ec15580d6e6e5bfe9510769baafcbf4941ccebb664b801cabca69fba4aaadfb2771176b291eb52476'
42
'SKIP'
43
'SKIP'
44
'SKIP'
45
'SKIP')
46
47
_installdir='/opt/google/earth/pro'
48
49
prepare() {
50
mkdir -p "${pkgname}-${pkgver}"
51
bsdtar -xf "google-earth-pro-stable_${pkgver}-r0_amd64.deb" -C "${pkgname}-${pkgver}"
52
}
53
54
package() {
55
bsdtar -xf "${pkgname}-${pkgver}/data.tar.xz" -C "$pkgdir"
56
57
# desktop file
58
mv "${pkgdir}/${_installdir}/google-earth-pro.desktop" "${pkgdir}/usr/share/applications"
59
60
# icons
61
local _res
62
for _res in 16 22 24 32 48 64 128 256
63
do
64
install -D -m644 "${pkgdir}/${_installdir}/product_logo_${_res}.png" \
65
"${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/google-earth-pro.png"
66
done
67
68
# remove the debian-intended cron job and duplicated images
69
rm -r "${pkgdir}/etc/cron.daily" "${pkgdir}/${_installdir}"/product_logo_*.png
70
71
# fix search
72
sed -i '/googleearth-bin/s/^/LC_NUMERIC=en_US.UTF-8 /' "${pkgdir}/${_installdir}/googleearth"
73
74
# licenses
75
local _file
76
for _file in 'Google-Terms-of-Service.html' \
77
'Google-Earth-Additional-Terms-of-Service.html' \
78
'Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html' \
79
'Google-Privacy-Policy.html'
80
do
81
install -D -m644 "$_file" "${pkgdir}/usr/share/licenses/${pkgname}/${_file}"
82
done
83
84
# Remove SGID
85
chmod -R 'a-s' "${pkgdir}"
86
87
# Remove vendored libraries
88
rm "$pkgdir"/$_installdir/libxml2.so.2
89
}
90
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-09-03 13:53@@ -6,7 +6,7 @@ # $ curl -sL https://dl.google.com/linux/earth/deb/dists/stable/main/binary-amd64/Packages | grep -Pom1 'Version: \K[^-]*' pkgname=google-earth-pro-pkgver=7.3.7.1155+pkgver=7.3.7.1327 pkgrel=1 pkgdesc="3D interface to explore the globe, terrain, streets, buildings and other planets (Pro version)" arch=(x86_64)@@ -38,7 +38,7 @@ 'Google-Privacy-Policy.html'::'https://www.google.com/intl/ALL/policies/privacy/index.html' ) noextract=("google-earth-pro-stable_${pkgver}-r0_amd64.deb")-b2sums=('1e68a1a902d3e435b0b88b8dd87f8f10425baaf676c5668949e293b16d6aad19f836b8365b65855e039d5fe458f81fd068c6d52eb1f0cdea5c2b8ec5d210f39f'+b2sums=('f6fcdd893be86db6741e7b058b4162f5544d32084fa7b13ec15580d6e6e5bfe9510769baafcbf4941ccebb664b801cabca69fba4aaadfb2771176b291eb52476' 'SKIP' 'SKIP' 'SKIP'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-03 13:53:13 | Low | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Low | 1 |