Notes |
|
(0006002)
|
mwatters
|
2009-04-23 01:34
|
|
Can you give me a specific pacakge to look at.
I looked at a couple and didn't see anything out of sorts.
|
|
|
(0006003)
|
casterln
|
2009-04-23 01:40
|
|
Take a look at CSWphp5dba
or
CSWphp5calendar |
|
|
(0006004)
|
casterln
|
2009-04-23 01:50
|
|
I gunzipped and looked in
php5_calendar-5.2.9,REV=2009.04.18-SunOS5.8-sparc-CSW.pkg
and found the extraneous lines around line 69 or 79 and line 104 in the pkg
file. |
|
|
(0006005)
|
bwalton
|
2009-04-23 01:53
|
|
This looks to be a glitch with the dynamic adm script feature. I'm looking into the GAR parts right now. |
|
|
(0006006)
|
mwatters
|
2009-04-23 02:26
|
|
I don't have a box at hand to install.
I tried to validate doing:
pkg-get -d php5_dba to download the gzipped package file
gzip -d php5_dba-5.2.9,REV=2009.04.21-SunOS5.8-sparc-CSW.pkg.gz
pkgtrans ./php5_dba-5.2.9,REV=2009.04.21-SunOS5.8-sparc-CSW.pkg . all
this creates CSWphp5dba directory.
tomorrow I will attempt an install on my sparc s9 zone and sparc s10
$ cat CSWphp5dba/install/postinstall
#!/bin/sh
PHP_INI=/opt/csw/php5/lib/php.ini
echo "[===> Running Post Install <===]"
echo " ===> Enabling dba extension"
if grep 'CSW Extensions' ${PHP_INI} >/dev/null 2>&1; then
/bin/true
else
cat << _EOF_
******************************************************************************
* WARNING: Could not enable Extension "dba"
* You will need to enable it by hand as follows:
*
* open ${PHP_INI} in your favorite text editor
* Add the following line to the file, save, and restart your web server
* extension=dba.so
******************************************************************************
_EOF_
exit 0
fi
if grep 'extension=dba.so' ${PHP_INI} >/dev/null 2>&1; then
perl -i -plne 's|;extension=dba.so|extension=dba.so|' ${PHP_INI}
else
perl -i -pe 's|.*CSW Extensions|; CSW Extensions\nextension=dba.so|' ${PHP_INI}
fi
cat << _EOF_
******************************************************************************
* NOTICE: Successfully Enabled Extension "dba"
* in ${PHP_INI}
*
* You will need to restart your web server to finish the install
******************************************************************************
_EOF_
exit 0
$ |
|
|
(0006007)
|
mwatters
|
2009-04-23 02:31
|
|
Ben Confirmed this for me and committed a change in gar.
I will update my mgar and repackage. |
|
|
(0006030)
|
mwatters
|
2009-04-29 03:20
|
|
This is resolved in 5.2.9 REV 2009.04.27 |
|
|
(0006031)
|
mwatters
|
2009-04-29 03:21
|
|
|