Github messages for voidlinux
 help / color / mirror / Atom feed
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 07:52:30 +0200	[thread overview]
Message-ID: <20230710055230.ICjLbezVmlN6K1ibyEjpT-98mqSQJOfvNJTNtlD5wfA@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: 1712 bytes --]

From 40a548f4b8b7609d9c466cfe16b18015f1d1659a 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        | 25 +++++++++++++++++++++++++
 2 files changed, 29 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..df559327773e
--- /dev/null
+++ b/srcpkgs/maddy/template
@@ -0,0 +1,25 @@
+# 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"
+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_install() {
+	vsv maddy
+	vsconf maddy.conf
+}

  parent reply	other threads:[~2023-07-10  5:52 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 ` the-maldridge [this message]
2023-07-10  5:59 ` classabbyamp
2023-07-10  6:50 ` [PR PATCH] [Updated] " the-maldridge
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=20230710055230.ICjLbezVmlN6K1ibyEjpT-98mqSQJOfvNJTNtlD5wfA@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).