summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Rondina <geaaru@gmail.com>2020-09-18 12:11:44 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-10-17 16:19:14 +0300
commitbe67148802010c6065e170c4d1d43c3ef3967fe2 (patch)
treeba45bdbb35eb17d677cf6b2a86900f72f9a1271b /net-dialup
parentmedia-sound/musescore: redigested 3.5.2 (diff)
downloadgentoo-be67148802010c6065e170c4d1d43c3ef3967fe2.tar.gz
gentoo-be67148802010c6065e170c4d1d43c3ef3967fe2.tar.bz2
gentoo-be67148802010c6065e170c4d1d43c3ef3967fe2.zip
net-dialup/freeradius: Fix /etc/raddb permissions
Package-Manager: Portage-2.3.89, Repoman-2.3.22 Signed-off-by: Daniele Rondina <geaaru@gmail.com> Closes: https://bugs.gentoo.org/711756 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/freeradius-3.0.20.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index b7e8e652bc88..eb74f42057cc 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -228,6 +228,10 @@ src_install() {
pamd_mimic_system radiusd auth account password session
+ # fix #711756
+ fowners -R radius:radius /etc/raddb
+ fowners -R radius:radius /var/log/radius
+
dodoc CREDITS
rm "${ED}/usr/sbin/rc.radiusd" || die
@@ -246,6 +250,7 @@ src_install() {
systemd_dounit "${S}"/debian/freeradius.service
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+
}
pkg_config() {