/[smecontribs]/rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox-5.2.1-multiple_changes.patch
ViewVC logotype

Diff of /rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox-5.2.1-multiple_changes.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by trevorb, Tue Mar 7 04:38:48 2023 UTC Revision 1.5 by trevorb, Fri Mar 10 01:23:20 2023 UTC
# Line 1  Line 1 
1  diff -urN smeserver-phpvirtualbox-5.2.1.old/COPYING.orig smeserver-phpvirtualbox-5.2.1/COPYING.orig  diff -urN smeserver-phpvirtualbox-5.2.1.old/createlinks smeserver-phpvirtualbox-5.2.1/createlinks
2  --- smeserver-phpvirtualbox-5.2.1.old/COPYING.orig      1970-01-01 10:00:00.000000000 +1000  --- smeserver-phpvirtualbox-5.2.1.old/createlinks       2022-10-18 09:49:44.000000000 +1100
3  +++ smeserver-phpvirtualbox-5.2.1/COPYING.orig  2023-03-07 15:11:25.604647501 +1100  +++ smeserver-phpvirtualbox-5.2.1/createlinks   2023-03-01 16:58:09.000000000 +1100
4  @@ -0,0 +1,340 @@  @@ -9,17 +9,22 @@
5  +                   GNU GENERAL PUBLIC LICENSE   #see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
6  +                      Version 2, June 1991  
7  +   foreach my $file (qw(
8  + Copyright (C) 1989, 1991 Free Software Foundation, Inc.  -               /etc/php-fpm.d/phpvirtualbox.conf
9  +     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  -                /opt/phpvirtualbox/config.php
10  + Everyone is permitted to copy and distribute verbatim copies  +       /etc/httpd/conf/httpd.conf
11  + of this license document, but changing it is not allowed.  +        /etc/opt/remi/php74/php-fpm.d/www.conf
12  +  +        /etc/samba/smb.conf
13  +                           Preamble  +        /opt/phpvirtualbox/config.php
14  +   ))
15  +  The licenses for most software are designed to take away your   {
16  +freedom to share and change it.  By contrast, the GNU General Public       templates2events( $file, $event );
17  +License is intended to guarantee your freedom to share and change free   };
18  +software--to make sure the software is free for all its users.  This  +#we need to expand /opt/phpvirtualbox/config.php when changing the vboxweb runtime user passwd
19  +General Public License applies to most of the Free Software  +templates2events( '/opt/phpvirtualbox/config.php', 'smeserver-virtualbox-update');
20  +Foundation's software and to any other program whose authors commit to  +
21  +using it.  (Some other Free Software Foundation software is covered by   #action needed in case we have a systemd unit
22  +the GNU Library General Public License instead.)  You can apply it to   #event_link('systemd-default', $event, '10');
23  +your programs, too.   #event_link('systemd-reload', $event, '50');
24  +   #services we need to restart
25  +  When we speak of free software, we are referring to freedom, not  -#event_services($event, 'vboxdrv' => 'restart', 'vboxweb-service' => 'restart');
26  +price.  Our General Public Licenses are designed to make sure that you  +event_services($event, 'httpd-e-smith' => 'restart', 'php74-php-fpm' => 'restart', 'smbd' => 'restart');
27  +have the freedom to distribute copies of free software (and charge for  
28  +this service if you wish), that you receive source code or can get it   #backup_includes("smeserver-virtualbox", qw(
29  +if you want it, that you can change the software or use pieces of it   #/home/e-smith/files/users/vbox
30  +in new free programs; and that you know you can do these things.  diff -urN smeserver-phpvirtualbox-5.2.1.old/README.md smeserver-phpvirtualbox-5.2.1/README.md
31  +  --- smeserver-phpvirtualbox-5.2.1.old/README.md 2015-08-08 21:37:59.000000000 +1000
32  +  To protect your rights, we need to make restrictions that forbid  +++ smeserver-phpvirtualbox-5.2.1/README.md     1970-01-01 10:00:00.000000000 +1000
33  +anyone to deny you these rights or to ask you to surrender the rights.  @@ -1,2 +0,0 @@
34  +These restrictions translate to certain responsibilities for you if you  -smeserver-phpvirtualbox
35  +distribute copies of the software, or if you modify it.  -=======================
36  +  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/adminUser smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/adminUser
37  +  For example, if you distribute copies of such a program, whether  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/adminUser        1970-01-01 10:00:00.000000000 +1000
38  +gratis or for a fee, you must give the recipients all the rights that  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/adminUser    2023-02-25 16:29:54.000000000 +1100
39  +you have.  You must make sure that they, too, receive or can get the  @@ -0,0 +1 @@
40  +source code.  And you must show them these terms so they know their  +admin
41  +rights.  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/authtype smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/authtype
42  +  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/authtype 2022-10-17 09:14:35.000000000 +1100
43  +  We protect your rights with two steps: (1) copyright the software, and  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/authtype     2023-02-25 16:29:54.000000000 +1100
44  +(2) offer you this license which gives you legal permission to copy,  @@ -1 +1 @@
45  +distribute and/or modify the software.  -disabled
46  +  +WebAuth
47  +  Also, for each author's protection and ours, we want to make certain  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/type smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/type
48  +that everyone understands that there is no warranty for this free  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/type     2015-08-08 21:37:59.000000000 +1000
49  +software.  If the software is modified by someone else and passed on, we  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/type 2023-02-25 16:29:54.000000000 +1100
50  +want its recipients to know that what they have is not the original, so  @@ -1 +1 @@
51  +that any problems introduced by others will not reflect on the original  -service
52  +authors' reputations.  +configuration
53  +  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/userGroups smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/userGroups
54  +  Finally, any free program is threatened constantly by software  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/userGroups       1970-01-01 10:00:00.000000000 +1000
55  +patents.  We wish to avoid the danger that redistributors of a free  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/defaults/phpvirtualbox/userGroups   2023-02-28 17:37:52.000000000 +1100
56  +program will individually obtain patent licenses, in effect making the  @@ -0,0 +1 @@
57  +program proprietary.  To prevent this, we have made it clear that any  +vboxusers
58  +patent must be licensed for everyone's free use or not licensed at all.  \ No newline at end of file
59  +  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/migrate/40phpvirtualbox-change-webauth-to-enabled smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/migrate/40phpvirtualbox-change-webauth-to-enabled
60  +  The precise terms and conditions for copying, distribution and  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/migrate/40phpvirtualbox-change-webauth-to-enabled       2015-08-08 21:37:59.000000000 +1000
61  +modification follow.  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/migrate/40phpvirtualbox-change-webauth-to-enabled   1970-01-01 10:00:00.000000000 +1000
62  +  @@ -1,8 +0,0 @@
63  +                   GNU GENERAL PUBLIC LICENSE  -{
64  +   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION  -        my $PVBwebauth = $DB->get_prop('phpvirtualbox', 'webauth') or return;
65  +  -        if ($PVBwebauth eq 'disabled')
66  +  0. This License applies to any program or other work which contains  -        {
67  +a notice placed by the copyright holder saying it may be distributed  -          $DB->set_prop('phpvirtualbox',"webauth", "enabled" );
68  +under the terms of this General Public License.  The "Program", below,  -        }
69  +refers to any such program or work, and a "work based on the Program"  -}
70  +means either the Program or any derivative work under copyright law:  -
71  +that is to say, a work containing the Program or a portion of it,  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/migrate/phpvirtualbox smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/migrate/phpvirtualbox
72  +either verbatim or with modifications and/or translated into another  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/db/configuration/migrate/phpvirtualbox   1970-01-01 10:00:00.000000000 +1000
73  +language.  (Hereinafter, translation is included without limitation in  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/db/configuration/migrate/phpvirtualbox       2023-02-25 16:29:54.000000000 +1100
74  +the term "modification".)  Each licensee is addressed as "you".  @@ -0,0 +1,23 @@
75  +  +{
76  +Activities other than copying, distribution and modification are not  +    my $rec = $DB->get('phpvirtualbox')
77  +covered by this License; they are outside its scope.  The act of  +        || $DB->new_record('phpvirtualbox', {type => 'configuration'});
78  +running the Program is not restricted, and the output from the Program  +    
79  +is covered only if its contents constitute a work based on the  +    # webauth replaced by authType, which can have multiple values
80  +Program (independent of having been made by running the Program).  +    if ($rec->prop('webauth')) {
81  +Whether that is true depends on what the Program does.  +           $rec->set_prop('authType', 'WebAuth');
82  +  +        $rec->del_prop('webauth');
83  +  1. You may copy and distribute verbatim copies of the Program's  +    }
84  +source code as you receive it, in any medium, provided that you  +    
85  +conspicuously and appropriately publish on each copy an appropriate  +    # Group has been replaced with userGroups, which already allowed for multiple groups
86  +copyright notice and disclaimer of warranty; keep intact all the  +    if ($rec->prop('Group')) {
87  +notices that refer to this License and to the absence of any warranty;  +           $rec->set_prop('userGroups', $rec->prop('Group'));
88  +and give any other recipients of the Program a copy of this License  +           $rec->del_prop('Group');
89  +along with the Program.  +    }
90  +  +    
91  +You may charge a fee for the physical act of transferring a copy, and  +    # User replaced by Users, because it already allows for multiple users
92  +you may at your option offer warranty protection in exchange for a fee.  +    if ($rec->prop('User')) {
93  +  +           $rec->set_prop('Users', $rec->prop('User'));
94  +  2. You may modify your copy or copies of the Program or any portion  +           $rec->del_prop('User');
95  +of it, thus forming a work based on the Program, and copy and  +    }
96  +distribute such modifications or work under the terms of Section 1  +      
97  +above, provided that you also meet all of these conditions:  +}
98  +  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalUnixGroup smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalUnixGroup
99  +    a) You must cause the modified files to carry prominent notices  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalUnixGroup  1970-01-01 10:00:00.000000000 +1000
100  +    stating that you changed the files and the date of any change.  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalUnixGroup      2023-03-07 12:10:50.000000000 +1100
101  +  @@ -0,0 +1 @@
102  +    b) You must cause any work that you distribute or publish, that in  +DefineExternalGroup ugroup environment /usr/bin/unixgroup
103  +    whole or in part contains or is derived from the Program or any  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35-group-auth smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35-group-auth
104  +    part thereof, to be licensed as a whole at no charge to all third  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35-group-auth        2015-08-08 21:37:59.000000000 +1000
105  +    parties under the terms of this License.  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35-group-auth    1970-01-01 10:00:00.000000000 +1000
106  +  @@ -1,5 +0,0 @@
107  +    c) If the modified program normally reads commands interactively  -{
108  +    when run, you must cause it, when started running for such  -        $OUT .= "     AddExternalGroup ugroup /usr/bin/unixgroup\n";
109  +    interactive use in the most ordinary way, to print or display an  -        $OUT .= "     SetExternalGroupMethod ugroup environment\n";
110  +    announcement including an appropriate copyright notice and a  -}
111  +    notice that there is no warranty (or else, saying that you provide  -
112  +    a warranty) and that users may redistribute the program under  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92phpvirtualhost smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92phpvirtualhost
113  +    these conditions, and telling the user how to view a copy of this  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92phpvirtualhost     2022-10-18 08:09:34.000000000 +1100
114  +    License.  (Exception: if the Program itself is interactive but  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92phpvirtualhost 2023-03-07 12:09:59.000000000 +1100
115  +    does not normally print such an announcement, your work based on  @@ -6,8 +6,8 @@
116  +    the Program is not required to print an announcement.)       $OUT = "";
117  +       my $satisfy = 'all';
118  +These requirements apply to the modified work as a whole.  If       my $name = $phpvirtualbox{'Name'} || 'phpvirtualbox';
119  +identifiable sections of that work are not derived from the Program,  -    my @phpvuser = split(",", ($phpvirtualbox{'User'} || "") );
120  +and can be reasonably considered independent and separate works in  -    my @phpvgroup = split(",", ($phpvirtualbox{'Group'} || "") );
121  +themselves, then this License, and its terms, do not apply to those  +    my @phpvboxusers = split(",", ($phpvirtualbox{'Users'} || "") );
122  +sections when you distribute them as separate works.  But when you  +    my @phpvboxgroups = split(",", ($phpvirtualbox{'userGroups'} || "") );
123  +distribute the same sections as part of a whole which is a work based       my $alias = ($phpvirtualbox{'URL'} || 'phpvirtualbox');
124  +on the Program, the distribution of the whole must be on the terms of      
125  +this License, whose permissions for other licensees extend to the       $OUT .= "#------------------------------------------------------------\n";
126  +entire whole, and thus to each and every part regardless of who wrote it.  @@ -18,20 +18,23 @@
127  +       $OUT .= "\n";
128  +Thus, it is not the intent of this section to claim rights or contest       if ($phpvirtualbox{'authtype'} ne 'disabled') {
129  +your rights to work written entirely by you; rather, the intent is to          $OUT .= "<Location /$alias>\n";
130  +exercise the right to control the distribution of derivative or  -       if ($phpvirtualbox{'authtype'} eq 'httpd_webauth') {
131  +collective works based on the Program.  +       if ($phpvirtualbox{'authtype'} eq 'WebAuth') {
132  +              $OUT .= "    AuthName \"$name\"\n";
133  +In addition, mere aggregation of another work not based on the Program  -           $OUT .= "    AuthType Basic\n";
134  +with the Program (or with a work based on the Program) on a volume of  -           $OUT .= "    AuthBasicProvider \n";
135  +a storage or distribution medium does not bring the other work under  -           $OUT .= "    AuthExternal webauth\n";
136  +the scope of this License.  -           $OUT .= "    GroupExternal ugroup\n";
137  +  -           $OUT .= "    Require user admin @phpvuser\n";
138  +  3. You may copy and distribute the Program (or a work based on it,  -           $OUT .= "    Require group @phpvgroup\n";
139  +under Section 2) in object code or executable form under the terms of  +           $OUT .= "    AuthType Basic\n";
140  +Sections 1 and 2 above provided that you also do one of the following:  +           $OUT .= "    AuthBasicProvider external\n";
141  +  +           $OUT .= "    AuthExternal pwauth\n";
142  +    a) Accompany it with the complete corresponding machine-readable  +           $OUT .= "    GroupExternal ugroup\n";
143  +    source code, which must be distributed under the terms of Sections  +           $OUT .= "    Require user admin @phpvboxusers\n";
144  +    1 and 2 above on a medium customarily used for software interchange; or,  +           $OUT .= "    Require external-group @phpvboxgroups\n";
145  +          } elsif ($phpvirtualbox{'authtype'} eq 'httpd_LDAP') {
146  +    b) Accompany it with a written offer, valid for at least three  -           $OUT .= "    AuthName \"$name\"\n";
147  +    years, to give any third party, for a charge no more than your  -           $OUT .= "    AuthType Basic\n";
148  +    cost of physically performing source distribution, a complete  -           $OUT .= "    AuthBasicProvider ldap\n";
149  +    machine-readable copy of the corresponding source code, to be  -           $OUT .= "    Require ldap-user admin @phpvuser\n";
150  +    distributed under the terms of Sections 1 and 2 above on a medium  -           $OUT .= "    Require ldap-group cn=@phpvgroup, o=*\n";
151  +    customarily used for software interchange; or,  +           $OUT .= "    AuthName \"$name\"\n";
152  +  +           $OUT .= "    AuthType Basic\n";
153  +    c) Accompany it with the information you received as to the offer  +           $OUT .= "    AuthBasicProvider ldap\n";
154  +    to distribute corresponding source code.  (This alternative is  +            $OUT .= "    AuthLDAPURL = ldap://localhost/0=$smb{'Workgroup'},%uid\n";
155  +    allowed only for noncommercial distribution and only if you  +           $OUT .= "    Require ldap-user admin @phpvboxusers\n";
156  +    received the program in object code or executable form with such  +           foreach my $group (@phpvboxgroups) {
157  +    an offer, in accord with Subsection b above.)  +               $OUT .= "    Require ldap-group cn=@group, o=*\n";
158  +  +           }
159  +The source code for a work means the preferred form of the work for          }
160  +making modifications to it.  For an executable work, complete source          $OUT .= "</Location>\n";
161  +code means all the source code for all modules it contains, plus any          $OUT .= "\n";
162  +associated interface definition files, plus the scripts used to  @@ -46,4 +49,3 @@
163  +control compilation and installation of the executable.  However, as a       $OUT .= "    AddType application/x-httpd-php .php\n";
164  +special exception, the source code distributed need not include       $OUT .= "</Directory>\n";
165  +anything that is normally distributed (in either source or binary   }
166  +form) with the major components (compiler, kernel, and so on) of the  -
167  +operating system on which the executable runs, unless that component  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/php-fpm.d/phpvirtualbox.conf/50phpvirtualbox smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/php-fpm.d/phpvirtualbox.conf/50phpvirtualbox
168  +itself accompanies the executable.  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/php-fpm.d/phpvirtualbox.conf/50phpvirtualbox       2022-10-12 14:58:16.000000000 +1100
169  +  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/php-fpm.d/phpvirtualbox.conf/50phpvirtualbox   1970-01-01 10:00:00.000000000 +1000
170  +If distribution of executable or object code is made by offering  @@ -1,32 +0,0 @@
171  +access to copy from a designated place, then offering equivalent  -[php74-phpvirtualbox]
172  +access to copy the source code from the same place counts as  -user = www
173  +distribution of the source code, even though third parties are not  -group = www
174  +compelled to copy the source along with the object code.  -listen.owner = root
175  +  -listen.group = www
176  +  4. You may not copy, modify, sublicense, or distribute the Program  -listen.mode = 0660
177  +except as expressly provided under this License.  Any attempt  -listen = /var/run/php-fpm/php74-phpvirtualbox.sock
178  +otherwise to copy, modify, sublicense or distribute the Program is  -pm = dynamic
179  +void, and will automatically terminate your rights under this License.  -pm.max_children = 15
180  +However, parties who have received copies, or rights, from you under  -pm.start_servers = 3
181  +this License will not have their licenses terminated so long as such  -pm.min_spare_servers = 3
182  +parties remain in full compliance.  -pm.max_spare_servers = 4
183  +  -pm.max_requests = 1000
184  +  5. You are not required to accept this License, since you have not  -slowlog = /var/log/php/phpvirtualbox/slow.log
185  +signed it.  However, nothing else grants you permission to modify or  -php_admin_value[session.save_path] = /var/lib/php/php74/phpvirtualbox/session
186  +distribute the Program or its derivative works.  These actions are  -php_admin_value[opcache.file_cache]  = /var/lib/php/php74/phpvirtualbox/opcache
187  +prohibited by law if you do not accept this License.  Therefore, by  -php_admin_value[upload_tmp_dir] = /var/lib/php/php74/phpvirtualbox/tmp
188  +modifying or distributing the Program (or any work based on the  -php_admin_value[sys_temp_dir] = /var/lib/php/php74/phpvirtualbox/tmp
189  +Program), you indicate your acceptance of this License to do so, and  -php_admin_flag[display_errors] = on
190  +all its terms and conditions for copying, distributing or modifying  -php_admin_flag[log_errors] = on
191  +the Program or works based on it.  -php_admin_value[error_log] = /var/log/php/phpvirtualbox/error.log
192  +  -php_admin_value[memory_limit] = 128M
193  +  6. Each time you redistribute the Program (or any work based on the  -php_admin_value[max_execution_time] = 30
194  +Program), the recipient automatically receives a license from the  -php_admin_value[upload_max_filesize] = 10M
195  +original licensor to copy, distribute or modify the Program subject to  -php_admin_value[max_input_time] = 60
196  +these terms and conditions.  You may not impose any further  -php_admin_flag[allow_url_fopen] = 1
197  +restrictions on the recipients' exercise of the rights granted herein.  -php_admin_flag[file_upload] = on
198  +You are not responsible for enforcing compliance by third parties to  -php_admin_flag[session.cookie_httponly] = on
199  +this License.  -php_admin_flag[allow_url_include] = off
200  +  -php_admin_value[session.save_handler] = files
201  +  7. If, as a consequence of a court judgment or allegation of patent  -php_admin_value[open_basedir] = /opt/phpvirtualbox/:/var/lib/php/php74/phpvirtualbox/:/var/log/php/phpvirtualbox/:/var/run/php-fpm/
202  +infringement or for any other reason (not limited to patent issues),  -php_admin_value[eaccelerator.enable] = 1
203  +conditions are imposed on you (whether by court order, agreement or  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15phpvirtualbox smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15phpvirtualbox
204  +otherwise) that contradict the conditions of this License, they do not  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15phpvirtualbox 1970-01-01 10:00:00.000000000 +1000
205  +excuse you from the conditions of this License.  If you cannot  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15phpvirtualbox     2023-02-25 16:29:54.000000000 +1100
206  +distribute so as to satisfy simultaneously your obligations under this  @@ -0,0 +1,65 @@
207  +License and any other pertinent obligations, then as a consequence you  +{
208  +may not distribute the Program at all.  For example, if a patent  +
209  +license would not permit royalty-free redistribution of the Program by  +    my $phpversion = ($phpvirtulabox{Version} || '74');
210  +all those who receive copies directly or indirectly through you, then  +    if ($PHP_VERSION eq $phpversion) {
211  +the only way you could satisfy both it and this License would be to  +        if (($phpvirtualbox{'status'} || 'disabled') eq 'enabled') {
212  +refrain entirely from distribution of the Program.  +            my $max_upload_size = ($phpvirtualbox{MaxUploadSize} || '4096');
213  +  +            $max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);
214  +If any portion of this section is held invalid or unenforceable under  +            my $memory_limit = ($phpvirtualbox{MemoryLimit} || '500M');
215  +any particular circumstance, the balance of the section is intended to  +            $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/);
216  +apply and the section as a whole is intended to apply in other  +            my $open_basedir= $phpvirtualbox{PHPBaseDir} || '';
217  +circumstances.  +            my $id = 'phpvirtualbox';
218  +  +            $open_basedir = "/opt/phpvirtualbox/:/var/log/php/$id/:/var/lib/php/$id/:$open_basedir";
219  +It is not the purpose of this section to induce you to infringe any  +            my $max_children = $phpvirtualbox{'PHPmaxChildren'} || 20;
220  +patents or other property right claims or to contest validity of any  +            my $min_spare_servers = $phpvirtualbox{'PHPminServers'} || 4;
221  +such claims; this section has the sole purpose of protecting the  +            my $start_servers = $phpvirtualbox{'PHPstartServers'} || 6;
222  +integrity of the free software distribution system, which is  +            my $max_spare_servers = $phpvirtualbox{'PHPmaxServers'} || 8;
223  +implemented by public license practices.  Many people have made  +            my $max_requests = $phpvirtualbox{'PHPmaxRequests'} || 1000;
224  +generous contributions to the wide range of software distributed  +            $min_spare_servers = ( $min_spare_servers > $max_spare_servers ) ? printf("%.0f",$max_spare_servers/2) : $min_spare_servers;
225  +through that system in reliance on consistent application of that  +            $start_servers = ( $start_servers > $max_spare_servers ) ? printf("%.0f", $max_spare_servers /2 +  $min_spare_servers/2  ) : $start_servers;
226  +system; it is up to the author/donor to decide if he or she is willing  +
227  +to distribute software through any other system and a licensee cannot  +            $OUT .=<<_EOF;
228  +impose that choice.  +
229  +  +[php$PHP_VERSION-$id]
230  +This section is intended to make thoroughly clear what is believed to  +user = www
231  +be a consequence of the rest of this License.  +group = www
232  +  +listen.owner = root
233  +  8. If the distribution and/or use of the Program is restricted in  +listen.group = www
234  +certain countries either by patents or by copyrighted interfaces, the  +listen.mode = 0660
235  +original copyright holder who places the Program under this License  +listen = /var/run/php-fpm/php$PHP_VERSION-$id.sock
236  +may add an explicit geographical distribution limitation excluding  +pm = dynamic
237  +those countries, so that distribution is permitted only in or among  +pm.max_children = $max_children
238  +countries not thus excluded.  In such case, this License incorporates  +pm.start_servers = $start_servers
239  +the limitation as if written in the body of this License.  +pm.min_spare_servers = $min_spare_servers
240  +  +pm.max_spare_servers = $max_spare_servers
241  +  9. The Free Software Foundation may publish revised and/or new versions  +pm.max_requests = $max_requests
242  +of the General Public License from time to time.  Such new versions will  +php_admin_value[session.save_path] = /var/lib/php/$id/session
243  +be similar in spirit to the present version, but may differ in detail to  +php_admin_value[session.gc_maxlifetime] = 86400
244  +address new problems or concerns.  +php_admin_value[opcache.file_cache]  = /var/lib/php/$id/opcache
245  +  +php_admin_value[upload_tmp_dir] = /var/lib/php/$id/tmp
246  +Each version is given a distinguishing version number.  If the Program  +php_admin_value[error_log] = /var/log/php/$id/error.log
247  +specifies a version number of this License which applies to it and "any  +slowlog = /var/log/php/$id/slow.log
248  +later version", you have the option of following the terms and conditions  +php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f php@{ $DomainName }
249  +either of that version or of any later version published by the Free  +php_admin_flag[display_errors] = off
250  +Software Foundation.  If the Program does not specify a version number of  +php_admin_flag[log_errors] = on
251  +this License, you may choose any version ever published by the Free Software  +php_admin_value[memory_limit] = $memory_limit
252  +Foundation.  +php_admin_value[max_execution_time] = 3600
253  +  +php_admin_value[post_max_size] = $max_upload_size
254  +  10. If you wish to incorporate parts of the Program into other free  +php_admin_value[upload_max_filesize] = $max_upload_size
255  +programs whose distribution conditions are different, write to the author  +php_admin_value[disable_functions] = system, show_source, symlink, dl, passthru, phpinfo, escapeshellarg, escapeshellcmd
256  +to ask for permission.  For software which is copyrighted by the Free  +php_admin_value[open_basedir] = $open_basedir
257  +Software Foundation, write to the Free Software Foundation; we sometimes  +php_admin_flag[allow_url_fopen] = on
258  +make exceptions for this.  Our decision will be guided by the two goals  +php_admin_flag[file_uploads] = on
259  +of preserving the free status of all derivatives of our free software and  +php_admin_flag[session.cookie_httponly] = on
260  +of promoting the sharing and reuse of software generally.  +php_admin_flag[allow_url_include] = off
261  +  +php_admin_value[session.save_handler] = files
262  +                           NO WARRANTY  +php_admin_flag[output_buffering] = off
263  +  +php_admin_flag[eaccelerator.enable] = on
264  +  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY  +
265  +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN  +_EOF
266  +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES  +
267  +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED  +        } else {
268  +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF  +            $OUT .= '; phpvirtualbox is disabled';
269  +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS  +        }
270  +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE  +    }
271  +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,  +}
272  +REPAIR OR CORRECTION.  \ No newline at end of file
273  +  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/smb.conf/60phpvirtualbox smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/smb.conf/60phpvirtualbox
274  +  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/etc/smb.conf/60phpvirtualbox   1970-01-01 10:00:00.000000000 +1000
275  +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/etc/smb.conf/60phpvirtualbox       2023-03-07 13:11:47.000000000 +1100
276  +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,  @@ -0,0 +1,33 @@
277  +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING  +{
278  +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED  +    my $validusers = '';
279  +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY  +    if ($phpvirtualbox{'adminUser'} || $phpvirtualbox{'userGroups'}) {
280  +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER  +       if ($phpvirtualbox{'adminUser'}) {
281  +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE  +           $validusers = "$phpvirtualbox{'adminUser'}";
282  +POSSIBILITY OF SUCH DAMAGES.  +           if ($phpvirtualbox{'userGroups'}) {
283  +  +               $validusers .= ",+$phpvirtualbox{'userGroups'}";
284  +                    END OF TERMS AND CONDITIONS  +           }
285  +  +       } else {
286  +           How to Apply These Terms to Your New Programs  +           if ($phpvirtualbox{'userGroups'}) {
287  +  +               $validusers = "+$phpvirtualbox{'userGroups'}";
288  +  If you develop a new program, and you want it to be of the greatest  +           }
289  +possible use to the public, the best way to achieve this is to make it  +       }
290  +free software which everyone can redistribute and change under these terms.  +    }
291  +  +
292  +  To do so, attach the following notices to the program.  It is safest  +    $OUT .=<<_VBOX;
293  +to attach them to the start of each source file to most effectively  +
294  +convey the exclusion of warranty; and each file should have at least  +[virtualbox]
295  +the "copyright" line and a pointer to where the full notice is found.  +comment = virtualbox ISO directory
296  +  +path = /opt/vbox/ISOs
297  +    <one line to give the program's name and a brief idea of what it does.>  +read only = no
298  +    Copyright (C) 19yy  <name of author>  +writable = yes
299  +  +printable = no
300  +    This program is free software; you can redistribute it and/or modify  +inherit permissions = yes
301  +    it under the terms of the GNU General Public License as published by  +create mode = 0640
302  +    the Free Software Foundation; either version 2 of the License, or  +
303  +    (at your option) any later version.  +_VBOX
304  +  +
305  +    This program is distributed in the hope that it will be useful,  +    if ($validusers) {
306  +    but WITHOUT ANY WARRANTY; without even the implied warranty of  +       $OUT .= "valid users = $validusers\n";
307  +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  +    }
308  +    GNU General Public License for more details.  +
309  +  +}
310  +    You should have received a copy of the GNU General Public License  \ No newline at end of file
311  +    along with this program; if not, write to the Free Software  diff -urN smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/opt/phpvirtualbox/config.php/config.php smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/opt/phpvirtualbox/config.php/config.php
312  +    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  --- smeserver-phpvirtualbox-5.2.1.old/root/etc/e-smith/templates/opt/phpvirtualbox/config.php/config.php        2023-03-07 16:07:55.309653000 +1100
313  +  +++ smeserver-phpvirtualbox-5.2.1/root/etc/e-smith/templates/opt/phpvirtualbox/config.php/config.php    2023-03-07 12:07:39.000000000 +1100
314  +  @@ -1,38 +1,90 @@
315  +Also add information on how to contact you by electronic and paper mail.   {
316  +  +# domain stuff
317  +If the program is interactive, make it output a short notice like this  +    my $baseDN = esmith::util::ldapBase($DomainName);
318  +when it starts in an interactive mode:  +    my $workgroup = $smb{'Workgroup'};
319  +  +# vboxweb parameters
320  +    Gnomovision version 69, Copyright (C) 19yy name of author  +    my $username = (${'vboxweb-service'}{'user'} || 'vbox');
321  +    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.  +    my $password = ${'vboxweb-service'}{'password'};
322  +    This is free software, and you are welcome to redistribute it  +    my $location = ("http://${'vboxweb-service'}{'access'}:${'vboxweb-service'}{'TCPPort'}/" || "http://127.0.0.1:18083/");
323  +    under certain conditions; type `show c' for details.  +# phpvirtualbox parameters for users
324  +  +    my $adminUser = ($phpvirtualbox{'adminUser'} || 'admin');
325  +The hypothetical commands `show w' and `show c' should show the appropriate  +    my $adminGroup = ($phpvirtualbox{'adminGroup'} || 'admin');
326  +parts of the General Public License.  Of course, the commands you use may  +    my $userGroups = $phpvirtualbox{'userGroups'};
327  +be called something other than `show w' and `show c'; they could even be  +# phpvirtualbox config parameters
328  +mouse-clicks or menu items--whatever suits your program.  +    my $language = ($phpvirtualbox{'language'} || 'en');
329  +  +    my $vrdeports = ($phpvirtualbox{'vrdeports'} || '19000-19100');
330  +You should also get your employer (if you work as a programmer) or your  +    my $maxProgressList = ($phpvirtualbox{'maxProgressList'} || 5);
331  +school, if any, to sign a "copyright disclaimer" for the program, if  +    my $deleteOnRemove = ($phpvirtualbox{'deleteOnRemove'} || true);
332  +necessary.  Here is a sample; alter the names:  +    my $browserRestrictFiles = ($phpvirtualbox{'browserRestrictFiles'} || "'.iso','.vdi','.vmdk','.img','.bin','.vhd','.hdd','.ovf','.ova','.xml','.vbox','.cdr','.dmg','.ima','.dsk','.vfd'");
333  +  +    my $browserRestrictFolders = ($phpvirtualbox{'browserRestrictFolders'} || "'/opt/vbox/ISOs','/opt/vbox/VMs'");
334  +  Yoyodyne, Inc., hereby disclaims all copyright interest in the program  +    my $hostMemInfoRefreshInterval = ($phpvirtualbox{'hostMemInfoRefreshInterval'} || 5);
335  +  `Gnomovision' (which makes passes at compilers) written by James Hacker.  +    my $consoleResolutions = ($phpvirtualbox{'consoleResolutions'} || "'640x480','800x600','1024x768','1280x720','1440x900'");
336  +  +    my $consoleKeyboardLayout = ($phpvirtualbox{'consoleKeyboardLayout'} || 'EN');
337  +  <signature of Ty Coon>, 1 April 1989  +    my $nicMax = ($phpvirtualbox{'nicMax'} || 4);
338  +  Ty Coon, President of Vice  +# working
339  +  +    my @phpvboxusers = split(",", ($phpvirtualbox{'Users'} || "") );
340  +This General Public License does not permit incorporating your program into  +    my @phpvboxgroups = split(",", ($phpvirtualbox{'userGroups'} || "") );
341  +proprietary programs.  If your program is a subroutine library, you may      
342  +consider it more useful to permit linking proprietary applications with the       $OUT .=<<_PARMS;
343  +library.  If this is what you want to do, use the GNU Library General  -    
344  +Public License instead of this License.  +
345  diff -urN smeserver-phpvirtualbox-5.2.1.old/COPYING.rej smeserver-phpvirtualbox-5.2.1/COPYING.rej   class phpVBoxConfig {
346  --- smeserver-phpvirtualbox-5.2.1.old/COPYING.rej       1970-01-01 10:00:00.000000000 +1000  -var \$username = 'vbox';
347  +++ smeserver-phpvirtualbox-5.2.1/COPYING.rej   2023-03-07 15:11:25.604647501 +1100  -var \$location = 'http://127.0.0.1:18083/';
348  @@ -0,0 +1,343 @@  -var \$language = 'en';
349  +--- COPYING    1970-01-01 10:00:00.000000000 +1000  -var \$vrdeports = '9000-9100';
350  ++++ COPYING    2023-02-25 16:29:54.000000000 +1100  -var \$maxProgressList = 5;
351  +@@ -0,0 +1,340 @@  -var \$deleteOnRemove = true;
352  ++                  GNU GENERAL PUBLIC LICENSE  -var \$browserRestrictFiles = array('.iso','.vdi','.vmdk','.img','.bin','.vhd','.hdd','.ovf','.ova','.xml','.vbox','.cdr','.dmg','.ima','.dsk','.vfd');
353  ++                     Version 2, June 1991  -var \$hostMemInfoRefreshInterval = 5;
354  ++  -var \$consoleResolutions = array('640x480','800x600','1024x768','1280x720','1440x900');
355  ++ Copyright (C) 1989, 1991 Free Software Foundation, Inc.  -var \$consoleKeyboardLayout = 'EN';
356  ++     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  -var \$nicMax = 4;
357  ++ Everyone is permitted to copy and distribute verbatim copies  +# default paramaters
358  ++ of this license document, but changing it is not allowed.  +var \$username = '$username';
359  ++  +var \$password = '$password';
360  ++                          Preamble  +var \$location = '$location';
361  ++  +var \$language = '$language';
362  ++  The licenses for most software are designed to take away your  +var \$vrdeports = '$vrdeports';
363  ++freedom to share and change it.  By contrast, the GNU General Public  +var \$maxProgressList = $maxProgressList;
364  ++License is intended to guarantee your freedom to share and change free  +var \$deleteOnRemove = $deleteOnRemove;
365  ++software--to make sure the software is free for all its users.  This  +var \$browserRestrictFiles = array($browserRestrictFiles);
366  ++General Public License applies to most of the Free Software  +var \$browserRestrictFolders = array($browserRestrictFolders);
367  ++Foundation's software and to any other program whose authors commit to  +var \$hostMemInfoRefreshInterval = $hostMemInfoRefreshInterval;
368  ++using it.  (Some other Free Software Foundation software is covered by  +var \$consoleResolutions = array($consoleResolutions);
369  ++the GNU Library General Public License instead.)  You can apply it to  +var \$consoleKeyboardLayout = '$consoleKeyboardLayout';
370  ++your programs, too.  +var \$nicMax = $nicMax;
371  ++  +
372  ++  When we speak of free software, we are referring to freedom, not  +# authentication parameters
373  ++price.  Our General Public Licenses are designed to make sure that you   _PARMS
374  ++have the freedom to distribute copies of free software (and charge for  
375  ++this service if you wish), that you receive source code or can get it  -    my $authtype = $phpvirtualbox{'authtype'} || 'disabled';
376  ++if you want it, that you can change the software or use pieces of it  -    if ($authtype eq 'webauth') {
377  ++in new free programs; and that you know you can do these things.  -       $OUT .= "var \$authLib = 'WebAuth';\n";
378  ++  -       $OUT .= "var \$authConfig = array('adminUser' => 'admin');\n";
379  ++  To protect your rights, we need to make restrictions that forbid  -    } elsif ($authtype eq 'Builtin') {
380  ++anyone to deny you these rights or to ask you to surrender the rights.  +# authentication stuff
381  ++These restrictions translate to certain responsibilities for you if you  +    my $authtype = ($phpvirtualbox{'authType'} || 'WebAuth');
382  ++distribute copies of the software, or if you modify it.  +    if ($authtype eq 'Builtin') {
383  ++          $OUT .= "var \$authLib = 'Builtin';\n";
384  ++  For example, if you distribute copies of such a program, whether  +    } elsif ($authtype eq 'WebAuth') {
385  ++gratis or for a fee, you must give the recipients all the rights that  +       $OUT .= "var \$authLib = 'WebAuth';\n";
386  ++you have.  You must make sure that they, too, receive or can get the  +       $OUT .= "var \$authConfig = array('adminUser' => '$adminUser');\n";
387  ++source code.  And you must show them these terms so they know their       } elsif ($authtype eq 'LDAP') {
388  ++rights.          $OUT .= "var \$authLib = 'LDAP';\n";
389  ++          $OUT .= "var \$authConfig = array(\n";
390  ++  We protect your rights with two steps: (1) copyright the software, and  -       $OUT .= "       'host' => '127.0.0.1',\n";
391  ++(2) offer you this license which gives you legal permission to copy,  -       $OUT .= "       'bind_dn' => 'uid=%s, ou=Users, dc=mycompany, dc=local',\n";
392  ++distribute and/or modify the software.  -       $OUT .= "       'adminUser' => 'admin');\n";
393  ++  +        $OUT .= "      'host' => '127.0.0.1',\n";
394  ++  Also, for each author's protection and ours, we want to make certain  +       $OUT .= "       'bind_dn' => 'uid=%s, ou=Users, $baseDN',\n";
395  ++that everyone understands that there is no warranty for this free  +       $OUT .= "       'adminUser' => $adminUser);\n";
396  ++software.  If the software is modified by someone else and passed on, we  +    } elsif ($authtype eq 'AD' && $workgroup ) {
397  ++want its recipients to know that what they have is not the original, so  +       $OUT .= "var \$authLib = 'ActiveDirectory';\n";
398  ++that any problems introduced by others will not reflect on the original  +       $OUT .= "var \$authConfig = array(\n";
399  ++authors' reputations.  +       $OUT .= "    'host' => '127.0.0.1',\n";
400  ++  +       $OUT .= "    'domain' => '$workgroup',\n";
401  ++  Finally, any free program is threatened constantly by software  +       $OUT .= "    'admin_group' => '$adminGroup'";
402  ++patents.  We wish to avoid the danger that redistributors of a free  +       if ($userGroups) {
403  ++program will individually obtain patent licenses, in effect making the  +           foreach my $group (@phpvboxgroups) {
404  ++program proprietary.  To prevent this, we have made it clear that any  +               $OUT .= ",\n";
405  ++patent must be licensed for everyone's free use or not licensed at all.  +               $OUT .= "    'user_group' => '$group'";
406  ++  +           }
407  ++  The precise terms and conditions for copying, distribution and  +       };
408  ++modification follow.  +       $OUT .= ");\n";
409  ++       } else {
410  ++                  GNU GENERAL PUBLIC LICENSE          $OUT .= "var \$noAuth=true;\n";
411  ++   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION       }
412  ++  -
413  ++  0. This License applies to any program or other work which contains  +    
414  ++a notice placed by the copyright holder saying it may be distributed  +# allow inclusion of any generic parameter stored in config db for phpvirtualbox
415  ++under the terms of this General Public License.  The "Program", below,  +    $OUT .= "# additional parameters defined in configuration DB\n";
416  ++refers to any such program or work, and a "work based on the Program"  +    my @stdparms = qw(type status Name Users userGroups adminUser adminGroup authtype language vrdeports maxProgressList deleteOnRemove browserRestrictFiles browserRestrictFolders consolresolutions hostMemInfoRefreshInterval consoleKeyboardLayout nicMax);
417  ++means either the Program or any derivative work under copyright law:  +    while (my ($param, $value) = each (%phpvirtualbox)) {
418  ++that is to say, a work containing the Program or a portion of it,  +       next if ( $param ~~ @stdparms );
419  ++either verbatim or with modifications and/or translated into another  +       $OUT .= "var \$$param = $value;\n";
420  ++language.  (Hereinafter, translation is included without limitation in  +    }
421  ++the term "modification".)  Each licensee is addressed as "you".  +                      
422  ++       $OUT .= "}\n";
423  ++Activities other than copying, distribution and modification are not  -
424  ++covered by this License; they are outside its scope.  The act of  +                          
425  ++running the Program is not restricted, and the output from the Program   }
426  ++is covered only if its contents constitute a work based on the  
 ++Program (independent of having been made by running the Program).  
 ++Whether that is true depends on what the Program does.  
 ++  
 ++  1. You may copy and distribute verbatim copies of the Program's  
 ++source code as you receive it, in any medium, provided that you  
 ++conspicuously and appropriately publish on each copy an appropriate  
 ++copyright notice and disclaimer of warranty; keep intact all the  
 ++notices that refer to this License and to the absence of any warranty;  
 ++and give any other recipients of the Program a copy of this License  
 ++along with the Program.  
 ++  
 ++You may charge a fee for the physical act of transferring a copy, and  
 ++you may at your option offer warranty protection in exchange for a fee.  
 ++  
 ++  2. You may modify your copy or copies of the Program or any portion  
 ++of it, thus forming a work based on the Program, and copy and  
 ++distribute such modifications or work under the terms of Section 1  
 ++above, provided that you also meet all of these conditions:  
 ++  
 ++    a) You must cause the modified files to carry prominent notices  
 ++    stating that you changed the files and the date of any change.  
 ++  
 ++    b) You must cause any work that you distribute or publish, that in  
 ++    whole or in part contains or is derived from the Program or any  
 ++    part thereof, to be licensed as a whole at no charge to all third  
 ++    parties under the terms of this License.  
 ++  
 ++    c) If the modified program normally reads commands interactively  
 ++    when run, you must cause it, when started running for such  
 ++    interactive use in the most ordinary way, to print or display an  
 ++    announcement including an appropriate copyright notice and a  
 ++    notice that there is no warranty (or else, saying that you provide  
 ++    a warranty) and that users may redistribute the program under  
 ++    these conditions, and telling the user how to view a copy of this  
 ++    License.  (Exception: if the Program itself is interactive but  
 ++    does not normally print such an announcement, your work based on  
 ++    the Program is not required to print an announcement.)  
 ++  
 ++These requirements apply to the modified work as a whole.  If  
 ++identifiable sections of that work are not derived from the Program,  
 ++and can be reasonably considered independent and separate works in  
 ++themselves, then this License, and its terms, do not apply to those  
 ++sections when you distribute them as separate works.  But when you  
 ++distribute the same sections as part of a whole which is a work based  
 ++on the Program, the distribution of the whole must be on the terms of  
 ++this License, whose permissions for other licensees extend to the  
 ++entire whole, and thus to each and every part regardless of who wrote it.  
 ++  
 ++Thus, it is not the intent of this section to claim rights or contest  
 ++your rights to work written entirely by you; rather, the intent is to  
 ++exercise the right to control the distribution of derivative or  
 ++collective works based on the Program.  
 ++  
 ++In addition, mere aggregation of another work not based on the Program  
 ++with the Program (or with a work based on the Program) on a volume of  
 ++a storage or distribution medium does not bring the other work under  
 ++the scope of this License.  
 ++  
 ++  3. You may copy and distribute the Program (or a work based on it,  
 ++under Section 2) in object code or executable form under the terms of  
 ++Sections 1 and 2 above provided that you also do one of the following:  
 ++  
 ++    a) Accompany it with the complete corresponding machine-readable  
 ++    source code, which must be distributed under the terms of Sections  
 ++    1 and 2 above on a medium customarily used for software interchange; or,  
 ++  
 ++    b) Accompany it with a written offer, valid for at least three  
 ++    years, to give any third party, for a charge no more than your  
 ++    cost of physically performing source distribution, a complete  
 ++    machine-readable copy of the corresponding source code, to be  
 ++    distributed under the terms of Sections 1 and 2 above on a medium  
 ++    customarily used for software interchange; or,  
 ++  
 ++    c) Accompany it with the information you received as to the offer  
 ++    to distribute corresponding source code.  (This alternative is  
 ++    allowed only for noncommercial distribution and only if you  
 ++    received the program in object code or executable form with such  
 ++    an offer, in accord with Subsection b above.)  
 ++  
 ++The source code for a work means the preferred form of the work for  
 ++making modifications to it.  For an executable work, complete source  
 ++code means all the source code for all modules it contains, plus any  
 ++associated interface definition files, plus the scripts used to  
 ++control compilation and installation of the executable.  However, as a  
 ++special exception, the source code distributed need not include  
 ++anything that is normally distributed (in either source or binary  
 ++form) with the major components (compiler, kernel, and so on) of the  
 ++operating system on which the executable runs, unless that component  
 ++itself accompanies the executable.  
 ++  
 ++If distribution of executable or object code is made by offering  
 ++access to copy from a designated place, then offering equivalent  
 ++access to copy the source code from the same place counts as  
 ++distribution of the source code, even though third parties are not  
 ++compelled to copy the source along with the object code.  
 ++  
 ++  4. You may not copy, modify, sublicense, or distribute the Program  
 ++except as expressly provided under this License.  Any attempt  
 ++otherwise to copy, modify, sublicense or distribute the Program is  
 ++void, and will automatically terminate your rights under this License.  
 ++However, parties who have received copies, or rights, from you under  
 ++this License will not have their licenses terminated so long as such  
 ++parties remain in full compliance.  
 ++  
 ++  5. You are not required to accept this License, since you have not  
 ++signed it.  However, nothing else grants you permission to modify or  
 ++distribute the Program or its derivative works.  These actions are  
 ++prohibited by law if you do not accept this License.  Therefore, by  
 ++modifying or distributing the Program (or any work based on the  
 ++Program), you indicate your acceptance of this License to do so, and  
 ++all its terms and conditions for copying, distributing or modifying  
 ++the Program or works based on it.  
 ++  
 ++  6. Each time you redistribute the Program (or any work based on the  
 ++Program), the recipient automatically receives a license from the  
 ++original licensor to copy, distribute or modify the Program subject to  
 ++these terms and conditions.  You may not impose any further  
 ++restrictions on the recipients' exercise of the rights granted herein.  
 ++You are not responsible for enforcing compliance by third parties to  
 ++this License.  
 ++  
 ++  7. If, as a consequence of a court judgment or allegation of patent  
 ++infringement or for any other reason (not limited to patent issues),  
 ++conditions are imposed on you (whether by court order, agreement or  
 ++otherwise) that contradict the conditions of this License, they do not  
 ++excuse you from the conditions of this License.  If you cannot  
 ++distribute so as to satisfy simultaneously your obligations under this  
 ++License and any other pertinent obligations, then as a consequence you  
 ++may not distribute the Program at all.  For example, if a patent  
 ++license would not permit royalty-free redistribution of the Program by  
 ++all those who receive copies directly or indirectly through you, then  
 ++the only way you could satisfy both it and this License would be to  
 ++refrain entirely from distribution of the Program.  
 ++  
 ++If any portion of this section is held invalid or unenforceable under  
 ++any particular circumstance, the balance of the section is intended to  
 ++apply and the section as a whole is intended to apply in other  
 ++circumstances.  
 ++  
 ++It is not the purpose of this section to induce you to infringe any  
 ++patents or other property right claims or to contest validity of any  
 ++such claims; this section has the sole purpose of protecting the  
 ++integrity of the free software distribution system, which is  
 ++implemented by public license practices.  Many people have made  
 ++generous contributions to the wide range of software distributed  
 ++through that system in reliance on consistent application of that  
 ++system; it is up to the author/donor to decide if he or she is willing  
 ++to distribute software through any other system and a licensee cannot  
 ++impose that choice.  
 ++  
 ++This section is intended to make thoroughly clear what is believed to  
 ++be a consequence of the rest of this License.  
 ++  
 ++  8. If the distribution and/or use of the Program is restricted in  
 ++certain countries either by patents or by copyrighted interfaces, the  
 ++original copyright holder who places the Program under this License  
 ++may add an explicit geographical distribution limitation excluding  
 ++those countries, so that distribution is permitted only in or among  
 ++countries not thus excluded.  In such case, this License incorporates  
 ++the limitation as if written in the body of this License.  
 ++  
 ++  9. The Free Software Foundation may publish revised and/or new versions  
 ++of the General Public License from time to time.  Such new versions will  
 ++be similar in spirit to the present version, but may differ in detail to  
 ++address new problems or concerns.  
 ++  
 ++Each version is given a distinguishing version number.  If the Program  
 ++specifies a version number of this License which applies to it and "any  
 ++later version", you have the option of following the terms and conditions  
 ++either of that version or of any later version published by the Free  
 ++Software Foundation.  If the Program does not specify a version number of  
 ++this License, you may choose any version ever published by the Free Software  
 ++Foundation.  
 ++  
 ++  10. If you wish to incorporate parts of the Program into other free  
 ++programs whose distribution conditions are different, write to the author  
 ++to ask for permission.  For software which is copyrighted by the Free  
 ++Software Foundation, write to the Free Software Foundation; we sometimes  
 ++make exceptions for this.  Our decision will be guided by the two goals  
 ++of preserving the free status of all derivatives of our free software and  
 ++of promoting the sharing and reuse of software generally.  
 ++  
 ++                          NO WARRANTY  
 ++  
 ++  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY  
 ++FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN  
 ++OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES  
 ++PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED  
 ++OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF  
 ++MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS  
 ++TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE  
 ++PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,  
 ++REPAIR OR CORRECTION.  
 ++  
 ++  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING  
 ++WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR  
 ++REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,  
 ++INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING  
 ++OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED  
 ++TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY  
 ++YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER  
 ++PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE  
 ++POSSIBILITY OF SUCH DAMAGES.  
 ++  
 ++                   END OF TERMS AND CONDITIONS  
 ++  
 ++          How to Apply These Terms to Your New Programs  
 ++  
 ++  If you develop a new program, and you want it to be of the greatest  
 ++possible use to the public, the best way to achieve this is to make it  
 ++free software which everyone can redistribute and change under these terms.  
 ++  
 ++  To do so, attach the following notices to the program.  It is safest  
 ++to attach them to the start of each source file to most effectively  
 ++convey the exclusion of warranty; and each file should have at least  
 ++the "copyright" line and a pointer to where the full notice is found.  
 ++  
 ++    <one line to give the program's name and a brief idea of what it does.>  
 ++    Copyright (C) 19yy  <name of author>  
 ++  
 ++    This program is free software; you can redistribute it and/or modify  
 ++    it under the terms of the GNU General Public License as published by  
 ++    the Free Software Foundation; either version 2 of the License, or  
 ++    (at your option) any later version.  
 ++  
 ++    This program is distributed in the hope that it will be useful,  
 ++    but WITHOUT ANY WARRANTY; without even the implied warranty of  
 ++    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
 ++    GNU General Public License for more details.  
 ++  
 ++    You should have received a copy of the GNU General Public License  
 ++    along with this program; if not, write to the Free Software  
 ++    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 ++  
 ++  
 ++Also add information on how to contact you by electronic and paper mail.  
 ++  
 ++If the program is interactive, make it output a short notice like this  
 ++when it starts in an interactive mode:  
 ++  
 ++    Gnomovision version 69, Copyright (C) 19yy name of author  
 ++    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.  
 ++    This is free software, and you are welcome to redistribute it  
 ++    under certain conditions; type `show c' for details.  
 ++  
 ++The hypothetical commands `show w' and `show c' should show the appropriate  
 ++parts of the General Public License.  Of course, the commands you use may  
 ++be called something other than `show w' and `show c'; they could even be  
 ++mouse-clicks or menu items--whatever suits your program.  
 ++  
 ++You should also get your employer (if you work as a programmer) or your  
 ++school, if any, to sign a "copyright disclaimer" for the program, if  
 ++necessary.  Here is a sample; alter the names:  
 ++  
 ++  Yoyodyne, Inc., hereby disclaims all copyright interest in the program  
 ++  `Gnomovision' (which makes passes at compilers) written by James Hacker.  
 ++  
 ++  <signature of Ty Coon>, 1 April 1989  
 ++  Ty Coon, President of Vice  
 ++  
 ++This General Public License does not permit incorporating your program into  
 ++proprietary programs.  If your program is a subroutine library, you may  
 ++consider it more useful to permit linking proprietary applications with the  
 ++library.  If this is what you want to do, use the GNU Library General  
 ++Public License instead of this License.  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed