The National Archive Institute of Portugal has released the Repository of Authentic Digital Objects source code.
RODA works in conjunction with the Fedora (Flexible Extensible Digital Object Repository Architecture) software.
Read more about it at "RODA—A Service-Oriented Repository to Preserve Authentic Digital Objects" and "Source Code Available from RODA 'Repository of Authentic Digital Objects'" (includes a QuickTime video about RODA).