File horde-3.3.9-php5_exec.patch of Package horde3.import5831

Index: horde-3.3.12/admin/setup/scripts.php
===================================================================
--- horde-3.3.12.orig/admin/setup/scripts.php
+++ horde-3.3.12/admin/setup/scripts.php
@@ -48,7 +48,7 @@ $data = '';
 if ($setup == 'conf' && $type == 'php') {
     /* A bit ugly here, save PHP code into a string for creating the script
      * to be run at the command prompt. */
-    $data = '#!/usr/bin/php' . "\n";
+    $data = '#!/usr/bin/php5' . "\n";
     $data .= '<?php' . "\n";
     foreach ($_SESSION['_config'] as $app => $php) {
         $path = $registry->get('fileroot', $app) . '/config';
Index: horde-3.3.12/po/README
===================================================================
--- horde-3.3.12.orig/po/README
+++ horde-3.3.12/po/README
@@ -24,7 +24,7 @@ discussions of i18n and l10n questions a
 ``horde/po`` your working directory in order to run the commands quoted
 below. But you can run the script from any directory, just adapt the directory
 to the script. See _Prerequisites if your PHP binary is not located in
-``/usr/bin/php``.
+``/usr/bin/php5``.
 
 For a list of available commands run::
 
@@ -48,7 +48,7 @@ PHP executable to be at ``/usr/bin/php``
 place, either edit the first line of ``translation.php`` to reflect your
 location or call the script like::
 
-  /usr/local/bin/php translation.php.
+  /usr/local/bin/php5 translation.php.
 
 You'll need the `gettext`_ package version 0.12 or greater.
 
Index: horde-3.3.12/po/translation.php
===================================================================
--- horde-3.3.12.orig/po/translation.php
+++ horde-3.3.12/po/translation.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/php5 -q
 <?php
 /**
  * Translation helper application for the Horde framework.
Index: horde-3.3.12/scripts/upgrades/migrate_user_categories.php
===================================================================
--- horde-3.3.12.orig/scripts/upgrades/migrate_user_categories.php
+++ horde-3.3.12/scripts/upgrades/migrate_user_categories.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/php5 -q
 <?php
 /**
  * $Horde: horde/scripts/upgrades/migrate_user_categories.php,v 1.1.2.3 2008/04/08 14:29:47 chuck Exp $
Index: horde-3.3.12/scripts/upgrades/move_history_out_of_datatree.php
===================================================================
--- horde-3.3.12.orig/scripts/upgrades/move_history_out_of_datatree.php
+++ horde-3.3.12/scripts/upgrades/move_history_out_of_datatree.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/php5
 <?php
 /**
  * $Horde: horde/scripts/upgrades/move_history_out_of_datatree.php,v 1.3.2.3 2007/12/20 15:03:04 jan Exp $
Index: horde-3.3.12/scripts/upgrades/convert_datatree_perms_to_sql.php
===================================================================
--- horde-3.3.12.orig/scripts/upgrades/convert_datatree_perms_to_sql.php
+++ horde-3.3.12/scripts/upgrades/convert_datatree_perms_to_sql.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/php5 -q
 <?php
 /**
  * $Horde: horde/scripts/upgrades/convert_datatree_perms_to_sql.php,v 1.1.2.1 2008/05/02 16:46:01 jan Exp $
Index: horde-3.3.12/scripts/upgrades/convert_datatree_groups_to_sql.php
===================================================================
--- horde-3.3.12.orig/scripts/upgrades/convert_datatree_groups_to_sql.php
+++ horde-3.3.12/scripts/upgrades/convert_datatree_groups_to_sql.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/php5 -q
 <?php
 /**
  * $Horde: horde/scripts/upgrades/convert_datatree_groups_to_sql.php,v 1.1.2.2 2009/07/20 11:36:02 jan Exp $
Index: horde-3.3.12/scripts/import_squirrelmail_file_prefs.php
===================================================================
--- horde-3.3.12.orig/scripts/import_squirrelmail_file_prefs.php
+++ horde-3.3.12/scripts/import_squirrelmail_file_prefs.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/php5
 <?php
 /**
  * This script imports SquirrelMail file-based preferences into Horde.
Index: horde-3.3.12/scripts/import_squirrelmail_sql_prefs.php
===================================================================
--- horde-3.3.12.orig/scripts/import_squirrelmail_sql_prefs.php
+++ horde-3.3.12/scripts/import_squirrelmail_sql_prefs.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/bin/php5
 <?php
 /**
  * This script imports SquirrelMail database preferences into Horde.
openSUSE Build Service is sponsored by