doc/packaging.txt
changeset 166 db8a55996482
parent 151 f9e42a3f7095
child 181 87e11e685b1f
equal deleted inserted replaced
165:111c46cade93 166:db8a55996482
    15     canonical manifest
    15     canonical manifest
    16     (.../{component}/{component}.p5m)
    16     (.../{component}/{component}.p5m)
    17             |
    17             |
    18             v
    18             v
    19     mogrified manifest
    19     mogrified manifest
    20     (.../{component}/{build-dir}/manifest-$(ARCH)-{component}.mogrified)
    20     (.../{component}/{build-dir}/manifest-$(MACH)-{component}.mogrified)
    21             |
    21             |
    22             v
    22             v
    23     dependencies generated
    23     dependencies generated
    24     (.../{component}/{build-dir}/manifest-$(ARCH)-{component}.depend)
    24     (.../{component}/{build-dir}/manifest-$(MACH)-{component}.depend)
    25             |
    25             |
    26             v
    26             v
    27     dependencies resolved
    27     dependencies resolved
    28     (.../{component}/{build-dir}/manifest-$(ARCH)-{component}.resolved)
    28     (.../{component}/{build-dir}/manifest-$(MACH)-{component}.resolved)
    29             |
    29             |
    30             v
    30             v
    31     manifest validation
    31     manifest validation
    32     (.../{component}/{build-dir}/manifest-$(ARCH)-{component}.linted)
    32     (.../{component}/{build-dir}/manifest-$(MACH)-{component}.linted)
    33             |
    33             |
    34             v
    34             v
    35     publication manifest
    35     publication manifest
    36     (.../{component}/{build-dir}/manifest-$(ARCH)-{component}.published)
    36     (.../{component}/{build-dir}/manifest-$(MACH)-{component}.published)
    37             |
    37             |
    38             v
    38             v
    39     publication
    39     publication
    40 
    40 
    41 
    41 
    55         file path=etc/gnu/a2ps.cfg preserve=true mode=0644
    55         file path=etc/gnu/a2ps.cfg preserve=true mode=0644
    56 
    56 
    57     license actions should be placed in the canonical manifest.
    57     license actions should be placed in the canonical manifest.
    58 
    58 
    59 Mogrified Manifest
    59 Mogrified Manifest
    60     The canonical manifest is combined with a template manifest header at
    60     The canonical manifest is combined with a set of the transforms
    61     $(WS_TOP)/transforms/manifest-metadata-template, a set of the transforms
    61     in $(WS_TOP)/transforms, and a set of macros to more complete
    62     in $(WS_TOP)/transforms, and a set of macros are combined to more complete
       
    63     package manifest using pkgmogrify(1).  The transforms apply default
    62     package manifest using pkgmogrify(1).  The transforms apply default
    64     attributes to the various actions in the canonical manifest(s).  More
    63     attributes to the various actions in the canonical manifest(s).  More
    65     detail about the attributes can be found in the transform file themselves.
    64     detail about the attributes can be found in the transform file themselves.
    66     The macros applied at the time of mogrification are as follows:
    65     The macros applied at the time of mogrification are as follows:
    67         $(MACH)
    66         $(MACH)
    71         $(PUBLISHER)
    70         $(PUBLISHER)
    72         $(CONSOLIDATION)
    71         $(CONSOLIDATION)
    73         $(BUILD_VERSION)
    72         $(BUILD_VERSION)
    74         $(SOLARIS_VERSION)
    73         $(SOLARIS_VERSION)
    75         $(OS_VERSION)
    74         $(OS_VERSION)
    76         $(IPS_COMPONENTVERSION)
    75         $(IPS_COMPONENT_VERSION)
       
    76         $(COMPONENT_VERSION)
    77         $(COMPONENT_PROJECT_URL)
    77         $(COMPONENT_PROJECT_URL)
    78         $(COMPONENT_ARCHIVE_URL)
    78         $(COMPONENT_ARCHIVE_URL)
    79 
    79 
    80 Dependencies Generated
    80 Dependencies Generated
    81     The mogrified manifest and the prototype install tree are passed through
    81     The mogrified manifest and the prototype install tree are passed through
    82     pkgdepend(1) to generate a set of dependencies for the package content.
    82     pkgdepend(1) to generate a set of dependencies for the package content.
    83     These dependencies are only those that "pkgdepend generate" can determine
    83     These dependencies are only those that "pkgdepend generate" can determine
    84     on it's own.  Additional dependencies that can not be automatically
    84     on it's own.  Additional dependencies that can not be automatically
    85     determined by pkgdepend(1) should be placed in the canonical manifest.
    85     determined by pkgdepend(1) should be placed in the canonical manifest.
    86     Staticly defined dependencies should be described in a canonical manifest
    86     Statically defined dependencies should be described in a canonical manifest
    87     in an unresolved form (ie. the form generated by "pkgdepend generate").
    87     in an unresolved form (ie. the form generated by "pkgdepend generate").
    88     Ex:
    88     Ex:
    89 	    depend fmri=__TBD pkg.debug.depend.file=etc/passwd \
    89 	    depend fmri=__TBD pkg.debug.depend.file=etc/passwd \
    90 		        pkg.debug.reason=usr/bin/vipw type=require
    90 		        pkg.debug.reason=usr/bin/vipw type=require
    91 
    91