Ticket #20: scripts.patch

Line 
1 --- scripts/cms/cms_conf_template.php   2006-11-25 00:02:01.000000000 -0600
2 +++ scripts-fixed/cms/cms_conf_template.php     2007-07-30 10:53:55.095168150 -0500
3 @@ -38,7 +38,7 @@
4  #   The URL of your website's main page.  It is not allowed to have
5  #   a trailing slash; Drupal will add it for you.
6  #
7 -$base_url = "http://myvocs-box/%VO_NAME%/%CMS_DIR%";
8 +$base_url = "https://_MVB_HOSTNAME_/%VO_NAME%/%CMS_DIR%";
9
10  #
11  # PHP settings:
12 @@ -58,6 +58,6 @@
13  #  environment.
14  #
15  $vo_name = "%VO_NAME%";
16 -$vo_home = "http://myvocs-box/%VO_NAME%";
17 +$vo_home = "https://_MVB_HOSTNAME_/%VO_NAME%";
18
19  ?>
20 diff -ru scripts/filemgr/filemgr_conf_template.php scripts-fixed/filemgr/filemgr_conf_template.php
21 --- scripts/filemgr/filemgr_conf_template.php   2006-11-25 00:02:01.000000000 -0600
22 +++ scripts-fixed/filemgr/filemgr_conf_template.php     2007-07-30 10:55:21.286826347 -0500
23 @@ -1,10 +1,10 @@
24  
25 -$website='http://myvocs-box/%VO_NAME%/filemgr/data/';
26 +$website='https://_MVB_HOSTNAME_/%VO_NAME%/filemgr/data/';
27  $absolute_path='/var/www/myvocs-box/%VO_NAME%/filemgr/';
28  $base_path='/var/www/myvocs-box/%VO_NAME%/filemgr/data/';
29  $username='admin';
30  $password='secret';
31  // Add jlwlynn
32  $vo_name='%VO_NAME%';
33 -$vo_home='https://myvocs-box/%VO_NAME%';
34 +$vo_home='https://_MVB_HOSTNAME_/%VO_NAME%';
35  ?>
36 diff -ru scripts/vo_commands_template.xml scripts-fixed/vo_commands_template.xml
37 --- scripts/vo_commands_template.xml    2006-11-13 14:16:53.000000000 -0600
38 +++ scripts-fixed/vo_commands_template.xml      2007-07-30 10:52:35.861240189 -0500
39 @@ -2,7 +2,7 @@
40  
41     
42        %VO_NAME% Command Feed
43 -      <link>http://myvocs.org/</link>
44 +      <link>http://_MVB_HOSTNAME_/</link>
45        Commands for %VO_NAME%
46        en-us
47        Tue, 10 Sep 2005 04:00:00 GMT
48 @@ -13,34 +13,34 @@
49        jpr@uab.edu
50       
51           New Blog
52 -         <link>http://myvocs.org/parser/parse?command=newblog+%VO_NAME%</link>
53 +         <link>http://_MVB_HOSTNAME_/parser/parse?command=newblog+%VO_NAME%</link>
54           Blog to the VO
55       
56       
57           View Wiki
58 -         <link>http://myvocs.org/parser/parse?command=wiki+%VO_NAME%</link>
59 +         <link>http://_MVB_HOSTNAME_/parser/parse?command=wiki+%VO_NAME%</link>
60           Check out the VO Wiki
61       
62       
63           Post a Message
64 -         <link>http://myvocs.org/parser/parse?command=post+%VO_NAME%</link>
65 +         <link>http://_MVB_HOSTNAME_/parser/parse?command=post+%VO_NAME%</link>
66           Send a message to VO members
67       
68       
69           Browse VO Files
70 -         <link>http://myvocs.org/parser/parse?command=files+%VO_NAME%</link>
71 +         <link>http://_MVB_HOSTNAME_/parser/parse?command=files+%VO_NAME%</link>
72           Browse the files shared by VO members
73       
74
75        <item>
76           New User
77 -         <link>http://myvocs.org/parser/parse?command=addnewuser+%VO_NAME%</link>
78 +         <link>http://_MVB_HOSTNAME_/parser/parse?command=addnewuser+%VO_NAME%</link>
79           Add a new user to list of VO members
80       
81
82        <textinput>
83           Choose CMS for VO
84 -          <link>http://myvocs.org/parser/parse?command=newblog+</link>
85 +          <link>http://_MVB_HOSTNAME_/parser/parse?command=newblog+</link>
86            VO Name
87           pick the cms for a vo
88       
89 diff -ru scripts/vo_htaccess_template.txt scripts-fixed/vo_htaccess_template.txt
90 --- scripts/vo_htaccess_template.txt    2006-11-25 00:02:01.000000000 -0600
91 +++ scripts-fixed/vo_htaccess_template.txt      2007-07-30 10:52:56.834427022 -0500
92 @@ -1 +1 @@
93 -Redirect /%VO_NAME%/logout http://myvocs-box/sympa/logout
94 +Redirect /%VO_NAME%/logout http://_MVB_HOSTNAME_/sympa/logout
95 diff -ru scripts/wiki/wiki_conf_template.php scripts-fixed/wiki/wiki_conf_template.php
96 --- scripts/wiki/wiki_conf_template.php 2006-11-25 00:02:01.000000000 -0600
97 +++ scripts-fixed/wiki/wiki_conf_template.php   2007-07-30 10:56:41.010735310 -0500
98 @@ -850,7 +850,7 @@
99  ; Needed for 'logout' portion so that we can redirect to a certain page
100  ; You can put anything here, but it would be nice if we could redirect you
101  ;   back to the VO Homepage (Welcome page)
102 -VO_HOMEPAGE = http://myvocs-box/%VO_NAME%/
103 +VO_HOMEPAGE = https://_MVB_HOSTNAME_/%VO_NAME%/
104
105  ; SHIB Cookie
106  ;
107
108