[93637] trunk/dports/php/php-crack

ryandesign at macports.org ryandesign at macports.org
Sun May 27 22:10:05 PDT 2012


Revision: 93637
          https://trac.macports.org/changeset/93637
Author:   ryandesign at macports.org
Date:     2012-05-27 22:10:04 -0700 (Sun, 27 May 2012)
Log Message:
-----------
php-crack: php 1.1 portgroup; add a patch which is necessary but not sufficient for php 5.4 support

Modified Paths:
--------------
    trunk/dports/php/php-crack/Portfile

Added Paths:
-----------
    trunk/dports/php/php-crack/files/
    trunk/dports/php/php-crack/files/patch-crack.c.diff

Modified: trunk/dports/php/php-crack/Portfile
===================================================================
--- trunk/dports/php/php-crack/Portfile	2012-05-28 05:09:08 UTC (rev 93636)
+++ trunk/dports/php/php-crack/Portfile	2012-05-28 05:10:04 UTC (rev 93637)
@@ -2,14 +2,19 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       php 1.0
+PortGroup       php 1.1
 
-php.setup       crack 0.4 pecl
-php.branches    5.3
+name            php-crack
+version         0.4
+revision        1
 license         PHP
 categories      php mail devel
 platforms       darwin
 maintainers     nomaintainer
+
+php.branches    5.3
+php.pecl        yes
+
 description     \"Good Password\" Checking Utility
 
 long_description \
@@ -25,6 +30,8 @@
 if {${name} != ${subport}} {
     depends_lib-append  port:cracklib
     
+    patchfiles          patch-crack.c.diff
+    
     use_parallel_build  yes
     
     test.run            yes

Added: trunk/dports/php/php-crack/files/patch-crack.c.diff
===================================================================
--- trunk/dports/php/php-crack/files/patch-crack.c.diff	                        (rev 0)
+++ trunk/dports/php/php-crack/files/patch-crack.c.diff	2012-05-28 05:10:04 UTC (rev 93637)
@@ -0,0 +1,12 @@
+http://svn.php.net/viewvc?view=revision&revision=297236
+--- crack.c.orig	2005-09-21 04:00:06.000000000 -0500
++++ crack.c	2012-05-14 18:50:37.000000000 -0500
+@@ -38,7 +38,7 @@
+ 
+ /* {{{ crack_functions[]
+  */
+-function_entry crack_functions[] = {
++zend_function_entry crack_functions[] = {
+ 	PHP_FE(crack_opendict,			NULL)
+ 	PHP_FE(crack_closedict,			NULL)
+ 	PHP_FE(crack_check,				NULL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120527/d9880753/attachment.html>


More information about the macports-changes mailing list