Commit graph

241 commits

Author SHA1 Message Date
Bryan Drewery
86037fe8ca Fix size for big-concurrency-spamcontrol-2731.patch from r360338
MFH:	2014Q3
2014-07-03 16:08:59 +00:00
Bryan Drewery
eea86e0ade Fix patch application in mail/qmail-spamcontrol:
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
2014-07-03 02:20:07 +00:00
Bryan Drewery
d39b6f750b Update mail/qmail-ldap to 20120221
- SMTPAUTHUSER option removed as it is now in upstream
- Apply upstream fixes from mailing lists

Changes:	http://www.nrg4u.com/qmail/QLDAPNEWS
2014-06-30 17:14:50 +00:00
Bryan Drewery
92d8ac9962 mail/qmail-spamcontrol: Update to 2.7.31
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.
2014-06-27 02:33:04 +00:00
Bryan Drewery
ae44dfc7b8 Fix CONFLICTS with netqmail-tls after PKGNAME rename in r359176 2014-06-25 14:19:25 +00:00
Bryan Drewery
c52e4206bb mail/qmail-tls: Update to 20110119 and use netqmail base
Changes:
  2011-01-19
    * flush_io after starttls, bug described in http://www.kb.cert.org/vuls/id/555316 (Wietse Venema)

  2007-04-08
    * type correction of time argument in ssl_timeoutio functions
    * bug in tlsserversciphers processing (Michael Hanselmann)
    * RFC1891 (James Couzens)

  2006-01-04
    * strerror declaration in tls.c compile problem (Renato Botelho, Bill Shupp)
    * chown uid.gid deprecated, should be uid:gid (Bill Shupp)

  2005-03-29
    * no STARTTLS advertised when control/servercert.pem absent (Jason Haar) [already fixed in qmail-tls]
    * control/notlshosts (Albert Weichselbraun)
    * control/tlshosts/exhaustivelist
    * scripts honor conf-users (Sven Verdoolaege)

  2004-04-17
    * bug: qmail-remote loops on malformed server response (B. Shupp, A. Meltzer) [already fixed in qmail-tls]

  2004-01-20
    * bug: DH caused exit if dh512.pem and dh1024.pem absent (Samuli Karkkainen)

  2003-12-27
    * script for update temporary RSA/DH temp keys
    * CRL checking of clients
    * Diffie-Hellman parameters added
    * RFC 2821 compliance of headers (Matthias Wimmer)
    * bug: sk_GENERAL_NAME_pop_free call (Joe Orton)
2014-06-25 02:12:34 +00:00
Bryan Drewery
d659d91fb5 Fix CONFLICTS after qmail->netqmail rename 2014-06-24 18:27:28 +00:00
Bryan Drewery
e112559e39 Fix nit, QMAIL_PORTNAME was not set after r358497 2014-06-24 17:13:50 +00:00
Bryan Drewery
79a2bb25a8 - Add DNS_CNAME option to switch from using ANY queries, which was a hack
added many years ago for BIND 4. Using CNAME avoids excessive data in
  DNS query responses and temporary failures.

  This was already applied in spamcontrol.

  See also:
    http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/qmail/
    https://www.google.com/#q=CNAME_lookup_failed_temporarily

Submitted by:	Matt Simerson <matt@tnpi.net>
2014-06-20 03:17:04 +00:00
Bryan Drewery
bf48a40a29 Switch mail/qmail and mail/qmail-mysql to using netqmail. Switch their
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.
2014-06-20 03:03:41 +00:00
Bryan Drewery
83febfdab5 - Scale FD_SETSIZE with WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT
Submitted by:	Joe Schaefer <joe_schaefer@yahoo.com>
2014-05-25 23:30:49 +00:00
Bryan Drewery
c0ec093f32 - Don't try removing /var/qmail/queue at all
- Remove /var/qmail/queue from STAGEDIR so it's not an orphan
2014-04-19 06:24:14 +00:00
Bryan Drewery
9c859f6f6e mail/qmail, mail/qmail-tls, mail/qmail-mysql, mail/qmail-spamcontrol:
- 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
2014-04-17 05:16:47 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Bryan Drewery
2324655f20 - Add NO_STAGE until validated to be safe for upcoming staging support 2013-09-20 15:58:09 +00:00
Bryan Drewery
2c7ec98c83 Fix qmail-spamcontrol build on head without gcc
Reported by:	bapt
2013-09-14 15:23:52 +00:00
Bryan Drewery
4750c6ff48 Add file meant for r325421 2013-08-26 23:31:42 +00:00
Bryan Drewery
1ffe5a449c - Fix build with clang and on head
Reported by:	bapt
2013-08-26 23:30:41 +00:00
Andrej Zverev
e22cb3e0ce - Convert to new perl5 framework
Approved by:	bdrewery@ (maintainer)
2013-08-20 11:43:44 +00:00
Bryan Drewery
32cf2e6ffe - Fix spamcontrol build after r324008 removed perl from PATCH_DEPENDS
in bsd.perl.mk
2013-08-19 13:17:01 +00:00
Bryan Drewery
3751c1c1ba - Fix options conversion for bmake
Submitted by:	Joseph Schaefer <joesuf4@gmail.com>
2013-06-18 23:03:14 +00:00
Bryan Drewery
aff2c3704c - Fix qmail-mysql build with clang and recent mysql-client
Reported by:	miwi via pointyhat
2013-06-14 21:13:41 +00:00
Bryan Drewery
485d5cb399 Add working mirror for tls patch 2013-03-29 18:12:28 +00:00
Renato Botelho
3c8c5f0b8d Fix typo on var name
Approved by:	maintainer
2013-03-26 14:38:41 +00:00
Bryan Drewery
63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
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
2013-03-15 22:03:42 +00:00
Bryan Drewery
f636527174 - Fix error when QMAIL_PREFIX is not defined due to extra spaces
"Makefile", line 653: Need an operator
  make: fatal errors encountered -- cannot continue
2013-03-11 19:43:29 +00:00
Bryan Drewery
678eff9c21 - Cleanup example rc file
- 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
2013-02-23 18:49:29 +00:00
Bryan Drewery
7b01d09ebb - Fix runtime crash when using SMTPEXTFORK option due to
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>
2013-02-06 04:49:01 +00:00
Bryan Drewery
1bc9954783 - Remove indefinite article from COMMENT
- Avoid directly including bsd.openssl.mk by including
  bsd.port.options.mk and using proper USE_OPENSSL
2013-02-05 23:26:48 +00:00
Renato Botelho
5e451ad65e Pass maintainership of qmail ports and bsd.mail.mk to bdrewery@. It was funny,
but I'm not using qmail for a long time.
2012-12-18 13:56:17 +00:00
Renato Botelho
ce3032abb9 - Update TLS patch to v2, what address an issue that qmail-remote loops on
malformed server response
- Bump PORTREVISION

Reported by:	Dirk Engling <erdgeist@erdgeist.org>
Feature safe:	yes
2012-10-16 13:35:28 +00:00
Renato Botelho
1f88b73f96 Fix OptionsNG commit, i committed the wrong version
Pointyhat to:	garga@
Feature safe:	yes
2012-10-13 15:43:27 +00:00
Renato Botelho
e38fe07518 Convert mail/qmail to OptionsNG
Feature safe:	yes
2012-10-13 14:16:02 +00:00
Renato Botelho
f73ec4c6b0 Fix MAILDIRQUOTA patch that was calculating the wrong email size.
PR:		ports/168870
Submitted by:	Michael Gmelin <freebsd@grem.de>
Feature safe:	yes
2012-10-11 13:35:55 +00:00
Renato Botelho
566e1b7f4e Change headers of all ports maintained by me to new format 2012-10-05 12:41:45 +00:00
Alex Kozlov
014232b649 Fix various errors in ports distinfo
(yii-1.1.9.r3527.tar.gz verified against upstream sources)
2012-04-12 02:30:54 +00:00
Renato Botelho
c463b5c65e Fix URL to download smtp-auth patch 2012-02-18 13:19:03 +00:00
Doug Barton
83eb2c3700 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.
2012-01-14 08:57:23 +00:00
Renato Botelho
6dcf941c1b Respect CC and STRIP
PR:		ports/162492
Submitted by:	Jan Beich <jbeich@tormail.net>
Feature safe:	yes
2011-11-16 21:18:26 +00:00
Adam Weinberger
047e56b829 Typo fix in a printed string.
Approved by:	garga (maintainer)
2011-09-30 15:20:48 +00:00
Chris Rees
6757d8fc61 - Add SMTPAUTHUSER and SRS support
- 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)
2011-09-09 17:28:30 +00:00
Renato Botelho
df9f14e134 Fix qmail, qmail-tls, qmail-mysql and qmail-ldap build with clang 2011-07-26 22:13:55 +00:00
Renato Botelho
19760f48f0 - Make qmail use USERS and GROUPS [1]
- Add my local_distfiles as a MASTER_SITES to ucspi-ssl

PR:		ports/157622 [1]
Submitted by:	crees [1]
2011-07-18 20:55:29 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
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
2011-05-15 02:49:17 +00:00
Renato Botelho
6dff9d42fb - Update spamcontrol patch to 2.6.24
- Remove MD5

Feature safe:	yes
2011-02-07 16:25:13 +00:00
Renato Botelho
8d9c1f0443 When server announce auth as "PLAIN LOGIN" instead of the common inverse order
"LOGIN PLAIN" make sure qmail-remote can authenticate.
2010-09-20 13:35:44 +00:00
Renato Botelho
adc1d2316a Update spamcontrol patch to 2.6.23 2010-09-16 13:58:41 +00:00
Renato Botelho
3d5a5bc862 - Really fix qmail-spamcontrol build now, i was building ucspi-ssl after
install_spamcontrol.sh and it must run before since this script need to copy
  ssl.a to correct place
- Bump PORTREVISION
2010-08-11 00:23:31 +00:00
Renato Botelho
eb9e6caa4d - Add perl build dependency, missed on last commit
- Bump PORTREVISION

Reported by:	QAT
2010-08-10 21:09:18 +00:00
Renato Botelho
c34fd65773 Update spamcontrol to 2.6.22 2010-08-10 20:07:05 +00:00