lpadmincern

LOW
maintainer vandelli 8 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion