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.
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
/var/spool/squirrelmail which is really not in-line with FreeBSD's
hier(7). Now we use paths under $PREFIX, respectively
$PREFIX/www/squirrelmail/data and .../attach.
You can either copy /var/spool/squirrelmail/pref/* into
$PREFIX/www/squirrelmail/data, and /var/.../attach/* into
$PREFIX/.../attach, and then run $PREFIX/www/squirrelmail/configure,
or you can do nothing in which case that's totally fine too and
your installation won't break or anything.
Note that best practice, as recommended by the SM installation notes
and common sense, would suggest moving your user data files
to someplace outside of the $PREFIX/www/squirrelmail.
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
- 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]
* Some security fixes (see below)
* Small enhancements
* A collection of bugfixes and stability enhancements
PR: 112548
Submitted by: Simon Dick <simond@irrelevant.org> (maintainer)
Approved by: portmgr (marcus)
Security: http://www.vuxml.org/freebsd/0e575ed3-0764-11dc-a80b-0016179b2dd5.html
Installation of mail/squirrelmail places the ports documentation
in PREFIX/squirrelmail, and you are not able to not install
the documentation with NOPORTDOCS.
- installs all documentation to the DOCSDIR directory
- fixes security of the port by moving the attachment
and user preferences out of the web servers document
root (moves default data_dir & attachment_dir from
SQUIRRELDIR/data to sub-directorys under
/var/spool/squirrelmail) as recommended on the
SquirrelMail web site.
- adds a periodic/daily script to clean the attachment
directory of abandoned files (disabled by default)
- location of squirrelmail can be set by either defining
SQUIRRELDIR or WITHOUT_WWWDIR when patching and installing
the port.
- BENTO FIX: The /var/spool/squirrelmail directory is
created by pkg-install, but it wasn't being uninstalled.
Connditionalized the creation of this directory depending
on how the BATCH variable is set. A message in pkg-deinstall
advises the port user to remove it if no longer needed.
PR: ports/50840
Submitted by: Scot W. Hetzel <hetzels@westbend.net>
Approved by: Maintainer timeout