aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-04-12 16:36:01 +0200
committerJakub Jirutka <jakub@jirutka.cz>2022-04-12 16:39:37 +0200
commitb4df32f0904baa0f4595b69eb71c264e4444b703 (patch)
treeda9eac7a24d2b55df0da972780b9bafafb070683
parentf4c7b27e50ac3dee4d4fce81677f4c283d05b61d (diff)
downloadaports-b4df32f0904baa0f4595b69eb71c264e4444b703.tar.gz
aports-b4df32f0904baa0f4595b69eb71c264e4444b703.tar.bz2
aports-b4df32f0904baa0f4595b69eb71c264e4444b703.tar.xz
main/opensmtpd: fix wrong variable name in init script
* Checking OpenSMTPD configuration ... sh: out of range
-rw-r--r--main/opensmtpd/APKBUILD4
-rw-r--r--main/opensmtpd/smtpd.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/opensmtpd/APKBUILD b/main/opensmtpd/APKBUILD
index 24325c3bb8..9703c9fcc8 100644
--- a/main/opensmtpd/APKBUILD
+++ b/main/opensmtpd/APKBUILD
@@ -11,7 +11,7 @@
# - CVE-2020-7247
pkgname=opensmtpd
pkgver=6.7.1p1
-pkgrel=3
+pkgrel=4
pkgdesc="Secure, reliable, lean, and easy-to configure SMTP server"
url="https://www.opensmtpd.org/"
arch="all"
@@ -89,7 +89,7 @@ pam() {
}
sha512sums="403952e77b360f42d8dc8ae7cd7faeced831b9e37bffd7c67d338b7208f7471d50f3594c3475a9282d18cb17435efd305ec8c05f89eaeab5d363ddb1c4d54a2e opensmtpd-6.7.1p1.tar.gz
-595cfe0cbb81d0eca6342ccf0b770b5acf47098aa5c4cb2af7724cec98fa833e73ae0a233de081c321ae5fd88fbeb4bab1f7ca2d31600c28bea6c6d3cad74ba8 smtpd.initd
+cce0c3b014a02d46c77d4de6495cf8e7e48d17c89c27432f121060d6712ae3606a6e5d51a74cf5504e826f7dd72176297dc83c9e6623f8e3fe9a952c8d02add1 smtpd.initd
e68fca4a7e0ceda271ad61c5a6592a859789bea9ccb6417258f7a0b45d92163ed6097c208d3fdfb78bf978a6a01b6f3678e047e3ce972b2c521419d54a992e0a smtpd.confd
51d47b34eb3d728daa45f29d6434cc75db28dfa69b6fb3ecd873121df85b296a2d2c81016d765a07778aa26a496e4b29c09a30b82678cf42596a536734b5deca aliases
37104cc605569f142ceffa902f200e8a7e9e1114ebe5394ed1eac0ed6ce25454e1610270921c45246de8396eee04b7c8ab5a112a231036a6ef14e7e229b264e3 autoconf-decl-checks.patch
diff --git a/main/opensmtpd/smtpd.initd b/main/opensmtpd/smtpd.initd
index f6c80daebb..e72fa4173d 100644
--- a/main/opensmtpd/smtpd.initd
+++ b/main/opensmtpd/smtpd.initd
@@ -35,7 +35,7 @@ checkconfig() {
# Don't output anything unless something is *not* ok.
local out rc=0
out=$($command -n 2>&1) || rc=$?
- [ "$ret" -eq 0 ] || printf '%s\n' "$out" >&2
+ [ "$rc" -eq 0 ] || printf '%s\n' "$out" >&2
eend $rc
}