xpdf-motif

maintainer harrietobrien · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
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:21 source=(https://dl.xpdfreader.com/old/${pkgname%-motif}-${pkgver%_*}.tar.gz{,.sig}

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
2# Contributor: Gaetan Bisson <bisson@archlinux.org>
3# Contributor: tobias <tobias@archlinux.org>
4# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
5# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
6# Xpdf-nodrm: Mark Pustjens <pustjens@dds.nl>
7
8pkgname=xpdf-motif
9pkgver=3.04
10pkgrel=3
11pkgdesc='Viewer for Portable Document Format (PDF) files, legacy version without qt'
12url='http://www.foolabs.com/xpdf/'
13license=('GPL2')
14arch=('i686' 'x86_64')
15depends=('openmotif' 'libpaper' 'libxpm')
16conflicts=('xpdf')
17provides=('xpdf')
18optdepends=('gsfonts: providing the 14 standard postscript fonts'
19 'poppler: tools that used to be included in xpdf'
20 'desktop-file-utils: for desktop environments')
21source=(https://dl.xpdfreader.com/old/${pkgname%-motif}-${pkgver%_*}.tar.gz{,.sig}
22 '02-permissions.patch'
23 'desktop')
24sha256sums=('11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5'
25 'SKIP'
26 '5f6b730c3d9b99a138a17826c5131ca70315928687757717583056c2429fc3e7'
27 '571b528aa130c04106e40f86b17a557f2814d377aab13c29bad08e7dc55087d3')
28validpgpkeys=('22CCDF00E35F018434DCD4C5429CCA86671B682D') # Derek B. Noonburg
29backup=('etc/xpdfrc')
30
31build() {
32 cd "${srcdir}/${pkgname%-motif}-${pkgver%_*}"
33
34 patch -p1 -i ../02-permissions.patch
35
36 sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' xpdf/GlobalParams.cc
37 sed -i 's:times-medium-r-normal--16:times-medium-r-normal--14:' xpdf/XPDFViewer.cc # FS#14217
38
39 ./configure \
40 --prefix=/usr \
41 --sysconfdir=/etc \
42 --mandir=/usr/share/man \
43 --enable-multithreaded \
44 --with-freetype2-library=/usr/lib \
45 --with-freetype2-includes=/usr/include/freetype2 \
46 --x-includes=/usr/include \
47 --with-Xm-library=/usr/lib \
48 --with-Xm-includes=/usr/include
49
50 make
51}
52
53package() {
54 cd "${srcdir}/${pkgname%-motif}-${pkgver%_*}"
55
56 make DESTDIR="${pkgdir}" install
57
58 install -Dm644 ../desktop "${pkgdir}/usr/share/applications/xpdf.desktop"
59 install -Dm644 xpdf/xpdfIcon.xpm "${pkgdir}/usr/share/pixmaps/xpdf.xpm"
60
61 # stuff provided by poppler
62 for tool in pdfdetach pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext; do
63 rm "${pkgdir}/usr/bin/${tool}" "${pkgdir}/usr/share/man/man1/${tool}.1"
64 done
65}
66

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