Add a generic function for fetching source and checking sha and use it for redhat. Add all needed source for solaris.