Revert "remove hardcoded debian specifica"

This reverts commit 873a16dbcf46cf07a1da8725ea2ce2c450bbc05f.
Revert "replace cdb by dbm"

This reverts commit 93427fd544c14778ff55f9183e373d781e9f9929.