Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416667 - Ebuilds should have method (variable) to record bundled libraries
Summary: Ebuilds should have method (variable) to record bundled libraries
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All All
: High enhancement with 1 vote (vote)
Assignee: PMS/EAPI
URL: http://fedoraproject.org/wiki/Packagi...
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2012-05-19 20:07 UTC by Samuli Suominen (RETIRED)
Modified: 2020-10-25 17:01 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2012-05-19 20:07:41 UTC
Fedora (RPM) has this thing called "Provides: bundled(library_name) = version" that can be added when the maintainer knows the package is bundling a library.[1]

There are situations where the bundled libraries are modified, or are hard to unbundle and the maintainer wants to do it later. Or sometimes it simply makes sense to use bundled libraries like sys-devel/gcc is doing with libffi for gcj.

I propose we add an entry like, for example:

DEPEND_BUNDLED="=dev-libs/libffi-3.0.10"

This would allow tools, or Package Manager itself to tell the security@ and qa@ teams immediately which packages bundle what when a security bug is reported.

Tracking these only by bugzilla[2] is not convinient and things go to /dev/null accidentally very easily.

[1] http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Requirement_if_you_bundle

[2] http://bugs.gentoo.org/251464