[svn] r5429 - in trunk/web/freshrpms.net/docs: . oracle

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon May 21 20:55:47 CEST 2007


Author: thias
Date: 2007-05-21 20:55:45 +0200 (Mon, 21 May 2007)
New Revision: 5429

Added:
   trunk/web/freshrpms.net/docs/oracle/php-5.1.6-oci8.patch
Removed:
   trunk/web/freshrpms.net/docs/oracle/php-modules.spec
Modified:
   trunk/web/freshrpms.net/docs/index.html
   trunk/web/freshrpms.net/docs/oracle/index.html
Log:
Add RHEL5 oracle packages.


Modified: trunk/web/freshrpms.net/docs/index.html
===================================================================
--- trunk/web/freshrpms.net/docs/index.html	2007-05-20 13:38:56 UTC (rev 5428)
+++ trunk/web/freshrpms.net/docs/index.html	2007-05-21 18:55:45 UTC (rev 5429)
@@ -8,9 +8,10 @@
 </p>
 
 <ul>
+  <li><a href="oracle/">Oracle 10g Instant Client</a> - Installing Oracle 10g Instant Client on RHEL4 and RHEL5</li>
+  <li><a href="mail-server2/">Installing a mail server</a> - Installing postfix, dovecot and related utilities on Red Hat Enterprise Linux 4</li>
   <li><a href="x1/">Fedora Core on the Dell Latitude X1</a></li>
   <li><a href="i8600/">Fedora Core on the Dell Inspiron 8600</a></li>
-  <li><a href="oracle/">Oracle 10g Instant Client</a> - Installing Oracle 10g Instant Client on RHEL4</li>
   <li><a href="bios-flash/">BIOS Flash</a> - Flashing a BIOS when you only run GNU/Linux</li>
   <li><a href="tips/">Tips</a> - A few quick tips n' tricks</li>
 </ul>

Modified: trunk/web/freshrpms.net/docs/oracle/index.html
===================================================================
--- trunk/web/freshrpms.net/docs/oracle/index.html	2007-05-20 13:38:56 UTC (rev 5428)
+++ trunk/web/freshrpms.net/docs/oracle/index.html	2007-05-21 18:55:45 UTC (rev 5429)
@@ -1,39 +1,61 @@
 <?php
   include("../../inc/main.inc");
-  page_header ("Oracle 10g Instant Client on RHEL4");
+  page_header ("Oracle 10g Instant Client on RHEL4 and RHEL5");
 ?>
 
 <p class="largetext">
-Oracle 10g Instant Client on RHEL4
+Oracle 10g Instant Client on RHEL4 and RHEL5
 </p>
 
 <p>
-<em>Thu May 18 2006 : Fixed library path in the oracle-client-config script on 64bit architectures and rebuild perl module.<br/>
-<em>Mon Apr 24 2006 : Updated instantclient to 10.2.0.2, libsqlora8 to 2.3.3, squale to 0.1.6 and fixed php-oci8 build on x86_64.</em>
+<em>
+Mon May 21 2007 : Updated to 10.2.0.3 at last, rebuilt most packages and added Red Hat Enterprise Linux 5 (RHEL5) packages.<br/>
+Thu May 18 2006 : Fixed library path in the oracle-client-config script on 64bit architectures and rebuild perl module.<br/>
+Mon Apr 24 2006 : Updated instantclient to 10.2.0.2, libsqlora8 to 2.3.3, squale to 0.1.6 and fixed php-oci8 build on x86_64.<br/>
+Mon Apr 04 2005 : Initial version of this page.</em>
 </p>
 
 <p>
-Here are the files I use to configure Red Hat Enterprise Linux 4 (RHEL4) servers as Oracle clients. They have been tested with php-oci8, squale and perl-DBD-Oracle. The main oracle-instantclient packages have been rebuilt from the zip files provided by Oracle because their rpm packages don't work as expected (no require/provide information and no ldconfig calls), and also because Oracle didn't use to provide any x86_64 rpm packages. Of course, the proprietary Oracle bits aren't available here, which is why you'll find only the .nosrc.rpm files. For other packages, binaries are provided since they only link dynamically to the Oracle libraries and contain no proprietary code.<br />
+Here are the files I use to configure Red Hat Enterprise Linux 4 and 5 (RHEL4 and RHEL5) servers as Oracle clients. They have been tested with php-oci8, squale and perl-DBD-Oracle (required by the oracletool CGI). The main oracle-instantclient packages have been rebuilt from the zip files provided by Oracle because their rpm packages don't work as expected (no require/provide information and no ldconfig calls), and also because Oracle didn't use to provide any x86_64 rpm packages. Of course, the proprietary Oracle bits aren't available here, which is why you'll find only the .nosrc.rpm file. For other packages, binaries are provided since they only link dynamically to the Oracle libraries and contain no proprietary code.
+</p>
+
+<p>
+<a href="http://ftp.freshrpms.net/pub/freshrpms/redhat/testing/EL5/oracle/">All the RHEL5 packages (i386, x86_64, SRPMS)</a> :<br />
 <ul>
-  <li>libsqlora8-2.3.3-1</li>
-  <li>oracle-instantclient-10.2.0.2-2</li>
-  <li>perl-DBD-Oracle-1.16-4</li>
-  <li>php-oci8-4.3.9-3</li>
-  <li>php-squale-0.1.6-1</li>
-  <li>squale-0.1.6-1</li>
+  <li>libmcrypt-2.5.7-5.el5</li>
+  <li>libsqlora8-2.3.3-2.el5</li>
+  <li>oracle-instantclient-10.2.0.3-1</li>
+  <li>perl-DBD-Oracle-1.19-1.el5</li>
+  <li>php-mcrypt-5.1.6-1.el5</li>
+  <li>php-oci8-5.1.6-1.el5</li>
+  <li>php-squale-0.1.10-0.1.el5</li>
+  <li>squale-0.1.10-0.4.el5</li>
 </ul>
 </p>
+<p>
+</p>
 
 <p>
-<a href="http://ftp.freshrpms.net/pub/freshrpms/redhat/testing/EL4/oracle/">All the packages (i386, x86_64, SRPMS)</a>
+<a href="http://ftp.freshrpms.net/pub/freshrpms/redhat/testing/EL4/oracle/">All the RHEL4 packages (i386, x86_64, SRPMS)</a> :<br />
+<ul>
+  <li>libsqlora8-2.3.3-2.el4</li>
+  <li>oracle-instantclient-10.2.0.3-1</li>
+  <li>perl-DBD-Oracle-1.19-1.el4</li>
+  <li>php-oci8-4.3.9-3.el4</li>
+  <li>php-squale-0.1.9-1.el4</li>
+  <li>squale-0.1.10-0.2.el4</li>
+</ul>
 </p>
 
 <p>
-If you need to rebuild the php-oci8 module for another PHP version, you can adapt the spec file and patch from below. As you can see, I also include other modules that aren't part of the original package (mcrypt, currently) since I also need those, but don't provide binaries here since it would mean adding other libraries and such.
+</p>
+
+<p>
+If you need to rebuild the php-oci8 module for another PHP version, you can use the patches below. PHP5 and recent PHP4 versions work as-is on i386 but still require a minor change on x86_64.
 <ul>
-  <li><a href="php-modules.spec">php-modules.spec</a></li>
   <li><a href="php-4.3.9-oci8.patch">php-4.3.9-oci8.patch</a> (for 4.3.9 and 4.3.10)</li>
   <li><a href="php-4.3.11-oci8.patch">php-4.3.11-oci8.patch</a> (for 4.3.11, 4.4.0 and 4.4.1)</li>
+  <li><a href="php-5.1.6-oci8.patch">php-5.1.6-oci8.patch</a> (for 5.1.6, 5.2.2)</li>
 </ul>
 </p>
 

Added: trunk/web/freshrpms.net/docs/oracle/php-5.1.6-oci8.patch
===================================================================
--- trunk/web/freshrpms.net/docs/oracle/php-5.1.6-oci8.patch	                        (rev 0)
+++ trunk/web/freshrpms.net/docs/oracle/php-5.1.6-oci8.patch	2007-05-21 18:55:45 UTC (rev 5429)
@@ -0,0 +1,12 @@
+diff -Naupr php-5.1.6.orig/ext/oci8/config.m4 php-5.1.6/ext/oci8/config.m4
+--- php-5.1.6.orig/ext/oci8/config.m4	2006-04-05 16:06:00.000000000 +0200
++++ php-5.1.6/ext/oci8/config.m4	2007-05-21 20:34:30.000000000 +0200
+@@ -316,7 +316,7 @@ dnl version in /usr/lib
+   AC_MSG_CHECKING([Oracle Instant Client SDK header directory])
+ 
+ dnl Header directory for Instant Client SDK RPM install
+-  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client/lib[[/]]*$!/usr/include/oracle/\1/client!'`
++  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!.*/oracle/\(.*\)/client/lib.*!/usr/include/oracle/\1/client!'`
+ 
+ dnl Header directory for Instant Client SDK zip file install
+   OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include

Deleted: trunk/web/freshrpms.net/docs/oracle/php-modules.spec
===================================================================
--- trunk/web/freshrpms.net/docs/oracle/php-modules.spec	2007-05-20 13:38:56 UTC (rev 5428)
+++ trunk/web/freshrpms.net/docs/oracle/php-modules.spec	2007-05-21 18:55:45 UTC (rev 5429)
@@ -1,231 +0,0 @@
-# $Id$
-
-%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
-%{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo 4.4.1)}
-%define oracle_version %(oracle-instantclient-config --version 2>/dev/null || echo 10.2.0.2)
-%define extensions mcrypt oci8
-
-Summary: Additional PHP extension modules
-Name: php-modules
-Version: %{php_version}
-Release: 3
-License: PHP
-Group: Development/Languages
-URL: http://www.php.net/
-Source: http://www.php.net/distributions/php-%{version}.tar.bz2
-Patch0: php-4.3.9-oci8.patch
-#Patch1: php-4.3.11-pdf-lib64.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: php, php-devel = %{php_version}
-# Required by phpize
-BuildRequires: autoconf, automake, libtool, gcc-c++
-
-%description
-PHP is an HTML-embedded scripting language. PHP attempts to make it
-easy for developers to write dynamically generated webpages. PHP also
-offers built-in database integration for several commercial and
-non-commercial database management systems, so writing a
-database-enabled webpage with PHP is fairly simple. The most common
-use of PHP coding is probably as a replacement for CGI scripts. The
-mod_php module enables the Apache Web server to understand and process
-the embedded PHP language in Web pages.
-
-This package rebuilds many additional extension modules.
-
-
-%package -n php-mcrypt
-Summary: A module for PHP applications that use encryption routines.
-Group: Development/Languages
-#Requires: php = %{version}
-Requires: php >= 4.3.9
-BuildRequires: libmcrypt-devel
-Provides: php_encryption
-
-%description -n php-mcrypt
-The php-mcrypt package contains a dynamic shared object that will add
-support for using encryption routines with PHP.
-
-
-%package -n php-oci8
-Summary: An OCI8 (Oracle) database module for PHP.
-Group: Development/Languages
-#Requires: php = %{version}, oracle-instantclient-basic
-Requires: php >= 4.3.9, oracle-instantclient-basic
-BuildRequires: oracle-instantclient-devel
-Provides: php_database
-
-%description -n php-oci8
-The php-oci8 package includes a dynamic shared object (DSO) that can
-be compiled in to the Apache Web server to add Oracle 8i/9i database
-support to PHP.
-
-
-#%package -n php-mime_magic
-#Summary: A PHP module to guess the content type and encoding of a file.
-#Group: Development/Languages
-#Requires: php = %{version}, file
-#
-#%description -n php-mime_magic
-#The functions in this module try to guess the content type and encoding of a
-#file by looking for certain magic byte sequences at specific positions within
-#the file. While this is not a bullet proof approach the heuristics used do a
-#very good job.
-#This extension is derived from Apache mod_mime_magic, which is itself based
-#on the file command maintained by Ian F. Darwin.
-
-
-#%package -n php-pdf
-#Summary: A PHP module to generate PDF files using pdflib
-#Group: Development/Languages
-#Requires: php = %{version}
-#BuildRequires: pdflib-devel, gd-devel
-#BuildRequires: zlib-devel, libjpeg-devel, libpng-devel, libtiff-devel
-#
-#%description -n php-pdf
-#The php-pdf package contains a dynamic shared object that will add support
-#for generating PDF files by using pdflib.
-
-
-#%package -n php-xslt
-#Summary: A PHP module for Extensible Stylesheet Language Transformations
-#Group: Development/Languages
-#Requires: php = %{version}, sablotron
-#BuildRequires: sablotron-devel, expat-devel, glibc-headers, glibc-devel
-##libiconv-devel
-#
-#%description -n php-xslt
-#This module contains a processor independent API for XSLT, the Extensible
-#Stylesheet Language Transformations, which uses Sablotron as the backend.
-
-
-%prep 
-%setup -q -n php-%{version}
-%patch0 -p1 -b .oci8
-#ifarch x86_64
-#patch1 -p1 -b .pdf-lib64
-#endif
-
-
-%build
-unset ORACLE_HOME
-for ext in %{extensions}; do
-    if [ "${ext}" = "xslt" ]; then
-        options="--with-xslt-sablot --with-sablot-js"
-#    elif [ "${ext}" = "pdf" ]; then
-#        # Ugly include workaround
-#        mkdir ext/pdf/ext
-#        ln -s ../../gd ext/pdf/ext/gd
-#        options="--with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-zlib-dir=%{_prefix} --with-tiff-dir=%{_prefix}"
-    elif [ "${ext}" = "oci8" ]; then
-        options="--with-oci8-instant-client=%{_libdir}/oracle/%{oracle_version}/client/%{_lib}"
-    else
-        options=""
-    fi
-    pushd ext/${ext}
-        phpize
-        %configure ${options}
-        %{__make}
-    popd
-done
-
-
-%install
-%{__rm} -rf %{buildroot}
-for ext in %{extensions}; do
-    pushd ext/${ext}
-        %{__make} install INSTALL_ROOT=%{buildroot}
-    popd
-done
-
-# Drop in the bits of configuration
-%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
-for ext in %{extensions}; do
-    %{__cat} > %{buildroot}%{_sysconfdir}/php.d/${ext}.ini << EOF
-; Enable ${ext} extension module
-extension=${ext}.so
-EOF
-done
-
-# Specific configuration additions
-
-# mime_magic
-#%{__cat} >> %{buildroot}%{_sysconfdir}/php.d/mime_magic.ini << EOF
-#
-#; Configuration
-#mime_magic.magicfile = /usr/share/file/magic.mime
-#EOF
-
-
-%clean
-%{__rm} -rf %{buildroot}
-
-
-%files -n php-mcrypt
-%defattr(-, root, root, 0755)
-%doc ext/mcrypt/CREDITS ext/mcrypt/TODO
-%config(noreplace) %{_sysconfdir}/php.d/mcrypt.ini
-%{php_extdir}/mcrypt.so
-
-%files -n php-oci8
-%defattr(-, root, root, 0755)
-%doc ext/oci8/CREDITS
-%config(noreplace) %{_sysconfdir}/php.d/oci8.ini
-%{php_extdir}/oci8.so
-
-#%files -n php-mime_magic
-#%defattr(-, root, root, 0755)
-#%doc ext/mime_magic/CREDITS ext/mime_magic/TODO
-#%config(noreplace) %{_sysconfdir}/php.d/mime_magic.ini
-#%{php_extdir}/mime_magic.so
-
-#%files -n php-pdf
-#%defattr(-, root, root, 0755)
-#%doc ext/pdf/CREDITS
-#%config(noreplace) %{_sysconfdir}/php.d/pdf.ini
-#%{php_extdir}/pdf.so
-
-#%files -n php-xslt
-#%defattr(-, root, root, 0755)
-#%doc ext/xslt/README.XSLT-BACKENDS ext/xslt/TODO
-#%config(noreplace) %{_sysconfdir}/php.d/xslt.ini
-#%{php_extdir}/xslt.so
-
-
-%changelog
-* Mon Apr 24 2006 Matthias Saou <http://freshrpms.net/> 4.3.9-3
-- Switch to using oracle-instantclient-config to get the Oracle version.
-- Fix oci8 instant client patch to work on x86_64 too.
-- Rebuild vanilla RHEL4 4.3.9-3 oci8 module.
-
-* Tue Jul 19 2005 Matthias Saou <http://freshrpms.net/> 4.4.0-1
-- Update to 4.4.0.
-- Remove pdf module, we now use php-pecl-pdflib instead (much more recent).
-- Remove mime_magic module, it's now built into PHP.
-
-* Tue Apr 12 2005 Matthias Saou <http://freshrpms.net/> 4.3.11-1
-- Update to 4.3.11, remove no longer needed oci8 instant client patch.
-- Actually, plain oci8 doesn't want to be disabled... so patch again to remove.
-- Add php-4.3.11-pdf-lib64.patch (for x86_64 only, as it changes all "lib"s).
-
-* Wed Feb  9 2005 Matthias Saou <http://freshrpms.net/> 4.3.10-1
-- Added php-pdf module.
-
-* Mon Jan 17 2005 Matthias Saou <http://freshrpms.net/> 4.3.10-1
-- Rebuild 4.3.10 modules for FC2 errata.
-
-* Thu Sep  2 2004 Matthias Saou <http://freshrpms.net/> 4.3.8-2
-- Rebuilt with Oracle 9i libs (vs. 8i previously).
-- Remove dba module, it's built in the main, so not overridable.
-
-* Tue Jun 29 2004 Matthias Saou <http://freshrpms.net/> 4.3.6-1
-- Added dba module.
-
-* Tue May 18 2004 Matthias Saou <http://freshrpms.net/> 4.3.6-1
-- Rebuilt for 4.3.6.
-
-* Thu May 13 2004 Matthias Saou <http://freshrpms.net/> 4.3.4-1
-- Added mime_magic module.
-
-* Fri May  7 2004 Matthias Saou <http://freshrpms.net/> 4.3.4-1
-- Initial RPM release.
-




More information about the commits mailing list