Skip to content

Commit 3098183

Browse files
committed
Merge branch 'bug60901' into PHP-5.3
* bug60901: Change package.xml fix description Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2 parents 9e91d62 + 9f44844 commit 3098183

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

ext/oci8/config.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ AC_DEFUN([AC_OCI8_CHECK_LIB_DIR],[
4949
AC_DEFUN([AC_OCI8IC_VERSION],[
5050
AC_MSG_CHECKING([Oracle Instant Client library version compatibility])
5151
OCI8_LCS_BASE=$PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME
52-
OCI8_LCS=`ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -1` # Oracle 10g, 11g etc
53-
OCI8_NNZ=`ls $PHP_OCI8_INSTANT_CLIENT/libnnz*.$SHLIB_SUFFIX_NAME 2> /dev/null | tail -1`
52+
OCI8_LCS=`ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -n1` # Oracle 10g, 11g etc
53+
OCI8_NNZ=`ls $PHP_OCI8_INSTANT_CLIENT/libnnz*.$SHLIB_SUFFIX_NAME 2> /dev/null | tail -n1`
5454
if test -f "$OCI8_NNZ" && test -f "$OCI8_LCS"; then
5555
if test ! -f "$OCI8_LCS_BASE"; then
5656
AC_MSG_ERROR([Link from $OCI8_LCS_BASE to $OCI8_LCS_BASE.*.1 not found])
@@ -65,7 +65,7 @@ AC_DEFUN([AC_OCI8IC_VERSION],[
6565
AC_DEFUN([AC_OCI8_ORACLE_VERSION],[
6666
AC_MSG_CHECKING([Oracle library version compatibility])
6767
OCI8_LCS_BASE=$OCI8_DIR/$OCI8_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME
68-
OCI8_LCS=`ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -1` # Oracle 10g, 11g etc
68+
OCI8_LCS=`ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -n1` # Oracle 10g, 11g etc
6969
if test -s "$OCI8_DIR/orainst/unix.rgs"; then
7070
OCI8_ORACLE_VERSION=`grep '"ocommon"' $OCI8_DIR/orainst/unix.rgs | $PHP_OCI8_SED 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
7171
test -z "$OCI8_ORACLE_VERSION" && OCI8_ORACLE_VERSION=7.3
@@ -278,7 +278,7 @@ if test "$PHP_OCI8" != "no"; then
278278
dnl user must pass in the library directory. But on Linux we default
279279
dnl to the most recent version in /usr/lib which is where the Oracle
280280
dnl Instant Client RPM gets installed.
281-
PHP_OCI8_INSTANT_CLIENT=`ls -d /usr/lib/oracle/*/client${PHP_OCI8_IC_LIBDIR_SUFFIX}/lib/libclntsh.* 2> /dev/null | tail -1 | $PHP_OCI8_SED -e 's#/libclntsh[^/]*##'`
281+
PHP_OCI8_INSTANT_CLIENT=`ls -d /usr/lib/oracle/*/client${PHP_OCI8_IC_LIBDIR_SUFFIX}/lib/libclntsh.* 2> /dev/null | tail -n1 | $PHP_OCI8_SED -e 's#/libclntsh[^/]*##'`
282282
if test -z "$PHP_OCI8_INSTANT_CLIENT"; then
283283
AC_MSG_ERROR([Oracle Instant Client directory /usr/lib/oracle/.../client${PHP_OCI8_IC_LIBDIR_SUFFIX}/lib libraries not found. Try --with-oci8=instantclient,DIR])
284284
fi

ext/oci8/package.xml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,16 @@ http://pear.php.net/dtd/package-2.0.xsd">
3737
<time>12:00:00</time>
3838

3939
<version>
40-
<release>1.4.7</release>
41-
<api>1.4.7</api>
40+
<release>1.4.8</release>
41+
<api>1.4.8</api>
4242
</version>
4343
<stability>
4444
<release>stable</release>
4545
<api>stable</api>
4646
</stability>
4747
<license uri="http://www.php.net/license">PHP</license>
4848
<notes>
49-
Fixed bug #59985 (show normal warning text for OCI_NO_DATA)
50-
Fixed OCI8 part of bug #55748 (CVE-2011-4153: multiple NULL pointer dereferences with zend_strndup)
51-
Fixed OCI8 part of bug #55301 (multiple null pointer dereferences with calloc)
52-
Increased maximum Oracle error message buffer length for new Oracle 11.2.0.3 size
53-
Improve internal initalization failure error messages
49+
Fixed bug #60901 (Improve "tail" syntax for AIX installation)
5450
</notes>
5551
<contents>
5652
<dir name="/">
@@ -414,6 +410,25 @@ http://pear.php.net/dtd/package-2.0.xsd">
414410
</extsrcrelease>
415411
<changelog>
416412

413+
<release>
414+
<version>
415+
<release>1.4.7</release>
416+
<api>1.4.7</api>
417+
</version>
418+
<stability>
419+
<release>stable</release>
420+
<api>stable</api>
421+
</stability>
422+
<license uri="http://www.php.net/license">PHP</license>
423+
<notes>
424+
Fixed bug #59985 (show normal warning text for OCI_NO_DATA)
425+
Fixed OCI8 part of bug #55748 (CVE-2011-4153: multiple NULL pointer dereferences with zend_strndup)
426+
Fixed OCI8 part of bug #55301 (multiple null pointer dereferences with calloc)
427+
Increased maximum Oracle error message buffer length for new Oracle 11.2.0.3 size
428+
Improve internal initalization failure error messages
429+
</notes>
430+
</release>
431+
417432
<release>
418433
<version>
419434
<release>1.4.6</release>

0 commit comments

Comments
 (0)