socklog
maintainer orphaned
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from the project's official domain (smarden.org), which is not on the whitelist but is the legitimate home of the software; building from official project sources is normal AUR practice and poses low risk.
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 downloaded from the project's official domain (smarden.org), which is not on the whitelist but is the legitimate home of the software; building from official project sources is normal AUR practice and poses low risk.
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:13
source=(http://smarden.org/socklog/$pkgname-$pkgver.tar.gz
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
2
# Contributor: Roberto Alsina <ralsina@kde.org>
3
4
pkgname=socklog
5
pkgver=2.1.0
6
pkgrel=2
7
pkgdesc="Small and secure syslogd replacement for use with Runit"
8
arch=('i686' 'x86_64')
9
depends=('glibc' 'runit')
10
makedepends=('make')
11
url="http://smarden.org/socklog/"
12
license=('BSD')
13
source=(http://smarden.org/socklog/$pkgname-$pkgver.tar.gz
14
headers.patch
15
klog.sv.run
16
socklog.sv.check
17
socklog.sv.log
18
socklog.sv.run)
19
sha256sums=('aa869a787ee004da4e5509b5a0031bcc17a4ab4ac650c2ce8d4e488123acb455'
20
'6687d9d7c93c993b99f47948999c03b6b1402cda78d5f854d093ac881171ddf3'
21
'ae9864e8dc86fb9d0de74bc988bb0f896c4811d12d52a649374903bd3257246a'
22
'f84241c1dff3b67499ecec7be9385c6c190b3b43c839956df8458fb2c0b58f2b'
23
'72a094547454b44dfda5cd50a5992ac2f0829450b99033900e68eb301130637f'
24
'f62fd60c54e735f95153d1f0018cadb556c56833235f24653855445dc91e152f')
25
provides=('socklog')
26
27
prepare() {
28
cd "$srcdir/admin/$pkgname-$pkgver/src"
29
30
msg 'Patching headers...'
31
patch -p1 < "$srcdir/headers.patch"
32
33
msg 'Setting default kernel message path to /proc/kmsg...'
34
sed -i -e 's:^#define _PATH_KLOG "\/dev\/klog"$:#define _PATH_KLOG "\/proc\/kmsg":' socklog-conf.c
35
}
36
37
build() {
38
cd "$srcdir/admin/$pkgname-$pkgver/src"
39
40
msg 'Building...'
41
echo "${CC:-gcc} ${CFLAGS:-O2 -Wall}" > conf-cc
42
echo "${LD:-gcc -s}" > conf-ld
43
make
44
}
45
46
check() {
47
cd "$srcdir/admin/$pkgname-$pkgver/src"
48
49
msg 'Testing...'
50
make check
51
}
52
53
package() {
54
cd "$srcdir/admin/$pkgname-$pkgver/src"
55
56
msg 'Installing license...'
57
install -D -m644 "$srcdir/admin/$pkgname-$pkgver/package/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
58
59
msg 'Installing documentation...'
60
install -d "$pkgdir/usr/share/doc/socklog"
61
install -D -m644 "$srcdir/admin/$pkgname-$pkgver/doc"/*.html "$pkgdir/usr/share/doc/socklog"
62
63
msg 'Installing man pages...'
64
install -d "$pkgdir/usr/share/man/man8"
65
install -D -m644 "$srcdir/admin/$pkgname-$pkgver/man"/* "$pkgdir/usr/share/man/man8"
66
67
msg 'Installing executables...'
68
install -d "$pkgdir/usr/bin"
69
for i in `cat $srcdir/admin/$pkgname-$pkgver/package/commands`; do
70
install -s -D -m755 "$srcdir/admin/$pkgname-$pkgver/src/$i" "$pkgdir/usr/bin"
71
done
72
73
msg 'Installing Runit service files...'
74
mkdir -p "$pkgdir/etc/sv"/{klog,socklog/log}
75
install -D -m755 "$srcdir/klog.sv.run" "$pkgdir/etc/sv/klog/run"
76
install -D -m755 "$srcdir/socklog.sv.check" "$pkgdir/etc/sv/socklog/check"
77
install -D -m755 "$srcdir/socklog.sv.log" "$pkgdir/etc/sv/socklog/log/run"
78
install -D -m755 "$srcdir/socklog.sv.run" "$pkgdir/etc/sv/socklog/run"
79
}
80
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |