Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] re-enable pam authentication in opensmtpd
Date: Fri, 31 Jan 2020 15:45:51 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18688@inbox.vuxu.org> (raw)

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

There is a new pull request by mithodin against master on the void-packages repository

https://github.com/mithodin/void-packages master
https://github.com/void-linux/void-packages/pull/18688

re-enable pam authentication in opensmtpd
opensmtpd no longer enables pam auth by default (despite the ./configure script claiming so). This is quite the useful feature, so I'd love to see it enabled.

A patch file from https://github.com/void-linux/void-packages/pull/18688.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-18688.patch --]
[-- Type: text/x-diff, Size: 1318 bytes --]

From 02107801f744b5d0b57a8b0c7ad0abfb9da4cca8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lucas=20L=2E=20Treffenst=C3=A4dt?= <lucas@treffenstaedt.de>
Date: Fri, 31 Jan 2020 15:42:31 +0100
Subject: [PATCH] opensmtpd: enable pam authentication

---
 srcpkgs/opensmtpd/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template
index 9f2ed6982dd..bfb91c17fb3 100644
--- a/srcpkgs/opensmtpd/template
+++ b/srcpkgs/opensmtpd/template
@@ -8,6 +8,7 @@ configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
  --with-mantype=doc --with-pie --with-table-db
  --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt
  --with-maildir=/var/mail
+ --with-auth-pam=smtpd
  ac_cv_func_arc4random=yes
  ac_cv_func_arc4random_buf=yes
  ac_cv_func_arc4random_stir=no
@@ -18,7 +19,7 @@ configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
  ac_cv_func_strlcat=no
  ac_cv_func_strlcpy=no"
 hostmakedepends="automake libtool pkg-config bison"
-makedepends="zlib-devel libressl-devel libevent-devel db-devel libasr-devel"
+makedepends="zlib-devel libressl-devel libevent-devel db-devel libasr-devel pam-devel"
 depends="ca-certificates"
 conf_files="/etc/smtpd/smtpd.conf /etc/smtpd/aliases"
 short_desc="Free implementation of the server-side SMTP protocol"

             reply	other threads:[~2020-01-31 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 14:45 voidlinux-github [this message]
2020-01-31 14:47 ` voidlinux-github
2020-01-31 17:39 ` voidlinux-github
2020-01-31 18:18 ` [PR PATCH] [Merged]: " voidlinux-github

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18688@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).