/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx-14-go15.patch
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx-14-go15.patch

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

Revision 1.5 by jpp, Thu Dec 15 07:51:28 2022 UTC Revision 1.7 by jpp, Wed Jan 4 05:25:17 2023 UTC
# Line 59  diff -Nur --no-dereference smeserver-fre Line 59  diff -Nur --no-dereference smeserver-fre
59   event_link("systemd-reload", $event, "89");   event_link("systemd-reload", $event, "89");
60  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-amportal.conf smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-amportal.conf  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-amportal.conf smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-amportal.conf
61  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-amportal.conf      2022-03-27 23:45:44.000000000 -0400  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-amportal.conf      2022-03-27 23:45:44.000000000 -0400
62  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-amportal.conf  2022-12-15 02:50:16.040000000 -0500  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-amportal.conf  2022-12-15 03:13:57.868000000 -0500
63  @@ -1,5 +1,20 @@  @@ -1,5 +1,20 @@
64   #!/bin/bash   #!/bin/bash
65    
# Line 92  diff -Nur --no-dereference smeserver-fre Line 92  diff -Nur --no-dereference smeserver-fre
92  +/sbin/e-smith/fwconsole r  +/sbin/e-smith/fwconsole r
93  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall
94  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall       2022-12-14 23:37:45.781000000 -0500  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall       2022-12-14 23:37:45.781000000 -0500
95  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall   2022-12-15 02:50:15.841000000 -0500  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall   2022-12-15 03:13:57.660000000 -0500
96  @@ -53,19 +53,32 @@  @@ -53,19 +53,32 @@
97   # Upgrades have to be done through freePBX and the online repository   # Upgrades have to be done through freePBX and the online repository
98   if [ ! -d /opt/freepbx/admin ]; then   if [ ! -d /opt/freepbx/admin ]; then
# Line 147  diff -Nur --no-dereference smeserver-fre Line 147  diff -Nur --no-dereference smeserver-fre
147   fi   fi
148  -ln -sf $php /usr/sbin/php  -ln -sf $php /usr/sbin/php
149  -  -
150  +forcephp=$(/sbin/e-smith/db configuration getprop freepbx PHPVersion || echo $php )  +forcephp=$(/sbin/e-smith/db configuration getprop freepbx PHPVersion  2>/dev/null || echo $php )
151  +php=$forcephp  +php=$forcephp
152  +ln -sf /usr/bin/php$php /usr/sbin/php  +ln -sf /usr/bin/php$php /usr/sbin/php
153  +ln -sf /usr/bin/php$php /usr/local/sbin/php  +ln -sf /usr/bin/php$php /usr/local/sbin/php
# Line 167  diff -Nur --no-dereference smeserver-fre Line 167  diff -Nur --no-dereference smeserver-fre
167   exit 0   exit 0
168  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall-backup smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall-backup  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall-backup smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall-backup
169  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall-backup        2022-12-14 23:37:45.782000000 -0500  --- smeserver-freepbx-14.old/root/etc/e-smith/events/actions/freepbx-checkinstall-backup        2022-12-14 23:37:45.782000000 -0500
170  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall-backup    2022-12-15 02:28:47.994000000 -0500  +++ smeserver-freepbx-14/root/etc/e-smith/events/actions/freepbx-checkinstall-backup    2022-12-15 03:13:58.104000000 -0500
171  @@ -56,6 +56,16 @@  @@ -56,6 +56,16 @@
172     if [ -z $backupid ] ; then     if [ -z $backupid ] ; then
173       backupid=$(/usr/bin/uuidgen)       backupid=$(/usr/bin/uuidgen)
# Line 196  diff -Nur --no-dereference smeserver-fre Line 196  diff -Nur --no-dereference smeserver-fre
196     mysql -e "use $DBNAME;UPDATE backup_server_details set value = '/home/e-smith/files/freepbx' WHERE server_id = 1;"     mysql -e "use $DBNAME;UPDATE backup_server_details set value = '/home/e-smith/files/freepbx' WHERE server_id = 1;"
197  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root smeserver-freepbx-14/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root smeserver-freepbx-14/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root
198  --- smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root  2022-12-14 23:37:45.768000000 -0500  --- smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root  2022-12-14 23:37:45.768000000 -0500
199  +++ smeserver-freepbx-14/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root      2022-12-15 02:45:28.605000000 -0500  +++ smeserver-freepbx-14/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX20Root      2022-12-15 03:14:11.029000000 -0500
200  @@ -4,7 +4,7 @@  @@ -4,7 +4,7 @@
201   {   {
202     my $key                 = "freepbx";     my $key                 = "freepbx";
# Line 229  diff -Nur --no-dereference smeserver-fre Line 229  diff -Nur --no-dereference smeserver-fre
229  +  +
230  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx smeserver-freepbx-14/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx  diff -Nur --no-dereference smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx smeserver-freepbx-14/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx
231  --- smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx        2022-03-27 23:45:44.000000000 -0400  --- smeserver-freepbx-14.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx        2022-03-27 23:45:44.000000000 -0400
232  +++ smeserver-freepbx-14/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx    2022-12-15 02:37:25.534000000 -0500  +++ smeserver-freepbx-14/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/16freepbx    2022-12-15 03:14:15.561000000 -0500
233  @@ -1,6 +1,7 @@  @@ -1,6 +1,7 @@
234   {   {
235    
# Line 241  diff -Nur --no-dereference smeserver-fre Line 241  diff -Nur --no-dereference smeserver-fre
241       $max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);       $max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);
242  diff -Nur --no-dereference smeserver-freepbx-14.old/root/sbin/e-smith/fwconsole smeserver-freepbx-14/root/sbin/e-smith/fwconsole  diff -Nur --no-dereference smeserver-freepbx-14.old/root/sbin/e-smith/fwconsole smeserver-freepbx-14/root/sbin/e-smith/fwconsole
243  --- smeserver-freepbx-14.old/root/sbin/e-smith/fwconsole        2022-12-14 23:37:45.782000000 -0500  --- smeserver-freepbx-14.old/root/sbin/e-smith/fwconsole        2022-12-14 23:37:45.782000000 -0500
244  +++ smeserver-freepbx-14/root/sbin/e-smith/fwconsole    2022-12-15 02:50:09.489000000 -0500  +++ smeserver-freepbx-14/root/sbin/e-smith/fwconsole    2022-12-15 03:14:02.205000000 -0500
245  @@ -1,12 +1,14 @@  @@ -1,12 +1,14 @@
246   #!/bin/bash   #!/bin/bash
247   version=$(/usr/bin/xmllint --xpath 'string(/module/version)' /opt/freepbx/admin/modules/core/module.xml|cut -d. -f1)   version=$(/usr/bin/xmllint --xpath 'string(/module/version)' /opt/freepbx/admin/modules/core/module.xml|cut -d. -f1)


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