ports/68205: New Port: mail/ismail PHP-based webmail client

Kelley Reynolds kelley at insidesystems.net
Tue Jun 22 15:50:46 UTC 2004


>Number:         68205
>Category:       ports
>Synopsis:       New Port: mail/ismail PHP-based webmail client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 22 15:50:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kelley Reynolds
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
Inside Systems, Inc.
>Environment:
System: FreeBSD kelley.insidesystems.net 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Wed Jan 14 15:36:04 EST 2004 root at swank.verbotenplanet.net:/usr/obj/usr/src/sys/SWANK i386


>Description:
Inside Systems Mail is a web mail client that makes heavy use of
JS, CSS, and DOM to create a snappy, easily configurable and
familiar mail interface.

WWW: http://www.insidesystems.net/projects/project.php?projectid=4

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       /usr/ports/mail/ismail
#       /usr/ports/mail/ismail/Makefile
#       /usr/ports/mail/ismail/pkg-descr
#       /usr/ports/mail/ismail/distinfo
#       /usr/ports/mail/ismail/pkg-plist
#       /usr/ports/mail/ismail/files
#       /usr/ports/mail/ismail/files/install.sh
#       /usr/ports/mail/ismail/pkg-message
#
echo c - /usr/ports/mail/ismail
mkdir -p /usr/ports/mail/ismail > /dev/null 2>&1
echo x - /usr/ports/mail/ismail/Makefile
sed 's/^X//' >/usr/ports/mail/ismail/Makefile << 'END-of-/usr/ports/mail/ismail/Makefile'
X# New ports collection makefile for:   ismail
X# Date created:        18 June 2004
X# Whom:                Kelley Reynolds <kelley at insidesystems.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      ismail
XPORTVERSION=   2.0.p4
XCATEGORIES=    www mail
XMASTER_SITES=  ftp://ftp.verbotenplanet.net/ISMail/
XDISTNAME=       ${PORTNAME}-${PORTVERSION:S/.p/pre/}
X
XMAINTAINER=    kelley at insidesystems.net
XCOMMENT=       PHP-based webmail client
X
XUSE_BZIP2=     yes
XUSE_REINPLACE= yes
XISMAILDIR?=    www/data/ismail
XINSTALLDIR=    ${PREFIX}/${ISMAILDIR}
X
XWRKSRC=                ${WRKDIR}/ISMail
X
XPLIST_SUB=     ISMAILDIR=${ISMAILDIR}/ \
X               INSTALLDIR=${INSTALLDIR}/
X
XNO_BUILD=      yes
X
X.include <bsd.port.pre.mk>
X
XPORTDOC_FILES= docs.html
XPORT_EXAMPLES= mysql4.schema pgsql.schema
X
X# Determine which Apache directory we should be checking for php
X.if exists(${PREFIX}/include/apache2/httpd.h)
XWITH_APACHE2=  yes
X.endif
X
X.if defined(WITH_APACHE2)
XPHPLIB=                ${PREFIX}/libexec/apache2/libphp4.so
X.else
XPHPLIB=                ${PREFIX}/libexec/apache/libphp4.so
X.endif
X
XRUN_DEPENDS+=  ${PHPLIB}:${PORTSDIR}/www/mod_php4
XLIB_DEPENDS+=  c-client4.8:${PORTSDIR}/mail/cclient
X
XSED_SCRIPT=    -e 's,%%INSTALL_DATA%%,${INSTALL_DATA},g' \
X               -e 's,%%MKDIR%%,${MKDIR},g' \
X               -e 's,%%WRKSRC%%,${WRKSRC},g' \
X               -e 's,%%ISMAILDIR%%,${ISMAILDIR},g' \
X               -e 's,%%DOCSDIR%%,${DOCSDIR},g' \
X               -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
X               -e 's,%%INSTALLDIR%%,${INSTALLDIR},g'
X
Xpre-install:
X       @${ECHO_MSG} "Inside Systems Mail will be installed to "
X       @${ECHO_MSG} "${INSTALLDIR}."
X       @${ECHO_MSG} "To change it, set the following:"
X       @${ECHO_MSG} ""
X       @${ECHO_MSG} "PREFIX = ${PREFIX}"
X       @${ECHO_MSG} "ISMAILDIR = ${ISMAILDIR}"
X       @${ECHO_MSG} ""
X       @${ECHO_MSG} "Inside Systems Mail requires that mod_php4 be build with"
X       @${ECHO_MSG} "IMAP support. To enable IMAP support, you must set"
X       @${ECHO_MSG} ""
X       @${ECHO_MSG} "  WITH_IMAP=yes"
X       @${ECHO_MSG} ""
X       @${ECHO_MSG} "One of the following mod_php4 extensions are required to"
X       @${ECHO_MSG} "use the provided dastores:"
X       @${ECHO_MSG} "
X       @${ECHO_MSG} "  WITH_DOMXML=yes"
X       @${ECHO_MSG} "  WITH_MYSQL=yes"
X       @${ECHO_MSG} "  WITH_POSTGRESQL=yes"
X       @${ECHO_MSG} "
X       @${ECHO_MSG} "Hit Ctrl-C now to cancel the installation"
X       @sleep 7
X       @${SED} ${SED_SCRIPT} ${FILESDIR}/install.sh > ${WRKDIR}/install.sh
X       @${SED} ${SED_SCRIPT} pkg-message > ${WRKDIR}/pkg-message
X
Xdo-install:
X       ${SH} ${WRKDIR}/install.sh
X       ${CHMOD} -R 644 ${INSTALLDIR}
X.if !defined(NOPORTDOCS)
X       @${MKDIR} ${DOCSDIR}
X.for docfile in ${PORTDOC_FILES}
X       @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
X.endfor
X       @${MKDIR} ${EXAMPLESDIR}
X.for example in ${PORT_EXAMPLES}
X       @${INSTALL_SCRIPT} ${WRKSRC}/examples/${example} ${EXAMPLESDIR}
X.endfor
X.endif
X
Xpost-install:
X       @${CAT} ${WRKDIR}/pkg-message
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/mail/ismail/Makefile
echo x - /usr/ports/mail/ismail/pkg-descr
sed 's/^X//' >/usr/ports/mail/ismail/pkg-descr << 'END-of-/usr/ports/mail/ismail/pkg-descr'
XInside Systems Mail is a web mail client that makes heavy use of
XJS, CSS, and DOM to create a snappy, easily configurable and
Xfamiliar mail interface.
X
XWWW: http://www.insidesystems.net/projects/project.php?projectid=4
X
X- Kelley Reynolds
Xkelley at insidesystems.net
END-of-/usr/ports/mail/ismail/pkg-descr
echo x - /usr/ports/mail/ismail/distinfo
sed 's/^X//' >/usr/ports/mail/ismail/distinfo << 'END-of-/usr/ports/mail/ismail/distinfo'
XMD5 (ismail-2.0pre4.tar.bz2) = 6896aa031c3f2bf21ee88be8d1e9cc39
XSIZE (ismail-2.0pre4.tar.bz2) = 135465
END-of-/usr/ports/mail/ismail/distinfo
echo x - /usr/ports/mail/ismail/pkg-plist
sed 's/^X//' >/usr/ports/mail/ismail/pkg-plist << 'END-of-/usr/ports/mail/ismail/pkg-plist'
X%%ISMAILDIR%%addressbook.php
X%%ISMAILDIR%%addressbookdecrypt.php
X%%ISMAILDIR%%addressbookentry.php
X%%ISMAILDIR%%addressbooklist.php
X%%ISMAILDIR%%addressbookpopupbottom.php
X%%ISMAILDIR%%addressbookpopuplist.php
X%%ISMAILDIR%%addressbookpopuptop.php
X%%ISMAILDIR%%addressbooktopbar.php
X%%ISMAILDIR%%deletefolder.php
X%%ISMAILDIR%%dict.php
X%%ISMAILDIR%%editaddressbook.php
X%%ISMAILDIR%%editsettings.php
X%%ISMAILDIR%%error.php
X%%ISMAILDIR%%folderlist.php
X%%ISMAILDIR%%header.php
X%%ISMAILDIR%%hidden.php
X%%ISMAILDIR%%include/conffilefunctions.php
X%%ISMAILDIR%%include/istheme.conf.sample
X%%ISMAILDIR%%include/ismail.conf.sample
X%%ISMAILDIR%%include/datastores/template.php
X%%ISMAILDIR%%include/datastores/mysql4.php
X%%ISMAILDIR%%include/datastores/pgsql.php
X%%ISMAILDIR%%include/datastores/xml.php
X%%ISMAILDIR%%include/empty.xml
X%%ISMAILDIR%%include/globals.php
X%%ISMAILDIR%%include/mailfunctions.php
X%%ISMAILDIR%%index.php
X%%ISMAILDIR%%ismail.php
X%%ISMAILDIR%%locale/cs_CZ/LC_MESSAGES/messages.mo
X%%ISMAILDIR%%locale/cs_CZ/LC_MESSAGES/messages.po
X%%ISMAILDIR%%locale/it_IT/LC_MESSAGES/messages.mo
X%%ISMAILDIR%%locale/it_IT/LC_MESSAGES/messages.po
X%%ISMAILDIR%%locale/en_US/LC_MESSAGES/messages.mo
X%%ISMAILDIR%%locale/en_US/LC_MESSAGES/messages.po
X%%ISMAILDIR%%locale/da_DK/LC_MESSAGES/messages.po
X%%ISMAILDIR%%locale/da_DK/LC_MESSAGES/messages.mo
X%%ISMAILDIR%%login.php
X%%ISMAILDIR%%logout.php
X%%ISMAILDIR%%mail.php
X%%ISMAILDIR%%mailheader.php
X%%ISMAILDIR%%maillist.php
X%%ISMAILDIR%%maillistheader.php
X%%ISMAILDIR%%mailwrapper.php
X%%ISMAILDIR%%movemail.php
X%%ISMAILDIR%%newfolder.php
X%%ISMAILDIR%%sendmail.php
X%%ISMAILDIR%%settingseditidentity.php
X%%ISMAILDIR%%settingsgeneral.php
X%%ISMAILDIR%%settingsidentities.php
X%%ISMAILDIR%%settingslist.php
X%%ISMAILDIR%%spellcheck.php
X%%ISMAILDIR%%statusbar.php
X%%ISMAILDIR%%subscribe.php
X%%ISMAILDIR%%themes/swarthy/headerbarleftcap.gif
X%%ISMAILDIR%%themes/swarthy/checkspelling.gif
X%%ISMAILDIR%%themes/swarthy/xtree/foldericon.png
X%%ISMAILDIR%%themes/swarthy/xtree/Tminus.png
X%%ISMAILDIR%%themes/swarthy/xtree/Lplus.png
X%%ISMAILDIR%%themes/swarthy/xtree/file.png
X%%ISMAILDIR%%themes/swarthy/xtree/T.png
X%%ISMAILDIR%%themes/swarthy/xtree/openfoldericon.png
X%%ISMAILDIR%%themes/swarthy/xtree/blank.png
X%%ISMAILDIR%%themes/swarthy/xtree/Lminus.png
X%%ISMAILDIR%%themes/swarthy/xtree/Tplus.png
X%%ISMAILDIR%%themes/swarthy/xtree/I.png
X%%ISMAILDIR%%themes/swarthy/xtree/new.png
X%%ISMAILDIR%%themes/swarthy/xtree/L.png
X%%ISMAILDIR%%themes/swarthy/css/topbarpop3.css
X%%ISMAILDIR%%themes/swarthy/css/error.css
X%%ISMAILDIR%%themes/swarthy/css/settingslist.css
X%%ISMAILDIR%%themes/swarthy/css/folderlists.css
X%%ISMAILDIR%%themes/swarthy/css/mailheader.css
X%%ISMAILDIR%%themes/swarthy/css/addressbookdecrypt.css
X%%ISMAILDIR%%themes/swarthy/css/settingsgeneral.css
X%%ISMAILDIR%%themes/swarthy/css/sendmail.css
X%%ISMAILDIR%%themes/swarthy/css/topbarimap.css
X%%ISMAILDIR%%themes/swarthy/css/addressbook.css
X%%ISMAILDIR%%themes/swarthy/css/frameheader.css
X%%ISMAILDIR%%themes/swarthy/css/statusbar.css
X%%ISMAILDIR%%themes/swarthy/css/addressbooktopbar.css
X%%ISMAILDIR%%themes/swarthy/css/login.css
X%%ISMAILDIR%%themes/swarthy/css/logout.css
X%%ISMAILDIR%%themes/swarthy/css/view.css
X%%ISMAILDIR%%themes/swarthy/css/maillist.css
X%%ISMAILDIR%%themes/swarthy/css/settingseditidentity.css
X%%ISMAILDIR%%themes/swarthy/css/addressbookentry.css
X%%ISMAILDIR%%themes/swarthy/css/settingsidentities.css
X%%ISMAILDIR%%themes/swarthy/css/mail.css
X%%ISMAILDIR%%themes/swarthy/css/dict.css
X%%ISMAILDIR%%themes/swarthy/css/globals.css
X%%ISMAILDIR%%themes/swarthy/css/maillistheader.css
X%%ISMAILDIR%%themes/swarthy/css/xtree.css
X%%ISMAILDIR%%themes/swarthy/titlebarfill.gif
X%%ISMAILDIR%%themes/swarthy/sendnow.gif
X%%ISMAILDIR%%themes/swarthy/istheme.conf
X%%ISMAILDIR%%themes/swarthy/statusbarfill.gif
X%%ISMAILDIR%%themes/swarthy/statusbarleftcap.gif
X%%ISMAILDIR%%themes/swarthy/headerbarfill.gif
X%%ISMAILDIR%%themes/swarthy/deleteentry.gif
X%%ISMAILDIR%%themes/swarthy/replyall.gif
X%%ISMAILDIR%%themes/swarthy/newfolder.gif
X%%ISMAILDIR%%themes/swarthy/middletab.gif
X%%ISMAILDIR%%themes/swarthy/stipplebg.gif
X%%ISMAILDIR%%themes/swarthy/curvedlefttab.gif
X%%ISMAILDIR%%themes/swarthy/reply.gif
X%%ISMAILDIR%%themes/swarthy/newmail.gif
X%%ISMAILDIR%%themes/swarthy/generalsettings.gif
X%%ISMAILDIR%%themes/swarthy/deletefolder.gif
X%%ISMAILDIR%%themes/swarthy/addressbook.gif
X%%ISMAILDIR%%themes/swarthy/settings.gif
X%%ISMAILDIR%%themes/swarthy/identities.gif
X%%ISMAILDIR%%themes/swarthy/smallismaillogo.jpg
X%%ISMAILDIR%%themes/swarthy/righttab.gif
X%%ISMAILDIR%%themes/swarthy/titlebarleftcap.gif
X%%ISMAILDIR%%themes/swarthy/deletemail.gif
X%%ISMAILDIR%%themes/swarthy/subscribefolder.gif
X%%ISMAILDIR%%themes/swarthy/answered.gif
X%%ISMAILDIR%%themes/swarthy/logout.gif
X%%ISMAILDIR%%themes/swarthy/ismaillogo.jpg
X%%ISMAILDIR%%themes/swarthy/newentry.gif
X%%ISMAILDIR%%themes/swarthy/titlebarrightcap.gif
X%%ISMAILDIR%%themes/swarthy/curvedrighttab.gif
X%%ISMAILDIR%%themes/swarthy/lefttab.gif
X%%ISMAILDIR%%themes/swarthy/statusbarrightcap.gif
X%%ISMAILDIR%%themes/swarthy/addressicon.gif
X%%ISMAILDIR%%themes/swarthy/curvedmiddletab.gif
X%%ISMAILDIR%%themes/swarthy/headerbarrightcap.gif
X%%ISMAILDIR%%themes/swarthy/forward.gif
X%%ISMAILDIR%%themes/swarthy/attach.gif
X%%ISMAILDIR%%themes/swarthy/movemail.gif
X%%ISMAILDIR%%themes/swarthy/topbarrightcap.gif
X%%ISMAILDIR%%topbar.php
X%%ISMAILDIR%%viewmailbody.php
X%%ISMAILDIR%%viewmailheader.php
X%%ISMAILDIR%%xtree/xtree-css.php
X%%ISMAILDIR%%xtree/xtree.php
X%%DOCSDIR%%/docs.html
X%%EXAMPLESDIR%%/pgsql.schema
X%%EXAMPLESDIR%%/mysql4.schema
X at dirrm %%ISMAILDIR%%xtree
X at dirrm %%ISMAILDIR%%themes/swarthy/xtree
X at dirrm %%ISMAILDIR%%themes/swarthy/css
X at dirrm %%ISMAILDIR%%themes/swarthy
X at dirrm %%ISMAILDIR%%themes
X at dirrm %%ISMAILDIR%%locale/it_IT/LC_MESSAGES
X at dirrm %%ISMAILDIR%%locale/it_IT
X at dirrm %%ISMAILDIR%%locale/en_US/LC_MESSAGES
X at dirrm %%ISMAILDIR%%locale/en_US
X at dirrm %%ISMAILDIR%%locale/da_DK/LC_MESSAGES
X at dirrm %%ISMAILDIR%%locale/da_DK
X at dirrm %%ISMAILDIR%%locale/cs_CZ/LC_MESSAGES
X at dirrm %%ISMAILDIR%%locale/cs_CZ
X at dirrm %%ISMAILDIR%%locale
X at dirrm %%ISMAILDIR%%include/datastores
X at dirrm %%ISMAILDIR%%include
X at dirrm %%EXAMPLESDIR%%
X at dirrm %%DOCSDIR%%
X at dirrm %%ISMAILDIR%%
END-of-/usr/ports/mail/ismail/pkg-plist
echo c - /usr/ports/mail/ismail/files
mkdir -p /usr/ports/mail/ismail/files > /dev/null 2>&1
echo x - /usr/ports/mail/ismail/files/install.sh
sed 's/^X//' >/usr/ports/mail/ismail/files/install.sh << 'END-of-/usr/ports/mail/ismail/files/install.sh'
X#!/bin/sh
X#
X# install.sh v0.1
X#
X# Install script which reads files from the plist and copies them to the appropriate
X# location and makes directories for them if necessary
X
X%%MKDIR%% %%INSTALLDIR%%
X
X# Install the required files
Xfor file in `cat pkg-plist | grep -v @ | grep ISMAILDIR | sed 's,%%[A-Z]*%%,,g'`; do
X        dir=`echo "${file}" | sed 's,/[^/]*$,/,g'`
X       if [ -d %%WRKSRC%%/ISMail/${dir} ]; then
X                %%MKDIR%% %%INSTALLDIR%%/${dir}
X       fi
X       %%INSTALL_DATA%% %%WRKSRC%%/ISMail/${file} %%INSTALLDIR%%/${file}
Xdone
END-of-/usr/ports/mail/ismail/files/install.sh
echo x - /usr/ports/mail/ismail/pkg-message
sed 's/^X//' >/usr/ports/mail/ismail/pkg-message << 'END-of-/usr/ports/mail/ismail/pkg-message'
X
XBefore Inside Systems Mail will work!!
X======================================
X
XAn ismail.conf file must be created and placed in
X
X%%INSTALLDIR%%/include
X
XA reference ismail.conf has been provided at
X
X%%INSTALLDIR%%/include/ismail.conf.sample
X
Xbut requires modification to work. Please check the
Xprovided HTML documentation in %%DOCSDIR%% or browse
Xhttp://www.insidesystems.net/projects/project.php?projectid=4
Xfor configuration help.
X
XNote: The default configuration data store requires domxml
Xto be compiled in to to mod_php4. For alternate datastores,
Xcheck %%EXAMPLESDIR%% for sample postgresql and mysql
Xschemas and set the ismail.conf file accordingly.
X
END-of-/usr/ports/mail/ismail/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list