monotone

LOW
maintainer grawity 4 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds from the project's own source hosted on its official domain and a Debian archive; the non-standard host (archive.debian.org) is a legitimate historical archive, and the downloaded patches are applied as intended, posing no realistic supply-chain risk.

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 package builds from the project's own source hosted on its official domain and a Debian archive; the non-standard host (archive.debian.org) is a legitimate historical archive, and the downloaded patches are applied as intended, posing no realistic supply-chain risk.

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:17 source=("http://www.monotone.ca/downloads/1.1/monotone-${pkgver}.tar.bz2"

PKGBUILD

1 offending line(s) highlighted
1# Packager: Mantas Mikulėnas <grawity@gmail.com>
2# Contributor: archaurwiki <archaurwiki at i2pmail dot org>
3# Contributor: Angel Velasquez <angvp@archlinux.org>
4# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
5# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
6# Contributor: Dan McGee <dpmcgee@gmail.com>
7
8pkgname=monotone
9pkgver=1.1
10pkgrel=9
11pkgdesc='The Monotone distributed version control system'
12arch=('i686' 'x86_64')
13url='http://www.monotone.ca/'
14license=('GPL')
15depends=('pcre' 'lua53' 'botan1.10' 'sqlite3' 'libidn' 'zlib')
16makedepends=('boost')
17source=("http://www.monotone.ca/downloads/1.1/monotone-${pkgver}.tar.bz2"
18 "http://archive.debian.org/debian/pool/main/m/monotone/monotone_1.1-9.debian.tar.xz"
19 "pcre-8.42-hack.diff")
20sha256sums=('f95cf60a22d4e461bec9d0e72f5d3609c9a4576fb1cc45f553d0202ce2e38c88'
21 '70a4e8fed56f4734de2192990db5e20fe8a8b819af51780df3d78310ee9eeeda'
22 'b23ad00a537314d939eceaa260b4535d85e2b052b4b00279e5f540d38f0d2e07')
23
24prepare() {
25 cd "$srcdir/${pkgname}-${pkgver}"
26
27 for _f in $(< ../debian/patches/series); do
28 echo "Applying $_f"
29 patch -Np1 < ../debian/patches/$_f
30 done
31
32 for _f in "${source[@]}"; do
33 if [[ $_f == *.@(diff|patch) ]]; then
34 echo "Applying $_f"
35 patch -Np1 < "$srcdir/$_f"
36 fi
37 done
38
39 echo "Replacing single-character macros conflicting with Boost"
40 find . \( -name '*.cc' -o -name '*.hh' \) -type f -exec \
41 sed -i -E '
42 s,\<E( *\(),ERROR\1,g
43 s,\<L( *\(),LOG\1,g
44 s,\<P( *\(),PROGRESS\1,g
45 s,\<W( *\(),WARNING\1,g
46 ' {} +
47
48 echo "Bootstrapping autoconf"
49 aclocal
50 autoreconf --install
51}
52
53build() {
54 cd "$srcdir/${pkgname}-${pkgver}"
55 export DISABLE_NETWORK_TESTS=1
56 export CXXFLAGS+=" -std=gnu++11"
57 export lua_CFLAGS=$(pkg-config --cflags lua53)
58 export lua_LIBS=$(pkg-config --libs lua53)
59 ./configure \
60 --prefix=/usr \
61 --sysconfdir=/etc \
62 --disable-nls
63 make
64}
65
66package() {
67 cd "$srcdir/${pkgname}-${pkgver}"
68 make DESTDIR="$pkgdir" install
69 install -Dm644 contrib/monotone.zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_mtn"
70}
71
72# vim: ts=2:sw=2:et
73

Scan history

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

Report a package

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

0 / 4000
Your suggestion