This is a port of Emmanuel Dreyfus' milter-greylist.
Grey listing is a wonderful spam filtering technique, which uses a behavior
trick: spammers never resend a message when they get a temporary error,
whereas real MTA do. The idea is to refuse any mail on first attempt, and
accept it after some time has elapsed.
milter-greylist is a stand-alone milter written in C that implement grey
listing.
===> The following configuration options are available for milter-greylist-4.6.4_3:
CURL=on: curl support
DKIM=on: DKIM support
DOCS=on: Build and/or install documentation
DRAC=off: DRAC support
EXAMPLES=on: Build and/or install examples
GEOIP=on: GeoIP IP location support
LDAP=off: LDAP protocol support
P0F=off: P0F support
POSTFIX=off: Use Postfix instead of Sendmail
SPAMASSASSIN=off: SpamAssassin support
SPF=on: SPF support
===> Use 'make config' to modify these settings
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
For ports in `mail' category: remove redundant PKGMESSAGE assignment,
which is set appropriately by the b.p.m when `pkg-message' appears on
the SUB_FILES list.
mail/milter-greylist: Bring in DKIM option from milter-greylist-devel
While here, make DKIM, SPF, GEOIP and CURL default like -devel
PR: 220256
Submitted by: m.tsatsenko@gmail.com (maintainer)
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
mail/milter-greylist: minor fixes
- Use LIB_DEPS for curl, spf and geoip
- Use ${PORTSDIR} instead of {.CURDIR} for bsd.milter.mk location
- Do not bump PORTREVISION as all of curl, spf and geoip are disabled by defaul
PR: 193993
Submitted by: Mikhail Tsatsenko <m.tsatsenko@gmail.com>
Approved by: mentors (implicit)
mail/libspf2:
- Convert to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
(Also some white space fixes in dependent ports)
Approved by: portmgr (implicit, bump unstaged port)
mail/milter-greylist: Fix and simplify makefile
This port was conditionally installing manpages per option, which is
not allowed. While fixing this, align it with the recently modernized
milter-greylist-devel port, which includes:
* Remove assignment of BUILD_DEPENDS to RUN_DEPENDS (illegal). The
BUILD_DEPENDS is empty by default
* Use options to set dependencies and configure arguments
* Use PORTDOCS and PORTEXAMPLES
* Wrap to 80 columns
* Combine post-install target with do-install target
* include local .mk with relative path instead of hardcoded PORTSDIR
PR: 192740
Submitted by: Daniel Austin (per my request)
Approved by: Just Fix It
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 )
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
- Update to 4.4.3
- Add a site specified in milter-greylist-devel to MASTER_SITE.
- Add LICENSE.
- Appropriate configure option for the version of net-mgmt/p0f.
- Fix to be able to specify IPv6 address to syncsrcaddr.
PR: ports/176950
Submitted by: ume
Reviewed by: Mikhail Tsatsenko <m.tsatsenko__at__gmail.com> (maintainer)
Approved by: Mikhail Tsatsenko <m.tsatsenko__at__gmail.com> (maintainer)
- Update the port to 4.4.1
- Convert to OptionsNG
- Use new Makefile header format
PR: ports/176734
Submitted by: "Mikhail T." <m.tsatsenko@gmail.com> (maintainer)
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
Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
- Respect NO_INSTALL_MANPAGES
- repocopy [files/milter-greylist.sh -> files/milter-greylist.in, pkg-message ->
files/pkg-message.in]
itectu@: no more .sh
- Bump PORTREVISION
- Broken messages are not quoted
- silence some portlint tab warnings
- seperate NOPORTDOCS from NOPORTEXAMPLES
- drop 5.x support
- use SUB_FILES for pkg-message processing
- make use of @dirrmtry in pkg-plist
PR: 125653
Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com> (almost all)
- Add option to use sendmail from base/ports
- Add option to use libspf2
PR: ports/85795
Submitted by: Cyril Guibourg <aragorn@babasse.net> (maintainer)
Add milter-greylist, a milter for sendmail written in C that implements
grey listing. Grey listing is a spam filtering technique, which uses a behavior
trick: spammers never resend a message when they get a temporary error,
whereas real MTA do. The idea is to refuse any mail on first attempt, and
accept it after some time has elapsed.
PR: ports/67252
Submitted by: Cyril Guibourg <aragorn+ports@teaser.fr>