summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-01-24 14:27:38 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-01-24 14:28:39 +0300
commit81521646674e9a2c3cdc22a8b5fcf5ee10c83a78 (patch)
tree0df71958bb929eed27e539474a60cb9e2d01300c /net-proxy
parentapp-arch/pax: bump up to 20201030 (diff)
downloadgentoo-81521646674e9a2c3cdc22a8b5fcf5ee10c83a78.tar.gz
gentoo-81521646674e9a2c3cdc22a8b5fcf5ee10c83a78.tar.bz2
gentoo-81521646674e9a2c3cdc22a8b5fcf5ee10c83a78.zip
net-proxy/squid: 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 'net-proxy')
-rw-r--r--net-proxy/squid/squid-4.13.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-proxy/squid/squid-4.13.ebuild b/net-proxy/squid/squid-4.13.ebuild
index 5547d6a8e975..6201b7c45436 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