mkgmap-splitter-svn
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source uses a Subversion checkout from the project's own official repository (svn.mkgmap.org.uk), which is a standard development practice; the non-whitelisted host is the project's own domain, making this a legitimate and low-risk build from upstream source.
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 uses a Subversion checkout from the project's own official repository (svn.mkgmap.org.uk), which is a standard development practice; the non-whitelisted host is the project's own domain, making this a legitimate and low-risk build from upstream source.
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:12
source=("${_pkgname}" "svn+https://svn.mkgmap.org.uk/mkgmap/splitter/trunk")
PKGBUILD
1 offending line(s) highlighted
1
pkgname=mkgmap-splitter-svn
2
_pkgname=mkgmap-splitter
3
pkgver=653
4
pkgrel=1
5
pkgdesc='Split .osm or .pbf files to be processed by mkgmap for Garmin GPS devices'
6
url='http://www.mkgmap.org.uk'
7
license=(GPL2)
8
arch=(any)
9
depends=(java-runtime)
10
makedepends=(subversion apache-ant jdk8-openjdk)
11
conflicts=("${_pkgname}")
12
source=("${_pkgname}" "svn+https://svn.mkgmap.org.uk/mkgmap/splitter/trunk")
13
sha256sums=('d82a5189b5802c05a3e666888ea9fc90243864ae85eb113c7146ccc698ea22f0'
14
'SKIP')
15
16
pkgver() {
17
# -c makes svnversion show the version of "trunk", not the version of the
18
# repository as a whole. Unfortunately, -c also makes svnversion show the full
19
# range of revisions that comprise "trunk". For example:
20
#
21
# svnversion => 2756
22
# svnversion -c => 53:2754
23
#
24
# Use parameter expansion trickery to strip off the leading number and colon.
25
cd trunk
26
local readonly ver="$(svnversion -c)"
27
echo "${ver#*:}"
28
}
29
30
build() {
31
cd "${srcdir}/trunk"
32
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/
33
ant
34
}
35
36
package() {
37
cd "${srcdir}/trunk/dist"
38
39
# Install the executable, jar file and man page.
40
install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
41
install -Dm644 "splitter.jar" "${pkgdir}/usr/share/java/mkgmap/splitter.jar"
42
mkdir -p "${pkgdir}/usr/share/doc/${_pkgname}"
43
cp -r "doc"/* "${pkgdir}/usr/share/doc/${_pkgname}"
44
45
# Install libraries. Destination dir created when installing jar file.
46
mkdir -p "${pkgdir}/usr/share/java/${_pkgname}"
47
cp -r "lib"/* "${pkgdir}/usr/share/java/${_pkgname}"
48
49
}
50
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 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 |