Some of the Bacula code, or code that Bacula references, has been released to the public domain. E.g. md5.c, SQLite.