|Summary:||www/apache22 Use USE_BDB infrastructure to select appropriate db[2-4]|
|Product:||Ports & Packages||Reporter:||Timur I. Bakeyev <timur>|
|Component:||Individual Port(s)||Assignee:||Philip M. Gollucci <pgollucci>|
|Severity:||Affects Only Me|
Description Timur I. Bakeyev 2007-03-22 01:40:02 UTC
Apache 2.2(and 2. also) can use BerkleyDB 2-4 as a storage data backend. At the moment version of the database is selected with separate switch and contains quite complex logic for finding appropriate libraries and headers. Moreover, it's not always up-to-date with the latest BerkleyDB versions - it took quite a while to add db44 support for example. Also, if port configuration is stored in make.conf or pkgtools.conf it's easy to forget about dependency on DBD in case of upgrade to a newer version, so it's potential source of multiple installations of BerkleyDB in the system, which isn't goot for maintaince. So, to eliminate all that issues I suggest to use more standard USE_BDB knob to select appropriate version of BerkleyDB with all it's benefits, like usage of the highest available version automatically, set up paths and dependencies and global selection of the version to use. Here I propose a patch, that do all this. It was tested in my environment and worked ok. One note - USE_BDB knob doesn't cover usage of legacy db185, so a separate know for it still have to remain.
Comment 1 Edwin Groothuis 2007-03-22 01:40:11 UTC
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer
Comment 2 Philip M. Gollucci 2008-12-27 20:29:23 UTC
Responsible Changed From-To: clement->apache apache team
Comment 3 Philip M. Gollucci 2009-06-10 07:27:48 UTC
Responsible Changed From-To: apache->pgollucci this one can go in the next round too
Comment 4 Philip M. Gollucci 2009-06-12 01:34:16 UTC
State Changed From-To: open->closed Committed. Thanks!