Here'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
Attachment | Size |
---|---|
squirrelmail_1.4.13.patch | 12.82 KB |
- sandip's blog
- Login or register to post comments
Comments
The step 'rm squirrelmail-1.4.13/config/con fig.php' is returning the message: nfig.php': file or directory not found
rm: cannot lstat `squirrelmail-1.4.13/config/co
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?
Don't worry about removing it if it does not exist.
Ok, thank you very much!!!
Where are the diff patch??
It is at the end of the post.