From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1244126-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 85B261382C5
	for <garchives@archives.gentoo.org>; Fri, 22 Jan 2021 16:21:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AFE1EE0870;
	Fri, 22 Jan 2021 16:21:39 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9A7DAE0870
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Jan 2021 16:21:39 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 302D0340D58
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Jan 2021 16:21:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 74CBA53
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Jan 2021 16:21:36 +0000 (UTC)
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" <zlogene@gentoo.org>
Message-ID: <1611332472.812a3082449d1d17de27bed478446968a9ed1a51.zlogene@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/postfix/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-mta/postfix/postfix-3.5.8-r1.ebuild mail-mta/postfix/postfix-3.5.8.ebuild mail-mta/postfix/postfix-3.5.9-r1.ebuild mail-mta/postfix/postfix-3.5.9.ebuild mail-mta/postfix/postfix-3.6_pre20210110-r1.ebuild mail-mta/postfix/postfix-3.6_pre20210110.ebuild
X-VCS-Directories: mail-mta/postfix/
X-VCS-Committer: zlogene
X-VCS-Committer-Name: Mikle Kolyada
X-VCS-Revision: 812a3082449d1d17de27bed478446968a9ed1a51
X-VCS-Branch: master
Date: Fri, 22 Jan 2021 16:21:36 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: aaa54e9b-2438-474d-8740-2dc728ea25c2
X-Archives-Hash: 01fb5d306376074b9dd1759334730020

commit:     812a3082449d1d17de27bed478446968a9ed1a51
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 16:21:12 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 16:21:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812a3082

mail-mta/postfix: install pam files conditionally

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 mail-mta/postfix/{postfix-3.5.8.ebuild => postfix-3.5.8-r1.ebuild}  | 6 ++++--
 mail-mta/postfix/{postfix-3.5.9.ebuild => postfix-3.5.9-r1.ebuild}  | 4 +++-
 ...fix-3.6_pre20210110.ebuild => postfix-3.6_pre20210110-r1.ebuild} | 4 +++-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/mail-mta/postfix/postfix-3.5.8.ebuild b/mail-mta/postfix/postfix-3.5.8-r1.ebuild
similarity index 98%
rename from mail-mta/postfix/postfix-3.5.8.ebuild
rename to mail-mta/postfix/postfix-3.5.8-r1.ebuild
index df4d2a40270..5cd530ccc45 100644
--- a/mail-mta/postfix/postfix-3.5.8.ebuild
+++ b/mail-mta/postfix/postfix-3.5.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -261,7 +261,9 @@ src_install() {
 	# postfix set-permissions expects uncompressed man files
 	docompress -x /usr/share/man
 
-	pamd_mimic_system smtp auth account
+	if use pam; then
+		pamd_mimic_system smtp auth account
+	fi
 
 	if use sasl; then
 		insinto /etc/sasl2

diff --git a/mail-mta/postfix/postfix-3.5.9.ebuild b/mail-mta/postfix/postfix-3.5.9-r1.ebuild
similarity index 99%
rename from mail-mta/postfix/postfix-3.5.9.ebuild
rename to mail-mta/postfix/postfix-3.5.9-r1.ebuild
index 903880a12bf..100b8942848 100644
--- a/mail-mta/postfix/postfix-3.5.9.ebuild
+++ b/mail-mta/postfix/postfix-3.5.9-r1.ebuild
@@ -261,7 +261,9 @@ src_install() {
 	# postfix set-permissions expects uncompressed man files
 	docompress -x /usr/share/man
 
-	pamd_mimic_system smtp auth account
+	if use pam; then
+		pamd_mimic_system smtp auth account
+	fi
 
 	if use sasl; then
 		insinto /etc/sasl2

diff --git a/mail-mta/postfix/postfix-3.6_pre20210110.ebuild b/mail-mta/postfix/postfix-3.6_pre20210110-r1.ebuild
similarity index 99%
rename from mail-mta/postfix/postfix-3.6_pre20210110.ebuild
rename to mail-mta/postfix/postfix-3.6_pre20210110-r1.ebuild
index c8916b842f6..5b244efd5c7 100644
--- a/mail-mta/postfix/postfix-3.6_pre20210110.ebuild
+++ b/mail-mta/postfix/postfix-3.6_pre20210110-r1.ebuild
@@ -246,7 +246,9 @@ src_install() {
 	# postfix set-permissions expects uncompressed man files
 	docompress -x /usr/share/man
 
-	pamd_mimic_system smtp auth account
+	if use pam; then
+		pamd_mimic_system smtp auth account
+	fi
 
 	if use sasl; then
 		insinto /etc/sasl2