summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-01-22 20:54:52 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-01-23 13:51:31 +0300
commit12b0aa97b0c37464ca8f9ee5eb940ee12050f589 (patch)
treed5eca19ac352f0b574b139bc1ab266e75143ad13
parentsci-calculators/qalculate-gtk: Bump to 3.16.0 (diff)
downloadgentoo-12b0aa97b0c37464ca8f9ee5eb940ee12050f589.tar.gz
gentoo-12b0aa97b0c37464ca8f9ee5eb940ee12050f589.tar.bz2
gentoo-12b0aa97b0c37464ca8f9ee5eb940ee12050f589.zip
mail-mta/exim: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r--mail-mta/exim/exim-4.93.0.4-r2.ebuild (renamed from mail-mta/exim/exim-4.93.0.4-r1.ebuild)6
-rw-r--r--mail-mta/exim/exim-4.94-r2.ebuild (renamed from mail-mta/exim/exim-4.94-r1.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
index 19d13cef361f..b47b3f94f56d 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
index 52358f32bef5..5fb494208b3d 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