From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: maddy-0.7.0.
Date: Mon, 10 Jul 2023 08:50:59 +0200 [thread overview]
Message-ID: <20230710065059.4LegygZF7MmmXmuONvJZmeMZDYwE4XbvqP4VUsvV55E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44952@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
There is an updated pull request by the-maldridge against master on the void-packages repository
https://github.com/the-maldridge/void-packages maddy
https://github.com/void-linux/void-packages/pull/44952
New package: maddy-0.7.0.
This is the same software we already run as our internal mail server, but I'd like to have it packaged so we can create a Void specific container. I believe this will lead to a generally cleaner configuration and will of course allow the underlying container to share blocks with other void containers on the same host.
A patch file from https://github.com/void-linux/void-packages/pull/44952.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maddy-44952.patch --]
[-- Type: text/x-diff, Size: 1820 bytes --]
From a8dd6a4274dc84496f8f4a22ff1135d741e39904 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@voidlinux.org>
Date: Thu, 6 Jul 2023 22:53:24 -0500
Subject: [PATCH] New package: maddy-0.7.0.
---
srcpkgs/maddy/files/maddy/run | 4 ++++
srcpkgs/maddy/template | 31 +++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100644 srcpkgs/maddy/files/maddy/run
create mode 100644 srcpkgs/maddy/template
diff --git a/srcpkgs/maddy/files/maddy/run b/srcpkgs/maddy/files/maddy/run
new file mode 100644
index 000000000000..ad2233b6694b
--- /dev/null
+++ b/srcpkgs/maddy/files/maddy/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+umask 0027
+exec 2>&1
+exec chpst -u _maddy:_maddy -C /var/lib/maddy -o 131072 -p 512 /usr/bin/maddy run
diff --git a/srcpkgs/maddy/template b/srcpkgs/maddy/template
new file mode 100644
index 000000000000..85dff9d4b8b1
--- /dev/null
+++ b/srcpkgs/maddy/template
@@ -0,0 +1,31 @@
+# Template file for 'maddy'
+pkgname=maddy
+version=0.7.0
+revision=1
+build_style=go
+go_import_path="github.com/foxcpp/maddy"
+go_package="$go_import_path/cmd/maddy
+ $go_import_path/cmd/maddy-pam-helper
+ $go_import_path/cmd/maddy-shadow-helper"
+hostmakedepends="scdoc"
+makedepends="pam-devel"
+short_desc="Composable all-in-one mail server"
+maintainer="Michael Aldridge <maldridge@voidlinux.org>"
+license="GPL-3.0-or-later"
+homepage="https://maddy.email"
+distfiles="https://github.com/foxcpp/maddy/archive/refs/tags/v$version.tar.gz"
+checksum=d661a74a9a14e874610aba776a01aaeee742a32ef06592251d4a86306487dfa9
+make_dirs="/var/lib/maddy 0750 _maddy _maddy
+ /etc/maddy 0750 _maddy _maddy"
+system_accounts="_maddy"
+_maddy_homedir="/var/lib/maddy"
+
+post_build() {
+ scdoc < docs/man/maddy.1.scd > maddy.1
+}
+
+post_install() {
+ vsv maddy
+ vsconf maddy.conf
+ vman maddy.1
+}
next prev parent reply other threads:[~2023-07-10 6:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 5:45 [PR PATCH] " the-maldridge
2023-07-10 5:51 ` [PR REVIEW] " classabbyamp
2023-07-10 5:51 ` classabbyamp
2023-07-10 5:52 ` [PR PATCH] [Updated] " the-maldridge
2023-07-10 5:59 ` [PR REVIEW] " classabbyamp
2023-07-10 6:50 ` the-maldridge [this message]
2023-07-10 6:53 ` classabbyamp
2023-07-11 2:23 ` [PR PATCH] [Merged]: " the-maldridge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230710065059.4LegygZF7MmmXmuONvJZmeMZDYwE4XbvqP4VUsvV55E@z \
--to=the-maldridge@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).