commit:     12b0aa97b0c37464ca8f9ee5eb940ee12050f589
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 17:54:52 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 10:51:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b0aa97

mail-mta/exim: 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/exim/{exim-4.93.0.4-r1.ebuild => exim-4.93.0.4-r2.ebuild} | 6 ++++--
 mail-mta/exim/{exim-4.94-r1.ebuild => exim-4.94-r2.ebuild}         | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/mail-mta/exim/exim-4.93.0.4-r1.ebuild 
b/mail-mta/exim/exim-4.93.0.4-r2.ebuild
similarity index 99%
rename from mail-mta/exim/exim-4.93.0.4-r1.ebuild
rename to mail-mta/exim/exim-4.93.0.4-r2.ebuild
index 19d13cef361..b47b3f94f56 100644
--- a/mail-mta/exim/exim-4.93.0.4-r1.ebuild
+++ b/mail-mta/exim/exim-4.93.0.4-r2.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"
@@ -537,7 +537,9 @@ src_install() {
        doins "${WORKDIR}"/system_filter.exim
        doins "${FILESDIR}"/auth_conf.sub
 
-       pamd_mimic system-auth exim auth account
+       if use pam; then
+               pamd_mimic system-auth exim auth account
+       fi
 
        # headers, #436406
        if use dlfunc ; then

diff --git a/mail-mta/exim/exim-4.94-r1.ebuild 
b/mail-mta/exim/exim-4.94-r2.ebuild
similarity index 99%
rename from mail-mta/exim/exim-4.94-r1.ebuild
rename to mail-mta/exim/exim-4.94-r2.ebuild
index 52358f32bef..5fb494208b3 100644
--- a/mail-mta/exim/exim-4.94-r1.ebuild
+++ b/mail-mta/exim/exim-4.94-r2.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"
@@ -535,7 +535,9 @@ src_install() {
        doins "${WORKDIR}"/system_filter.exim
        doins "${FILESDIR}"/auth_conf.sub
 
-       pamd_mimic system-auth exim auth account
+       if use pam; then
+               pamd_mimic system-auth exim auth account
+       fi
 
        # headers, #436406
        if use dlfunc ; then

Reply via email to