1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
Commit Graph

253 Commits

Author SHA1 Message Date
Bryan Drewery
29b1648836 Dirk Engling <erdgeist@erdgeist.org> has volunteered to maintain the qmail ports. 2015-11-02 21:59:32 +00:00
Bryan Drewery
6752b25fda - Fix creation of rc symlink in package
- Fix procname in rc script so it can 'stop' correctly. [1]

Submitted by:	Dirk Engling <erdgeist@erdgeist.org> [1]
2015-10-30 23:07:16 +00:00
Mathieu Arnold
7f0f664d7e Drop 8 support.
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
2015-10-15 14:55:14 +00:00
Baptiste Daroussin
de48bc77de Switch from NEED_ROOT to USES=fakeroot 2015-05-30 23:12:48 +00:00
Bryan Drewery
0bc41e9815 Farewell qmail. You were good but the lack of an upstream maintainer or
ecosystem maintainers makes this not a viable mail system today. Personally
I am moving to postfix and have so far found it incredibly easy to setup and
already prefer it over qmail.
2015-05-28 15:56:59 +00:00
Mathieu Arnold
6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Bryan Drewery
785aeadebd Fix /usr/local/etc/man.d appearing as a leftover since ~pkg 1.3.8.
Not bumping PORTREVISION as this is not worth shaking up qmail installations
over.
2015-04-14 22:48:40 +00:00
Alex Kozlov
43a22bb0dd - Fix various distinfo errors
- Remove unused USE_* knobs
- Fix typos in USE_* knobs
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D911
2014-10-16 08:55:30 +00:00
Bryan Drewery
93c7b4e0c7 - Use my distcache for all files now. At least
qmail-spf-rc5.patch-spamcontrol-27_2 was only in mine.

Reported by:	Eric Traphagan
2014-08-15 00:47:41 +00:00
Adam Weinberger
0f88ed614d Repair instances, almost all courtesy of bf ;-), of spaces
and/or tabs before the =. This made doing regular expressions
on the ports tree really difficult.

Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 20:55:27 +00:00
Adam Weinberger
99afccd1ce Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:14:15 +00:00
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