+roundcube (0.5.1-2) unstable; urgency=low
+
+ * Add plugins. Closes: #550454.
+
+ -- Vincent Bernat <bernat@debian.org> Sun, 13 Feb 2011 15:25:45 +0100
+
roundcube (0.5.1-1) unstable; urgency=low
* New upstream version. Some bugs are corrected in this release or in a
libmagic1,
roundcube-sqlite (= ${source:Version}) | roundcube-mysql (= ${source:Version}) | roundcube-pgsql (= ${source:Version}),
${misc:Depends}
-Suggests: php-auth-sasl (>= 1.0.3)
+Suggests: php-auth-sasl (>= 1.0.3), roundcube-plugins
Replaces: roundcube
Breaks: roundcube (<< 0.1~rc2-2)
Description: skinnable AJAX based webmail solution for IMAP servers
This package provides sqlite dependencies for RoundCube Webmail, a
skinnable AJAX based webmail solution for IMAP servers. Install this
one if you want to use a sqlite database with RoundCube.
+
+Package: roundcube-plugins
+Architecture: all
+Depends: roundcube-core (= ${source:Version}), ${misc:Depends}
+Description: skinnable AJAX based webmail solution for IMAP servers - plugins
+ RoundCube Webmail is a browser-based multilingual IMAP client with an
+ application-like user interface. It provides full functionality
+ expected from an e-mail client, including MIME support, address book,
+ folder manipulation and message filters.
+ .
+ The user interface is fully skinnable using XHTML and CSS 2.
+ .
+ This package provides several plugins for Roundcube. They should be
+ enabled in the configuration of Roundcube.
--- /dev/null
+This package ships several plugins. To use them, you need to enable
+them by adding them to $rcmail_config['plugins'] array in your
+`/etc/roundcube/main.inc.php' file.
+
+Some plugins need to be configured directly in
+`/etc/roundcube/main.inc.php' while some others have specific
+configuration files. For the later, look at
+`/etc/roundcube/plugins'. You will find empty files that you can
+modify to configure the corresponding plugin.
+
+ -- Vincent Bernat <bernat@debian.org>, Sun, 13 Feb 2011 15:50:48 +0100
--- /dev/null
+etc/roundcube/plugins
--- /dev/null
+plugins/additional_message_headers/ usr/share/roundcube/plugins
+plugins/archive/ usr/share/roundcube/plugins
+plugins/autologon/ usr/share/roundcube/plugins
+plugins/database_attachments/ usr/share/roundcube/plugins
+plugins/debug_logger/ usr/share/roundcube/plugins
+plugins/emoticons/ usr/share/roundcube/plugins
+plugins/help/ usr/share/roundcube/plugins
+plugins/http_authentication/ usr/share/roundcube/plugins
+plugins/managesieve/ usr/share/roundcube/plugins
+plugins/markasjunk/ usr/share/roundcube/plugins
+plugins/new_user_dialog/ usr/share/roundcube/plugins
+plugins/new_user_identity/ usr/share/roundcube/plugins
+plugins/password/ usr/share/roundcube/plugins
+plugins/squirrelmail_usercopy/ usr/share/roundcube/plugins
+plugins/subscriptions_option/ usr/share/roundcube/plugins
+plugins/userinfo/ usr/share/roundcube/plugins
+plugins/vcard_attachments/ usr/share/roundcube/plugins
+plugins/virtuser_file/ usr/share/roundcube/plugins
+plugins/virtuser_query/ usr/share/roundcube/plugins
rm $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/js/jquery-1.4.min.js
dh_link -proundcube-core usr/share/javascript/jquery/jquery.min.js usr/share/roundcube/program/js/jquery-1.4.min.js
+binary-install/roundcube-plugins::
+ # Plugins are in usr/share/roundcube/plugins, for each plugin
+ # if there is config.inc.php.dist, we symlink a config.inc.php
+ # in /etc/roundcube/plugins with some dummy content.
+ for plugin in $(CURDIR)/debian/roundcube-plugins/usr/share/roundcube/plugins/*; do \
+ dh_link -proundcube-plugins usr/share/roundcube/plugins/$${plugin##*/} \
+ var/lib/roundcube/plugins/$${plugin##*/} ; \
+ if [ ! -f $${plugin}/config.inc.php.dist ]; then continue; fi ; \
+ dh_installdirs -proundcube-plugins etc/roundcube/plugins/$${plugin##*/} ; \
+ (echo "<?php" ; \
+ echo "// Empty configuration for $${plugin##*/}" ; \
+ echo "// See /usr/share/roundcube/plugins/$${plugin##*/}/config.inc.php.dist for instructions") > \
+ $(CURDIR)/debian/roundcube-plugins/etc/roundcube/plugins/$${plugin##*/}/config.inc.php ; \
+ dh_link -proundcube-plugins etc/roundcube/plugins/$${plugin##*/}/config.inc.php \
+ usr/share/roundcube/plugins/$${plugin##*/}/config.inc.php ; \
+ done
+
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/% :
install -d $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)
install -m 644 $(CURDIR)/debian/bug.control $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/control