CVS: moonbase/mail/squirrelmail BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1

sofar at lunar-linux.org sofar at lunar-linux.org
Sun Sep 21 00:07:36 GMT 2003


Update of /var/cvs/lunar/moonbase/mail/squirrelmail
In directory dbguin.lunar-linux.org:/tmp/cvs-serv5286/squirrelmail

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL 
Log Message:
New module!!!


--- NEW FILE: BUILD ---
(

  prepare_install

  PREFIX=/var/squirrelmail
  DATADIR=$PREFIX/data
  ATTCHDIR=$PREFIX/attach

  mkdir -p $DATADIR $ATTCHDIR           &&

  for STUFF in index.php class config data functions help images include index.php locale plugins po src themes ; do
    verbose_msg "Copying: $STUFF"
    cp -a $STUFF $PREFIX
  done                                  &&
  if [ ! -f $PREFIX/config/config.php ] ; then
    cp $PREFIX/config/config_default.php $PREFIX/config/config.php
  fi                                    &&
  chown -R nobody:nogroup $DATADIR      &&
  chgrp -R nogroup $ATTCHDIR            &&
  chmod 730 $ATTCHDIR

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends apache2 &&
depends php &&
depends imap

--- NEW FILE: DETAILS ---
    MODULE=squirrelmail
   VERSION=1.4.1
    SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_VFY=md5:e72f4d1e83eaedd33bf309b31957ee39
SOURCE_URL=$SFORGE_URL/$MODULE/$SOURCE
   ENTERED=20030920
   UPDATED=20030920
  WEB_SITE=http://squirrelamil.org/
     SHORT="Web-based imap mail gateway"
cat << EOF
SquirrelMail is a standards-based webmail package written in PHP4. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no JavaScript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install. SquirrelMail has all the functionality you would want from an email client, including strong MIME support, address books, and folder manipulation.
EOF

--- NEW FILE: POST_INSTALL ---
message "${MESSAGE_COLOR}* Dont forget to set up a crontab to periodically erase /var/squirrelmail/attach${DEFAULT_COLOR}"
message "${MESSAGE_COLOR}* Setup your webserver so the correct URL points to SQM by using a symlink.${DEFAULT_COLOR}"
message "${MESSAGE_COLOR}* Make sure php files are enabled and parsed correctly by apache!${DEFAULT_COLOR}"
message "${MESSAGE_COLOR}* Don't forget to edit config/config.php!${DEFAULT_COLOR}"




More information about the Lunar-commits mailing list