lhapdf

maintainer fsiegert · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from hepforge.org, a project-affiliated host, used to build the software from source; this is normal AUR packaging behavior despite the non-whitelisted domain.

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 hepforge.org, a project-affiliated host, used to build the software from source; this is normal AUR packaging behavior despite the non-whitelisted domain.

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:14 source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Konstantin Gizdov <arch at kge dot pw>
2# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
3# Contributor: JP-Ellis <josh at jpellis dot me>
4pkgname=lhapdf
5pkgver=6.5.5
6pkgrel=1
7pkgdesc="A particle physics tool for evaluating PDFs from discretised data files"
8arch=('x86_64')
9url="https://lhapdf.hepforge.org/"
10license=('GPL3')
11makedepends=('cython')
12depends=('python-numpy')
13install=lhapdf.install
14source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz"
15 'fix_installed_pdf_permissions.patch')
16b2sums=('14677cfb0e40e61006eb2cd69373a14d8c4049a6c19d2a504b736c733be35c25a11362e5aa0d0fe233d7c477fe5f9ef60084ca71330566b2728908017ccf90e7'
17 '5d47b87e8a83e177d93960140c71367d53ae07d3c861b0ed28efcdcee88e9ebb03e1292220ab1c061c63176aba9e5a304e24d535c8c78d9cd50a688a604f5f45')
18
19prepare() {
20 cd "${srcdir}/LHAPDF-${pkgver}"
21
22 # add in correct flags
23 sed '/linkargs =/a linkargs += " '"${LDFLAGS} ${LTOFLAGS}"' "' -i wrappers/python/build.py.in
24 # installed PDFs must respect system permissions and ownership structure
25 patch -Np1 -i "${srcdir}/fix_installed_pdf_permissions.patch"
26}
27
28build() {
29 cd "${srcdir}/LHAPDF-${pkgver}"
30 export CXXFLAGS="$CFLAGS" # do not define _GLIBCXX_ASSERTIONS
31 autoreconf -i
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --localstatedir=/var \
36 --runstatedir=/run \
37 --datarootdir=/usr/share/${pkgname} \
38 --datadir=/usr/share/${pkgname} \
39 --docdir=/usr/share/doc/${pkgname} \
40 --pdfdir=/usr/share/${pkgname}/LHAPDF \
41 --localedir=/usr/share/locale
42 # for some reason Python build fails otherwise
43 export RIVET_LOCAL=ON
44 make
45}
46
47check() {
48 cd "${srcdir}/LHAPDF-${pkgver}"
49 make -k check
50}
51
52package() {
53 cd "${srcdir}/LHAPDF-${pkgver}"
54 make DESTDIR="${pkgdir}/" install
55}
56

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