From https://github.com/pfalcon/berkeley-db-1.xx, which so far contains pristine 1.85, but will get patches and compile warning fixes going forward. Berkeley DB 1.xx is BSD-licensed, and will form the basis of "btree" simple database module.
This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.