opensmtpd-extras
maintainer yobert
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the official opensmtpd.org domain, which is the project's own release infrastructure; despite not being on a standard forge, it is a legitimate and expected source for this software, and the checksums are provided and valid.
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 the official opensmtpd.org domain, which is the project's own release infrastructure; despite not being on a standard forge, it is a legitimate and expected source for this software, and the checksums are provided and valid.
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:19
source=(https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz automake17.patch configure.patch)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jean Lucas <jean@4ray.co>
2
# Contributor: Wilhelm Schuster <wilhelm [aT] wilhelm [.] re>
3
4
pkgname=opensmtpd-extras
5
pkgver=6.7.1
6
pkgrel=1
7
pkgdesc='Additional queues, schedulers, and tables for OpenSMTPD'
8
arch=(i686 x86_64)
9
url=https://github.com/OpenSMTPD/OpenSMTPD-extras
10
license=(ISC BSD BSD3 'custom:Public Domain' custom:ISC-like)
11
makedepends=(libevent python2 postgresql-libs mariadb-libs hiredis)
12
optdepends=(
13
'libevent: for table-python support'
14
'python2: for table-python support'
15
'postgresql-libs: for table-postgres support'
16
'mariadb-libs: for table-mysql support'
17
'hiredis: for table-redis support'
18
)
19
source=(https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz automake17.patch configure.patch)
20
sha512sums=('0969c53a5d13816862f13b3572c0d84d34e2d36d85f83a528d70ee3f4ad5e6b2cdda256529e95a43a177e64368e4e93540d5bb2f81039808d79049234b249d91' '016840893da78c88fb044e16f62fad3185e6e0dcb3a4783038d2491fb7369e341872fc5e2f38fa497d627c242b2491f8f04ac4b51e9dcfb318d52a2c61763854' '76c24516771a649a44cd3113fc4a884b9c6196582435d10f3f6f2efe0e6c168cfdc222e7bb37bd02e7c879db10b7dfaea174053f4ac863e74ff77920b7938038')
21
22
prepare() {
23
cd $pkgname-$pkgver
24
25
# Fix config folder location
26
sed 's#/mail#/smtpd#' -i extras/tables/table-sqlite/sqlite.conf
27
28
# Allow automake 1.17
29
patch -p1 -i "${srcdir}/automake17.patch"
30
31
# Fix this bad compiler check
32
patch -p1 -i "${srcdir}/configure.patch"
33
}
34
35
build() {
36
cd $pkgname-$pkgver
37
38
./bootstrap
39
40
# Python add-ons use Python 2
41
sed 's#python_type="python#&2#' -i configure
42
43
./configure \
44
--prefix=/usr \
45
--sbindir=/usr/bin \
46
--libexecdir=/usr/lib/smtpd \
47
--sysconfdir=/etc/smtpd \
48
--with-queue-null \
49
--with-queue-python \
50
--with-queue-ram \
51
--with-queue-stub \
52
--with-scheduler-python \
53
--with-scheduler-ram \
54
--with-scheduler-stub \
55
--with-table-ldap \
56
--with-table-mysql \
57
--with-table-passwd \
58
--with-table-postgres \
59
--with-table-python \
60
--with-table-redis \
61
--with-table-socketmap \
62
--with-table-sqlite \
63
--with-table-stub
64
65
make
66
}
67
68
check() {
69
cd $pkgname-$pkgver
70
make -k check
71
}
72
73
package() {
74
cd $pkgname-$pkgver
75
make DESTDIR="$pkgdir" install
76
}
77
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 |