Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18708 - Request for Squirrelmail 1.4.0 ebuild
Summary: Request for Squirrelmail 1.4.0 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
: 18805 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-03 15:34 UTC by Narada Sage
Modified: 2003-04-29 15:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Squirrelmail 1.4.0 ebuild (squirrelmail-1.4.0.tar.bz2,1.06 KB, application/x-bzip2)
2003-04-18 13:44 UTC, Wayne Davison
Details
Slightly improved version of previous ebuild. (squirrelmail-1.4.0.tar.bz2,1.11 KB, application/x-bzip2)
2003-04-19 12:17 UTC, Wayne Davison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2003-04-03 15:34:33 UTC
Hello

This is a request for the newly released Squirrel Mail 1.4.0 to be added to 
portage!  Here are the links of relevance.

Site: http://www.squirrelmail.org/
Download page: http://www.squirrelmail.org/download.php

Many thanks
Comment 1 Narada Sage 2003-04-03 15:41:35 UTC
In case, it is of interest here is the announcement email.

----
Ladies and Gentlemen,

After a long wait, serious testing, breaking, and work from developers
and users alike, it's out pleasure to announce the final release of
SquirrelMail 1.4.0 to the SquirrelMail stable branch.

Changes in this Release
=======================
This release brings forward some major changes in the way we handle
IMAP results, increasing our compatibility with IMAP servers. Other
changes include additional languages, faster mail handling, and
improved MIME support. A big introduction in this version is the
implementation of different authentication methods. To use TLS, PHP
4.3.0 or higher is required, further information on secure
authentication can be found in the docs.

For further information about the changes made, please see the
ChangeLog, and ReleaseNotes document.

The latest release can be downloaded from the SquirrelMail website at
http://www.squirrelmail.org/download.php

Happy SquirrelMailing
The SquirrelMail development Team
----
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-05 11:33:51 UTC
*** Bug 18805 has been marked as a duplicate of this bug. ***
Comment 3 Wayne Davison 2003-04-18 13:44:14 UTC
Created attachment 10848 [details]
Squirrelmail 1.4.0 ebuild

This ebuild is almost identical to the 1.2.11 ebuild -- I just modified the
chown statement to only chown the data dir to owned by apache.	I beleive
this is safer than allowing a web server process to modify the scripts
themselves (just in case some apache bug allows people to run arbitrary
commands, having directories and scripts owned by apache is a security
risk).	The tmp dir (whichever one you setup) needs to be writable by
user apache as well, but that is outside the scope of the ebuild (some
folks just use /tmp).

To use the attached file, untar it into /usr/local/portage/net-mail and make
sure you have the PORTDIR_OVERLAY uncommented in your /etc/make.conf file.
Then, just emerge squirrelmail as normal.

I've been using the rc2a version of 1.4.0 for a couple months now, and it has
worked great, so hopefully this final version will be just as good.
Comment 4 Aniruddha Shankar 2003-04-19 03:06:59 UTC
Is there anyone who has tested out wayne davison (gentoo@blorf.net)'s ebuild ? I'm 
dying to put 1.4 on my univ's mailserver but a bit wary of migrating a 500 user 
installation to something that's not tested / confirmed. Depending on how 
foolhardy/brave I'm feeling i'll emerge it sometime this weekend I guess... and report 
back.  
 
Aniruddha Shankar 
Bangalore, India 
Comment 5 Narada Sage 2003-04-19 06:00:37 UTC
Hello.  Here are the following security precautions when rolling out squirrelmail as recommended by the squirrelmail team.  The directories below are located in the squirrelmail webmail directory.

chown -R apache:apache data
mkdir attachments
chown -R root:apache attachments
chmod 730 attachments

The ebuild should work in this way to follow suit with official instructions.  Many thanks.
Comment 6 Wayne Davison 2003-04-19 12:17:39 UTC
Created attachment 10874 [details]
Slightly improved version of previous ebuild.

This ebuild improves one more thing in the install process -- it doesn't nag
the user about moving old squirrelmail files to new their new location when
there are no old-version files to move.  Everything else about it is the same
and there is no change to the installed files, so I left it at the same ebuild
version.

As in the previous ebuild, this one only chowns the data dir to apache:apache,
so it conforms to the official security instructions.  The ebuild does not
install an attachment directory, so it leaves it up to the user to follow
the instructions in the configuration process on where to put this directory
and how to make it safe.

If the attachment directory were to be added to the official ebuild we
would need to put a .keep file into it (to prevent the next install from
removing a possibly empty dir), and we should therefore also install a
daily crontab script to cleanup the attachement directory without removing
the .keep file.  Such an improvement seems like a good idea to me, but I
I thought I'd leave it out for now to see if anyone else likes the idea.
If so, we should probably also patch the config.pl script to mention the
suggested setting for the attachement directory and that it was already
being auto-cleaned.
Comment 7 Wayne Davison 2003-04-25 10:25:05 UTC
Looks like Daniel Ahlberg has committed a 1.4.0 ebuild, but it is just a copy
of the 1.2.11 ebuild file and does not have the security fix nor the anti-nag
change that is present in my version of the ebuild.
Comment 8 Narada Sage 2003-04-25 10:47:35 UTC
Frankly, I think the ebuild should just place the package contents in the right locations in the default manner.  The rest (advice, configuration, migration of old config and non-essential security modifications) should be left upto the end user and the project site which in this case would be squirrelmail.org.  That is the most widely applicable and neutral method of installation.  Some changes that were suggested were actually individual preferences rather than global installation requirements.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-04-25 11:25:50 UTC
i'll fix this asap
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2003-04-29 15:49:13 UTC
added in cvs

thx