aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2022-06-23 23:33:58 +0200
committerptrcnull <git@ptrcnull.me>2022-06-24 00:52:38 +0200
commit3e45ccf768b6c71418eb46b8bd2faa1c1a816e96 (patch)
tree334dfbc664daa71851aa65751534b3295f690179
parent85be8cfd07b0d69ea7c9d33053ce72c7ac91e7d3 (diff)
downloadaports-3e45ccf768b6c71418eb46b8bd2faa1c1a816e96.tar.gz
aports-3e45ccf768b6c71418eb46b8bd2faa1c1a816e96.tar.bz2
aports-3e45ccf768b6c71418eb46b8bd2faa1c1a816e96.tar.xz
testing/maddy: upgrade to 0.6.1
-rw-r--r--testing/maddy/APKBUILD21
-rw-r--r--testing/maddy/maddy.initd1
2 files changed, 7 insertions, 15 deletions
diff --git a/testing/maddy/APKBUILD b/testing/maddy/APKBUILD
index 6803dd05aa..9fb8daaad8 100644
--- a/testing/maddy/APKBUILD
+++ b/testing/maddy/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=maddy
-pkgver=0.5.4
-pkgrel=4
+pkgver=0.6.1
+pkgrel=0
pkgdesc="Composable all-in-one mail server"
url="https://maddy.email/"
license="GPL-3.0-or-later"
@@ -15,7 +15,6 @@ install="$pkgname.pre-install"
source="https://github.com/foxcpp/maddy/archive/v$pkgver/maddy-$pkgver.tar.gz
$pkgname.initd
use-syslog.patch
- acme-default-hostname.patch
"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw -tags=libsqlite3"
@@ -27,13 +26,8 @@ build() {
"
go build -ldflags="$ldflags" -v -o bin/maddy ./cmd/maddy
- go build -ldflags="$ldflags" -v -o bin/maddyctl ./cmd/maddyctl
- msg "Building man pages..."
- for f in docs/man/*.scd; do
- echo "$f -> ${f%.scd}"
- scdoc <"$f" >"${f%.scd}"
- done
+ scdoc <docs/man/maddy.1.scd >maddy.1
}
check() {
@@ -43,14 +37,12 @@ check() {
package() {
install -Dm755 bin/maddy "$pkgdir"/usr/bin/maddy
setcap cap_net_bind_service=+ep "$pkgdir"/usr/bin/maddy
- install -Dm755 bin/maddyctl "$pkgdir"/usr/bin/maddyctl
install -Dm644 maddy.conf "$pkgdir"/etc/maddy/maddy.conf
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- install -Dm644 docs/man/*.1 -t "$pkgdir"/usr/share/man/man1
- install -Dm644 docs/man/*.5 -t "$pkgdir"/usr/share/man/man5
+ install -Dm644 maddy.1 -t "$pkgdir"/usr/share/man/man1
}
vim() {
@@ -63,8 +55,7 @@ vim() {
}
sha512sums="
-46ae7ecd91bc4664486e05eb86f67a49192aed3d9fa798c95bf177ed23c73f285df88de340f0238ae599145e70b631bcfcceaaa93a26c2539f47a6803166d99f maddy-0.5.4.tar.gz
-a5b919e1fbecb570123e567ca0e78499efe25e4ae01abbba3221fc54cd35d12f194da847377a0fd00823733817922fae163e247f5b92edad498bb89d14b1bee0 maddy.initd
+25faf228d0a76b052446365cc5ba7cda775a2829b60c3795783be6d48fe3f5c7b7afc434c4bde058583c3b0a8466f46560fa72255a10af1eac795b3c2315f935 maddy-0.6.1.tar.gz
+3eb6829c9e0c078e35db611a82aac0323c2f2633cf5d1ad216cd862465cbcb191b067ab5e57e1748f9d5693351beba6053642d6e1481cd1536c2f53117fce09e maddy.initd
76dbb8d7f4b389f2fc1e4e9ecbf93bd7e9a002a8520d93067e39b7a8d35e74e92af7151c116d38aa9d7548747cdd107b38392204f7d3a8944914aee236f7934e use-syslog.patch
-6701d74e0bf160b17ee7b4c6335e02d4e1f87e71ff832021f62298c7c5baee73dac96d691c5be9013a3df22f3dba683e5614a473df625d3592313fbea455f253 acme-default-hostname.patch
"
diff --git a/testing/maddy/maddy.initd b/testing/maddy/maddy.initd
index 7f9be77f8e..3b36200195 100644
--- a/testing/maddy/maddy.initd
+++ b/testing/maddy/maddy.initd
@@ -7,6 +7,7 @@ description_log_reopen="Reopen log files"
description_reload="Reload some files from disk (but without main configuration)"
command=/usr/bin/maddy
+command_args="run $maddy_opts"
command_user=maddy:maddy
# make relative paths in config relative to the state directory