mindi

maintainer stef204 · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from a personal host (darcs.net), but it contains the project's own source code being built normally; this is a common AUR pattern and not inherently dangerous, though the host is not whitelisted.

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 is a tarball from a personal host (darcs.net), but it contains the project's own source code being built normally; this is a common AUR pattern and not inherently dangerous, though the host is not whitelisted.

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:18 source=("https://hub.darcs.net/stef204/mondorescue-aur/raw/mindi-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: stef204 < base64 -d c3RlZjIwNEB5YW5kZXguY29tCg== >
2# Contributor: brent s. <bts[at]square-r00t[dot]net>
3
4# Note: Inline sed fixes will be converted to proper patch files
5# when upstream releases 3.3.0 stable.
6
7pkgname=mindi
8pkgver=3.3.0
9pkgrel=2
10pkgdesc="Creates bootable media with your system for disaster recovery"
11arch=('x86_64')
12url="http://www.mondorescue.org/"
13license=('GPL2')
14backup=('etc/mindi/mindi.conf' 'etc/mindi/deplist.txt' 'etc/mindi/deplist.d/addon.conf')
15depends=('bzip2' 'cdrkit' 'ncurses' 'binutils' 'gawk' 'dosfstools'
16 'mindi-busybox' 'mondorescue-common' 'parted' 'perl' 'mtools'
17 'which' 'grep' 'cpio' 'inetutils' 'xorriso' 'perl-module-scandeps')
18source=("https://hub.darcs.net/stef204/mondorescue-aur/raw/mindi-${pkgver}.tar.gz"
19 "https://hub.darcs.net/stef204/mondorescue-aur/raw/mindi-arch-detect.patch"
20 "https://hub.darcs.net/stef204/mondorescue-aur/raw/mindi-arch-grub2.patch")
21sha512sums=('5900c07e3e9cfc70c40109b015df303cea08af81f3e55bf30b9f2e9ca4fd55723fec2a1de6cfa90db1f89a069aa2324c22c8243ae44a81e66d1a7f210584b3e8'
22 '6f6838617340ee8cc5977a604faf964b388ae5b22af4f8361f2144354128320833188bc80aade9242e315d3fbdb0a91dd82bcfb4dc09dca23430ff43834def5c'
23 '52a3b17b6dc376e02fb977156cbd9ba5bbe6485afd6f4dcef34b67f0b852c695d4a3ae8d1a6abfb43c2338b0404be5ff65628e7540d1992969e7bf137b515d67')
24
25prepare() {
26 cd "${srcdir}/${pkgname}-${pkgver}"
27
28 sed -i 's|/sbin|/usr/bin|g' install.sh
29 sed -i 's|SBINDIR=$local/usr/bin|SBINDIR=$local/bin|' install.sh
30 sed -i 's|subsbin=$sublocal/usr/bin|subsbin=$sublocal/bin|' install.sh
31 sed -i 's|rootfs/usr/usr/bin|rootfs/usr/bin|g' install.sh
32 sed -i 's|/usr/usr/bin|/usr/bin|g' install.sh
33
34 sed -i 's|pod2man|#pod2man|' install.sh
35 sed -i 's|^\([[:space:]]*\)install -m 644 \$s\.8|\1#install -m 644 $s.8|' install.sh
36 sed -i 's|^install -m 644 mindi\.8|#install -m 644 mindi.8|' install.sh
37 sed -i '/chmod 755.*rootfs\/usr\/sbin\/\*/d' install.sh
38 sed -i '/chmod 755.*rootfs\/usr\/bin\/\*/d' install.sh
39
40 sed -i '/^# Systemd/,/^$/d' deplist.d/udev.conf
41 sed -i '/^# systemd needs dbus/,/^$/d' deplist.d/udev.conf
42
43 sed -i 's/(U)EFI/\\(U\\)EFI/g' mindi
44 sed -i 's/to \$efidir)\./to \$efidir\\)./g' mindi
45 sed -i 's|`TryToFindKernelPath`|/boot/vmlinuz-linux|g' mindi
46
47 patch -p1 -i "${srcdir}/mindi-arch-detect.patch"
48 patch -p1 -i "${srcdir}/mindi-arch-grub2.patch"
49}
50
51package() {
52 cd "${srcdir}/${pkgname}-${pkgver}"
53 mkdir -p rootfs/usr/bin
54
55 export DONT_RELINK=1
56 export HEAD="${pkgdir}"
57 export PREFIX=/usr
58 export CONFDIR=/etc
59 export DOCDIR=/usr/share/doc
60 export LIBDIR=/usr/lib
61 export CACHEDIR=/var/cache/mindi
62 export PKGBUILDMINDI="true"
63
64 ./install.sh
65 find "${pkgdir}/usr/lib/mindi/rootfs" -type d -exec chmod 755 {} \;
66
67 install -d "${pkgdir}/usr/share/doc/mindi"
68 install -m644 ChangeLog AUTHORS COPYING README README.* TODO INSTALL NEWS \
69 "${pkgdir}/usr/share/doc/mindi/" 2>/dev/null || true
70}
71

Scan history

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

Report a package

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

0 / 4000
Your suggestion