ledmon
MEDIUM
maintainer k0ste
0 votes
base
intel-ledmon
scanned 2026-09-18 21:28:57.026605
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:15
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
2
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
3
4
pkgbase='intel-ledmon'
5
pkgname='ledmon'
6
pkgver='1.1.0'
7
pkgrel='2'
8
pkgdesc='Enclosure LED Utilities'
9
arch=('x86_64' 'aarch64')
10
_uri="github.com/md-raid-utilities/${pkgname}"
11
url="https://${_uri}"
12
license=('GPL')
13
depends=('sg3_utils' 'systemd-libs' 'pciutils')
14
makedepends=('autoconf-archive' 'check' 'python-pytest')
15
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")
16
sha256sums=('4f626400e41ab1e4317b886db5b5df1afa517e8e4faa80fd4378fd22b0bcd055')
17
18
prepare() {
19
sed --in-place \
20
--expression '/FORTIFY_SOURCE/d' \
21
"${pkgname}-${pkgver}/configure.ac"
22
}
23
24
build() {
25
cd "${pkgname}-${pkgver}"
26
autoreconf -fvi
27
./configure CFLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \
28
CXXLAGS="${CXXFLAGS} ${DEBUG_CXXFLAGS}" \
29
LDLAGS="${LDFLAGS}" \
30
--prefix="/usr" \
31
--bindir="/usr/bin" \
32
--sbindir="/usr/bin" \
33
--sysconfdir="/etc" \
34
--localstatedir="/var" \
35
--libdir="/usr/lib" \
36
--datarootdir="/usr/share" \
37
--datadir="/usr/share" \
38
--enable-systemd \
39
--enable-library \
40
--enable-test \
41
--enable-doc
42
make VERBOSE=1
43
}
44
45
check() {
46
cd "${pkgname}-${pkgver}"
47
pytest --ledctl-binary="src/ledctl/ledctl"
48
}
49
50
package() {
51
cd "${pkgname}-${pkgver}"
52
make DESTDIR="${pkgdir}" install
53
}
54
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-09-18 21:28@@ -4,21 +4,29 @@ pkgbase='intel-ledmon' pkgname='ledmon' pkgver='1.1.0'-pkgrel='1'+pkgrel='2' pkgdesc='Enclosure LED Utilities' arch=('x86_64' 'aarch64')-url="https://github.com/intel/${pkgname}"+_uri="github.com/md-raid-utilities/${pkgname}"+url="https://${_uri}" license=('GPL') depends=('sg3_utils' 'systemd-libs' 'pciutils') makedepends=('autoconf-archive' 'check' 'python-pytest')-source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")+source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}") sha256sums=('4f626400e41ab1e4317b886db5b5df1afa517e8e4faa80fd4378fd22b0bcd055') prepare() {+ sed --in-place \+ --expression '/FORTIFY_SOURCE/d' \+ "${pkgname}-${pkgver}/configure.ac"+}++build() { cd "${pkgname}-${pkgver}"- autoreconf -fvi- ./configure \+ ./configure CFLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \+ CXXLAGS="${CXXFLAGS} ${DEBUG_CXXFLAGS}" \+ LDLAGS="${LDFLAGS}" \ --prefix="/usr" \ --bindir="/usr/bin" \ --sbindir="/usr/bin" \@@ -31,11 +39,7 @@ --enable-library \ --enable-test \ --enable-doc-}--build() {- cd "${pkgname}-${pkgver}"- make+ make VERBOSE=1 } check() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-18 21:28:57 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |