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
4pkgname=opensmtpd-extras
5pkgver=6.7.1
6pkgrel=1
7pkgdesc='Additional queues, schedulers, and tables for OpenSMTPD'
8arch=(i686 x86_64)
9url=https://github.com/OpenSMTPD/OpenSMTPD-extras
10license=(ISC BSD BSD3 'custom:Public Domain' custom:ISC-like)
11makedepends=(libevent python2 postgresql-libs mariadb-libs hiredis)
12optdepends=(
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)
19source=(https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz automake17.patch configure.patch)
20sha512sums=('0969c53a5d13816862f13b3572c0d84d34e2d36d85f83a528d70ee3f4ad5e6b2cdda256529e95a43a177e64368e4e93540d5bb2f81039808d79049234b249d91' '016840893da78c88fb044e16f62fad3185e6e0dcb3a4783038d2491fb7369e341872fc5e2f38fa497d627c242b2491f8f04ac4b51e9dcfb318d52a2c61763854' '76c24516771a649a44cd3113fc4a884b9c6196582435d10f3f6f2efe0e6c168cfdc222e7bb37bd02e7c879db10b7dfaea174053f4ac863e74ff77920b7938038')
21
22prepare() {
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
35build() {
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
68check() {
69 cd $pkgname-$pkgver
70 make -k check
71}
72
73package() {
74 cd $pkgname-$pkgver
75 make DESTDIR="$pkgdir" install
76}
77

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