Commit graph

133 commits

Author SHA1 Message Date
Adam Weinberger
aa4ec0761c Update to 2015/10/31 snapshots. 2015-10-31 21:40:08 +00:00
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
Dmitry Marakasov
e8af6a22a2 - Add NO_ARCH for main/squirrelmail and all its plugins
PR:		202065
Submitted by:	amdmi3
Approved by:	adamw (maintainer)
2015-08-03 20:10:43 +00:00
Mathieu Arnold
88bfe4bd43 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
2015-05-11 18:34:57 +00:00
Adam Weinberger
56f1e57768 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
2015-03-24 19:16:35 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00
Adam Weinberger
e6871f0f28 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
2014-11-07 18:04:12 +00:00
Adam Weinberger
1b9f3a0a78 Change USE_PERL5 from install to run. It needs to be present for the actual
pkg installation now, not just the install target.
2014-08-28 15:31:36 +00:00
Adam Weinberger
e1630922bd 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.
2014-08-28 15:16:49 +00:00
Adam Weinberger
f7ed6fbff2 Fix up permissions on the script necessary to activate plugins.
PORTREVISION bump for changed plist.
2014-08-28 14:25:30 +00:00
Adam Weinberger
da8e4fbe0d Fix staging errors that broke all plugins in ports, but worked in pkg. 2014-08-28 14:21:06 +00:00
Adam Weinberger
65d8f20e32 Add CPE data to my ports. 2014-08-10 14:47:12 +00:00
Adam Weinberger
ec519e160e 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
2014-07-18 00:43:30 +00:00
Adam Weinberger
8c6dd4d1dc Clean up Makefiles. 2014-07-17 12:26:20 +00:00
Adam Weinberger
fa4bf2ee1d Add DOCS option for ports with PORTDOCS in plist. 2014-07-16 03:00:46 +00:00
Jimmy Olgeni
168f57451a 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)
2014-07-07 15:31:01 +00:00
Adam Weinberger
eea372244f Small cleanups, let pkg-create do permissions and ownerships its own
way rather than invoking chown and chmod ourselves.
2014-05-01 16:36:47 +00:00
Adam Weinberger
aeac7e9839 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
2014-04-20 19:37:09 +00:00
Adam Weinberger
38861779b7 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.
2014-02-28 19:28:23 +00:00
Martin Wilke
afba853254 - Stage support
- While here cleanup some whitespaces / dependencys
2014-02-18 12:40:01 +00:00
Adam Weinberger
d79595a5df 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
2013-12-29 15:58:55 +00:00
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