spamass-milter is a plugin for the Sendmail Milter (Mail Filter) library
that pipes all incoming mail (including things received by rmail/UUCP)
through the SpamAssassin, a highly customizable spam filter.
===> The following configuration options are available for spamass-milter-0.4.0_5:
DOCS=on: Build and/or install documentation
LDAP=off: LDAP protocol support
MILTER_PORT=off: Build against libmilter port
===> Use 'make config' to modify these settings
mail/spamass-milter: Fix build
- While converting USE_LDAP=yes to USES=ldap this port was missed. Fix
this.
- Utilize OPTIONS framework
- Utilize USES=localbase
- Refactor conditional PORTDOCS as by function this is conditional
PR: 269485
Reported by: dinoex
Approved by: portmgr (just-fix-it)
Fixes: 6e1233b Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
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 )
- bump MILTER_SOVER to fix linking on FREEBSD-12
- bump PORTREVISION on ports using libmilter
- rename WITH_SENDMAIL_PORT to WITH_MILTER_PORT
- rename WITH_SENDMAIL_BASE to WITH_MILTER_BASE
- rename WITH_SENDMAIL_STATIC_MILTER to WITH_MILTER_STATIC
- cleanup ifdefs
- fix build on batv-filter with libmilter from ports
Add a man page patch to document the -a option. Documentation change
only with no functional changes.
Obtained from: GitHub (andybalholm/spamass-milter revision 97b2369)
Submitted by: john@vinopal.com
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Update mail/spamass-milter to 0.4.0.
Brief summary of changes (taken from upstream release announcement):
- -C option to change the default reject code
- -S option to specify a path to sendmail (for the -x option)
- -R option to specify the rejection message
- -a option to skip messages that were authenticated
- IPv6 address support
- zombie process fix for the - option introduced in 0.3.2
Some of these changes (notably the -R and -a flags and the IPv6
support) were previously included in the port via patch files, which
are now unneeded and have been removed.
net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD
databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip
databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample
(Only the first 15 lines of the commit message are shown above )
Move {mail,japanese}/p5-Mail-SpamAssassin to &/spamassassin, in the name of
improving accessibility.
I think people who want to just find the port/package and install it are
more likely to look for "spamassassin the program" than "spamassassin the
perl module collection."
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Add LICENSE, drop MD5 checksum, use bsd.milter.mk and
pass maintainership to submitter.
PR: ports/154383
Submitted by: Mikhail T. <michael@fun-box.ru>
Feature safe: yes
RC_SCRIPTS_SUB is not needed in post-install since the port already
utilizes USE_RC_SUBR properly. I removed it from one location, but
neglected to test for others, mea culpa.
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
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)
- Correct WITH_SENDMAIL_BASE logic
- Change BROKEN to IGNORE since it's not broken but it's the sendmail that
does not support milter
PR: ports/111336
Submitted by: Thomas Abthorpe <thomas at goodking.ca> (maintainer)
- Set uid/gid and file protection on /var/run/spamass-milter,
allows easier integration for postfix mail
- Bump PORTREVISION
PR: ports/106153
Submitted by: Thomas Abthorpe <thomas@goodking.ca> (maintainer)
- add patch to skip spam checks on SMTP authenticated users by setting
WITH_ADDAUTH_PATCH environment variable at build time
- thanks to Steve Watt <steve_AT_watt.com> for providing the patch
- bump PORTREVISION
PR: ports/105571
Submitted by: Thomas Abthorpe<thomas@goodking.ca> (maintainer)
The recent change to SA-3.1.1 in PerMsgStatus.pm caused some headers
to leak into the displayed message when using spamass-milter, due to
the handing of LF/CR.
Dan Nelson, the author of Spamass-Milter, kindly replicated the
problem and provided the patch.
Submitted by: Forrest Aldrich <forrie__at__forrie.com>
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
- Support LDAP enabled systems, especially for people who have libmilter with
LDAP support.
PR: ports/73519
Submitted by: Lewis Thompson <purple@lewiz.net>
- Plug two problems related to spamassassin 3.0:
- #10488 Milter adding blank line with Spamassassin-3.0.0
- #10531 reject with SA 3.0.0
PR: ports/72591
Submitted by: ume
Rework installation to work with sendmail installed from ports tree.
If the sendmail port is installed, it is used by default, but the
installation can be told to use the base sendmail and ignore the port.
The case of not having sendmail installed in the base is still
handled correctly.
PR: ports/51087
Submitted by: Oleg Sharoiko <os@rsu.ru>
- Add a security/stability patch backported from main trunk. [1]
- Utilize USE_AUTOCONF_VER rather than having a direct dependency.
Submitted by: Andrew Belashov <bel@orel.ru> [1]
Approved by: maintainer
Obtained from: Savannah