diff --git a/towncrier/newsfragments/1298.feature b/towncrier/newsfragments/1298.feature new file mode 100644 index 00000000..48d66d36 --- /dev/null +++ b/towncrier/newsfragments/1298.feature @@ -0,0 +1 @@ +Added CardDAV-Plugin for webmail roundcube. \ No newline at end of file diff --git a/webmails/roundcube/Dockerfile b/webmails/roundcube/Dockerfile index 7f308264..b9edd551 100644 --- a/webmails/roundcube/Dockerfile +++ b/webmails/roundcube/Dockerfile @@ -18,6 +18,8 @@ RUN pip3 install socrate ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1.4.3/roundcubemail-1.4.3-complete.tar.gz +ENV CARDDAV_URL https://github.com/blind-coder/rcmcarddav/releases/download/v3.0.3/carddav-3.0.3.tar.bz2 + RUN apt-get update && apt-get install -y \ zlib1g-dev libzip4 libzip-dev libpq-dev \ python3-jinja2 \ @@ -26,9 +28,13 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/www/html/ \ && cd /var/www \ && curl -L -O ${ROUNDCUBE_URL} \ + && curl -L -O ${CARDDAV_URL} \ && tar -xf *.tar.gz \ + && tar -xf *.tar.bz2 \ && rm -f *.tar.gz \ + && rm -f *.tar.bz2 \ && mv roundcubemail-* html \ + && mv carddav html/plugins/ \ && cd html \ && rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer \ && sed -i 's,mod_php5.c,mod_php7.c,g' .htaccess \ diff --git a/webmails/roundcube/config.inc.php b/webmails/roundcube/config.inc.php index da27504c..eb40047a 100644 --- a/webmails/roundcube/config.inc.php +++ b/webmails/roundcube/config.inc.php @@ -16,7 +16,8 @@ $config['plugins'] = array( 'zipdownload', 'markasjunk', 'managesieve', - 'enigma' + 'enigma', + 'carddav' ); $front = getenv('FRONT_ADDRESS') ? getenv('FRONT_ADDRESS') : 'front';