summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-01-22 19:21:12 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-01-22 19:21:12 +0300
commit812a3082449d1d17de27bed478446968a9ed1a51 (patch)
tree8cfa3e5cf0dcc0011c19aa5c196ecf9df79c0110 /mail-mta
parentapp-misc/screen: install pam files conditionally (diff)
downloadgentoo-812a3082449d1d17de27bed478446968a9ed1a51.tar.gz
gentoo-812a3082449d1d17de27bed478446968a9ed1a51.tar.bz2
gentoo-812a3082449d1d17de27bed478446968a9ed1a51.zip
mail-mta/postfix: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/postfix/postfix-3.5.8-r1.ebuild (renamed from mail-mta/postfix/postfix-3.5.8.ebuild)6
-rw-r--r--mail-mta/postfix/postfix-3.5.9-r1.ebuild (renamed from mail-mta/postfix/postfix-3.5.9.ebuild)4
-rw-r--r--mail-mta/postfix/postfix-3.6_pre20210110-r1.ebuild (renamed from mail-mta/postfix/postfix-3.6_pre20210110.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
index df4d2a402701..5cd530ccc455 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
index 903880a12bfe..100b89428484 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
index c8916b842f64..5b244efd5c7c 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