commit: 81521646674e9a2c3cdc22a8b5fcf5ee10c83a78
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 11:27:38 2021 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 11:28:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81521646
net-proxy/squid: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-proxy/squid/squid-4.13.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-proxy/squid/squid-4.13.ebuild
b/net-proxy/squid/squid-4.13.ebuild
index 5547d6a8e97..6201b7c4543 100644
--- a/net-proxy/squid/squid-4.13.ebuild
+++ b/net-proxy/squid/squid-4.13.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
@@ -256,7 +256,10 @@ src_install() {
newdoc src/acl/external/kerberos_ldap_group/README
README.kerberos_ldap_group
dodoc RELEASENOTES.html
- newpamd "${FILESDIR}/squid.pam" squid
+ if use pam; then
+ newpamd "${FILESDIR}/squid.pam" squid
+ fi
+
newconfd "${FILESDIR}/squid.confd-r2" squid
newinitd "${FILESDIR}/squid.initd-r5" squid
if use logrotate; then