Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114961

Summary: needing --enable-multipath=N in quagga
Product: Gentoo Linux Reporter: Rabbe Fogelholm <rabbe>
Component: New packagesAssignee: Amir Guindehi (RETIRED) <amir>
Status: RESOLVED FIXED    
Severity: normal CC: mrness
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rabbe Fogelholm 2005-12-09 00:44:52 UTC
For my use of quagga I need to build it with --enable-multipath=2. It seems that
the only way to accomplish this right now is to make myself a modified ebuild
where I can add the configure option.

I propose to have this feature included in the Gentoo ebuild for quagga.
However, I guess it is a bit of a problem since one user such as myself wants
--enable-multipath=2 whereas someone with a Linux box with more interfaces might
want --enable-multipath=4 or so.

Could this perhaps be done with a bunch of USE flags, like

    quagga-multipath-2
    quagga-multipath-3
    quagga-multipath-4
    quagga-multipath-5
    quagga-multipath-6

Does not feel very elegant, but it makes maintenance life easy: Just put the
appropriate USE flag in /etc/make.conf and then future ebuilds of quagga will
insert the correct --enable-multipath=N option at build time.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-12-10 00:19:02 UTC
what about a "multipath" useflag that sets --enable-multipath=0? a quick look in
source reveals that 0 means unlimited number of paths.
would that solve your problem?
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-12-12 22:21:53 UTC
amir, I see you took the bug #115208 under your wing.

please solve this one as well.
Comment 3 Rabbe Fogelholm 2005-12-12 22:54:56 UTC
(In reply to comment #1)
Yes Alin, that should be OK in my case, I have tested it now and it seems to
work fine. The NEWS textfile mentions the use of argument 0, so it is even
documented to some little extent.

Perhaps a USE flag could simply be named "multipath". Or should it be
"multipath-routing" maybe? It seems that there are many references to the word
multipath in the context of radio signal propagation. Far-fetched as it may be,
some future radio communications simulation software may want to have a USE flag
with the name "multipath". No big deal what the exact
name will be though.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-12-12 23:33:10 UTC
I would say stick with the name used by configure, namely "multipath".
Comment 5 Amir Guindehi (RETIRED) gentoo-dev 2005-12-13 06:47:46 UTC
Implemented in quagga-0.98-5-r2.ebuild. The new local use flag is named 'multipath'.