Summary: | >=net-fs/samba-4.0 automagically depends on sys-apps/dmapi (libdm.so) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Sturmlechner <asturm> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eugene.shalygin, polynomial-c |
Priority: | Normal | Keywords: | PATCH |
Version: | 10.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 489762 | ||
Attachments: |
samba-4.0.6.ebuild.diff
samba-4.1.0-remove-dmapi-automagic.patch samba-4.1.0-r1.ebuild.diff samba-4.1.0-remove-dmapi-automagic.patch |
Description
Andreas Sturmlechner
2013-06-23 14:30:07 UTC
Comment on attachment 351746 [details, diff]
samba-4.0.6.ebuild.diff
If this dependency is really automagic, your patch unfortunately is not enough to solve the problem.
The following bug contains the commit that seems to have introduced the automagic: https://bugzilla.samba.org/show_bug.cgi?id=9803 As fam seems to be configured likewise, I'm not sure how that USE flag is supposed to work when dmapi doesn't. Not sure if simply reverting that commit would help? Created attachment 362404 [details, diff]
samba-4.1.0-remove-dmapi-automagic.patch
Had another go at it and changed the relevant wscript. I made a few configure runs, with and without dmapi enabled and/or installed, and it seemed to work for me. I don't really understand why the checks were done that way before though.
Created attachment 362406 [details, diff]
samba-4.1.0-r1.ebuild.diff
Created attachment 362408 [details, diff]
samba-4.1.0-remove-dmapi-automagic.patch
actually, make that compile, not only configure (small fix)
Build with USE="-dmapi" but dmapi package present was successful, without preserved libs after removing dmapi package. Great work Andreas. This is really appreciated! Any chance you can present that patch to upstream and convince them to integrate it into their source repos? +*samba-4.1.1 (12 Nov 2013) +*samba-4.0.11 (12 Nov 2013) +*samba-3.6.20 (12 Nov 2013) + + 12 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> -samba-3.6.16.ebuild, + +samba-3.6.20.ebuild, +samba-4.0.11.ebuild, +samba-4.1.1.ebuild, + +files/samba-4.1.0-remove-dmapi-automagic.patch: + Security bumps for CVE-2013-4475 and CVE-2013-4476. Removed automagic + dependency on dmapi. Thanks to Andreas Sturmlechner for providing a patch in + bug #474492. Removed old. + I keep this patch open as a reminder to push your patch upstream. > I keep this patch open as a reminder to push your patch upstream.
I mean I keep this bug open... m(
As upstream seems to not care about such kind of problems I gonna mark this bug as fixed. Let's hope we don't have to carry this patch around forever :-( Files bugs on upstream with patch. https://bugzilla.samba.org/show_bug.cgi?id=10369 Hope this time it really got fix. Bugs is fixed on upstream :) https://bugzilla.samba.org/show_bug.cgi?id=10369 Good for us ;) |