packages: rpm/rpm-php-requires.php - no static mods, all goes in

glen glen at pld-linux.org
Mon Dec 7 20:00:21 CET 2009


Author: glen                         Date: Mon Dec  7 19:00:21 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no static mods, all goes in

---- Files affected:
packages/rpm:
   rpm-php-requires.php (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/rpm/rpm-php-requires.php
diff -u packages/rpm/rpm-php-requires.php:1.10 packages/rpm/rpm-php-requires.php:1.11
--- packages/rpm/rpm-php-requires.php:1.10	Thu Dec  3 09:14:12 2009
+++ packages/rpm/rpm-php-requires.php	Mon Dec  7 20:00:16 2009
@@ -118,23 +118,13 @@
 
 	if (version_compare($res['version'], '5.0.0', 'ge')) {
 		$epoch = 4;
-		// session, pcre are statically compiled in
-		// date, SPL, SimpleXML are internal for php
-		// sapi_apache?
-		$staticmods = array('standard', 'ereg', 'date');
 	} else {
 		$epoch = 3;
-		// session has always been compiled in
-		$staticmods = array('standard', 'ereg');
 	}
 	echo "php-common >= ", $epoch, ":", $res['version'], "\n";
 
 	// process extensions
 	foreach ($res['extensions'] as $ext) {
-		if (in_array($ext, $staticmods)) {
-			continue;
-		}
-
 		echo "php(", $ext, ")\n";
 	}
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm-php-requires.php?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list