Skip to content

Commit

Permalink
net-dialup/freeradius: Use python-single-r1 instead of python-any-r1 …
Browse files Browse the repository at this point in the history
…(bug #616068)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
Whissi committed Jun 8, 2017
1 parent 95213ae commit 7e191f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions net-dialup/freeradius/freeradius-3.0.14.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
EAPI=6

PYTHON_COMPAT=( python2_7 )
inherit autotools pam python-any-r1 systemd user
inherit autotools pam python-single-r1 systemd user

MY_P="${PN}-server-${PV}"

Expand Down Expand Up @@ -47,13 +47,15 @@ RDEPEND="!net-dialup/cistronradius
oracle? ( dev-db/oracle-instantclient-basic )"
DEPEND="${RDEPEND}"

REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

S="${WORKDIR}/${MY_P}"

pkg_setup() {
enewgroup radius
enewuser radius -1 -1 /var/log/radius radius

python-any-r1_pkg_setup
python-single-r1_pkg_setup
export PYTHONBIN="${EPYTHON}"
}

Expand Down

0 comments on commit 7e191f7

Please sign in to comment.