The bogom plugin can be used with the milter API of sendmail to filter
mails using bogofilter bayesian filter. It is intended to be used with
only one words database for the whole system.
===> The following configuration options are available for milter-bogom-1.9.2_5:
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 )
- 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
mail/milter-bogom: Fix build on systems without base sendmail
There was an attempt to support ports sendmail made, but the attempt
didn't work. Well, it accidently worked because the compilers looked
for headers and libraries at LOCALBASE/include and LOCALBASE/lib so
the bad LDFLAGS value was ignored. Fix ports-sendmail LDFLAGS and
explicitly set -I so milter-bogom builds on all compilers.
Approved by: just fix it
mail category: Remove $PTHREAD_LIBS
Note: The following ports did not pass check-plist (CP) or stage-qa (QA)
tests. The sendmail port has many problems, but this was already known
by myself as I fixed it properly on DPorts last week. It's a forward
action to submit a PR against mail/sendmail.
* antivirus-milter (CP)
* dk-milter (CP)
* milter-regex (CP)
* sendmail (CP, QA)
approved by: PTHREAD blanket
five milter ports: Add or improve support on systems missing sendmail
In some cases no-sendmail support was in place but missing CFLAGS or
LDFLAGS, but in others it needed to be added. Problems found as a result
of DragonFly removing sendmail from base.
Approved by: just fix it.
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.
the boot script evaluated milterbogom_flags before reading the configuration
from rc.conf, so if you changed things like milterbogom_user it will not take
the changes.
This was noticed by Andrey Chernov and he also sent the patch to fix it.
PR: 105262
Submitted by: Victor Balada Diaz <victor@bsdes.net> (maintainer)
[1]:
- Create the bogomilter user with /sbin/nologin as shell and /nonexistent
as home directory
- Update the maintainer's email address
Moreover:
- Unconditionally define PORTDOCS, as ${NOPORTDOCS} is now tested by
bsd.port.mk
- Install manual page in ${MAN8PREFIX}
[1]:
PR: ports/82583
Submitted by: maintainer
[1]:
- Update to 1.7.1
- Convert the startup script to rcNG
- Create a bogomilter user
Moreover:
- Use ${LOCALBASE}/bin/bogofilter rather than /usr/local/bin/bogofilter
- Fix the configuration file path in bogom.8
- Fix the packing list when NOPORTDOCS is defined
PR: ports/81417 [1]
Submitted by: maintainer [1]