Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204744 - net-misc/bridge-utils-1.4 - version bump & fixups
Summary: net-misc/bridge-utils-1.4 - version bump & fixups
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 214126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-07 13:41 UTC by Alon Bar-Lev (RETIRED)
Modified: 2008-06-05 17:48 UTC (History)
3 users (show)

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


Attachments
bridge-utils-1.2-r1.ebuild.diff (bridge-utils-1.2-r1.ebuild.diff,1.86 KB, patch)
2008-01-07 13:41 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
bridge-utils-1.2-noip.patch (bridge-utils-1.2-noip.patch,730 bytes, patch)
2008-01-07 13:42 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
bridge-utils-1.2-r1.ebuild.diff (bridge-utils-1.2-r1.ebuild.diff,1.99 KB, patch)
2008-01-07 14:05 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
bridge-utils-1.4.ebuild.diff (bridge-utils-1.4.ebuild.diff,1.94 KB, patch)
2008-01-08 18:05 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-07 13:41:13 UTC
Hello,

1. Use kernel headers from kernel, as it segfaults in transition from 2.6.22 to 2.6.23.

2. Check CONFIG_BRIDGE at kernel configuration.

3. Add ~mips keyword.

4. Add noip patch (accepted by upstream).

If you want I can commit this...

Regards,
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-07 13:41:41 UTC
Created attachment 140376 [details, diff]
bridge-utils-1.2-r1.ebuild.diff
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-07 13:42:27 UTC
Created attachment 140377 [details, diff]
bridge-utils-1.2-noip.patch
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-07 13:55:27 UTC
NAK on the kernel sources.
Now I cannot build it on a machine that only has a kernel with no sources present.
Rebuild it against newer linux-headers instead. Depending on a specific kernel config also blocks me from building on some other machine and then deploying to the bridging box.

The noip patch is fine however.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-07 14:05:34 UTC
Created attachment 140379 [details, diff]
bridge-utils-1.2-r1.ebuild.diff

OK...
1. Use linux headers, but work with cross compile correctly.
2. The CONFIG_BRIDGE check was in warn mode... Nothing would have prevented you from compiling this.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-07 15:32:14 UTC
I thought about the linux kernel requirement... And I think your approach suggest that all packages using linux-info should be modified to use linux-headers...

While kernel usermode components should be compiled with latest kernel sources.

Because linux-headers cannot be slotted, it is better to use linux-info approach, for this case as well.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-08 18:05:49 UTC
Created attachment 140485 [details, diff]
bridge-utils-1.4.ebuild.diff

Actually version bump...
But please consider your approach regarding the linux-headers, I believe you are wrong in this case.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-09 00:47:34 UTC
No, the user's kernel sources might not be suitiable (this happened with audit before, people running some badly patched kernels got a broken audit binary), or even present (I do indeed have machines where this is true, on a cluster that all uses the same kernel, there is absolutely no need to have sources on each machine).

There are two cases with headers:
1. kernel newer than headers - specific features for the new kernel might not get built.
2. headers newer than kernel - The binary should work always.

If you hit a case that linux-headers aren't new enough, either bug the kernel herd (they are quite responsive), or extract the specific headers you need and include them with the ebuild.

The only time that kernel sources should be needed, is when the actual content of the kernel matters (eg: the l7filter of iptables), or you are need to link/include some part of the kernel (while building modules).

But for you, i'll bring it up on the -dev list anyway.
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-17 06:26:03 UTC
Please bump this one way or the other...
Thanks.
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-22 07:30:42 UTC
Hello Robin,
I don't understand... Why do you keep simple bugs like this one opened for a long time?
Is there some hidden advantage in this?
Last time I checked, bugs behaves differently than wine... :)
Regards,
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-13 20:21:33 UTC
I fail to understand why you keep this open, maybe I miss something... I can learn...
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-25 07:03:50 UTC
ping...
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-03-21 09:23:34 UTC
*** Bug 214126 has been marked as a duplicate of this bug. ***
Comment 13 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-12 08:11:18 UTC
ping again...
Comment 14 Alon Bar-Lev 2008-06-05 13:35:41 UTC
Well.. as a user now... still waiting for this bump... No reason to not provide this new version to users.
Thanks.
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-05 17:48:05 UTC
1.4 in the tree now.

alonbl: Because it's nowhere near the top of my list of priorities of things to do.