Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius/
Date: Mon, 11 Mar 2019 11:38:40
Message-Id: 1552304309.a3b4f6fa483244743e02347f5493cb83a13e12d6.polynomial-c@gentoo
1 commit: a3b4f6fa483244743e02347f5493cb83a13e12d6
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 11:37:54 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 11:38:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b4f6fa
7
8 net-dialup/freeradius: Fixed src_install
9
10 - Bumped ebuild to EAPI-7
11 - Added python3_7
12
13 Package-Manager: Portage-2.3.62, Repoman-2.3.12
14 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
15
16 net-dialup/freeradius/freeradius-3.0.18.ebuild | 20 ++++++++++----------
17 1 file changed, 10 insertions(+), 10 deletions(-)
18
19 diff --git a/net-dialup/freeradius/freeradius-3.0.18.ebuild b/net-dialup/freeradius/freeradius-3.0.18.ebuild
20 index c512a5894ee..939365c85fc 100644
21 --- a/net-dialup/freeradius/freeradius-3.0.18.ebuild
22 +++ b/net-dialup/freeradius/freeradius-3.0.18.ebuild
23 @@ -1,9 +1,9 @@
24 # Copyright 1999-2019 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=6
28 +EAPI=7
29
30 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
31 +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
32 inherit autotools pam python-single-r1 systemd user
33
34 MY_P="${PN}-server-${PV}"
35 @@ -189,13 +189,6 @@ src_compile() {
36 }
37
38 src_install() {
39 - dodoc CREDITS
40 -
41 - rm "${D}/usr/sbin/rc.radiusd" || die
42 -
43 - systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf
44 - systemd_dounit "${FILESDIR}"/freeradius.service
45 -
46 dodir /etc
47 diropts -m0750 -o root -g radius
48 dodir /etc/raddb
49 @@ -217,10 +210,17 @@ src_install() {
50
51 pamd_mimic_system radiusd auth account password session
52
53 + dodoc CREDITS
54 +
55 + rm "${ED}/usr/sbin/rc.radiusd" || die
56 +
57 newinitd "${FILESDIR}/radius.init-r3" radiusd
58 newconfd "${FILESDIR}/radius.conf-r4" radiusd
59
60 - prune_libtool_files
61 + systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf
62 + systemd_dounit "${FILESDIR}"/freeradius.service
63 +
64 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
65 }
66
67 pkg_config() {