Licenses files are also distributed with each package. The full text licenses for source packages are placed in the file $PACKAGEROOT/lib/package/LICENSES/prefix and the full text licenses for binary packages are placed in the file $INSTALLROOT/lib/package/LICENSES/prefix, where prefix is the longest matching prefix of the package name. The package license command lists license text files.
Each package also has a license property file $PACKAGEROOT/lib/package/package.lic that is used to generate the copyright notice headers that are prepended to the top of source files as they are copied to the source tarballs. The package copyright command lists the source copyright notices.
Package components may have specific licenses in the the component source directory. These are typically named LICENSE or COPYRIGHT and are under the control of the component owner.
Any archives, distributions or packages made from source or binaries covered by license(s) must contain the corresponding license file(s).