diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-03-11 12:37:54 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-03-11 12:38:29 +0100 |
commit | a3b4f6fa483244743e02347f5493cb83a13e12d6 (patch) | |
tree | 5ed56c421b28e315ac70dac6534120cb72aea36f /net-dialup | |
parent | app-admin/restart-services: bump version (0.14.4) (diff) | |
download | gentoo-a3b4f6fa483244743e02347f5493cb83a13e12d6.tar.gz gentoo-a3b4f6fa483244743e02347f5493cb83a13e12d6.tar.bz2 gentoo-a3b4f6fa483244743e02347f5493cb83a13e12d6.zip |
net-dialup/freeradius: Fixed src_install
- Bumped ebuild to EAPI-7
- Added python3_7
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/freeradius/freeradius-3.0.18.ebuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net-dialup/freeradius/freeradius-3.0.18.ebuild b/net-dialup/freeradius/freeradius-3.0.18.ebuild index c512a5894ee4..939365c85fc8 100644 --- a/net-dialup/freeradius/freeradius-3.0.18.ebuild +++ b/net-dialup/freeradius/freeradius-3.0.18.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) inherit autotools pam python-single-r1 systemd user MY_P="${PN}-server-${PV}" @@ -189,13 +189,6 @@ src_compile() { } src_install() { - dodoc CREDITS - - rm "${D}/usr/sbin/rc.radiusd" || die - - systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf - systemd_dounit "${FILESDIR}"/freeradius.service - dodir /etc diropts -m0750 -o root -g radius dodir /etc/raddb @@ -217,10 +210,17 @@ src_install() { pamd_mimic_system radiusd auth account password session + dodoc CREDITS + + rm "${ED}/usr/sbin/rc.radiusd" || die + newinitd "${FILESDIR}/radius.init-r3" radiusd newconfd "${FILESDIR}/radius.conf-r4" radiusd - prune_libtool_files + systemd_newtmpfilesd "${FILESDIR}"/freeradius.tmpfiles freeradius.conf + systemd_dounit "${FILESDIR}"/freeradius.service + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die } pkg_config() { |