pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/roundcube mail/roundcube: update to 1.4.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/03e09301cbfd
branches: trunk
changeset: 408968:03e09301cbfd
user: taca <taca%pkgsrc.org@localhost>
date: Tue Jan 14 14:30:00 2020 +0000
description:
mail/roundcube: update to 1.4.2
Update roundcube ot 1.4.2.
pkgsrc change:
* Use "complete" distfile and avoid downloading each JavaScript libraries.
* Use common patches/distinfo directory.
* Use REPLACE_PHP.
Here is release 1.4.0 announce (2019/11/09):
It's a big honor for me to announce the final release of the long awaited
major version 1.4 of Roundcube webmail.
After more than two years of hard work by Alec and other volunteer
contributors, Roundcube finally gets the responsive skin with full mobile
device support - the Elastic.
In addition to the new UI we introduce these new features:
* Email Resent (Bounce) feature
* Improved [Mailvelope](https://www.mailvelope.com) integration
* Support for Redis and Memcached cache
* Support for SMTPUTF8 and GSSAPI
Plus numerous improvements and bug fixes collected from your precious
feedback as well as updates to recent versions of 3rd party libraries like
jQuery and TinyMCE. See the full changelog in the release notes on the
Github download page [1].
The new Elastic theme, which is the new default skin, is built with LESS
and of course the sources are included. They allow a certain degree of
customization by adjusting some colors and variables using the
`_styles.less` and `_variables.less` files. Please consider customizing
your Roundcube installation in order to make phishing [2] harder. You'll
find guidance in the README.md file inside the skin folder.
This release is considered stable and we encourage you to update your
productive installations after carefully testing the upgrade scenario and
preparing your users to the significant changes in their webmail UI.
Download it from https://roundcube.net/download.
With the release of Roundcube 1.4.0, the previous stable release branches
1.3.x and 1.2.x will change into LTS low maintenance mode which means they
will only receive important security updates but no longer any regular
improvement updates. The 1.1.x series is no longer supported and maintained.
RELEASE 1.4.1 (2019/11/22)
-------------
- Elastic: Change HTML editor widget to improve form flow (#6992)
- Elastic: Fix position of mobile floating action button (#7038)
- Managesieve: Fix locked UI after opening filter frame (#7007)
- Fix PHP warning: "array_merge(): Expected parameter 2 to be an array, null given in sendmail.inc (#7003)
- Fix bug where cache keys could exceed length limit specified in db schema (#7004)
- Fix invalid Signature button state after escaping Mailvelope mode (#7015)
- Fix so 401 error is returned only on failed logon requests (#7010)
- Fix db_prefix handling in queries with `TRUNCATE TABLE <name>` and `UNIQUE <name>` (#7013)
- Fix so update.sh script warns about changed defaults (#7011)
- Fix tables listing routine when DSN contained a database with unsupported suffix (#7034)
- Fix so Elastic is also a default in jqueryui plugin (#7039)
- Fix bug where the Installer would not warn about required schema upgrade (#7042)
RELEASE 1.4.2 (2020/01/01)
-------------
- Plugin API: Make actionbefore, before<action>, actionafter and after<action> events working with plugin actions (#7106)
- Managesieve: Replace "Filter disabled" with "Filter enabled" (#7028)
- Managesieve: Fix so modifier type select wasn't hidden after hiding modifier select on header change
- Managesieve: Fix filter selection after removing a first filter (#7079)
- Markasjunk: Fix marking more than one message as spam/ham with email_learn driver (#7121)
- Installer: Fix DB Write test on SQLite database ("database is locked" error) (#7064)
- Installer: Fix so SQLite DSN with a relative path to the database file works in Installer
- Elastic: Fix contrast of warning toasts (#7058)
- Elastic: Simple search in pretty selects (#7072)
- Elastic: Fix hidden list widget on mobile/tablet when selecting folder while search menu is open (#7120)
- Fix so type attribute on script tags is not used on HTML5 pages (#6975)
- Fix unread count after purge on a folder that is not currently selected (#7051)
- Fix bug where Enter key didn't work on messages list in "List" layout (#7052)
- Fix bug where deleting a saved search in addressbook caused display issue on sources/groups list (#7061)
- Fix bug where a new saved search added after removing all searches wasn't added to the list (#7061)
- Fix bug where a new contact group added after removing all groups from addressbook wasn't added to the list
- Fix bug where Ctype extension wasn't required in Installer and INSTALL file (#7049)
- Fix so install-jsdeps.sh removes Bootstrap's sourceMappingURL (#7035)
- Fix so use of Ctrl+A does not scroll the list (#7020)
- Fix/remove useless keyup event handler on username input in logon form (#6970)
- Fix bug where cancelling switching from HTML to plain text didn't set the flag properly (#7077)
- Fix bug where HTML reply could add an empty line with extra indentation above the original message (#7088)
- Fix matching multiple X-Forwarded-For addresses with 'proxy_whitelist' (#7107)
- Fix so displayed maximum attachment size depends also on 'max_message_size' (#7105)
- Fix bug where 'skins_allowed' option didn't enforce user skin preference (#7080)
- Fix so contact's organization field accepts up to 128 characters (it was 50)
- Fix bug where listing tables in PostgreSQL database with db_prefix didn't work (#7093)
- Fix bug where 'text' attribute on body tag was ignored when displaying HTML message (#7109)
- Fix bug where next message wasn't displayed after delete in List mode (#7096)
- Fix so number of contacts in a group is not limited to 200 when redirecting to mail composer from Contacts (#6972)
- Fix malformed characters in HTML message with charset meta tag not in head (#7116)
diffstat:
mail/roundcube/Makefile | 82 +-
mail/roundcube/Makefile.common | 15 +-
mail/roundcube/PLIST | 477 +++++++++----
mail/roundcube/distinfo | 38 +-
mail/roundcube/patches/patch-af | 10 +-
mail/roundcube/patches/patch-config_config.inc.php.sample | 8 +-
mail/roundcube/plugins.mk | 6 +-
7 files changed, 363 insertions(+), 273 deletions(-)
diffs (truncated from 1455 to 300 lines):
diff -r bba1b3d0aae8 -r 03e09301cbfd mail/roundcube/Makefile
--- a/mail/roundcube/Makefile Tue Jan 14 14:09:33 2020 +0000
+++ b/mail/roundcube/Makefile Tue Jan 14 14:30:00 2020 +0000
@@ -1,22 +1,12 @@
-# $NetBSD: Makefile,v 1.91 2019/11/19 05:26:21 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2020/01/14 14:30:00 taca Exp $
DISTNAME= roundcubemail-${RC_VERS}
-PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/mail-/-/}
-PKGREVISION= 1
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/mail-/-/:S/-complete//}
MAINTAINER= taca%NetBSD.org@localhost
COMMENT= Browser-based multilingual IMAP client
LICENSE= gnu-gpl-v3 AND mit AND gnu-lgpl-v2.1
-# JavaScript dependencies from bin/install-jsdeps.sh
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-DISTFILES+= jquery-3.2.1.min.js
-DISTFILES+= jstz.min.js
-DISTFILES+= publickey.js
-DISTFILES+= tinymce_4.5.8.zip
-DISTFILES+= tinymce_languages.zip
-DISTFILES+= codemirror-5.21.0.zip
-
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=${PHP_BASE_VERS}:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-exif>=${PHP_BASE_VERS}:../../graphics/php-exif
DEPENDS+= ${PHP_PKG_PREFIX}-intl>=${PHP_BASE_VERS}:../../textproc/php-intl
@@ -30,22 +20,10 @@
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Auth_SASL>=1.0.6:../../mail/pear-Auth_SASL
RC_SUBDIRS= SQL bin installer plugins program skins
-TMCE_SUBDIRS= langs plugins skins themes
-CM_SUBDIRS= lib mode/sieve addon/selection
-CONF_PLUGINS= acl additional_message_headers database_attachments \
- emoticons help http_authentication jqueryui \
- krb_authentication managesieve new_user_identity \
- newmail_notifier redundant_attachments squirrelmail_usercopy
.for d in ${RC_SUBDIRS}
INSTALLATION_DIRS+= ${RCDIR}/${d}
.endfor
-.for d in ${TMCE_SUBDIRS}
-INSTALLATION_DIRS+= ${RCDIR}/program/js/tinymce/${d}
-.endfor
-.for d in ${CM_SUBDIRS}
-INSTALLATION_DIRS+= ${RCDIR}/plugins/managesieve/codemirror/${d}
-.endfor
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
@@ -80,12 +58,18 @@
SUBST_VARS.files+= PKG_SYSCONFBASE
SUBST_VARS.files+= PKG_SYSCONFDIR
-REPLACE_INTERPRETER+= php
-REPLACE.php.old= /usr/bin/env php
-REPLACE.php.new= ${PREFIX}/bin/php
-REPLACE_FILES.php= bin/*.sh
+CONF_PLUGINS= acl additional_message_headers database_attachments \
+ emoticons help http_authentication jqueryui \
+ krb_authentication managesieve markasjunk \
+ new_user_identity newmail_notifier \
+ redundant_attachments squirrelmail_usercopy
+RC_DOCS= CHANGELOG INSTALL LICENSE README.md UPGRADING
+REPLACE_PHP= cleandb.sh decrypt.sh deluser.sh gc.sh \
+ indexcontacts.sh initdb.sh installto.sh \
+ moduserprefs.sh msgexport.sh msgimport.sh \
+ update.sh updatecss.sh updatedb.sh
-post-extract:
+pre-configure:
${CP} ${FILESDIR}/apache.conf ${WRKSRC}/apache.conf
${CP} ${FILESDIR}/lighttpd.conf ${WRKSRC}/lighttpd.conf
${CP} ${FILESDIR}/nginx.conf ${WRKSRC}/nginx.conf
@@ -94,10 +78,9 @@
cd ${WRKSRC}/plugins && ${RM} -fr enigma password zipdownload
do-install:
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DESTDIR}${PREFIX}/${DOCDIR}
+.for i in ${RC_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
${INSTALL_DATA} ${WRKSRC}/.htaccess ${DESTDIR}${PREFIX}/${RCDIR}
${INSTALL_DATA} ${WRKSRC}/index.php ${DESTDIR}${PREFIX}/${RCDIR}
.for i in ${RC_SUBDIRS}
@@ -121,39 +104,6 @@
${DESTDIR}${PREFIX}/${EGDIR}/config.inc.php
${INSTALL_DATA} ${WRKSRC}/config/defaults.inc.php \
${DESTDIR}${PREFIX}/${EGDIR}/defaults.inc.php
- ${INSTALL_DATA} ${WRKDIR}/jquery-3.2.1.min.js \
- ${DESTDIR}${PREFIX}/${RCDIR}/program/js/jquery.min.js
- ${INSTALL_DATA} ${WRKDIR}/jstz.min.js \
- ${DESTDIR}${PREFIX}/${RCDIR}/program/js/jstz.min.js
- ${INSTALL_DATA} ${WRKDIR}/publickey.js \
- ${DESTDIR}${PREFIX}/${RCDIR}/program/js/publickey.js
-.for i in ${TMCE_SUBDIRS}
- cd ${WRKDIR}/tinymce/js/tinymce/${i} && ${FIND} . -type f -print | \
- pax -rw ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/${i}
- ${FIND} ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/${i} -type f | \
- ${XARGS} ${CHMOD} ${SHAREMODE}
- ${FIND} ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/${i} -type d | \
- ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/${i}
-.endfor
- ${INSTALL_DATA} ${WRKDIR}/tinymce/js/tinymce/tinymce.min.js \
- ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/tinymce.min.js
- cd ${WRKDIR}/langs && ${FIND} . -type f -print | \
- pax -rw ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/langs
- ${FIND} ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/langs -type f | \
- ${XARGS} ${CHMOD} ${SHAREMODE}
- ${FIND} ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/langs -type d | \
- ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/${RCDIR}/program/js/tinymce/langs
-.for i in ${CM_SUBDIRS}
- cd ${WRKDIR}/codemirror-5.21.0/${i} && ${FIND} . -type f -print | \
- pax -rw ${DESTDIR}${PREFIX}/${RCDIR}/plugins/managesieve/codemirror/${i}
- ${FIND} ${DESTDIR}${PREFIX}/${RCDIR}/plugins/managesieve/codemirror/${i} -type f | \
- ${XARGS} ${CHMOD} ${SHAREMODE}
- ${FIND} ${DESTDIR}${PREFIX}/${RCDIR}/plugins/managesieve/codemirror/${i} -type d | \
- ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/${RCDIR}/plugins/managesieve/codemirror/${i}
-.endfor
.include "Makefile.common"
.include "../../lang/php/phpversion.mk"
diff -r bba1b3d0aae8 -r 03e09301cbfd mail/roundcube/Makefile.common
--- a/mail/roundcube/Makefile.common Tue Jan 14 14:09:33 2020 +0000
+++ b/mail/roundcube/Makefile.common Tue Jan 14 14:30:00 2020 +0000
@@ -1,22 +1,25 @@
-# $NetBSD: Makefile.common,v 1.15 2019/11/09 11:30:06 nia Exp $
+# $NetBSD: Makefile.common,v 1.16 2020/01/14 14:30:00 taca Exp $
#
# used by mail/roundcube/Makefile
# used by mail/roundcube/plugins.mk
-DISTNAME= roundcubemail-${RC_VERS}
+DISTNAME= roundcubemail-${RC_VERS}-complete
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=roundcube/}
GITHUB_PROJECT= roundcubemail
+GITHUB_RELEASE= ${RC_VERS}
HOMEPAGE= https://roundcube.net/
-DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
-DIST_SUBDIR= roundcube
-RC_VERS= 1.3.10
+RC_VERS= 1.4.2
USE_LANGUAGES= # none
USE_TOOLS+= pax
-EXTRACT_USING= gtar
+EXTRACT_USING= bsdtar
NO_BUILD= yes
+WRKNAME= ${DISTNAME:S/-complete//}
+WRKSRC= ${WRKDIR}/${WRKNAME}
+
+DISTINFO_FILE?= ${PKGDIR}/../../mail/roundcube/distinfo
PKG_SYSCONFSUBDIR?= roundcube
diff -r bba1b3d0aae8 -r 03e09301cbfd mail/roundcube/PLIST
--- a/mail/roundcube/PLIST Tue Jan 14 14:09:33 2020 +0000
+++ b/mail/roundcube/PLIST Tue Jan 14 14:30:00 2020 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.46 2019/11/19 05:26:21 wiz Exp $
+@comment $NetBSD: PLIST,v 1.47 2020/01/14 14:30:00 taca Exp $
+share/doc/roundcube/CHANGELOG
share/doc/roundcube/INSTALL
share/doc/roundcube/LICENSE
share/doc/roundcube/README.md
@@ -18,6 +19,7 @@
share/examples/roundcube/plugins/jqueryui/config.inc.php
share/examples/roundcube/plugins/krb_authentication/config.inc.php
share/examples/roundcube/plugins/managesieve/config.inc.php
+share/examples/roundcube/plugins/markasjunk/config.inc.php
share/examples/roundcube/plugins/new_user_identity/config.inc.php
share/examples/roundcube/plugins/newmail_notifier/config.inc.php
share/examples/roundcube/plugins/redundant_attachments/config.inc.php
@@ -42,6 +44,9 @@
share/roundcube/SQL/mssql/2016081200.sql
share/roundcube/SQL/mssql/2016100900.sql
share/roundcube/SQL/mssql/2016112200.sql
+share/roundcube/SQL/mssql/2018021600.sql
+share/roundcube/SQL/mssql/2018122300.sql
+share/roundcube/SQL/mssql/2019092900.sql
share/roundcube/SQL/mysql.initial.sql
share/roundcube/SQL/mysql/2008030300.sql
share/roundcube/SQL/mysql/2008040500.sql
@@ -66,12 +71,18 @@
share/roundcube/SQL/mysql/2016081200.sql
share/roundcube/SQL/mysql/2016100900.sql
share/roundcube/SQL/mysql/2016112200.sql
+share/roundcube/SQL/mysql/2018021600.sql
+share/roundcube/SQL/mysql/2018122300.sql
+share/roundcube/SQL/mysql/2019092900.sql
share/roundcube/SQL/oracle.initial.sql
share/roundcube/SQL/oracle/2015030800.sql
share/roundcube/SQL/oracle/2015111100.sql
share/roundcube/SQL/oracle/2016081200.sql
share/roundcube/SQL/oracle/2016100900.sql
share/roundcube/SQL/oracle/2016112200.sql
+share/roundcube/SQL/oracle/2018021600.sql
+share/roundcube/SQL/oracle/2018122300.sql
+share/roundcube/SQL/oracle/2019092900.sql
share/roundcube/SQL/postgres.initial.sql
share/roundcube/SQL/postgres/2008030300.sql
share/roundcube/SQL/postgres/2008060900.sql
@@ -95,6 +106,9 @@
share/roundcube/SQL/postgres/2016081200.sql
share/roundcube/SQL/postgres/2016100900.sql
share/roundcube/SQL/postgres/2016112200.sql
+share/roundcube/SQL/postgres/2018021600.sql
+share/roundcube/SQL/postgres/2018122300.sql
+share/roundcube/SQL/postgres/2019092900.sql
share/roundcube/SQL/sqlite.initial.sql
share/roundcube/SQL/sqlite/2008030300.sql
share/roundcube/SQL/sqlite/2008060900.sql
@@ -119,25 +133,22 @@
share/roundcube/SQL/sqlite/2016081200.sql
share/roundcube/SQL/sqlite/2016100900.sql
share/roundcube/SQL/sqlite/2016112200.sql
+share/roundcube/SQL/sqlite/2018021600.sql
+share/roundcube/SQL/sqlite/2018122300.sql
+share/roundcube/SQL/sqlite/2019092900.sql
share/roundcube/bin/cleandb.sh
share/roundcube/bin/cssshrink.sh
share/roundcube/bin/decrypt.sh
share/roundcube/bin/deluser.sh
-share/roundcube/bin/dumpschema.sh
-share/roundcube/bin/exportgettext.sh
share/roundcube/bin/gc.sh
-share/roundcube/bin/importgettext.sh
share/roundcube/bin/indexcontacts.sh
share/roundcube/bin/initdb.sh
-share/roundcube/bin/install-jsdeps.sh
share/roundcube/bin/installto.sh
share/roundcube/bin/jsshrink.sh
share/roundcube/bin/makedoc.sh
share/roundcube/bin/moduserprefs.sh
share/roundcube/bin/msgexport.sh
share/roundcube/bin/msgimport.sh
-share/roundcube/bin/package2composer.sh
-share/roundcube/bin/transifexpull.sh
share/roundcube/bin/update.sh
share/roundcube/bin/updatecss.sh
share/roundcube/bin/updatedb.sh
@@ -155,6 +166,7 @@
share/roundcube/installer/styles.css
share/roundcube/installer/test.php
share/roundcube/plugins/acl/acl.js
+share/roundcube/plugins/acl/acl.min.js
share/roundcube/plugins/acl/acl.php
share/roundcube/plugins/acl/composer.json
share/roundcube/plugins/acl/localization/ar.inc
@@ -243,18 +255,20 @@
share/roundcube/plugins/acl/localization/zh_CN.inc
share/roundcube/plugins/acl/localization/zh_TW.inc
share/roundcube/plugins/acl/skins/classic/acl.css
+share/roundcube/plugins/acl/skins/classic/acl.min.css
share/roundcube/plugins/acl/skins/classic/images/enabled.png
share/roundcube/plugins/acl/skins/classic/images/partial.png
share/roundcube/plugins/acl/skins/classic/templates/table.html
+share/roundcube/plugins/acl/skins/elastic/templates/table.html
share/roundcube/plugins/acl/skins/larry/acl.css
+share/roundcube/plugins/acl/skins/larry/acl.min.css
share/roundcube/plugins/acl/skins/larry/images/enabled.png
share/roundcube/plugins/acl/skins/larry/images/partial.png
share/roundcube/plugins/acl/skins/larry/templates/table.html
-share/roundcube/plugins/acl/tests/Acl.php
share/roundcube/plugins/additional_message_headers/additional_message_headers.php
share/roundcube/plugins/additional_message_headers/composer.json
-share/roundcube/plugins/additional_message_headers/tests/AdditionalMessageHeaders.php
share/roundcube/plugins/archive/archive.js
+share/roundcube/plugins/archive/archive.min.js
share/roundcube/plugins/archive/archive.php
share/roundcube/plugins/archive/composer.json
share/roundcube/plugins/archive/localization/ar.inc
@@ -341,14 +355,15 @@
share/roundcube/plugins/archive/localization/zh_CN.inc
share/roundcube/plugins/archive/localization/zh_TW.inc
share/roundcube/plugins/archive/skins/classic/archive.css
+share/roundcube/plugins/archive/skins/classic/archive.min.css
share/roundcube/plugins/archive/skins/classic/archive_act.png
share/roundcube/plugins/archive/skins/classic/archive_pas.png
share/roundcube/plugins/archive/skins/classic/foldericon.png
-share/roundcube/plugins/archive/skins/larry/.gitignore
-share/roundcube/plugins/archive/tests/Archive.php
share/roundcube/plugins/attachment_reminder/attachment_reminder.js
+share/roundcube/plugins/attachment_reminder/attachment_reminder.min.js
share/roundcube/plugins/attachment_reminder/attachment_reminder.php
share/roundcube/plugins/attachment_reminder/composer.json
+share/roundcube/plugins/attachment_reminder/localization/ar.inc
share/roundcube/plugins/attachment_reminder/localization/ar_SA.inc
share/roundcube/plugins/attachment_reminder/localization/ast.inc
share/roundcube/plugins/attachment_reminder/localization/az_AZ.inc
@@ -419,30 +434,73 @@
Home |
Main Index |
Thread Index |
Old Index