debian/0000755000000000000000000000000011771230653007173 5ustar debian/uwsgi/0000755000000000000000000000000011765155006010332 5ustar debian/uwsgi/README0000644000000000000000000000057311765155006011217 0ustar CiderWebmail with uWSGI and Apache2 =================================== uWSGI started as a Python WSGI but nowadays supports Perl PSGI as well. Copy the files into /etc and invoke these commands as root: aptitude install uwsgi uwsgi-plugin-psgi libapache2-mod-uwsgi service uwsgi start ciderwebmail -- Jonas Smedegaard Sun, 10 Jun 2012 19:31:13 +0200 debian/uwsgi/etc/0000755000000000000000000000000011765151061011102 5ustar debian/uwsgi/etc/uwsgi/0000755000000000000000000000000011765151113012236 5ustar debian/uwsgi/etc/uwsgi/apps-available/0000755000000000000000000000000011765154173015130 5ustar debian/uwsgi/etc/uwsgi/apps-available/ciderwebmail.ini0000644000000000000000000000070411765154173020261 0ustar [uwsgi] plugins = 0:psgi # set when app uid is different from www-data #uid = ciderwebmail # set when web server needs write acces to files auto-created by app #umask = 007 #chdir = /home/www-mail/public_webdata check-static = /usr/share/ciderwebmail/root/static psgi = /etc/ciderwebmail/ciderwebmail.psgi # FIXME: also set ROOT env = CATALYST_CONFIG=/etc/ciderwebmail # save memory - more info at ksm = 1 debian/uwsgi/etc/apache2/0000755000000000000000000000000011765154370012413 5ustar debian/uwsgi/etc/apache2/conf.d/0000755000000000000000000000000011765154370013562 5ustar debian/uwsgi/etc/apache2/conf.d/ciderwebmail0000644000000000000000000000015211765154350016130 0ustar SetHandler uwsgi-handler uWSGISocket /run/uwsgi/app/webmail/socket debian/patches/0000755000000000000000000000000011771227674010633 5ustar debian/patches/2001_avoid_autoinstall.patch0000644000000000000000000000022311764400316016020 0ustar --- a/Makefile.PL +++ b/Makefile.PL @@ -78,5 +78,5 @@ #catalyst; install_script glob('script/*.pl'); -auto_install; +#auto_install; WriteAll; debian/patches/series0000644000000000000000000000003511771227674012046 0ustar 2001_avoid_autoinstall.patch debian/control0000644000000000000000000000556011771230774010610 0ustar Source: ciderwebmail Section: web Priority: optional Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Build-Depends: cdbs (>= 0.4.73~), perl, debhelper, dh-buildinfo, libparent-perl, libmoose-perl, libcatalyst-authentication-credential-http-perl, libyaml-perl, libyaml-libyaml-perl, libcatalyst-view-petal-perl, libpetal-utils-perl, libdatetime-perl, libdatetime-format-mail-perl, libmime-tools-perl, libtry-tiny-perl, libemail-simple-perl, libemail-sender-perl, libemail-valid-perl, libemail-address-perl, libregexp-common-email-address-perl, libregexp-common-perl, libtext-iconv-perl, libtext-autoformat-perl, libio-socket-ssl-perl, libclone-perl, libhtml-scrubber-perl, libhtml-tidy-perl, liburi-perl, liblocale-maketext-gettext-perl, liblist-moreutils-perl, libdata-ical-perl, libdatetime-format-iso8601-perl, libcrypt-util-perl, libcrypt-cbc-perl, libcrypt-rijndael-perl, libcrypt-random-source-perl, libmime-base64-urlsafe-perl, libdbd-sqlite3-perl, libmoosex-role-withoverloading-perl (>= 0.09), libcatalyst-perl (>= 5.80030), libcatalyst-modules-perl (>= 43), libparse-recdescent-perl (>= 1.967009), libmail-imapclient-perl (>= 3.31), libtest-xpath-perl, libmodule-install-perl Standards-Version: 3.9.3 Homepage: http://ciderwebmail.org/ Vcs-Git: git://git.debian.org/git/pkg-perl/packages/ciderwebmail Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/ciderwebmail.git Package: ciderwebmail Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: IMAP webmail service CiderWebmail is a modern, user friendly and maintenance free webmail application. It's targeted at mailserver administrators who need to provide web access for their user's mailboxes and individuals wanting to access their mailboxes via an always available web application. . It currently supports all the basic mail handling features one would expect from such an application: . * Listing your emails with selectable sort order and grouping. * Moving emails between folders and deleting using drag & drop. * Displaying text and HTML emails even if their code is completely broken (which happens quite often in reality) * Keyboard bindings for switching through emails, moving, deleting, replying and forwarding. * Reply to and forward existing emails or write new emails, add attachments and have a copy saved in your "Sent" folder. . As an application written deep in the 21st century, CiderWebmail supports only IMAP mail servers. . It is recommended to use CiderWebmail with the Dovecot IMAP server. CiderWebmail deliberately does little internal caching for security reasons, so if used with an IMAP server less powerfull than Dovecot you may benefit from connecting via imapproxy. debian/source/0000755000000000000000000000000011666647537010513 5ustar debian/source/format0000644000000000000000000000001411530323745011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000402611771230653011047 0ustar ciderwebmail (1.04-1) unstable; urgency=low * New upstream release. * Fix depend on libdbd-sqlite3-perl. * Set default config dir in PSGI file. * Pass app arguments in PSGI file. * Reorganize configfile to closer match upstream default file. * Fix add 'send' section to config file, and recommend MTA. * Relax to suggest (not (build-)depend on) libfcgi-perl and libfcgi-procmanager-perl: Used only is example script. * Relax to recommend (not (build-)depend on) libjs-mootools. * Fix Vcs-* URLs to use pkg-perl group (not collab-maint). * Suggest dovecot (with virtual imap-server as fallback) and imapproxy. * Add Dovecot recommendation to long description. * Drop patch 1001: Adopted upstream. -- Jonas Smedegaard Sat, 23 Jun 2012 05:02:02 +0200 ciderwebmail (1.04~20120610-2) unstable; urgency=low * Initial packaging release for unstable. * Fix adjust symlink to mootools. * Fix syntac of PSGI (Catalyst documentation is wrong). * Add README.Debian documenting ways to deploy. -- Jonas Smedegaard Sun, 10 Jun 2012 22:29:53 +0200 ciderwebmail (1.04~20120610-1) experimental; urgency=low * New snapshot of upstream VCS. + Move common code to CiderWebmail::Test and fix Test::XPath dependency. + Make sure the reply_to array actually contains addresses. + Remove user_settings.sql from the repo and auto create it. + Use ->charset instead of passing charset arguments around. + Fix Perl::Critic warnings. + Output better warnings when unable to convert a string to utf8. + Add user_settings.sql to .gitignore. * Fix adjust symlink to http-icons. * Install default config as example file. * Install update_schema script as example file. * Install configfiles and sample uWSGI/Apache2 integration files. -- Jonas Smedegaard Sun, 10 Jun 2012 20:11:58 +0200 ciderwebmail (1.04~20120607-1) experimental; urgency=low * Initial release. Closes: Bug#673342. -- Jonas Smedegaard Fri, 08 Jun 2012 22:28:26 +0200 debian/README.Debian0000644000000000000000000000145711765443200011240 0ustar Debian-specific CiderWebmail usage notes ======================================== CiderWebmail needs a place for user configuration. Something like this: mkdir /var/lib/ciderwebmail chown www-data: /var/lib/ciderwebmail Integrate with a PSGI frontend: CiderWebmail uses PSGI, but Debian packaging currently does not integrate with any specific PSGI implementation. The most minimal PSGI setup is to invoke the following, as the user given write access above: plackup /etc/ciderwebmail/ciderwebmail.psgi For production use there are many options either with a dedicated PSGI server like twiggy or starman, or using bindings to CGI, FCGI or uWSGI. Included as example files are snippets to integrate with Apache2 via uWSGI. -- Jonas Smedegaard Sun, 10 Jun 2012 22:28:54 +0200 debian/compat0000644000000000000000000000000211627556167010404 0ustar 7 debian/watch0000644000000000000000000000013011752042474010217 0ustar version=3 http://ciderwebmail.org/download/index.html .*/CiderWebmail-([\d].+)\.tar\.gz debian/copyright_hints0000644000000000000000000001466611771230266012350 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Changes MANIFEST Makefile.PL README TODO ciderwebmail.yml debian/README.Debian debian/compat debian/control debian/control.in debian/etc/ciderwebmail.conf debian/etc/ciderwebmail.psgi debian/gbp.conf debian/patches/2001_avoid_autoinstall.patch debian/patches/series debian/source/format debian/uwsgi/README debian/uwsgi/etc/apache2/conf.d/ciderwebmail debian/uwsgi/etc/uwsgi/apps-available/ciderwebmail.ini debian/watch lib/Catalyst/Authentication/Store/IMAP.pm lib/Catalyst/Authentication/Store/IMAP/User.pm lib/CiderWebmail.pm lib/CiderWebmail/Controller/Addressbook.pm lib/CiderWebmail/Controller/Mailbox.pm lib/CiderWebmail/Controller/Message.pm lib/CiderWebmail/Controller/Root.pm lib/CiderWebmail/DB.pm lib/CiderWebmail/DB/Result/Addressbook.pm lib/CiderWebmail/DB/Result/Settings.pm lib/CiderWebmail/Header.pm lib/CiderWebmail/Headercache.pm lib/CiderWebmail/Mailbox.pm lib/CiderWebmail/Message.pm lib/CiderWebmail/Message/Forwarded.pm lib/CiderWebmail/Model/DB.pm lib/CiderWebmail/Model/IMAPClient.pm lib/CiderWebmail/Part.pm lib/CiderWebmail/Part/Attachment.pm lib/CiderWebmail/Part/Dummy.pm lib/CiderWebmail/Part/ImageJpeg.pm lib/CiderWebmail/Part/MessageDeliveryStatus.pm lib/CiderWebmail/Part/MultipartAlternative.pm lib/CiderWebmail/Part/MultipartGeneric.pm lib/CiderWebmail/Part/MultipartMixed.pm lib/CiderWebmail/Part/MultipartRelated.pm lib/CiderWebmail/Part/MultipartReport.pm lib/CiderWebmail/Part/MultipartSigned.pm lib/CiderWebmail/Part/RFC822.pm lib/CiderWebmail/Part/Root.pm lib/CiderWebmail/Part/TextCalendar.pm lib/CiderWebmail/Part/TextHtml.pm lib/CiderWebmail/Part/TextPlain.pm lib/CiderWebmail/Test.pm lib/CiderWebmail/Util.pm lib/CiderWebmail/View/Petal.pm lib/HTML/Cleaner.pm root/favicon.ico root/locale/CiderWebmail.pot root/locale/de/LC_MESSAGES/CiderWebmail.mo root/locale/de/LC_MESSAGES/CiderWebmail.po root/locale/en/LC_MESSAGES/CiderWebmail.mo root/locale/en/LC_MESSAGES/CiderWebmail.po root/static/css/IE6.css root/static/css/addressbook.css root/static/css/base.css root/static/css/custom.css root/static/css/login.css root/static/css/mail/mailbox.css root/static/css/mail/message.css root/static/css/mail/new.css root/static/scripts/base.js root/static/scripts/mail/mailbox.js root/static/scripts/mail/message.js root/static/scripts/mootools-core.js root/templates/base/addressbook/edit.xml root/templates/base/addressbook/list.xml root/templates/base/ajax/layout.xml root/templates/base/compose.xml root/templates/base/create_mailbox.xml root/templates/base/error.xml root/templates/base/folder_tree.xml root/templates/base/layout.xml root/templates/base/login.xml root/templates/base/logout.xml root/templates/base/mailbox.xml root/templates/base/mailboxes.xml root/templates/base/message.xml root/templates/base/parts/Image.xml root/templates/base/parts/RFC822.xml root/templates/base/parts/Stub.xml root/templates/base/parts/TextCalendar.xml root/templates/base/parts/TextHtml.xml root/templates/base/parts/TextPlain.xml root/templates/de/addressbook/edit.xml root/templates/de/addressbook/list.xml root/templates/de/ajax/layout.xml root/templates/de/compose.xml root/templates/de/create_mailbox.xml root/templates/de/error.xml root/templates/de/folder_tree.xml root/templates/de/layout.xml root/templates/de/login.xml root/templates/de/logout.xml root/templates/de/mailbox.xml root/templates/de/mailboxes.xml root/templates/de/message.xml root/templates/de/parts/Image.xml root/templates/de/parts/MultipartMixed.xml root/templates/de/parts/RFC822.xml root/templates/de/parts/Stub.xml root/templates/de/parts/TextCalendar.xml root/templates/de/parts/TextHtml.xml root/templates/de/parts/TextPlain.xml root/templates/en/addressbook/edit.xml root/templates/en/addressbook/list.xml root/templates/en/ajax/layout.xml root/templates/en/compose.xml root/templates/en/create_mailbox.xml root/templates/en/error.xml root/templates/en/folder_tree.xml root/templates/en/layout.xml root/templates/en/login.xml root/templates/en/logout.xml root/templates/en/mailbox.xml root/templates/en/mailboxes.xml root/templates/en/message.xml root/templates/en/parts/Image.xml root/templates/en/parts/MultipartMixed.xml root/templates/en/parts/RFC822.xml root/templates/en/parts/Stub.xml root/templates/en/parts/TextCalendar.xml root/templates/en/parts/TextHtml.xml root/templates/en/parts/TextPlain.xml root/templates/template.pl root/var/README script/ciderwebmail_cgi.pl script/ciderwebmail_create.pl script/ciderwebmail_fastcgi.pl script/ciderwebmail_server.pl script/ciderwebmail_test.pl script/update_schema.sh t/01app.t t/02pod.t t/03podcoverage.t t/04controller_Root.t t/05-have-sent.t t/06-send-message.t t/99style.t t/addressbook.t t/ajax.t t/controller_Addressbook.t t/controller_Mailbox.t t/controller_Message.t t/deletemessage.t t/foldermanagement.t t/forwardmessage.t t/hebrew.t t/html5_validation.t t/message_handling.t t/model_DB.t t/model_IMAPClient.t t/movemessage.t t/perlcriticrc t/read_attachment.t t/readmessage.t t/render_html.t t/render_ical.t t/render_image_jpeg.t t/render_multipart_alternative.t t/render_multipart_related.t t/render_multipart_report.t t/render_rfc822.t t/render_textplain.t t/replymessage.t t/searchmessage.t t/testattachment.txt t/testmessages/HTML.mbox t/testmessages/ICAL.mbox t/testmessages/IMAGE_JPEG.mbox t/testmessages/MULTIPART_ALTERNATIVE.mbox t/testmessages/MULTIPART_RELATED.mbox t/testmessages/MULTIPART_REPORT.mbox t/testmessages/TEXT.mbox t/utf8.t t/view_Petal.t Copyright: *No copyright* License: UNKNOWN FIXME Files: debian/rules Copyright: 2012, Jonas Smedegaard License: GPL-2+ FIXME Files: LICENSE Copyright: 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave HOLDER, OR ANY OTHER PARTY HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM Holder Holder maintains some semblance of Holder may not be used to endorse or promote Holder to include your modifications in the Standard Holder" is whoever is named in the or s for Holder, but only to the Holder. A Package modified in such a holder saying it may be distributed under the terms of holder who law: that is to say, a work containing the notices and associated disclaimers of this the software, and (2) offer License: UNKNOWN FIXME debian/copyright0000644000000000000000000001050311764376654011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CiderWebmail Upstream-Contact: CiderWebmail http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/cider-webmail http://rt.ciderwebmail.org Source: http://ciderwebmail.org/download/index.html https://github.com/niner/CiderWebmail https://github.com/mreitinger/CiderWebmail Files: * Copyright: Stefan Seifert License: Artistic or GPL-1+ This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Comment: Perl 5 is licensed under either the 'Artistic license' or the 'GNU General Public License' version 1 or later. . No copyright holder is listed explicitly. Stefan Seifert is listed as author and so is assumed to also be copyright holder. Files: root/static/images/address_book.png root/static/images/attachment.png root/static/images/compose.png root/static/images/folder.png root/static/images/inbox.png root/static/images/logout.png root/static/images/manage_folders.png root/static/images/mail_forward.png root/static/images/mail_reply.png root/static/images/mail_reply_all.png root/static/images/message*.png root/static/images/sent.png root/static/images/trash.png Copyright: 2007 David Miller 2007 David Vignoni 2007 Johann Ollivier Lapeyre 2007 Kenneth Wimer 2007 Nuno Pinheiro 2007 Riccardo Iaconelli License: LGPL-2.1+ attachment.png and message*.png are taken from the KDE 4 Oxygen icon theme and are covered by LGPL version 2.1 or later   Files: root/static/images/mimeicons/* Copyright: None (Public Domain) License: PD These icons were originally made for Mosaic for X and have been included in the NCSA httpd and Apache server distributions in the past. They are in the public domain and may be freely included in any application. The originals were done by Kevin Hughes (kevinh@kevcom.com). Files: root/static/scripts/mootools* Copyright: 2006-2008, Valerio Proietti License: Expat Comment: Convenience copy of mootools. Files: debian/* Copyright: 2012, Jonas Smedegaard License: GPL-2+ License: Artistic Comment: On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL'. License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611530323745010611 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000001144211771230615010253 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2012, Jonas Smedegaard # Description: Main Debian packaging script for CiderWebmail # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = ciderwebmail # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = DEB_UPSTREAM_PACKAGE = CiderWebmail # TODO: Use this and drop hints below when source again released there #DEB_UPSTREAM_URL = http://ciderwebmail.org/downloads DEB_UPSTREAM_URL = https://github.com/$(DEB_UPSTREAM_PACKAGE)/$(DEB_UPSTREAM_PACKAGE)/tarball # TODO: when tagged upstream change to v$(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_BASENAME = master DEB_UPSTREAM_TARBALL_DELIMITER = DEB_UPSTREAM_TARBALL_EXTENSION = DEB_UPSTREAM_RECEIVED_EXTENSION = tar.gz DEB_UPSTREAM_WGET_OPTS += --no-check-certificate DEB_UPSTREAM_TARBALL_MD5 = 86fd4c8601e98e48b9fc48035d01d004 # Needed by upstream build and (always) at runtime # * recent libcatalyst-modules-perl needed for versioned dependency on # Catalyst::Action::RenderView perl-deps = parent moose catalyst-authentication-credential-http yaml perl-deps += yaml-libyaml catalyst-view-petal petal-utils perl-deps += datetime datetime-format-mail mime-tools try-tiny perl-deps += email-simple email-sender email-valid email-address perl-deps += regexp-common-email-address regexp-common text-iconv perl-deps += text-autoformat io-socket-ssl clone html-scrubber html-tidy perl-deps += uri locale-maketext-gettext list-moreutils data-ical perl-deps += datetime-format-iso8601 crypt-util crypt-cbc crypt-rijndael perl-deps += crypt-random-source mime-base64-urlsafe dbd-sqlite3 deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps)) deps += , libmoosex-role-withoverloading-perl (>= 0.09) deps += , libcatalyst-perl (>= 5.80030), libcatalyst-modules-perl (>= 43) deps += , libparse-recdescent-perl (>= 1.967009) deps += , libmail-imapclient-perl (>= 3.31) CDBS_BUILD_DEPENDS += , $(deps), $(deps-test) CDBS_DEPENDS_$(pkg) = $(deps) # Needed by upstream testsuite (undeclared in Makefile.PL) deps-test = libtest-xpath-perl # Needed for upstream build CDBS_BUILD_DEPENDS += , libmodule-install-perl # Needed (often/seldom) at runtime CDBS_RECOMMENDS_$(pkg) = http-icons, libjs-mootools CDBS_RECOMMENDS_$(pkg) += , default-mta | mail-transport-agent CDBS_SUGGESTS_$(pkg) = libfcgi-perl, libfcgi-procmanager-perl CDBS_SUGGESTS_$(pkg) += , dovecot | imap-server, imapproxy # silence graphics files (in addition to defaults) DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(root/static/(images/.*|favicon\.ico)|debian/(changelog|copyright(|_hints|_newhints)))$ DEB_DH_INSTALL_ARGS_$(pkg) = root/* usr/share/$(pkg)/root/ DEB_INSTALL_EXAMPLES_$(pkg) = ciderwebmail.yml script/update_schema.sh debian/uwsgi # Avoid virtually empty TODO file DEB_INSTALL_DOCS_ALL := $(filter-out TODO,$(DEB_INSTALL_DOCS_ALL)) # Install config files binary-install/$(pkg):: mkdir -p $(cdbs_curdestdir)etc/$(pkg) touch $(cdbs_curdestdir)etc/$(pkg)/custom.css cp -f -t $(cdbs_curdestdir)etc/$(pkg) debian/etc/* # Install binaries in project-specific dir and drop their manpages binary-post-install/$(pkg):: mkdir -p $(cdbs_curdestdir)usr/share/$(pkg)/bin mv $(cdbs_curdestdir)usr/bin/* $(cdbs_curdestdir)usr/share/$(pkg)/bin/ rm -rf $(cdbs_curdestdir)usr/share/man/man1 # Replace config and separately shipped parts with symlinks binary-post-install/$(pkg):: rm -f $(cdbs_curdestdir)usr/share/$(pkg)/root/static/scripts/mootools-core.js ln -sT ../../../../javascript/mootools/mootools-core.min.js $(cdbs_curdestdir)usr/share/$(pkg)/root/static/scripts/mootools-core.js rm -rf $(cdbs_curdestdir)usr/share/$(pkg)/root/static/images/mimeicons ln -sT ../../../../images/http-icons/ $(cdbs_curdestdir)usr/share/$(pkg)/root/static/images/mimeicons rm -rf $(cdbs_curdestdir)usr/share/$(pkg)/root/static/css/custom.css ln -sT /etc/ciderwebmail/custom.css $(cdbs_curdestdir)usr/share/$(pkg)/root/static/css/custom.css # Drop unneeded noise binary-post-install/$(pkg):: find $(cdbs_curdestdir)usr/share/$(pkg) -name '*.mo' -delete debian/control.in0000644000000000000000000000343611767151371011215 0ustar Source: ciderwebmail Section: web Priority: optional Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Homepage: http://ciderwebmail.org/ Vcs-Git: git://git.debian.org/git/pkg-perl/packages/ciderwebmail Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/ciderwebmail.git Package: ciderwebmail Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: IMAP webmail service CiderWebmail is a modern, user friendly and maintenance free webmail application. It's targeted at mailserver administrators who need to provide web access for their user's mailboxes and individuals wanting to access their mailboxes via an always available web application. . It currently supports all the basic mail handling features one would expect from such an application: . * Listing your emails with selectable sort order and grouping. * Moving emails between folders and deleting using drag & drop. * Displaying text and HTML emails even if their code is completely broken (which happens quite often in reality) * Keyboard bindings for switching through emails, moving, deleting, replying and forwarding. * Reply to and forward existing emails or write new emails, add attachments and have a copy saved in your "Sent" folder. . As an application written deep in the 21st century, CiderWebmail supports only IMAP mail servers. . It is recommended to use CiderWebmail with the Dovecot IMAP server. CiderWebmail deliberately does little internal caching for security reasons, so if used with an IMAP server less powerfull than Dovecot you may benefit from connecting via imapproxy. debian/etc/0000755000000000000000000000000011765503207007747 5ustar debian/etc/ciderwebmail.psgi0000644000000000000000000000026611765443503013270 0ustar use strict; use warnings; BEGIN { $ENV{CATALYST_CONFIG} |= '/etc/ciderwebmai'; } use CiderWebmail; my $app = CiderWebmail->apply_default_middlewares(CiderWebmail->psgi_app(@_)); debian/etc/ciderwebmail.conf0000644000000000000000000000137011765503207013246 0ustar name CiderWebmail #IMAP server to use. if you specify port 993 #CiderWebmail will automatically use SSL host localhost port 143 #default language for the frontend to use language en #use the username as default e-mail From address (unless the user #specifies a different mail address). enable this if your users login with #user@domain.tld as username username_default_address 0 #per default CiderWebmail will fork a sendmail process to deliver mail. #if you wish to use a SMTP server change method to smtp and change #the host key method sendmail # host changeme connect_info dbi:SQLite:/var/lib/ciderwebmail/user_settings.sql root /usr/share/ciderwebmail/root home /usr/share/ciderwebmail