Patching gpans' ensim squirrelmail
Sat, 03/29/2008 - 00:52 — sandipHere's is how I updated gpans' squirrelmail package with the current version (1.4.13).
# cd /usr/share
# wget 'http://superb-west.dl.so urceforge.net/sourceforge/squi rrelmail/squirrelmail-1.4.13.t ar.gz'
# tar -xvzf squirrelmail-1.4.13.tar.gz
# rm squirrelmail-1.4.13.tar.gz
# rm squirrelmail-1.4.13/config/con fig.php
# rm squirrelmail-1.4.13/config/con fig_local.php
# ln -s /etc/squirrelmail/config.php squirrelmail-1.4.13/config/con fig.php
# ln -s /etc/squirrelmail/config_local .php squirrelmail-1.4.13/config/con fig_local.php
Then changed the below files to include the Ensim virtualization hack (See attached diff patch):
squirrelmail-1.4.13/functions/ prefs.php
squirrelmail-1.4.13/function s/global.php
squirrelmail-1.4.13/src/redi rect.php
squirrelmail-1.4.13/src/logi n.php
Finally, I moved the old squirrelmail folder and symlinked to the new one.
# mv squirrelmail squirrelmail-1.4.8-1.1.ensim.c t
# ln -s squirrelmail-1.4.13 squirrelmail