The SmallWall source code can be found in the svn repository at svn.SmallWall.org. Full build scripts are also available.