1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
Commit Graph

110 Commits

Author SHA1 Message Date
Adam Weinberger
54d4090b46 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>
2013-12-12 01:32:34 +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
eb3a517e23 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)
2013-10-26 15:47:53 +00:00
Adam Weinberger
4b2913315a Correct a typo. 2013-10-26 00:51:30 +00:00
Adam Weinberger
253f18f499 Fix plist referencing a non-existent directory.
PORTREVISION bump.

PR:				ports/183152
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2013-10-22 02:50:50 +00:00
Adam Weinberger
f00258fc05 Remove php-5.3 restriction. 2013-10-21 01:52:16 +00:00
Adam Weinberger
e44eb56e7b Improve permissions on writeable directories.
PORTREVISION bump for safety.
2013-10-21 00:54:06 +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
6b0f47ceda Stage support and clean up the messy Makefile a little 2013-10-06 03:41:39 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +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
d3ece60c2c Prevent PREFIX from making its way into the plist for plugins.
This broke package builds of squirrelmail plugins.

Feature safe:	yes
2012-11-08 16:27:01 +00:00
Adam Weinberger
ece0321d16 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
2012-11-05 21:51:04 +00:00
Adam Weinberger
3c835018f9 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
2012-11-02 01:55:13 +00:00
Adam Weinberger
6823c9ac32 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
2012-10-16 09:32:51 +00:00
Adam Weinberger
797d7d4862 The l10n/i18n package has been separated, and now lives
in mail/squirrelmail-translations.
2012-10-08 16:47:09 +00:00
Adam Weinberger
f28b2ff376 Use language from WWW to clarify that JS is supported, but not
required.
2012-09-09 16:49:43 +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
Adam Weinberger
baff90e01b 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.
2012-09-09 15:49:17 +00:00
Adam Weinberger
f4a2b0b561 Convert the WITH_DATABASE and WITH_LDAP tunables to optionsNG.
PR:	ports/171092
2012-09-09 15:44:26 +00:00
Thomas Abthorpe
823acf08d5 - Pass maintainership to new maintainer 2012-09-09 03:32:37 +00:00
Thomas Abthorpe
5bba7f333a - Mark IGNORE_WITH_PHP=5
- There is a known compatibility issue with php-5.4, use php-5.3 instead

PR:		ports/171094
Submitted by:	adamw
2012-09-07 18:16:57 +00:00
Thomas Abthorpe
777fd59d46 - Mark CONFLICTS with squirreloutlook
Submitted by:	ketasbot
2012-06-07 15:03:15 +00:00
Doug Barton
2b1dacc826 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.
2011-10-24 04:17:37 +00:00
Thomas Abthorpe
b3d000774b - Update to 1.4.22
Security:	CVE-2010-4554
Security:	CVE-2010-4555
Security:	CVE-2011-2023
2011-09-08 16:55:21 +00:00
Sunpoet Po-Chuan Hsieh
a32defea5d - Use canonical format for FreeBSD.org MAINTAINER addresses
- Remove obsolete MD5 checksum while I'm here

PR:		ports/152844
Submitted by:	sunpoet (myself)
Approved by:	miwi (with portmgr hat)
2010-12-25 16:55:41 +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
5101aed274 - Restore i18n patch for Japanese filenames
PR:		ports/147203
Submitted by:	Kazuo Dohzono <dohzono axion-software.com>
2010-06-02 18:31:09 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Ion-Mihai Tetcu
b921eb40d2 Allow pre-everything, do-install and post-install targets to be redefined by
the ports that use this framework.
2010-05-22 19:16:54 +00:00
Thomas Abthorpe
670c0661fc - Update to 1.4.20 2010-03-09 15:38:58 +00:00
Thomas Abthorpe
f945fe31f7 - Set USE_PHP?= yes, so selected PHP modules can override setting
PR:		ports/143447
Submitted by:	Darren Pilgrim <darren.pilgrim gmail.com>
2010-02-02 03:25:56 +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
f7f3f5b942 - 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)
2009-11-10 19:23:06 +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
e7e0db674c - Update locales
- Switch back to SF mirrors
- Bump PORTREVISION
2009-08-31 23:34:47 +00:00
Thomas Abthorpe
c8a68c3874 - Update to 1.4.20.r2
Notified by:	jadawin
Security:	CVE-2009-2964
2009-08-30 04:49:26 +00:00
Thomas Abthorpe
cf43d6097a - Use FreeBSD ftp servers
- SF garr mirror seems to have corrupt distro
2009-08-22 15:37:32 +00:00
Dmitry Marakasov
ea6b41aa87 - Fix fetch 2009-08-22 00:45:38 +00:00
Dmitry Marakasov
a13d9a603d - Switch SourceForge ports to the new File Release System: categories starting with M 2009-08-22 00:28:34 +00:00
Thomas Abthorpe
466ee6fa5d - Host distfiles on FreeBSD ftp servers
PR:		ports/137965 (based on)
Submitted by:	Martin Schweizer <schweizer.martin gmail.com>
2009-08-21 13:44:56 +00:00
Thomas Abthorpe
3ddcf3a2ce - Preserve config_local.php
- Bump PORTREVISION

PR:		ports/134771
Submitted by:	Marcin Gryszkalis <mg fork.pl>
2009-06-17 13:21:59 +00:00
Thomas Abthorpe
8eaddd3b4d - Update to 1.4.19
Security:	CVE-2009-1381 CVE-2009-1579
2009-05-22 02:32:28 +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
Ion-Mihai Tetcu
12a7f8ff3d Enhance bsd.squirrelmail.mk:
- default SQUIRREL_PLUGIN_NAME to PORTNAME only if not already deifned
- provide default values for:
  CATEGORIES, MASTER_SITES, PKGNAMEPREFIX, PKGNAMESUFFIX
- if ${FILESDIR}/pkg-message.in exists, add it to SUB_FILES and set
  SQUIRREL_PLUGIN_NAME to the right value in SUB_LIST
- introduce USE_SM_COMPAT;
  if defined, RUN_DEPEND on mail/squirrelmail-compatibility-plugin
  for the old (v1) compat plugin you still need to depends by hand (since it's
  expected to go away shortly)
- bug-fix: install in the right place even if the install dir exists.

Approved by:	maintainer (on IRC)
2009-02-11 18:51:14 +00:00