BRADLEY MAYER wrote: > Alan, Danek, > > Pretty close, according to the build 175 pkg(5) man pages, in > quotes, my emphasis in asterisks : > > "If the value is optional, then the dependency, > if present, *must be at the specified version > level or greater*. " > > "If the value is incorporate, then the depen- > dency is * optional*, but the version of the > dependent package is constrained. See "Con- > straints and Freezing" below." > > The problem here is purely semantics, since for me a "dependent package" > is the one declaring the dependency on another package; that would be the > consolidation package here.
Yes, you're right: we've been using "dependent" incorrectly, which doesn't help when trying to understand these complicated concepts. > let's move on to the relevant part of CONSTRAINTS AND FREEZING in the man > pages: > > "Most parts of the operating system are encapsulated by pack- > ages called incorporations. These packages primarily deliver > constraints represented by the incorporate dependency. > > "As described above, an incorporated package need not be > present on the system, but if it is, then it specifies both > an *inclusive minimum version and an exclusive maximum ver- > sion.* For example, if the dependent FMRI has a version of > 1.4.3, then no version less than 1.4.3 would satisfy the > dependency, and neither would any version greater than or > equal to 1.4.4. However, versions that merely extended the > dotted sequence, such as 1.4.3.7, would be allowed." > > While I would see this section contradicting the description of an > incorporate dependency as 'type optional', that can be left as a bug > to log against the man pages. Otherwise what's between asterisks > would solve our problem, I'm a happy camper, and we will move on to > test this right away. "An incorporated package need not be present on the system" is the key here -- that is, an incorporated package is optional. Note that an "incorporated package" is not the same as an "incorporation". In fact, an incorporation incorporates incorporated packages. Buffalo buffalo, etc. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
