Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: maddy-0.7.0.
@ 2023-07-10  5:45 the-maldridge
  2023-07-10  5:51 ` [PR REVIEW] " classabbyamp
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: the-maldridge @ 2023-07-10  5:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

There is a new 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: 1767 bytes --]

From d6a89e1270dee5054d3ee6fc1745479921a676df 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        | 27 +++++++++++++++++++++++++++
 2 files changed, 31 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..1690d68fdc28
--- /dev/null
+++ b/srcpkgs/maddy/template
@@ -0,0 +1,27 @@
+# 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"
+_maddy_shell="/bin/nologin"
+_maddy_pgroup="_maddy"
+
+post_install() {
+	vsv maddy
+	vsconf maddy.conf
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 the-maldridge
@ 2023-07-10  5:51 ` classabbyamp
  2023-07-10  5:51 ` classabbyamp
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-07-10  5:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44952#discussion_r1257740243

Comment:
this is the default, according to manual.md

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-07-10  5:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44952#discussion_r1257740456

Comment:
also default

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 the-maldridge
  2023-07-10  5:51 ` [PR REVIEW] " classabbyamp
  2023-07-10  5:51 ` classabbyamp
@ 2023-07-10  5:52 ` the-maldridge
  2023-07-10  5:59 ` [PR REVIEW] " classabbyamp
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: the-maldridge @ 2023-07-10  5:52 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 the-maldridge
                   ` (2 preceding siblings ...)
  2023-07-10  5:52 ` [PR PATCH] [Updated] " the-maldridge
@ 2023-07-10  5:59 ` classabbyamp
  2023-07-10  6:50 ` [PR PATCH] [Updated] " the-maldridge
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-07-10  5:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44952#discussion_r1257745024

Comment:
`hostmakedepends += scdoc` and
```
scdoc < docs/man/maddy.1.scd > maddy.1
vman maddy.1
```

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 the-maldridge
                   ` (3 preceding siblings ...)
  2023-07-10  5:59 ` [PR REVIEW] " classabbyamp
@ 2023-07-10  6:50 ` the-maldridge
  2023-07-10  6:53 ` classabbyamp
  2023-07-11  2:23 ` [PR PATCH] [Merged]: " the-maldridge
  6 siblings, 0 replies; 8+ messages in thread
From: the-maldridge @ 2023-07-10  6:50 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 the-maldridge
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-07-10  6:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44952#issuecomment-1628349684

Comment:
lgtm

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Merged]: New package: maddy-0.7.0.
  2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 the-maldridge
                   ` (5 preceding siblings ...)
  2023-07-10  6:53 ` classabbyamp
@ 2023-07-11  2:23 ` the-maldridge
  6 siblings, 0 replies; 8+ messages in thread
From: the-maldridge @ 2023-07-11  2:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

There's a merged pull request on the void-packages repository

New package: maddy-0.7.0.
https://github.com/void-linux/void-packages/pull/44952

Description:
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-11  2:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-10  5:45 [PR PATCH] New package: maddy-0.7.0 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 ` [PR PATCH] [Updated] " the-maldridge
2023-07-10  6:53 ` classabbyamp
2023-07-11  2:23 ` [PR PATCH] [Merged]: " the-maldridge

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).