Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233994 - dev-db/sqlite - Add USE flag for enabling loadable extensions
Summary: dev-db/sqlite - Add USE flag for enabling loadable extensions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Petteri Räty (RETIRED)
URL: http://www.sqlite.org/cvstrac/wiki?p=...
Whiteboard:
Keywords:
Depends on:
Blocks: 252538
  Show dependency tree
 
Reported: 2008-08-05 17:56 UTC by Kamil Kisiel
Modified: 2010-01-10 21:28 UTC (History)
1 user (show)

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


Attachments
Patch for sqlite 3.6.21 ebuild. (sqlite.patch,1.25 KB, patch)
2009-12-27 18:32 UTC, Roger Light
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Kisiel 2008-08-05 17:56:02 UTC
SQLite allows the use of dynamically loadable extension modules. See http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions

The feature can be a potential security risk and is in the somewhat experimental stage right now, but can be enabled by adding

TCC += -DSQLITE_OMIT_LOAD_EXTENSION=1

to Makefile.in

 I suggest it be made a package-specific USE flag to allow those who wish to use this feature to compile it in.

Reproducible: Always

Steps to Reproduce:
Comment 1 Roger Light 2009-12-27 18:32:42 UTC
Created attachment 214339 [details, diff]
Patch for sqlite 3.6.21 ebuild.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-10 21:28:28 UTC
I have added "extensions" USE flag.