distinguish between upgrades and fresh installs. Also,
backport an upstream patch that allows Postfix packages
to build in a jail that has IPv6 enabled, but no addresses
assigned on any interface.
/etc/mail/mailer.conf does not exist, e.g. when
FreeBSD is built WITHOUT_MAILWRAPPER.
This commit only affects legacy Postfix releases,
as the latest stable and development ports already
perform this check.
Requested by: miwi
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.
of Postfix to use closefrom() for __FreeBSD_version >= 702104 too.
Submitted by: Sahil Tandon, sahil at tandon.net (maintainer)
Tested by: wxs (7.X), keramida (head)
FreeBSD-8.0 after the new closefrom() system call was added.
PR: ports/136459
Submitted by: Eygene Ryabinkin
Approved by: erwin (portmgr), Sahil Tandon (maintainer)
This resulted in a bizarre case where making a backup package after an
upgrade would fail (ports/135051).
- Don't install obsolete files by adding them to ${WRKSRC}/conf/postfix-files.
- Whitespace cleanup.
- Define and pass DAEMONDIR to the pkg-install script.
PR: ports/135051
Submitted by: Takefu Kenji <takefu@airport.fm>, Yarema <yds@CoolRat.org>
Approved by: sahil@tandon.net (maintainer)
With plaintext SMTP sessions AND smtpd_tls_auth_only=yes AND
smtp_sasl_auth_enable=yes, the SMTP server logged warnings for
reject_*_sender_login_mismatch, instead of enforcing them.
Revert the default alias_database and alias_maps paths to /etc/aliases (instead
of /etc/mail/aliases) -- the change to the latter was introduced in the
"refactoring" patch (ports/ports/134728) and is incompatible with older
versions of mail/postfix on FreeBSD and inconsistent with how the software is
designed to work upstream.
Finally, we IGNORE= when WITH_VDA is set until the VDA folks release a patch
that definitely works with 2.6.2. Although I suspect the 2.6.1 patch would
work, I think it's better form to let the VDA folks update their patch.
PR: 135273
Submitted by: maintainer
- update to 2.6.1 [1]
- remove IGNORE in the VDA case, the patch is available now [2]
[2] is from me (compile tested), maintainer informed.
PR: 134728 [1]
Submitted by: Yarema <yds@CoolRat.org> [1]
Approved by: maintainer [1]