Diff ppp-2.5.0-r4 with a ppp-2.5.0-r5
/usr/portage/net-dialup/ppp/ppp-2.5.0-r5.ebuild 2023-10-09 14:52:33.352368447 +0300 | ||
---|---|---|
14 | 14 | |
15 | 15 |
LICENSE="BSD GPL-2" |
16 | 16 |
SLOT="0/${PV}" |
17 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
18 | 18 |
IUSE="activefilter atm gtk pam selinux systemd" |
19 | 19 | |
20 | 20 |
DEPEND=" |
... | ... | |
66 | 66 |
linux-info_pkg_setup |
67 | 67 |
} |
68 | 68 | |
69 |
src_prepare() { |
|
70 |
default |
|
71 | ||
72 |
# Set the right paths in radiusclient.conf |
|
73 |
sed -e "s:/usr/local/etc:/etc:" \ |
|
74 |
-e "s:/usr/local/sbin:/usr/sbin:" \ |
|
75 |
-i pppd/plugins/radius/etc/radiusclient.conf || die |
|
76 |
# Set config dir to /etc/ppp/radius |
|
77 |
sed -i -e "s:/etc/radiusclient:/etc/ppp/radius:g" \ |
|
78 |
pppd/plugins/radius/{*.8,*.c,*.h} \ |
|
79 |
pppd/plugins/radius/etc/* || die |
|
80 |
} |
|
81 | ||
69 | 82 |
src_configure() { |
70 | 83 |
local args=( |
71 | 84 |
--localstatedir="${EPREFIX}"/var |
... | ... | |
113 | 126 |
# https://github.com/ppp-project/ppp/pull/412 |
114 | 127 |
#doman contrib/pppgetpass/pppgetpass.8 |
115 | 128 |
doman "${DISTDIR}/pppgetpass.8" |
129 | ||
130 |
insinto /etc/ppp/radius |
|
131 |
doins pppd/plugins/radius/etc/{dictionary*,issue,port-id-map,radiusclient.conf,realms,servers} |
|
116 | 132 |
} |
117 | 133 | |
118 | 134 |
pkg_postinst() { |