Commit graph

32 commits

Author SHA1 Message Date
Adam Weinberger
19821154c0 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
2015-10-03 18:04:52 +00:00
Adam Weinberger
34486bf0b5 Add perl5 to USES, with USE_PERL5=run, for the ${WWWDIR}/configure
script.

While here, sort USES, and regenerate a patch with makepatch.
2015-09-11 20:25:12 +00:00
Adam Weinberger
23c17d9287 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
2015-08-15 16:07:27 +00:00
Adam Weinberger
6ad04afc40 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.
2013-12-08 18:59:35 +00:00
Adam Weinberger
2518b93d90 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
/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.
2013-10-21 00:49:45 +00:00
Adam Weinberger
367c9fdbd1 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
2012-11-16 21:24:54 +00:00
Adam Weinberger
823896d5e8 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.
2012-09-09 16:41:29 +00:00
Adam Weinberger
774ca7d51a Let bsd.port.mk create users and groups rather than doing it
ourselves. Introduces SMUSER/SMGROUP tunables.
2012-09-09 16:29:30 +00:00
Thomas Abthorpe
235006770e - Update to 1.4.21
PR:		ports/149063 (based on)
Submitted by:	Daniel Bond <db nsn.no>
Security:	CVE-2010-1637 and CVE-2010-2813
2010-08-04 20:37:13 +00:00
Thomas Abthorpe
33ae9de6f4 - Really add patch this time 2010-06-02 18:31:53 +00:00
Thomas Abthorpe
670c0661fc - Update to 1.4.20 2010-03-09 15:38:58 +00:00
Thomas Abthorpe
5d79e9f084 - Really fix IMAP search
- Bump PORTREVISION

PR:		ports/141736
Submitted by:	Yuri Pankov <yuri.pankov gmail.com>
2010-01-04 21:12:48 +00:00
Thomas Abthorpe
8590dd2b0c - 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]
2009-11-10 04:10:37 +00:00
Thomas Abthorpe
1a5d375f7e - Fix Japanese (and possibly other) text corruption on forward/reply
- Bump PORTREVISION

PR:		ports/139360
Submitted by:	Kazuo Dohzono <dohzono axion-software.com>
2009-10-29 18:44:23 +00:00
Thomas Abthorpe
982e08ff3d - Fix Deliver.class.php patch
- Bump PORTREVISION

Submitted by:	Marcin Gryszkalis <mg fork.pl> via private email
2009-05-21 05:29:05 +00:00
Thomas Abthorpe
feea6b4060 - Update to 1.4.18
- Fix Subject/filename/non-ascii filename issue [1]

PR:		ports/133652 [1]
Submitted by:	Kazuo Dohzono <dohzono gmail.com> [1]
Security:	CVE-2009-1581 CVE-2009-1578 CVE-2009-1579 CVE-2009-1580
2009-05-20 16:21:01 +00:00
Thomas Abthorpe
dcbe138102 - Update to 1.4.16
- Document plugin behaviour in pkg-message [1]

Prompted by:	Petr Rehor [1]
Security:	http://www.vuxml.org/freebsd/a0afb4b9-89a1-11dd-a65b-00163e000016.html
2008-09-29 12:25:08 +00:00
Martin Wilke
05225d5923 - Update to 1.4.13
PR:		118781
Submitted by:	Simon Dick <simond@irrelevant.org> (maintainer)
Security:	http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-6348
2007-12-18 16:03:29 +00:00
Martin Wilke
cda1a0be94 - Update to 1.4.11
PR:		117237
Submitted by:	Simon Dick <simond@irrelevant.org> (maintainer)
2007-10-23 13:10:09 +00:00
Martin Wilke
663be9585a - Update port to 1.4.10:
* 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
2007-05-21 20:23:57 +00:00
Rong-En Fan
4836832449 - Update to 1.4.7
PR:		99799
Submitted by:	maintainer
Approved by:	delphij (mentor, implicit)
2006-07-07 14:06:31 +00:00
Ion-Mihai Tetcu
6ebb546ade Security fix for remote user able to access local files on the server without
requiring login.

PR:		ports/98588
Submitted by:	maintainer
Approved by:	lawrance (mentor, implicit)
Security:	http://vuxml.FreeBSD.org/00784d6e-f4ce-11da-87a1-000c6ec775d9.html
2006-06-06 10:30:47 +00:00
Renato Botelho
3bd9a9476d - Rework Makefile - portlintification
- Remove CONFLICTS since ja-squirrelmail port was removed

Approved by:	maintainer via email
2006-03-20 16:24:34 +00:00
Renato Botelho
66bb357d64 - Update to 1.46 -- Fixes multiply vulnerabilities
PR:		ports/93774
Submitted by:	Thomas Vogt <thomas@bsdunix.ch>
Reworked by:	maintainer
Approved by:	portmgr (linimon), maintainer
Security:	CVE-2006-0195
		CVE-2006-0377
		CVE-2006-0188
		CVE-2005-1769
		CVE-2005-2095
2006-03-01 20:23:17 +00:00
Sam Lawrance
54f9cc650d Update to work with PHP5.
PR:		ports/92892
Submitted by:	Simon Dick <simond@irrelevant.org> (maintainer)
2006-02-09 13:33:18 +00:00
Renato Botelho
05c76f798e Update squirrelmail port to work under PHP5+ until the next
release comes out with the fix already in.

PR:		ports/85909
Submitted by:	maintainer
2005-09-09 15:58:08 +00:00
Norikatsu Shigemura
d02b8823ae Update to 1.4.4.
PR:		ports/76886[1], ports/76584[2]
Submitted by:	Simon Dick <simond@irrelevant.org> (maintainer) [1]
		Joseph Scott <joseph@randomnetworks.com> [2]
2005-02-08 15:35:37 +00:00
Norikatsu Shigemura
6d37a26663 Fix for XSS scripting flaw.
PR:		ports/73667
Submitted by:	Simon Dick <simond@home.irrelevant.org> (maintainer)
2004-11-08 17:17:43 +00:00
Pav Lucistnik
fe3f03d8e1 - Update to 1.4.3
PR:		ports/67486
Submitted by:	Simon Dick <simond@irrelevant.org> (maintainer)
2004-06-02 19:37:29 +00:00
Edwin Groothuis
5140d21c9d mail/squirrelmail - Port Docs in wrong location
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
2004-01-13 09:14:24 +00:00
Patrick Li
445cbfd502 Update to 1.2.6
PR:		37592
Submitted by:	maintainer
2002-04-30 23:22:52 +00:00
Patrick Li
6cf20ecdaf Install .htaccess file in user prefs directory by default so people cannot
see the configuration. Bump PORTREVISION.

PR:		35507
Submitted by:	maintainer
2002-03-04 00:35:36 +00:00