lpadmincern

maintainer vandelli · 8 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt RPM from CERN's official domain, which is plausibly the project's own source; installing scripts and data files is normal for this type of client, and the risk from a swapped source is limited to non-executable data and scripts that are part of the official package.

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 package downloads a prebuilt RPM from CERN's official domain, which is plausibly the project's own source; installing scripts and data files is normal for this type of client, and the risk from a swapped source is limited to non-executable data and scripts that are part of the official package.

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:16 source=("https://linuxsoft.cern.ch/cern/alma/9/CERN/x86_64/Packages/l/lpadmincern-${pkgver}-1.al9.cern.noarch.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Wainer Vandelli <wainer dot vandelli at gmail dot com>
2# Contributor : Kevin Franz Stehle <kevin dot franz dot stehle at cern dot ch>
3pkgname=lpadmincern
4pkgver=1.4.9
5pkgrel=2
6pkgdesc="CERN LDAP printer database client. Note: CERN IT does not provide official support for Arch Linux. Use at your own risk."
7url="https://linux.web.cern.ch/docs/printing/"
8arch=('any')
9license=('GPL')
10depends=('cups' 'python' 'python-ldap')
11optdepends=()
12makedepends=('gzip' 'tar')
13conflicts=()
14replaces=()
15backup=()
16source=("https://linuxsoft.cern.ch/cern/alma/9/CERN/x86_64/Packages/l/lpadmincern-${pkgver}-1.al9.cern.noarch.rpm")
17md5sums=('70dd526357fcf58605736b7028cc124d')
18
19package() {
20 msg2 "Creating directories"
21 mkdir -p "${pkgdir}"/usr/bin
22 mkdir -p "${pkgdir}"/usr/share/"${pkgname}"/ppds/
23 mkdir -p "${pkgdir}"/usr/share/man/man1
24 mkdir -p "${pkgdir}"/usr/share/man/man8
25 mkdir -p "${pkgdir}"/usr/share/doc/"${pkgname}"
26 mkdir -p "${pkgdir}"/usr/lib/systemd/system
27 mkdir -p "${pkgdir}"/etc/sysconfig
28
29 msg2 "Installing scripts"
30 install -m755 usr/sbin/"${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"
31 install -m644 usr/share/"${pkgname}"/ppds/* "${pkgdir}"/usr/share/"${pkgname}"/ppds/
32
33 install -m644 usr/lib/systemd/system/* "${pkgdir}"/usr/lib/systemd/system/
34 install -m644 etc/sysconfig/lpadmincern "${pkgdir}"/etc/sysconfig/
35
36 install -m755 usr/bin/lpq.cern "${pkgdir}"/usr/bin/lpq.cern
37 install -m755 usr/bin/lprm.cern "${pkgdir}"/usr/bin/lprm.cern
38
39 msg2 "Creating symlinks"
40 pushd "${pkgdir}"/usr/bin > /dev/null
41 ln -sf cancel cancel.cern
42 ln -sf lp lp.cern
43 ln -sf lpr lpr.cern
44 ln -sf lpstat lpstat.cern
45 ln -sf lpc lpc.cern
46 popd > /dev/null
47
48 msg2 "Installing manpages"
49 install -m644 usr/share/man/man1/"${pkgname}".1.gz "${pkgdir}"/usr/share/man/man1/"${pkgname}".1.gz
50 install -m644 usr/share/man/man1/cancel-cern.1.gz "${pkgdir}"/usr/share/man/man1/cancel-cern.1.gz
51 install -m644 usr/share/man/man1/lp-cern.1.gz "${pkgdir}"/usr/share/man/man1/lp-cern.1.gz
52 install -m644 usr/share/man/man1/lpq-cern.1.gz "${pkgdir}"/usr/share/man/man1/lpq-cern.1.gz
53 install -m644 usr/share/man/man1/lpr-cern.1.gz "${pkgdir}"/usr/share/man/man1/lpr-cern.1.gz
54 install -m644 usr/share/man/man1/lprm-cern.1.gz "${pkgdir}"/usr/share/man/man1/lprm-cern.1.gz
55 install -m644 usr/share/man/man1/lpstat-cern.1.gz "${pkgdir}"/usr/share/man/man1/lpstat-cern.1.gz
56 install -m644 usr/share/man/man8/lpc-cern.8.gz "${pkgdir}"/usr/share/man/man8/lpc-cern.8.gz
57
58 msg2 "Installing docs"
59 install -m644 usr/share/doc/"${pkgname}"/README "${pkgdir}"/usr/share/doc/"${pkgname}"/README
60}
61

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