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

Added Files:
        php5.info php5.patch 
Log Message:
New php5, unified, requires new apache2 layout, new pkg layout as well, new 
layout is exactly like the debian version

--- NEW FILE: php5.info ---
Package: php5
Version: 5.1.4
Revision: 10
###
BuildDepends: aprutil-dev, apr-dev (>= 0.9.12-10), libtool14, libgettext3-dev, 
libiconv-dev, gd2, mysql15-dev, sqlite-dev, postgresql80-unified-dev (>= 
8.0.6-1026), libcurl3-unified, expat, libmhash (>= 0.8.18-2), libmcrypt, 
libxml2, libxslt, openldap23-dev (>= 2.3.11-1003), ming, t1lib5, libpng3, 
apache2-dev (>= 2.0.58-10), unixodbc2 (>= 2.2.11-1010) | unixodbc2-nox (>= 
2.2.11-1010), gdbm3, net-snmp-ssl (>= 5.0.7-2), net-snmp-ssl-dev (>= 5.0.7-2), 
db44-aes, libtiff, x11-dev, gmp (>= 4.1.4-1), libmpfr1, uw-imap-c-client (>=  
2004e-10), libjpeg, cyrus-sasl2-dev, system-openssl-dev
Replaces: php5-apache-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/
[...1191 lines suppressed...]
  syntax draws upon C, Java, and Perl, and is easy to learn. PHP runs on many
  different platforms and can be used as a standalone executable or as a
  module under a variety of Web servers. It has excellent support for
  databases, XML, LDAP, IMAP, Java, various Internet protocols, and general
  data manipulation, and is extensible via its powerful API. It is actively
  developed and supported by a talented and energetic international team.
  Numerous Open Source and commercial PHP-based application packages are
  available.
  .  
  This packages install an Apache2.x.x DSO module and the PHP CLI.
<<
DescUsage: <<
  TODO:
    - sqlite module prints a warning when used with cli/pear5
      "PHP Warning:  Module 'SQLite' already loaded in Unknown on line 0"
<<
###
License: GPL
Homepage: http://www.php.net/
Maintainer: Dustin Sias <[EMAIL PROTECTED]>

--- NEW FILE: php5.patch ---
diff -ruN php-5.1.4.orig/ext/gd/gdcache.c php-5.1.4/ext/gd/gdcache.c
--- php-5.1.4.orig/ext/gd/gdcache.c     2005-01-09 14:05:05.000000000 -0700
+++ php-5.1.4/ext/gd/gdcache.c  2006-06-15 12:27:43.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-5.1.4.orig/fink/php5.conf php-5.1.4/fink/php5.conf
--- php-5.1.4.orig/fink/php5.conf       1969-12-31 17:00:00.000000000 -0700
+++ php-5.1.4/fink/php5.conf    2006-06-15 12:28:34.000000000 -0600
@@ -0,0 +1,4 @@
+<IfModule mod_php5.c>
+  AddType application/x-httpd-php .php .phtml .php3
+  AddType application/x-httpd-php-source .phps
+</IfModule>
diff -ruN php-5.1.4.orig/fink/php5.load php-5.1.4/fink/php5.load
--- php-5.1.4.orig/fink/php5.load       1969-12-31 17:00:00.000000000 -0700
+++ php-5.1.4/fink/php5.load    2006-06-15 12:28:59.000000000 -0600
@@ -0,0 +1 @@
+LoadModule php5_module @FINKPREFIX@/lib/apache2/modules/libphp5.so
diff -ruN php-5.1.4.orig/fink/fixpearconf php-5.1.4/fink/fixpearconf
--- php-5.1.4.orig/fink/fixpearconf     1969-12-31 17:00:00.000000000 -0700
+++ php-5.1.4/fink/fixpearconf  2006-06-15 12:28:59.000000000 -0600
@@ -0,0 +1,35 @@
+#!/usr/bin/perl -w
+
+$| = 1;
+use strict;
+
+my $arg = $ARGV[0];
+my $val = $ARGV[1];
+
+my ($count, $value, $line);
+
+if ($arg eq "conf") {
+       open(CONF, "<$val") or die "Couldn't read $val: $!\n";
+       while (<CONF>) {
+               if (/^.*(s\:\d+:\".+\/bin\/php\").*$/) {
+                       $line = $1;
+                       last;
+               }
+       }
+       close(CONF);
+} elsif ($arg eq "new") {
+       $value = $val."/bin/php5";
+       $count = length($value);
+       $line = 's:'.$count.':"'.$value.'"';
+} else {
+       print "First argument should be \"new\" or \"conf\"!\n";
+       exit;
+}
+
+if ($line) {
+       print "$line\n";
+} else {
+       die "Not found!\n";
+}
+
+exit;


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to