summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-01-22 20:18:41 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-01-22 20:21:40 +0300
commit9b32516c0e63edc19030f21d2a72bc453cb7034f (patch)
tree0ba6b693ab0a683612e807e2d62e6d3913f83fe6 /net-dialup/freeradius
parentnet-dialup/freeradius: Drop old (diff)
downloadgentoo-9b32516c0e63edc19030f21d2a72bc453cb7034f.tar.gz
gentoo-9b32516c0e63edc19030f21d2a72bc453cb7034f.tar.bz2
gentoo-9b32516c0e63edc19030f21d2a72bc453cb7034f.zip
net-dialup/freeradius: install pam files unconditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-dialup/freeradius')
-rw-r--r--net-dialup/freeradius/freeradius-3.0.20-r1.ebuild6
-rw-r--r--net-dialup/freeradius/freeradius-3.0.21-r1.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
index f29428cfc91e..ded90416b5b3 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-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
@@ -226,7 +226,9 @@ src_install() {
R="${D}" \
install
- pamd_mimic_system radiusd auth account password session
+ if use pam; then
+ pamd_mimic_system radiusd auth account password session
+ fi
# fix #711756
fowners -R radius:radius /etc/raddb
diff --git a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild b/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
index 3c1737e539aa..fb08136cb144 100644
--- a/net-dialup/freeradius/freeradius-3.0.21-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.21-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
@@ -222,7 +222,9 @@ src_install() {
R="${D}" \
install
- pamd_mimic_system radiusd auth account password session
+ if use pam; then
+ pamd_mimic_system radiusd auth account password session
+ fi
# fix #711756
fowners -R radius:radius /etc/raddb