[ Added userland-discuss back to the CC list, since someone there might
benefit, too. ]

Craig Mohrman wrote:

> 1) apache-php5.p5m is renamed to apache-php52.p5m for consistency.

Seems reasonable.

> 2) Is this line correct from apache-php52.p5m ?
>   45 file path=etc/apache2/2.2/conf.d/php/php5.2.conf mode=0644 \
>   46     original_name=SUNWapch22-php52:etc/apache2/2.2/conf.d/php5.2.conf \
>   47     preserve=renamenew
> 
>    Do I still keep the SVR4 package name or use the IPS name?
> 
>    Note this is a new package via the rename in (1) above.
> 
>    And I'm moving the file from etc/apache2/2.2/conf.d/php5.2.conf
>                            to   etc/apache2/2.2/conf.d/php/php5.2.conf

The line is correct.  The value of original_name needs to remain constant
from the point it's introduced, even across multiple package or file
renames.

> 3) How do I test apache-php5.p5m with build 17 set as the version?
>    I have to use 16.xxx to get all packages to update properly.
> 
>    26 set name=pkg.fmri \
>    27     
> value=pkg:/web/server/apache-22/module/[email protected]
>    28 set name=pkg.renamed value=true
>    29 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
>    30 depend 
> fmri=web/server/apache-22/module/[email protected] \
>    31     type=require
> 
>    Will I set the version to 0.17.0 just prior to integration or what?

I assume that otherwise you get errors about your php packages not being
allowed due to userland-incorporation, right?  If so, then all you have to
do is set the version-locking facets applying to the php packages to False.
You'd do

    pkg change-facet facet.version-lock.<pkg-name>=False

for each package (you should put them all in the same command, since that's
a pretty slow command).  You might be able to wildcard it somehow
(facet.version-lock.web/php*=False or something)

> 4) Do I have enough drag forward dependencies to ensure all packages update
>    with pkg update?
> 
>    php-52.p5m
>    468 # if php apache package present then drag forward
>    469 depend \
>    470     
> fmri=pkg:/web/server/apache-22/module/[email protected],$(BUILD_VERSION) \
>    471     type=optional

That's kind of a hard question to answer without more information.  What
are the upgrade scenarios you want to support?

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to