Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583052 - app-emulation/virtualbox-5.0.20: add debug useflag
Summary: app-emulation/virtualbox-5.0.20: add debug useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-14 22:34 UTC by Fabio Rossi
Modified: 2016-05-15 19:37 UTC (History)
1 user (show)

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


Attachments
virtualbox-5.0.20.diff (virtualbox-5.0.20.diff,1.03 KB, text/plain)
2016-05-14 22:34 UTC, Fabio Rossi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2016-05-14 22:34:38 UTC
Created attachment 434298 [details]
virtualbox-5.0.20.diff

Part of the logging facility is not exploitable until virtualbox is built in debug mode, for this reason the VBOX_LOG, VBOX_LOG_DEST and VBOX_LOG_FLAGS env vars are ignored.

I have modified the ebuild, patch attached, to change the building mode to support the env vars as described https://www.virtualbox.org/wiki/VBoxLogging, probably it might be useful to put a notice to the user in pkg_postint()
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-05-15 19:37:14 UTC
commit 4ee2afe9963781b4654b4c1c3f3148a287023c03
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sun May 15 21:36:22 2016

    app-emulation/virtualbox: Added debug USE flag (bug #583052).
    
    Package-Manager: portage-2.2.28
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

Added the flag without revbump and without elog message in pkg_postinst.