aboutsummaryrefslogtreecommitdiffstats
path: root/mail/roundcube
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-10-22 02:16:17 +0800
committerflz <flz@FreeBSD.org>2005-10-22 02:16:17 +0800
commit52c9cf04bed1dbf1062dee051c680ca17909188c (patch)
tree26f578ea3b037d542e410708b93eaa984470c76e /mail/roundcube
parente14e2d3a6c1e3db31eac6528457f9d50d998d1b4 (diff)
downloadfreebsd-ports-gnome-52c9cf04bed1dbf1062dee051c680ca17909188c.tar.gz
freebsd-ports-gnome-52c9cf04bed1dbf1062dee051c680ca17909188c.tar.zst
freebsd-ports-gnome-52c9cf04bed1dbf1062dee051c680ca17909188c.zip
- Add Roundcube 0.1-20051007, a webmail written in PHP, following XHTML and
CSS2 standards. This webmail is an IMAP client and it has support for mysql, postgresql and sqlite database. Although it is a development version, it is working quite well.
Diffstat (limited to 'mail/roundcube')
-rw-r--r--mail/roundcube/Makefile71
-rw-r--r--mail/roundcube/distinfo2
-rw-r--r--mail/roundcube/pkg-descr11
-rw-r--r--mail/roundcube/pkg-install18
-rw-r--r--mail/roundcube/pkg-message17
-rw-r--r--mail/roundcube/pkg-plist238
6 files changed, 357 insertions, 0 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
new file mode 100644
index 000000000000..1214042f3794
--- /dev/null
+++ b/mail/roundcube/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: roundcube
+# Date created: Oct 21 2005
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= roundcube
+PORTVERSION= 0.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}mail
+DISTNAME= ${PORTNAME}_webmail_${PORTVERSION}-${SNAPSHOT}
+
+MAINTAINER= flz@FreeBSD.org
+COMMENT= Fully skinnable XHTML/CSS webmail written in PHP
+
+SNAPSHOT= 20051007
+
+WRKSRC= ${WRKDIR}/${PORTNAME}mail
+NO_BUILD= yes
+
+WWWOWN?= www
+WWWGRP?= www
+RCUBEDIR?= www/${PORTNAME}
+
+RCUBEROOT= ${PREFIX}/${RCUBEDIR}
+RCUBECOMP= SQL config index.php logs program skins temp
+PORTDOCS= CHANGELOG INSTALL LICENSE README
+
+PLIST_SUB= RCUBEDIR=${RCUBEDIR}
+SCRIPTS_ENV= SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} \
+ WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} \
+ RCUBEROOT=${RCUBEROOT}
+
+WANT_PHP_MOD= yes
+
+.if !defined(WITHOUT_MYSQL)
+USE_PHP+= mysql
+.endif
+
+.if defined(WITH_PGSQL)
+USE_PHP+= pgsql
+.endif
+
+.if defined(WITH_SQLITE)
+USE_PHP+= sqlite
+.endif
+
+pre-install:
+ @${MV} ${WRKSRC}/config/db.inc.php ${WRKSRC}/config/db.inc.php.sample
+ @${MV} ${WRKSRC}/config/main.inc.php ${WRKSRC}/config/main.inc.php.sample
+
+do-install:
+ ${MKDIR} ${RCUBEROOT}
+.for i in ${RCUBECOMP}
+ ${CP} -Rp ${WRKSRC}/${i} ${RCUBEROOT}/
+.endfor
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DOCSDIR}/
+.if !defined(NOPORTDOCS)
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
+.endfor
+.endif
+
+post-install:
+ @${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/roundcube/distinfo b/mail/roundcube/distinfo
new file mode 100644
index 000000000000..37be8802a081
--- /dev/null
+++ b/mail/roundcube/distinfo
@@ -0,0 +1,2 @@
+MD5 (roundcube_webmail_0.1-20051007.tar.gz) = c22f5c287c34a287fd98015bfe47a867
+SIZE (roundcube_webmail_0.1-20051007.tar.gz) = 356735
diff --git a/mail/roundcube/pkg-descr b/mail/roundcube/pkg-descr
new file mode 100644
index 000000000000..0b98adb84a23
--- /dev/null
+++ b/mail/roundcube/pkg-descr
@@ -0,0 +1,11 @@
+RoundCube Webmail is a browser-based multilingual IMAP client with an
+application-like user interface. It provides full functionality you
+expect from an e-mail client, including MIME support, address book,
+folder manipulation and message filters. RoundCube Webmail is written in
+PHP and requires the MySQL database. The user interface is fully
+skinnable using XHTML and CSS 2.
+
+WWW: http://www.roundcube.net/
+
+- Florent Thoumie
+flz@FreeBSD.org
diff --git a/mail/roundcube/pkg-install b/mail/roundcube/pkg-install
new file mode 100644
index 000000000000..0e42d26bc7e0
--- /dev/null
+++ b/mail/roundcube/pkg-install
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+case $2 in
+
+POST-INSTALL)
+ chown -R ${SHAREOWN}:${SHAREGRP} ${RCUBEROOT}/
+ chown -R ${WWWOWN}:${WWWGRP} ${RCUBEROOT}/logs
+ chown -R ${WWWOWN}:${WWWGRP} ${RCUBEROOT}/temp
+ for i in ${RCUBEROOT}/config/db.inc.php ${RCUBEROOT}/config/main.inc.php; do
+ [ -f ${i} ] || cp ${i}.sample ${i}
+ done
+ ;;
+*)
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/mail/roundcube/pkg-message b/mail/roundcube/pkg-message
new file mode 100644
index 000000000000..2d9e418052de
--- /dev/null
+++ b/mail/roundcube/pkg-message
@@ -0,0 +1,17 @@
+------------------------------------------------------------------
+CONFIGURATION
+
+. Create a new database and a database user for RoundCube
+. Create database tables using the queries in file
+ 'SQL/*.initial.sql'
+. Modify the files in config/* to suit your local environment
+. Don't forget to set db.inc.php mode to 600.
+. Set the following php.ini options:
+ - error_reporting E_ALL & ~E_NOTICE (or lower)
+ - file_uploads on (for attachment upload features)
+
+UPGRADING
+
+If you already had a previous version of RoundCube installed,
+refer to the instructions in UPGRADING guide.
+------------------------------------------------------------------
diff --git a/mail/roundcube/pkg-plist b/mail/roundcube/pkg-plist
new file mode 100644
index 000000000000..41a3a207d4b9
--- /dev/null
+++ b/mail/roundcube/pkg-plist
@@ -0,0 +1,238 @@
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DOCSDIR%%/UPGRADING
+%%RCUBEDIR%%/SQL/mysql.initial.sql
+%%RCUBEDIR%%/SQL/mysql.update.sql
+%%RCUBEDIR%%/SQL/postgres.initial.sql
+%%RCUBEDIR%%/SQL/sqlite.initial.sql
+%%RCUBEDIR%%/config/.htaccess
+%%RCUBEDIR%%/config/db.inc.php.sample
+%%RCUBEDIR%%/config/main.inc.php.sample
+%%RCUBEDIR%%/index.php
+%%RCUBEDIR%%/logs/.htaccess
+%%RCUBEDIR%%/logs/errors
+%%RCUBEDIR%%/logs/sendmail
+%%RCUBEDIR%%/program/blank.gif
+%%RCUBEDIR%%/program/include/bugs.inc
+%%RCUBEDIR%%/program/include/cache.inc
+%%RCUBEDIR%%/program/include/main.inc
+%%RCUBEDIR%%/program/include/rcube_db.inc
+%%RCUBEDIR%%/program/include/rcube_imap.inc
+%%RCUBEDIR%%/program/include/rcube_shared.inc
+%%RCUBEDIR%%/program/include/rcube_smtp.inc
+%%RCUBEDIR%%/program/include/session.inc
+%%RCUBEDIR%%/program/js/app.js
+%%RCUBEDIR%%/program/js/common.js
+%%RCUBEDIR%%/program/lib/Auth/SASL.php
+%%RCUBEDIR%%/program/lib/Auth/SASL/Anonymous.php
+%%RCUBEDIR%%/program/lib/Auth/SASL/Common.php
+%%RCUBEDIR%%/program/lib/Auth/SASL/CramMD5.php
+%%RCUBEDIR%%/program/lib/Auth/SASL/DigestMD5.php
+%%RCUBEDIR%%/program/lib/Auth/SASL/Login.php
+%%RCUBEDIR%%/program/lib/Auth/SASL/Plain.php
+%%RCUBEDIR%%/program/lib/DB.php
+%%RCUBEDIR%%/program/lib/DB/common.php
+%%RCUBEDIR%%/program/lib/DB/dbase.php
+%%RCUBEDIR%%/program/lib/DB/fbsql.php
+%%RCUBEDIR%%/program/lib/DB/ibase.php
+%%RCUBEDIR%%/program/lib/DB/ifx.php
+%%RCUBEDIR%%/program/lib/DB/msql.php
+%%RCUBEDIR%%/program/lib/DB/mssql.php
+%%RCUBEDIR%%/program/lib/DB/mysql.php
+%%RCUBEDIR%%/program/lib/DB/mysqli.php
+%%RCUBEDIR%%/program/lib/DB/oci8.php
+%%RCUBEDIR%%/program/lib/DB/odbc.php
+%%RCUBEDIR%%/program/lib/DB/pgsql.php
+%%RCUBEDIR%%/program/lib/DB/sqlite.php
+%%RCUBEDIR%%/program/lib/DB/storage.php
+%%RCUBEDIR%%/program/lib/DB/sybase.php
+%%RCUBEDIR%%/program/lib/Mail/mime.php
+%%RCUBEDIR%%/program/lib/Mail/mimeDecode.php
+%%RCUBEDIR%%/program/lib/Mail/mimePart.php
+%%RCUBEDIR%%/program/lib/Net/SMTP.php
+%%RCUBEDIR%%/program/lib/Net/Socket.php
+%%RCUBEDIR%%/program/lib/PEAR.php
+%%RCUBEDIR%%/program/lib/des.inc
+%%RCUBEDIR%%/program/lib/enriched.inc
+%%RCUBEDIR%%/program/lib/html2text.inc
+%%RCUBEDIR%%/program/lib/icl_commons.inc
+%%RCUBEDIR%%/program/lib/imap.inc
+%%RCUBEDIR%%/program/lib/mime.inc
+%%RCUBEDIR%%/program/lib/utf7.inc
+%%RCUBEDIR%%/program/lib/utf8.inc
+%%RCUBEDIR%%/program/localization/da/labels.inc
+%%RCUBEDIR%%/program/localization/da/messages.inc
+%%RCUBEDIR%%/program/localization/de/labels.inc
+%%RCUBEDIR%%/program/localization/de/messages.inc
+%%RCUBEDIR%%/program/localization/en/labels.inc
+%%RCUBEDIR%%/program/localization/en/messages.inc
+%%RCUBEDIR%%/program/localization/es/labels.inc
+%%RCUBEDIR%%/program/localization/es/messages.inc
+%%RCUBEDIR%%/program/localization/fr/labels.inc
+%%RCUBEDIR%%/program/localization/fr/messages.inc
+%%RCUBEDIR%%/program/localization/it/labels.inc
+%%RCUBEDIR%%/program/localization/it/messages.inc
+%%RCUBEDIR%%/program/localization/nl/labels.inc
+%%RCUBEDIR%%/program/localization/nl/messages.inc
+%%RCUBEDIR%%/program/steps/addressbook/delete.inc
+%%RCUBEDIR%%/program/steps/addressbook/edit.inc
+%%RCUBEDIR%%/program/steps/addressbook/func.inc
+%%RCUBEDIR%%/program/steps/addressbook/list.inc
+%%RCUBEDIR%%/program/steps/addressbook/save.inc
+%%RCUBEDIR%%/program/steps/addressbook/show.inc
+%%RCUBEDIR%%/program/steps/error.inc
+%%RCUBEDIR%%/program/steps/mail/addcontact.inc
+%%RCUBEDIR%%/program/steps/mail/compose.inc
+%%RCUBEDIR%%/program/steps/mail/func.inc
+%%RCUBEDIR%%/program/steps/mail/get.inc
+%%RCUBEDIR%%/program/steps/mail/list.inc
+%%RCUBEDIR%%/program/steps/mail/mark.inc
+%%RCUBEDIR%%/program/steps/mail/move_del.inc
+%%RCUBEDIR%%/program/steps/mail/sendmail.inc
+%%RCUBEDIR%%/program/steps/mail/show.inc
+%%RCUBEDIR%%/program/steps/mail/upload.inc
+%%RCUBEDIR%%/program/steps/mail/viewsource.inc
+%%RCUBEDIR%%/program/steps/settings/delete_identity.inc
+%%RCUBEDIR%%/program/steps/settings/edit_identity.inc
+%%RCUBEDIR%%/program/steps/settings/func.inc
+%%RCUBEDIR%%/program/steps/settings/identities.inc
+%%RCUBEDIR%%/program/steps/settings/manage_folders.inc
+%%RCUBEDIR%%/program/steps/settings/save_identity.inc
+%%RCUBEDIR%%/program/steps/settings/save_prefs.inc
+%%RCUBEDIR%%/skins/default/addresses.css
+%%RCUBEDIR%%/skins/default/common.css
+%%RCUBEDIR%%/skins/default/images/blank.gif
+%%RCUBEDIR%%/skins/default/images/buttons/add_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/add_contact_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/add_contact_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/add_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/addressbook.png
+%%RCUBEDIR%%/skins/default/images/buttons/attach_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/attach_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/back_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/back_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/bg.gif
+%%RCUBEDIR%%/skins/default/images/buttons/compose_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/compose_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/contacts_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/contacts_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/delete_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/delete_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/download_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/download_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/edit_contact_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/edit_contact_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/forward_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/forward_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/inbox_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/inbox_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/logout.gif
+%%RCUBEDIR%%/skins/default/images/buttons/logout.png
+%%RCUBEDIR%%/skins/default/images/buttons/mail.png
+%%RCUBEDIR%%/skins/default/images/buttons/next_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/next_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/previous_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/previous_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/print_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/print_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/reply_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/reply_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/send_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/send_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/settings.png
+%%RCUBEDIR%%/skins/default/images/buttons/source_act.png
+%%RCUBEDIR%%/skins/default/images/buttons/source_pas.png
+%%RCUBEDIR%%/skins/default/images/buttons/spacer.gif
+%%RCUBEDIR%%/skins/default/images/display/confirm.png
+%%RCUBEDIR%%/skins/default/images/display/info.png
+%%RCUBEDIR%%/skins/default/images/display/loading.gif
+%%RCUBEDIR%%/skins/default/images/display/warning.png
+%%RCUBEDIR%%/skins/default/images/icons/abcard.png
+%%RCUBEDIR%%/skins/default/images/icons/attachment.png
+%%RCUBEDIR%%/skins/default/images/icons/dot.png
+%%RCUBEDIR%%/skins/default/images/icons/flagged.png
+%%RCUBEDIR%%/skins/default/images/icons/folder-closed.png
+%%RCUBEDIR%%/skins/default/images/icons/folder-inbox.png
+%%RCUBEDIR%%/skins/default/images/icons/folder-junk.png
+%%RCUBEDIR%%/skins/default/images/icons/folder-open.png
+%%RCUBEDIR%%/skins/default/images/icons/folder-sent.png
+%%RCUBEDIR%%/skins/default/images/icons/folder-trash.png
+%%RCUBEDIR%%/skins/default/images/icons/forwarded.png
+%%RCUBEDIR%%/skins/default/images/icons/plus.gif
+%%RCUBEDIR%%/skins/default/images/icons/replied.png
+%%RCUBEDIR%%/skins/default/images/icons/silhouette.png
+%%RCUBEDIR%%/skins/default/images/icons/unread.png
+%%RCUBEDIR%%/skins/default/images/listheader_aqua.gif
+%%RCUBEDIR%%/skins/default/images/listheader_dark.gif
+%%RCUBEDIR%%/skins/default/images/listheader_light.gif
+%%RCUBEDIR%%/skins/default/images/mailbox_list.gif
+%%RCUBEDIR%%/skins/default/images/mailbox_selected.gif
+%%RCUBEDIR%%/skins/default/images/rcube_watermark.png
+%%RCUBEDIR%%/skins/default/images/roundcube_logo.gif
+%%RCUBEDIR%%/skins/default/images/roundcube_logo.png
+%%RCUBEDIR%%/skins/default/images/roundcube_logo_print.gif
+%%RCUBEDIR%%/skins/default/images/tab_act.gif
+%%RCUBEDIR%%/skins/default/images/tab_pas.gif
+%%RCUBEDIR%%/skins/default/includes/header.html
+%%RCUBEDIR%%/skins/default/includes/settingscripts.html
+%%RCUBEDIR%%/skins/default/includes/settingstabs.html
+%%RCUBEDIR%%/skins/default/includes/taskbar.html
+%%RCUBEDIR%%/skins/default/mail.css
+%%RCUBEDIR%%/skins/default/pngbehavior.htc
+%%RCUBEDIR%%/skins/default/print.css
+%%RCUBEDIR%%/skins/default/settings.css
+%%RCUBEDIR%%/skins/default/templates/addcontact.html
+%%RCUBEDIR%%/skins/default/templates/addidentity.html
+%%RCUBEDIR%%/skins/default/templates/addressbook.html
+%%RCUBEDIR%%/skins/default/templates/compose.html
+%%RCUBEDIR%%/skins/default/templates/editcontact.html
+%%RCUBEDIR%%/skins/default/templates/editidentity.html
+%%RCUBEDIR%%/skins/default/templates/error.html
+%%RCUBEDIR%%/skins/default/templates/identities.html
+%%RCUBEDIR%%/skins/default/templates/login.html
+%%RCUBEDIR%%/skins/default/templates/mail.html
+%%RCUBEDIR%%/skins/default/templates/managefolders.html
+%%RCUBEDIR%%/skins/default/templates/message.html
+%%RCUBEDIR%%/skins/default/templates/messagepart.html
+%%RCUBEDIR%%/skins/default/templates/printmessage.html
+%%RCUBEDIR%%/skins/default/templates/settings.html
+%%RCUBEDIR%%/skins/default/templates/showcontact.html
+%%RCUBEDIR%%/skins/default/watermark.html
+%%RCUBEDIR%%/temp/.htaccess
+@dirrm %%RCUBEDIR%%/skins/default/templates
+@dirrm %%RCUBEDIR%%/skins/default/includes
+@dirrm %%RCUBEDIR%%/skins/default/images/icons
+@dirrm %%RCUBEDIR%%/skins/default/images/display
+@dirrm %%RCUBEDIR%%/skins/default/images/buttons
+@dirrm %%RCUBEDIR%%/skins/default/images
+@dirrm %%RCUBEDIR%%/skins/default
+@dirrm %%RCUBEDIR%%/skins
+@dirrm %%RCUBEDIR%%/program/steps/settings
+@dirrm %%RCUBEDIR%%/program/steps/mail
+@dirrm %%RCUBEDIR%%/program/steps/addressbook
+@dirrm %%RCUBEDIR%%/program/steps
+@dirrm %%RCUBEDIR%%/program/localization/nl
+@dirrm %%RCUBEDIR%%/program/localization/it
+@dirrm %%RCUBEDIR%%/program/localization/fr
+@dirrm %%RCUBEDIR%%/program/localization/es
+@dirrm %%RCUBEDIR%%/program/localization/en
+@dirrm %%RCUBEDIR%%/program/localization/de
+@dirrm %%RCUBEDIR%%/program/localization/da
+@dirrm %%RCUBEDIR%%/program/localization
+@dirrm %%RCUBEDIR%%/program/lib/Net
+@dirrm %%RCUBEDIR%%/program/lib/Mail
+@dirrm %%RCUBEDIR%%/program/lib/DB
+@dirrm %%RCUBEDIR%%/program/lib/Auth/SASL
+@dirrm %%RCUBEDIR%%/program/lib/Auth
+@dirrm %%RCUBEDIR%%/program/lib
+@dirrm %%RCUBEDIR%%/program/js
+@dirrm %%RCUBEDIR%%/program/include
+@dirrm %%RCUBEDIR%%/program
+@dirrm %%RCUBEDIR%%/SQL
+@unexec rmdir %D/%%RCUBEDIR%%/temp 2>&1 >/dev/null || true
+@unexec rmdir %D/%%RCUBEDIR%%/logs 2>&1 >/dev/null || true
+@unexec rmdir %D/%%RCUBEDIR%%/config 2>&1 >/dev/null || true
+@unexec rmdir %D/%%RCUBEDIR%% 2>&1 >/dev/null || true
+@dirrm %%DOCSDIR%%