Summary: | net/pppd.sh with >=net-dialup/ppp-2.4.8: incompatible option name: defaultroute-metric | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | netifrc | Assignee: | netifrc Team <netifrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/paulusmack/ppp/commit/35e5a569c988b1ff865b02a24d9a727a00db4da9 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 704680 | ||
Attachments: |
netifrc-0.6.1-pppd-2.4.8-defaultroute-metric.patch
netifrc-0.6.1-pppd-2.4.8-defaultroute-metric.patch |
Description
Lars Wendler (Polynomial-C) (RETIRED)
![]() Created attachment 602432 [details, diff]
netifrc-0.6.1-pppd-2.4.8-defaultroute-metric.patch
Same patch just with quoting in patch summary fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=9472b0e2fd402819963f492fe9ba37c82c0de277 commit 9472b0e2fd402819963f492fe9ba37c82c0de277 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-01-03 20:30:28 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2020-01-04 07:58:21 +0000 pppd.sh: ppp-2.4.8 introduced "defaultroute-metric" option That option name differs from the one we patched into previous pppd releases so check if we are on >=2.4.8 version and use the correct option name accordingly Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Closes: https://bugs.gentoo.org/704722 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> net/pppd.sh | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7289053524cb088c87ea7a9c88ad5a631978d03f commit 7289053524cb088c87ea7a9c88ad5a631978d03f Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2020-01-04 08:15:40 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2020-01-04 08:16:55 +0000 net-misc/netifrc: bump Major changes: - init.d/net.lo: add a configurable presence timeout - net/veth: new functionality Fixes: - net/wireguard: sync - net/ppp: support ppp-2.4.8 - *: lots of shellcheck fixes Package-Manager: Portage-2.3.83, Repoman-2.3.18 Closes: https://bugs.gentoo.org/704722 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> net-misc/netifrc/Manifest | 1 + net-misc/netifrc/netifrc-0.2.2.ebuild | 2 +- net-misc/netifrc/netifrc-0.2.3.ebuild | 2 +- net-misc/netifrc/netifrc-0.2.4.ebuild | 2 +- net-misc/netifrc/netifrc-0.3.0.ebuild | 2 +- net-misc/netifrc/netifrc-0.3.1.ebuild | 2 +- net-misc/netifrc/netifrc-0.4.0-r1.ebuild | 2 +- net-misc/netifrc/netifrc-0.4.0.ebuild | 2 +- net-misc/netifrc/netifrc-0.5.0.ebuild | 2 +- net-misc/netifrc/netifrc-0.5.1.ebuild | 2 +- net-misc/netifrc/netifrc-0.6.0.ebuild | 2 +- net-misc/netifrc/netifrc-0.6.1.ebuild | 2 +- net-misc/netifrc/netifrc-0.7.1.ebuild | 71 ++++++++++++++++++++++++++++++++ net-misc/netifrc/netifrc-9999.ebuild | 8 ++-- 14 files changed, 87 insertions(+), 15 deletions(-) Would it not make sense to introduce a defaultmetric alias in pppd 2.4.8? Stabling netifrc seems to take very long (In reply to Joakim Tjernlund from comment #4) > Would it not make sense to introduce a defaultmetric alias in pppd 2.4.8? > Stabling netifrc seems to take very long I'm working o that. But my C knowledge is quite rusty so it may take a while till I have a satisfying result. |