xpdf-motif
The source is a legacy tarball from the official project's download domain (dl.xpdfreader.com), which is plausibly controlled by the vendor despite not being on a standard whitelist; building from official project sources is normal AUR packaging behavior.
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 source is a legacy tarball from the official project's download domain (dl.xpdfreader.com), which is plausibly controlled by the vendor despite not being on a standard whitelist; building from official project sources is normal AUR packaging behavior.
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:21
source=(https://dl.xpdfreader.com/old/${pkgname%-motif}-${pkgver%_*}.tar.gz{,.sig}
PKGBUILD
1 offending line(s) highlighted# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Xpdf-nodrm: Mark Pustjens <pustjens@dds.nl>
pkgname=xpdf-motif
pkgver=3.04
pkgrel=3
pkgdesc='Viewer for Portable Document Format (PDF) files, legacy version without qt'
url='http://www.foolabs.com/xpdf/'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('openmotif' 'libpaper' 'libxpm')
conflicts=('xpdf')
provides=('xpdf')
optdepends=('gsfonts: providing the 14 standard postscript fonts'
'poppler: tools that used to be included in xpdf'
'desktop-file-utils: for desktop environments')
source=(https://dl.xpdfreader.com/old/${pkgname%-motif}-${pkgver%_*}.tar.gz{,.sig}
'02-permissions.patch'
'desktop')
sha256sums=('11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5'
'SKIP'
'5f6b730c3d9b99a138a17826c5131ca70315928687757717583056c2429fc3e7'
'571b528aa130c04106e40f86b17a557f2814d377aab13c29bad08e7dc55087d3')
validpgpkeys=('22CCDF00E35F018434DCD4C5429CCA86671B682D') # Derek B. Noonburg
backup=('etc/xpdfrc')
build() {
cd "${srcdir}/${pkgname%-motif}-${pkgver%_*}"
patch -p1 -i ../02-permissions.patch
sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' xpdf/GlobalParams.cc
sed -i 's:times-medium-r-normal--16:times-medium-r-normal--14:' xpdf/XPDFViewer.cc # FS#14217
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--enable-multithreaded \
--with-freetype2-library=/usr/lib \
--with-freetype2-includes=/usr/include/freetype2 \
--x-includes=/usr/include \
--with-Xm-library=/usr/lib \
--with-Xm-includes=/usr/include
make
}
package() {
cd "${srcdir}/${pkgname%-motif}-${pkgver%_*}"
make DESTDIR="${pkgdir}" install
install -Dm644 ../desktop "${pkgdir}/usr/share/applications/xpdf.desktop"
install -Dm644 xpdf/xpdfIcon.xpm "${pkgdir}/usr/share/pixmaps/xpdf.xpm"
# stuff provided by poppler
for tool in pdfdetach pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext; do
rm "${pkgdir}/usr/bin/${tool}" "${pkgdir}/usr/share/man/man1/${tool}.1"
done
}
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 |