The source code can be found in SVN, module base/.
Distributions known to ship are:
is distributed under the GPL.