Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914767 - net-dialup/ppp-2.5.0 no longer installs radius support files (dictionaries)
Summary: net-dialup/ppp-2.5.0 no longer installs radius support files (dictionaries)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 904841
  Show dependency tree
 
Reported: 2023-09-26 20:32 UTC by Jaco Kroon
Modified: 2023-09-26 21:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2023-09-26 20:32:01 UTC
This was present in src_prepare in ppp2.4.9 but no longer in 2.5.0:

-       if use radius ; then
-               # Set the right paths in radiusclient.conf
-               sed -e "s:/usr/local/etc:/etc:" \
-                       -e "s:/usr/local/sbin:/usr/sbin:" \
-                       -i pppd/plugins/radius/etc/radiusclient.conf || die
-               # Set config dir to /etc/ppp/radius
-               sed -i -e "s:/etc/radiusclient:/etc/ppp/radius:g" \
-                       pppd/plugins/radius/{*.8,*.c,*.h} \
-                       pppd/plugins/radius/etc/* || die
-       else
-               einfo "Disabling radius"
-               sed -i -e '/+= radius/s:^:#:' pppd/plugins/Makefile.linux || die
-       fi


and for src_install in ppp 2.4.9 but is no longer in 2.5.0:

-       if use radius ; then
-               doins pppd/plugins/radius/rad{ius,attr,realms}.so
-
-               #Copy radiusclient configuration files (#92878)
-               insinto /etc/ppp/radius
-               insopts -m0644
-               doins pppd/plugins/radius/etc/{dictionary*,issue,port-id-map,radiusclient.conf,realms,servers}
-
-               doman pppd/plugins/radius/pppd-rad{ius,attr}.8
-       fi

The prep portions for fix fixing paths is required, as is the actual installation thereof.

This is a complete showstopper for us to make progress on migrating to ppp 2.5.0.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-09-26 21:14:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834dd1aed415d4acd38932b650ca17b76abb0502

commit 834dd1aed415d4acd38932b650ca17b76abb0502
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2023-09-26 21:06:19 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-09-26 21:12:42 +0000

    net-dialup/ppp: add 2.5.0-r5
    
    Install radius support files so radius client will (mostly) work out of
    the box.
    
    Closes: https://bugs.gentoo.org/914767
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/33077
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-dialup/ppp/ppp-2.5.0-r5.ebuild | 136 +++++++++++++++++++++++++++++++++++++
 1 file changed, 136 insertions(+)