Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv4370

Added Files:
        php4.info php4.patch 
Log Message:
php4 unified and ready for new apache2

--- NEW FILE: php4.info ---
Package: php4
Version: 4.4.2
Revision: 10
###
BuildDepends: aprutil-dev, apr-dev (>= 0.9.12-10), libtool14, libgettext3-dev, 
libiconv-dev, gd2, mysql15-dev, postgresql80-unified-dev, libcurl3-unified, 
expat, libmhash, libmcve, libmcrypt, libxml2 (>= 2.6.1-1), libxslt (>= 
1.1.0-1), openldap23-dev, libsablot-dev, ming, t1lib5, pcre, libpng3, 
apache2-dev (>= 2.0.58-10), unixodbc2 | unixodbc2-nox, gdbm3, net-snmp-ssl-dev, 
db44-aes, libtiff, pdflib, system-java15-dev, recode-dev, gmp, 
mnogosearch1-dev, uw-imap-c-client (>= 2004e-10), libjpeg, cyrus-sasl2-dev, 
system-openssl-dev
Replaces: php4-apache2-ssl
###
CustomMirror: <<
  eur-AR: http://ar.php.net/
  oce-AU: http://au.php.net/
  oce-AU: http://au2.php.net/
  oce-AU: http://au3.php.net/
  eur-AT: http://at.php.net/
  eur-AT: http://at2.php.net/
  eur-BE: http://be.php.net/
  eur-BE: http://be2.php.net/
  sam-BR: http://br.php.net/
  sam-BR: http://br2.php.net/
  nam-CA: http://ca.php.net/
[...1311 lines suppressed...]
  available.
  .  
  This packages install an Apache2.x.x DSO module and the PHP CLI.
<<
DescPort: <<
  Had to use PHP 4.3.1's pcre code, the code from 4.3.3 was segfaulting I
  assume it had to do with a bad malloc use.

  TODO
    mod-java still broken
PHP Warning:  Unknown(): Unable to load dynamic library 
'//sw/lib/php4/libexec/java.so' - dlopen(//sw/lib/php4/libexec/java.so, 9): 
Symbol not found: _JNI_CreateJavaVM
  Referenced from: //sw/lib/php4/libexec/java.so
  Expected in: flat namespace
 in Unknown on line 0

<<
###
License: GPL
Homepage: http://www.php.net/
Maintainer: Dustin Sias <[EMAIL PROTECTED]>

--- NEW FILE: php4.patch ---
diff -ruN php-4.4.2.orig/configure php-4.4.2/configure
--- php-4.4.2.orig/configure    2006-01-12 11:24:23.000000000 -0700
+++ php-4.4.2/configure 2006-06-23 12:17:19.000000000 -0600
@@ -102002,10 +102002,10 @@
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
     #       `"' quotes if we put them in here... so don't!
-    archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o 
$libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) 
$allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test 
.$module != .yes && echo -install_name $rpath/$soname $verstring)'
+    archive_cmds='$nonopt -r -keep_private_externs -nostdlib -o 
${lib}-master.o $libobjs && $nonopt $(test .$module = .yes && echo -bundle 
$allow_undefined_flag || echo -dynamiclib) -o $lib ${lib}-master.o 
$deplibs$linker_flags $(test .$module != .yes && echo -install_name 
$rpath/$soname $verstring)'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
-    hardcode_direct=yes
+    hardcode_direct=no
     hardcode_shlibpath_var=no
     whole_archive_flag_spec='-all_load $convenience'
     ;;
diff -ruN php-4.4.2.orig/ext/gd/gdcache.c php-4.4.2/ext/gd/gdcache.c
--- php-4.4.2.orig/ext/gd/gdcache.c     2005-01-09 14:05:31.000000000 -0700
+++ php-4.4.2/ext/gd/gdcache.c  2006-06-23 12:17:19.000000000 -0600
@@ -52,8 +52,21 @@
 /* implementation                                        */
 /*********************************************************/
 
-
 /* create a new cache */
+#ifdef __APPLE__
+extern gdCache_head_t *
+gdCacheCreate(
+        int                                     size,
+        gdCacheTestFn_t         gdCacheTest,
+        gdCacheFetchFn_t        gdCacheFetch,
+        gdCacheReleaseFn_t      gdCacheRelease );
+
+extern void
+gdCacheDelete( gdCache_head_t *head );
+
+extern void *
+gdCacheGet( gdCache_head_t *head, void *keydata );
+#else
 gdCache_head_t *
 gdCacheCreate(
        int                                     size,
@@ -130,7 +143,7 @@
        elem->userdata = userdata;
        return userdata;
 }
-
+#endif
 
 
 /*********************************************************/
diff -ruN php-4.4.2.orig/fink/php4.conf php-4.4.2/fink/php4.conf
--- php-4.4.2.orig/fink/php4.conf       1969-12-31 17:00:00.000000000 -0700
+++ php-4.4.2/fink/php4.conf    2006-06-23 12:16:08.000000000 -0600
@@ -0,0 +1,2 @@
+AddType application/x-httpd-php .php .phtml .php3
+AddType application/x-httpd-php-source .phps
diff -ruN php-4.4.2.orig/fink/php4.load php-4.4.2/fink/php4.load
--- php-4.4.2.orig/fink/php4.load       1969-12-31 17:00:00.000000000 -0700
+++ php-4.4.2/fink/php4.load    2006-06-23 16:24:35.000000000 -0600
@@ -0,0 +1 @@
+LoadModule php4_module @FINKPREFIX@/lib/apache2/modules/libphp4.so


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to