SquirrelMail is a standards-based webmail package written in PHP.
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 a all
the functionality you would want from an email client, including
strong MIME support, address books, and folder manipulation
===> The following configuration options are available for squirrelmail-php83-20250613:
DATABASE=off: PDO database support (must also install a driver)
DOCS=on: Build and/or install documentation
LDAP=off: LDAP protocol support
===> Use 'make config' to modify these settings
To activate SquirrelMail, you must complete the following steps:
1) Set up a VirtualHost or an alias in httpd.conf that points to
/usr/local/www/squirrelmail
2) Make sure the following is set in your php.ini:
file_uploads = On
3) Configure your installation.
SQUIRRELMAIL WILL NOT WORK UNTIL THIS HAS BEEN DONE.
cd /usr/local/www/squirrelmail && ./configure
4) It is best practice to change the data/user preference directory
(under General Options) to somewhere outside of
/usr/local/www/squirrelmail.
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
all versions of php
* security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
all versions of php
* devel/pear-PHPTAL: Remove OPTION JSON
* www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
and later and has been replaced with sqlsrv module which is Windows
only
* www/codeigniter: Remove OPTION MSSQL
* www/moodle311: Remove OPTION MSSQL
* www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above )
mail/squirrelmail: Update to 20211024
While here,
* Switch to DISTVERSION
* Pet portclippy
* Re-format Makefile with portfmt
PR: 259405
Reported by: James B. Byrne
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
Disable portscout for the time being
Details:
Maintainer observes false positives almost every day. Apparently the
distfiles are automatically recreated even if there is no change, but
portscout notices it and sends an e-mail to maintainer.
mail/squirrelmail: Update to 20170705
While here, give maintainership to submitter
PR: 219801
Submitted by: Zsolt Udvari <uzsolt@uzsolt.hu>
MFH: 2017Q3
Security: e1de77e8-c45e-48d7-8866-5a6f943046de
Update squirrelmail to 20161030 sources, which most notably brings
much better php70 support. The optional database backend has switched
from PEAR to PDO, so include an UPDATING note about it.
ispell isn't available in FreeBSD and hasn't been for quite some time.
Change references to ispell into aspell, which is readily available.
PR: 202980
Submitted by: mcdouga9@egr.msu.edu
Remove the suggestion to add session.auto_start=1 to php.ini if
logging in fails. On modern PHP, it *makes* logging in fail.
PORTREVISION bump to be on the safe side.
PR: 202226
Submitted by: freebsd@alexus.org
Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
Update squirrelmail* to 20150324, and clean up permission/owner handling in
the plists.
Also, avoid registering plugins during package build. It only makes sense to
run the registration on end-user machines, and running it during package
building
leads to a stagedir violation, as noted in [1].
PR: 198044 [1]
Submitted by: amdmi3
Update squirrelmail to 20141107.
Changes:
* Add session variables that store information about most recent fatal IMAP
error
* Prevent session lock-up caused by filters plugin trying to move messages in
an account that is over quota
Move plugin installation into the plist, rather than post-install, so
that it will work when installed from binary pkg.
Bump PORTREVISION on all plugins for this.
Update to 20140717.
Upstream changes include:
- Add ability to search the FROM header for a given address
- Resumed drafts now use the correct identity
- Lighten folder refresh - let browser cache images and whatnot
- Make sure sender and subject are never blank
- Make sure folder list refresh gets non-empty response
- Remove senseless restrictions on abook nicknames
Port changes include:
squirrelmail:
- Improve installed permissions on all SM files
- Introduce a pkg-help instead of a pre-everything message
- Given the lack of pear-DB (old-style) drivers in the ports
tree, it may be time to retire the DATABASE option altogether?
squirrelmail-translations:
- Depend on squirrelmail by identical PORTVERSION to
prevent strings from being used with a different squirrelmail
revision
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.
CR: D306
Approved by: portmgr (bapt)
Update to SquirrelMail STABLE 2014/04/20. Also cleaning up
the Makefiles, and using @sample.
Notable changes include:
* Add advanced control over the SSL context used when connecting to the
SMTP and IMAP servers over SSL/TLS (Thanks to Emmanuel Dreyfus)
* Add ability to show login error from the IMAP server instead of
traditional "Unknown user or password incorrect" (thanks to Alain
Williams)
* Allow SSL socket context to be specified as well
* Make configuration tool show the SquirrelMail version
* Better hook results testing
* Add ability to use console.log for debugging
* Turn off debugging by default
* Add new attachments_top hook
STAGE makes it a bit tricky to specify permissions and ownership
on directories. It looks like chown in the plist and chmod in
do-install does the right thing.
PORTREVISION bump as ownership on some folders has changed. The
chmod in the plist seems to be a NO-OP but I'm leaving them in in
case they magically work in the future.
Update to 2013/12/29.
Changes include:
* Preserve compose action during HTML address book activity
* Make $xtra in displayHtmlHeader() global so plugins can modify it; Add
some generic JavaScript libraries with mechanism that allows any page or
plugin to ask for them or others to be loaded; Add two new mechanisms for
the folder pane refresh that use JavaScript to ensure the server is
responding before initiating the refresh
* Add full date and time as "title" (mouseover) text for dates shown on the
message list screen
It turns out that letting bsd.squirrelmail.mk define CATEGORIES
broke PKGORIGIN, which is created in bsd.port.pre.mk. Oops.
So, I've added CATEGORIES back to all the plugins, and bumped
PORTREVISION so that packages with correct origins can be
created.
Thanks to: Stefan Bethke <stb@lassitu.de>
Create a generic PKGMESSAGE, and use it where appropriate.
Make sure that bsd.port.pre.mk is included before bsd.squirrelmail.mk.
For ports with maintainers, I haven't switched you to the new
PKGMESSAGE, but I have corrected paths in pkg-message.in where
necessary. I also got a little over-zealous in cleaning redundant
definitions from the headers. Apologies in advance if this rubs
you the wrong way.
Update to 2013/10/26
In particular:
* Add new spacer image and allow its use for unsafe images instead of
the sec_remove_* image -- brings HTML emails into the modern age
(much more viewable)
It has been 2.5 years since the last SquirrelMail release. In this
time, there have been many fixes added to the source tree, including
the PHP 5.4 and 5.5 fixes, requests for which have become the bane
of my maintainer existence.
The SM team is hard at work on the next version, but at this time it
is unclear whether the next version will ever see a full release.
As a result, this port will begin following hand-picked SVN snapshots.
So, the port officially accepts PHP 5.4 and 5.5, though if you
encounter weird errors please DTRT and report it to the SM developers
and then downgrade your PHP to 5.3.
The other major thing here is that the default location for user
preferences and attachments is being changed. Previously we used
(Only the first 15 lines of the commit message are shown above )
Use the php54-safe sqsession_unregister() instead of the deprecated
and removed session_unregister(). This is solely a php-5.4 fix.
PORTREVISION bump, but since this port does not officially support
php-5.4 I have no plans to merge this patch to RELENG_9_1_0.
Feature safe: yes
Make sure plugins use the same php version as the main squirrelmail
port. This is an issue for packages, where dependencies are computed
before other dependencies are installed.
While we're at it, remove the vestigial WITHOUT_WWWDIR thing. I'm
just assuming noone uses it, and if you do, then you can set
SQUIRRELDIR= as noted in the file---this is the same setting used in
the main squirrelmail port.
Feature safe: yes
I know that the error for php-5.4 incompatibility confusingly says
that squirrelmail is incompatible with php-5 entirely, but it is just
php-5.4 that it is incompatible with. I'm adding some more verbose and
setting the default to 5.3 if php isn't installed, but there's not a
lot else I can do.
There is an open PR to make the error message more clear, but at the end
of the day php-5.4 compatibility is waiting only on the SM team to
make another release.
Feature safe: yes
Rather than using cp -R and warning about umask values, use cpio.
As a result, this picks up an .htaccess in DOCSDIR that we were missing
before.
Also, prevent a patch remnant from getting installed.
PORTREVISION bumped for plist change.
Feature safe: yes
Don't clobber php54's hex2bin(). This resolves a compatability issue
between squirrelmail and php54, though others remain.
This patch was adapted from the squirrelmail SVN repo.
Remove WITHOUT_WWWDIR. This was a tunable to install into a nonstandard
location. It came with a pre-everything message warning you of the change.
This happened 8.5 years ago, so I am hoping people have converted over by
now. If not, just set SQUIRRELDIR to whatever path you please. This is
noted also in the Makefile.
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
- Use USE_PERL5_RUN instead of USE_PERL5_BUILD
- Move perl dependency before <bsd.port.pre.mk>
- Adopt mail/squirrelmail-login_notes-plugin while I am here
- There is no bump as the same functionality is maintained
Requested by: linimon
Approved by: portmgr (linimon)
- Fix imap search [1]
- Really fix Japanese text corruption [2]
- Bump PORTREVISION
Submitted by: Carlos Fernando Assis Paniago via Simon Dick [1]
Submitted by: Kazuo Dohzono [2]
Obtained from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550763 [1]