Add packages support for solaris

Solaris has no automatic method to manage packages, then add modules
here to support. just for test, don't test the function.