SPECS: adapter.awk - php4 should be substituted with new virtual

glen glen at pld-linux.org
Mon Nov 27 22:00:26 CET 2006


Author: glen                         Date: Mon Nov 27 21:00:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- php4 should be substituted with new virtual

---- Files affected:
SPECS:
   adapter.awk (1.333 -> 1.334) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.333 SPECS/adapter.awk:1.334
--- SPECS/adapter.awk:1.333	Mon Nov 27 00:32:41 2006
+++ SPECS/adapter.awk	Mon Nov 27 22:00:21 2006
@@ -1633,6 +1633,13 @@
             $4 = substr($4, 3);
         }
     }
+
+    if (pkg ~/^php4$/) {
+        $2 = "webserver(php)";
+        if ($4 ~ /^[0-9]:/) {
+            $4 = substr($4, 3);
+        }
+    }
 }
 
 # vim:ts=4:sw=4:et
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.333&r2=1.334&f=u



More information about the pld-cvs-commit mailing list