The spamcontrol patch is applied through a script, install_spamcontrol.sh. This
script does not return a non-zero status when patch failures are encountered.
So I missed many failures when updating this port.
To fix this, move the spamcontrol patch application to pre-patch so that the
PATCHFILES->DISTFILES (and manual patch application with PATCH) is not needed
for most patches. This ensures that the spamcontrol patch is always applied
before PATCHFILES. Some PATCHFILES were applying before the spamcontrol patch
causing it to fail to patch properly.
Bump revision as the build had been fine but some files were not being
generated in the package.
Also add my mirror as distcache does not have the updated patches yet.
Reported by: Oleg Strizhak
MFH: 2014Q3
TLSREMOTE, NEWLINE, and BIGTODO are now mandatory upstream and have been
removed as options.
MOREIPME was removed upstream.
Changes:
http://www.fehcom.de/qmail/spamcontrol/RELEASE_27.spamcontrol
CHANGES (2.6 -> 2.7)
--------------------
Userland:
+) ucspi-ssl (> 0.8) mandatory.
+) Added CRAM-MD5 support for qmail-remote.
+) Added qmail-smtpam PAM for Recipients extension.
+) Added sender-domain based TLS settings for qmail-remote.
:) Changed qmail-remote's 'tlspeerhosts' to' tlsdestinations'.
-) Removed moreip and notipme feature.
:) REQUIREAUTH has been collapsed into SMTPAUTH with leading "!",
:) SMTPAUTH has been enhanced to support: "!" Required; "-" Off.
:) SMTPAUTH cram-md5 annoucement has to be prefixed with a '+':
SMTPAUTH='+cram' (to allow future additional AUTH mechanisms).
:) UCSPITLS has been enhanced to support: "!" Required "-" Off.
+) Added logging for qmail-popup.
+) Added CAPA support for qmail-popup/qmail-pop3d.
:) Unified qmail-smtpd and qmail-popup logging.
+) SPF and RBLSMTPD hook to display info in Received header.
+) LOCALMFCHECK='=' requiring 'Mail From:' = 'TCPREMOTEINFO'.
Internal:
!) Bigtodo is default now.
!) Maximum silent concurrency increased to 500.
#) Aligend with recipients-0.7.2.
#) Aligned with smtp-authentication 0.7.6.
%) qmail-smtpd logging and reply messages 'off-shored'.
?) qmail-smtpd tls vulnerability VU#555316 fixed.
?) qmail-smtpd DNS lookup failures don't result in dropped
connections anymore.
%) qmail-remote evalutes in addition Alternative Subject for TLS host verification.
%) Complete FreeBSD AMD64 support (conf-cc, conf-ld, conf-spamcontrol).
#) Aligned with mav 0.20.
+) Added partial clang support.
ADDITIONAL CHANGES
------------------
+) Added SMTP Authentication based on smtproutes/destination.
#) Aligned with SMTP Authentication 0.8.0.
-) Removed obsolete SUBMISSION environment variable and special treatement.
:) Enhanced badmailfrom with new qualifier '~' for extended addresses
to filter mismatched domain names.
+) Added *.3 man pages in setup (dirs were missing before).
;) SPF Hook working now.
PKGNAMEs to reflect this as well and bump their version up to the last
netqmail release of 1.06.
qmail-ldap and qmail-spamcontrol explicitly want to be applied on stock
qmail, so leave those alone.
This does not bring much, but it allows easier updates to qmail-tls and
some of the other patches which depend on netqmail.
qmail-tls is left as qmail for now. It will be updated to the newer
revision soon which does require netqmail.
Changes include:
* QMAILQUEUE by default
* Fix for 0.0.0.0
* qmail-smtpd is protected from exceedingly long (eg 2GB) headers
Other than those listed, there are no other significant changes beyond
documentation or patches that were already applied by default.
- Support stagedir
- Fix all leftovers
Note that this depends on new Mk/Scripts/check_leftovers.sh added in r351446.
- Bump PORTREVISION in all ports due to plist being fixed.
- Support man.d on FreeBSD 9+
- Convert NOPORTDOCS
- Fix bad perl shebang for scripts/mkaliasdir
- Remove pkg-install and move all to pkg-plist
- Fix /var/qmail modified warning in poudriere by doing nothing in
install-mtree
- Fix /var/qmail getting unpredictable/wrong permissions due to
USERS/GROUPS changing for every user with HOME=/var/qmail
- Use more OPTIONS helpers
- Fix ccache support for spamcontrol patch building
- Fix build of SMTPEXTFORK in mail/qmail-spamcontrol with recent clang
Tested with: pkg and pkg_install
bapt contributed to the qmail.mk as well
- Trim headers
USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX
With hat: portmgr
- Support SHUTDOWN
- Check for needed files/dependencies in precmd
- Respect LOCALBASE
- Make rclint happy
- Rename symlink from qmail.sh to qmailsmtpd
- Rename installed example rc file from qmail-smtpd.rcNG to qmailsmtpd
calling strtok(3) without string.h included.
Not reported "upstream" as the last update was 2009
and the site is dead.
Reported by: Christopher Weimann <christopher@weimann.us>
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.
- While here, use WANT_QMAIL rather than hideous relative include
PR: ports/159964
Submitted by: Nicolas de Bari Embriz <nbari@dalmp.com>
Approved by: garga (carte blanche via email)
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps