FS#74810 - [rpm-tools] add bdb_ro and ndb backend support

Attached to Project: Arch Linux
Opened by Michael Sierks (msierks) - Saturday, 21 May 2022, 04:00 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 01 August 2023, 22:00 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: In the latest version of rpm the default backend was changed to sqlite and bdb was dropped. There is however a new backend named bdb_ro introduced in 4.16, that should continue to allow reading bdb databases. I'd also request that ndb backend support be enabled as well.

The purpose behind this request is to support a container security scanner. It uses the hosts rpm cli to retrieve package data of rpm based containers. As this database format will vary from container to container, it would be great if multiple backend types could be supported.



Additional info:
* 4.17.0
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Tuesday, 01 August 2023, 22:00 GMT
Reason for closing:  Implemented
Additional comments about closing:  4.18.1-3
Comment by Toolybird (Toolybird) - Friday, 15 July 2022, 05:28 GMT
Notes for PM:
- add --enable-ndb --enable-bdb-ro
- INSTALL says "The ndb and bdb_ro backends have no external dependencies"
- unrelated, but I noticed this during a test build:
'configure: WARNING: unrecognized options: --with-external-db, --with-lua'
Comment by Toolybird (Toolybird) - Tuesday, 01 August 2023, 21:03 GMT
Dupe  FS#79270 

Loading...