This code is licenced under the GPL v2, except for programs in the app/ directory, which are free for non-commercial use only. In case of doubt, contact the author.