Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs17:/tmp/cvs-serv21410

Modified Files:
        php5.info 
Added Files:
        php5-10.5.info php5-10.5.patch 
Log Message:
php5 for 10.5

--- NEW FILE: php5-10.5.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;

Index: php5.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/php5.info,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- php5.info   18 Sep 2007 15:45:44 -0000      1.16
+++ php5.info   2 Nov 2007 18:42:19 -0000       1.17
@@ -1,6 +1,7 @@
 Package: php5
 Version: 5.1.4
-Revision: 16
+Revision: 17
+Distribution: 10.4
 ###
 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-1002), ming, t1lib5, libpng3, 
apache2-dev (>= 2.0.58-10), unixodbc2 (>= 2.2.11-1010) | unixodbc2-nox (>= 
2.2.11-1010), gdbm3, net-snmp-unified, net-snmp-unified15-dev, 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-apache2-ssl

--- NEW FILE: php5-10.5.info ---
Package: php5
Version: 5.1.4
Revision: 17
Distribution: 10.5
###
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-1002), ming, t1lib5, libpng3, 
apache2-dev (>= 2.0.58-10), unixodbc2 (>= 2.2.11-1010) | unixodbc2-nox (>= 
2.2.11-1010), gdbm3, net-snmp-unified, net-snmp-unified15-dev, 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-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/
[...1230 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]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to