Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 397609 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +4 lines)
Line  Link Here
0
-- a/freeradius-2.1.12.ebuild
0
++ b/freeradius-2.1.12.ebuild
Lines 125-142 src_install() { Link Here
125
	dodir /etc
125
	dodir /etc
126
	dodir /var/log
126
	dodir /var/log
127
	dodir /var/run
127
	dodir /var/run
128
	diropts -m0750 -o root -g radiusd
128
	diropts -m0750 -o root -g radius
129
	dodir /etc/raddb
129
	dodir /etc/raddb
130
	diropts -m0750 -o radiusd -g radiusd
130
	diropts -m0750 -o radius -g radius
131
	dodir /var/log/radius
131
	dodir /var/log/radius
132
	keepdir /var/log/radius/radacct
132
	keepdir /var/log/radius/radacct
133
	dodir /var/run/radiusd
133
	dodir /var/run/radiusd
134
	diropts
134
	diropts
135
135
136
	make R="${D}" install || die "make install failed"
136
	make R="${D}" install || die "make install failed"
137
	sed -i -e 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \
137
	chown -R root:radius "${D}"/etc/raddb/
138
	    "${D}"/etc/raddb/radiusd.conf
139
	chown -R root:radiusd "${D}"/etc/raddb/*
140
138
141
	pamd_mimic_system radiusd auth account password session
139
	pamd_mimic_system radiusd auth account password session
142
140

Return to bug 397609