Commit graph

115 commits

Author SHA1 Message Date
obache
59c281002a Define PATCH files related variables strictly.
works well even if define both options or one of the options.
2007-05-23 12:17:12 +00:00
taca
d09ffd7af3 A patch file for squirrelmail-lite option has updated to fix its
minor problem.

Bump PKGREVISION.
2007-05-22 11:13:27 +00:00
taca
988791e590 Add SHA1/RMD160 of squirrelmail-1.4.10a-lite-20070511-patch. 2007-05-22 01:47:53 +00:00
taca
d53b13a646 Add squirrelmail-japanese and squirrelmail-lite option.
These options supersedes ja-squirrelmail package.

Bump PKGREVISION.
2007-05-20 17:02:17 +00:00
heinz
7a09c8cbe7 Applied fix submitted by Ed Gould in PR pkg/36312 to enable build on
Solaris again.
On NetBSD, find accepts both "-o" and "-or".
2007-05-12 23:49:01 +00:00
martti
4e0d6ff5dd Require at least 1.4.10a 2007-05-10 10:22:40 +00:00
martti
3dca923544 Some pkglint -Wall fixes. 2007-05-10 10:08:24 +00:00
martti
87815fe5d5 Updated mail/squirrelmail to 1.4.10a
Shortly after the release of SquirrelMail 1.4.10, a regression in the compose
form was discovered. Unfortunately the limited disclosure of security patches
does not allow for public testing, so this regression went unnoticed. We're
sorry for the inconvenience.
2007-05-10 09:24:44 +00:00
martti
c92b80a946 Updated mail/squirrelmail to 1.4.10
This version, 1.4.10 is a maintenance release, addressing
the following problems since 1.4.9a:
- Some security fixes (see below)
- Small enhancements
- A collection of bugfixes and stability enhancements
(see ChangeLog for a full list)

Security issues
===============

This release addresses security issues found since the release of 1.4.9a:

There's an ongoing battle to further secure the HTML filter against malicious
HTML mail and the browsers that accept almost any malformed piece of HTML.

This release contains fixes for the following:
- HTML attachments containing "data:" URLs;
- Internet Explorer in various versions accepts many permutations of HTML
  and JavaScript in many charsets. We now properly canonicalize the incoming
  HTML to us-ascii before applying further filters. IE only.
- Request forgery through images. It was possible to include "images" in
  HTML mails which were in fact GET requests for the compose.php page sending
  mail. These images are now properly detected, and the compose form will only
  send mail through a POST request.

Thanks to Mikhail Markin, Tomas Kuliavas and Michael Jordon for reporting
(parts of) these issues and working with us to get them resolved.

These are known as CVE-2007-1262. Further details on SquirrelMail
vulnerabilities can be found at the following address:

  http://www.squirrelmail.org/security/
2007-05-10 06:48:28 +00:00
joerg
161c920c15 Prepare for switching to NO_MTREE=yes. 2007-03-24 19:21:18 +00:00
martti
db927393b5 Depend on the latest version. 2007-01-10 14:34:39 +00:00
joerg
18b2fb4e97 Fix man page installation. 2006-12-07 16:16:07 +00:00
taca
5f0c886de8 Oops, revert previous change; wrong usage of PKGMANDIR. 2006-12-07 05:37:49 +00:00
taca
eef3de1dea Use PKGMANDIR. 2006-12-06 15:26:57 +00:00
obache
c356f22de8 Update squirrelmail to 1.4.9a.
ChangLog:
Version 1.4.9a - 3 December 2006
--------------------------------
  - Security: Multiple IE cross site scripting issues related to the
    widely acceptation of the word expression and url by IE.
  - Security: Removing @import when sanitizing html mail.

Version 1.4.9 - 2 December 2006
-------------------------------
  - Drop obsolete script plugins/make_archive.pl.
  - Fixed Google translate form in translate plugin. Added new language
    pairs.
  - Added XMAGICTRASH extension tests in configtest utility. Removed code
    that handled 'inbox.trash' as special folder in courier (#1354393).
  - Allowed moving folders to trash in courier.
  - Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
    (#1543573).
  - Provide View Unsafe Images link on viewing a text/html attachment.
  - Fix variable typo in folders_create.php (#1545316).
  - Added Courier IMAP OUTBOX check to configtest utility.
  - If mailbox name starts with slash or contains ../, error message is
    generated. Safety check for insecure default UW IMAP setup (#1557078).
  - Ignore message copy errors when messages are deleted. Allows to delete
    messages when quota is exceeded (#614887, #646386, #1446026).
  - Fixed unintended literal fetching (#1562271).
  - Added global file based address book listing controls. Added line
    length configuration option for local_file address book backend
    (#1181561). Added address book data integrity checks in local_file
    address book backend. Fixed eregi and object notices in local_file
    and database address book backends. Added additional address book
    field support.
  - Fixed variable corruption in configtest utility.
  - Checked if configuration file is readable in configuration utility
    (#1568355).
  - Special mailboxes marked in special_mailbox hook are no longer listed
    in folder delete, rename and subscription options.
  - Translate plugin: prevent PHP notice when viewing empty message.
  - Add CEST and MEST (non-standard) timezone codes for +0200.
  - Add <label> to From field in message list.
  - Add support for parsing SpamAssassin's X-Spam-Status header (#1589520).
  - Fix in bodystructure parser code related to strings ending with an
    escape character.
  - Added "attachment */*" hook
  - Added third parameter $logout_link to logout_error hook that allows
    plugin control over login page URI displayed on login error page.
  - Security: close cross site scripting vulnerability in draft, compose
    and mailto functionality [CVE-2006-6142].
  - Security: work around an issue in Internet Explorer that would guess
    the mime type of a file based on contents, not Content-Type header.
2006-12-04 13:06:01 +00:00
tv
25a4024806 Use find -print | xargs rather than find -exec. 2006-11-10 17:34:09 +00:00
martti
116a2f0be1 Added BUILD_DEFS (taken from ja-squirrelmail). 2006-08-27 10:41:37 +00:00
tron
110188a54c Update "squirrelmail" and "squirrelmail-locales" package to version 1.4.8.
Changes since version 1.4.7:
- A security fix for CVE-2006-4019
- A collection of bugfixes
2006-08-14 15:57:40 +00:00
martti
746955f539 Updated squirrelmail to 1.4.7
- Fixed URL for Read Receipts being incorrect in some cases (#1177518).
  - Fixed endless loop when trying to parse "From: )(" (#1517867).
  - Using is_file() instead of file_exists() in fortune plugin (#1499134).
  - Add manual page for conf.pl under contrib.
  - Don't allow selecting INBOX as Sent, Draft or Trash folder (#1242346).
2006-07-13 07:59:34 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
tron
ddf9ee1bf8 Add fix for security issue 2006-06-01 from SquirrelMail CVS repository.
Bump package revision.
2006-06-04 12:31:31 +00:00
joerg
337c6b1297 Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@ and adrianp@.
2006-06-02 18:27:54 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
martti
7490bff8f2 Updated mail/squirrelmail to 1.4.6nb1
* added patch for Ukrainian translation (needed by the new squirrelmail-locales)
2006-04-11 05:24:20 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
martti
503ac616df - remove unused file (pkg/33089)
- pkglint -Wall fixes
2006-03-21 07:22:05 +00:00
martti
d5ce13fc07 Updated squirrelmail to 1.4.6
This release is very important, and we strongly advise everybody to
update to the latest release.

Security Update
===============
This version contains a number of security updates that were brought
to our attention via a number of sources.

- In webmail.php, the right_frame parameter was not properly sanitized
  to deal with very lenient browsers, which allowed for cross site
  scripting or frame replacing. [CVE-2006-0188]

- In the MagicHTML function, some very obscure constructs were
  discovered to be exploitable: 'u\rl' was interpreted as 'url' (privacy
  concern), and comments could be inside keywords (allows for cross site
  scripting). Both only affect Internet Explorer users. Found by Martijn
  Brinkers and Scott Hughes. [CVE-2006-0195]

- The function sqimap_mailbox_select did not strip newlines from the
  mailbox parameter, and thereby allowed for IMAP command injection.
  Found by Vicente Aguilera. [CVE-2006-0377]
2006-02-27 07:12:13 +00:00
martti
05d58c859d Fixed warnings found by pkglint -Wall. 2006-02-17 07:04:25 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
martti
812510de61 s/SMDIRDIR/SMDIR/ and bump PKGREVISION. 2006-02-03 10:26:17 +00:00
joerg
7185e37247 Use SUBST framework. Replace some "find foo | xargs bar" with
"find foo -exec bar {} \;" while here, the former is faster, but can't
cope with all quoting issues and is also more likely to hit argument
length limits. CONFLICT to ja-squirrelmail.
2006-01-20 23:56:59 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
martti
4486557513 List ${SMDIR} and ${SMDIR}/config in REQD_DIRS instead of OWN_DIRS
to avoid problems with bulk builds with CHECK_FILES=yes. Suggested
by Johnny Lam on tech-pkg@ list.
2005-12-10 19:23:01 +00:00
martti
7d79959d29 Use pre-configure instead of post-patch so it's easier to (re)create patches. 2005-12-09 10:18:11 +00:00
martti
3b1a329f6e - remove all .orig* files. Noted by Lubomir Sedlacik.
- use post-patch instead of pre-configure
2005-12-09 06:42:46 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
martti
c52fdd2dea Make this work with PHP 5.1.1 2005-12-05 20:13:38 +00:00
martti
d325b32f3c Updated squirrelmail to 1.4.5nb2
- avoid corrupted attachment downloads (pkg/32175).
2005-12-05 09:18:44 +00:00
schmonz
0d52819f71 Fix "Fatal error: Only variables can be passed by reference" in
several files that occurs with PHP 5.0.5 by applying the small
"squirrelmail-stable.diff" from the SourceForge page about the bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=1237160&group_id=311&atid=423679

Problem reported by Nathan Arthur in private mail. Fix OK'd by martti@.
2005-09-20 13:19:05 +00:00
taca
f6f08e41a0 - Allow depends on ja-squirrelmail package in buildlink3.mk.
- Some modification to MESSAGES:
	* remove trailing white space.
	* use www.example.com as example URL.
2005-07-20 15:42:34 +00:00
martti
9237642903 Updated mail/squirrelmail to 1.4.5
* lots of bug fixes
* translation updates
2005-07-18 07:04:27 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
martti
a27ffab393 CONFLICTS with ja-squirrelspell 2005-07-07 08:32:51 +00:00
martti
fc94cabe13 Drop trailing space 2005-07-07 08:30:22 +00:00
martti
1e7d44ee26 Added some common code for squirrelmail plugins. From cube@ in a private mail. 2005-07-06 12:21:17 +00:00
martti
8b622e56b7 Updated squirrelmail to 1.4.4nb1
* Fix several cross site scripting vulnerabilities

http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0337
2005-06-16 07:30:40 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00