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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |