This plugin will place "Spam" and/or "Not Spam" buttons on the mailbox message
list page as well as on a single message view page. The action associated with
the buttons (as well as the button text) can be configured to suit most any
spam reporting system. Reporting by email, reporting by executing a command on
the server and reporting by moving (or copying) the message to a designated
folder are all supported. Any number of custom buttons may also be added, where
the associated action is completely customizable (for instance, adding the
message sender to a whitelist or blacklist).
===> The following configuration options are available for squirrelmail-spam-buttons-plugin-php81-2.3.1_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above )
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.
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>
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.
CATEGORIES is defined in bsd.squirrelmail.mk which is always loaded after .mk
inclusion leading to PKGORIGIN not being set when needed.
Nothing requires bsd.squirrelmail to be loaded after bsd.port.pre.mk but the
PORTDIR.
Convert "${PORTDIR}/mail" to ${.CURDIR}/.. and remove all the pre.mk/post.mk
dancine
Reported by: erwin
Upate to 2.3.1. Changes:
- Updated for compatibility with SquirrelMail 1.4.18
- Added check for patch in configtest for SquirrelMail versions that require it
- Added some documentation about error that occurs when Compatibility plugin is
missing
- Correctly handle plural forms of success message for custom reporting
mechanism with ngettext
- Minor fix to accomodate Dovecot issue with UIDs that can be bigger than
normal integer values
Obey NOPORTDOCS; but not DOCSDIR, it doesn't make much sense in this case.
Poked by: portscout
- 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)
Update to 2.2:
Requires: SquirrelMail 1.4.0+, Compatibility 2.0.7+
Description:
- Added ability to add any number of extra custom buttons/links, such as
whitelist or blacklist, etc. See configuration file for details
- Added new report method: custom PHP callback - sample implementation is
included, but is ultimately your reponsibility
- Fixed possible PHP notices caused by unmigrated prefs (v2.0->v2.1+)
- Fine-tuned some internal logic for when buttons are shown or not
- Slightly better, more efficient header inspection
- Fix bug in report-by-email-attachment functionality for 1.4.14+ and 1.5.2+
- Added ability to decide if spam reports sent as email attachments should be
stored in user's sent folder or not
- Added ability to store configuration file in main SquirrelMail config
directory (must be named "config_spam_buttons.php") (if you want this you
must do it by hand, the port doens't install it there).
Use bsd.squirrelmail.mk.
Prompted by: portscout (via miwi@)
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)