monotone
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
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)
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# Packager: Mantas Mikulėnas <grawity@gmail.com>
# Contributor: archaurwiki <archaurwiki at i2pmail dot org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
# Contributor: Dan McGee <dpmcgee@gmail.com>
pkgname=monotone
pkgver=1.1
pkgrel=9
pkgdesc='The Monotone distributed version control system'
arch=('i686' 'x86_64')
url='http://www.monotone.ca/'
license=('GPL')
depends=('pcre' 'lua53' 'botan1.10' 'sqlite3' 'libidn' 'zlib')
makedepends=('boost')
source=("http://www.monotone.ca/downloads/1.1/monotone-${pkgver}.tar.bz2"
"http://archive.debian.org/debian/pool/main/m/monotone/monotone_1.1-9.debian.tar.xz"
"pcre-8.42-hack.diff")
sha256sums=('f95cf60a22d4e461bec9d0e72f5d3609c9a4576fb1cc45f553d0202ce2e38c88'
'70a4e8fed56f4734de2192990db5e20fe8a8b819af51780df3d78310ee9eeeda'
'b23ad00a537314d939eceaa260b4535d85e2b052b4b00279e5f540d38f0d2e07')
prepare() {
cd "$srcdir/${pkgname}-${pkgver}"
for _f in $(< ../debian/patches/series); do
echo "Applying $_f"
patch -Np1 < ../debian/patches/$_f
done
for _f in "${source[@]}"; do
if [[ $_f == *.@(diff|patch) ]]; then
echo "Applying $_f"
patch -Np1 < "$srcdir/$_f"
fi
done
echo "Replacing single-character macros conflicting with Boost"
find . \( -name '*.cc' -o -name '*.hh' \) -type f -exec \
sed -i -E '
s,\<E( *\(),ERROR\1,g
s,\<L( *\(),LOG\1,g
s,\<P( *\(),PROGRESS\1,g
s,\<W( *\(),WARNING\1,g
' {} +
echo "Bootstrapping autoconf"
aclocal
autoreconf --install
}
build() {
cd "$srcdir/${pkgname}-${pkgver}"
export DISABLE_NETWORK_TESTS=1
export CXXFLAGS+=" -std=gnu++11"
export lua_CFLAGS=$(pkg-config --cflags lua53)
export lua_LIBS=$(pkg-config --libs lua53)
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls
make
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
install -Dm644 contrib/monotone.zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_mtn"
}
# vim: ts=2:sw=2:et
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |