The agent

Install this package (it's an svn snapshot): http://nana.rulezlan.org/~goneri/perso/buildstat-buildagent_0.0.1_all.deb

Then, you need to configure the /etc/buildstat-buildagent.ini:

[admin]
# Please configure your name and email
# The email won't be displayed on the website.
name=
email=
# If you want to be on the team ranking list
team=

[settings]
# the number of thread you want to run
maxjob=1

[path]
server=http://buildstat.debian.net
debmirror=http://ftp.fr.debian.org/debian/
# vardir is the directoy used to build the packages
# You will need at last 2Gb of free disk memory
vardir=/home/svnbuildstat