Patching gpans' ensim squirrelmail

Here's is how I updated gpans' squirrelmail package with the current version (1.4.13).

# cd /usr/share
# wget 'http://superb-west.dl.sourceforge.net/sourceforge/squirrelmail/squirrelmail-1.4.13.tar.gz'
# tar -xvzf squirrelmail-1.4.13.tar.gz
# rm squirrelmail-1.4.13.tar.gz
# rm squirrelmail-1.4.13/config/config.php
# rm squirrelmail-1.4.13/config/config_local.php
# ln -s /etc/squirrelmail/config.php squirrelmail-1.4.13/config/config.php
# ln -s /etc/squirrelmail/config_local.php squirrelmail-1.4.13/config/config_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/functions/global.php
squirrelmail-1.4.13/src/redirect.php
squirrelmail-1.4.13/src/login.php

Finally, I moved the old squirrelmail folder and symlinked to the new one.

# mv squirrelmail squirrelmail-1.4.8-1.1.ensim.ct
# ln -s squirrelmail-1.4.13 squirrelmail

AttachmentSize
squirrelmail_1.4.13.patch12.82 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Non-existant file

The step 'rm squirrelmail-1.4.13/config/config.php' is returning the message:
rm: cannot lstat `squirrelmail-1.4.13/config/config.php': file or directory not found

Checking the file 'squirrelmail-1.4.13.tar.gz' seems really does not exist that file.
You perhaps know what is the correct file to delete?

config file missing

Don't worry about removing it if it does not exist.

OK

Ok, thank you very much!!!

Where are the patch??

Where are the diff patch??

diff patch

It is at the end of the post.

Comment