Let me try the IPS folks directly...

----- Forwarded Message -----
From: [email protected]
To: [email protected], [email protected]
Sent: Wednesday, May 16, 2012 10:19:14 AM GMT -08:00 US/Canada Pacific
Subject: Re: [userland-discuss] codereview - php 5.3.10

IPS edition

I would appreciate an IPS review of these as this is starting to get
a little complex for me.

http://jurassic.us.oracle.com/net/mogo/builds3/cmohrman/userland_php-5_3_10/webrev-ips/

Currently a customer can only install php5.2 via Solaris 11.
I'm trying to add php5.3 for S11.1.
Mediated links are being added to establish the default version.
Both versions can be installed but 1 of them is the default.
Default means which version is /usr/bin/php pointing to, where
is /usr/php/bin pointing, etc.
None, 1, or both versions can be installed.

If pkg update is run and IF php5.2 is installed then php5.2 packages
should update to new versions including the mediated links.

All is working as expected but I have a few specific questions besides 
appreciating
an overall review.

Specifically:

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


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

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?

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


What else?

Thanks much,
craig
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to