Commit c655f7f3 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated roundcubemail to 1.4.11

parent 6bbc55a2
all: httpd-conf httpd-modules all: httpd-conf httpd-modules
tar xf roundcubemail-1.4.8-complete.tar.gz -C /srv/www --strip-components=1 tar xf roundcubemail-1.4.11-complete.tar.gz -C /srv/www --strip-components=1
rm /srv/www/index.html rm /srv/www/index.html
install -v -Dm644 config.inc.php /srv/www/config install -v -Dm644 config.inc.php /srv/www/config
rm /srv/www/config/config.inc.php.sample rm /srv/www/config/config.inc.php.sample
...@@ -9,7 +9,7 @@ all: httpd-conf httpd-modules ...@@ -9,7 +9,7 @@ all: httpd-conf httpd-modules
@echo "$$HTTPD_MODULES" > /etc/httpd/conf/roundcube.conf @echo "$$HTTPD_MODULES" > /etc/httpd/conf/roundcube.conf
sed -i 's/^\([[:blank:]]*AllowOverride[[:blank:]]\).*/\1All/g' /etc/httpd/conf/DocumentRoot.conf sed -i 's/^\([[:blank:]]*AllowOverride[[:blank:]]\).*/\1All/g' /etc/httpd/conf/DocumentRoot.conf
chown -v -R apache:apache /srv/www chown -v -R apache:apache /srv/www
patch -Np1 -d /srv/www < roundcubemail-1.4.8-chgsaslpasswd_fix.patch patch -Np1 -d /srv/www < roundcubemail-1.4.11-chgsaslpasswd_fix.patch
cd /srv/www/plugins/password/helpers && gcc -o chgsaslpasswd chgsaslpasswd.c cd /srv/www/plugins/password/helpers && gcc -o chgsaslpasswd chgsaslpasswd.c
chown root.apache /srv/www/plugins/password/helpers/chgsaslpasswd chown root.apache /srv/www/plugins/password/helpers/chgsaslpasswd
chmod 4550 /srv/www/plugins/password/helpers/chgsaslpasswd chmod 4550 /srv/www/plugins/password/helpers/chgsaslpasswd
......
diff -uNr roundcubemail-1.4.8/plugins/password/helpers/chgsaslpasswd.c roundcubemail-1.4.8-chgsaslpasswd_fix/plugins/password/helpers/chgsaslpasswd.c diff -uNr roundcubemail-1.4.11/plugins/password/helpers/chgsaslpasswd.c roundcubemail-1.4.11-chgsaslpasswd_fix/plugins/password/helpers/chgsaslpasswd.c
--- roundcubemail-1.4.8/plugins/password/helpers/chgsaslpasswd.c 2020-08-11 04:34:57.000000000 +0930 --- roundcubemail-1.4.11/plugins/password/helpers/chgsaslpasswd.c 2021-02-09 05:59:40.000000000 +1030
+++ roundcubemail-1.4.8-chgsaslpasswd_fix/plugins/password/helpers/chgsaslpasswd.c 2021-01-27 13:19:11.626311177 +1030 +++ roundcubemail-1.4.11-chgsaslpasswd_fix/plugins/password/helpers/chgsaslpasswd.c 2023-07-08 19:57:46.503569100 +0930
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment