The Debian Archive Software consisting of dak (Debian Archive Kit) for the archive and the buildd related parts wanna-build/sbuild.

dak is the collection of programs (scripts) used to maintain the Debian GNU project archive. You need a running postgresql

http://lists.debian.org/debian-dak/ http://packages.debian.org/unstable/devel/dak

See also: HowToSetupADebianRepository