Commit graph

14 commits

Author SHA1 Message Date
Olli Hauer
75590290b7 - restore svn:keywords 2016-10-02 09:22:09 +00:00
Olli Hauer
66ba5e03a9 - update to postfix 3.1
Users updating from postfix 2.11 should read:
 ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.0.0.RELEASE_NOTES
 ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.1.0.RELEASE_NOTES
2016-02-28 08:46:07 +00:00
Olli Hauer
d15a2cc7cc - add missing reload part into pkg-install 2016-02-25 20:14:40 +00:00
Olli Hauer
6a09303b9d - rework SASL OPTIONS
Dovecot SASL does not need any dependency, from now it will be always build into postfix
  and the default SASL unless Cyrus is also added (there is no conflict between them)

- add support for FreeBSD 10.3 mailwrapper (install mailer.conf into LOCALBASE/mail instead /etc/mail)
- add better reload support to rc script
- display correct path in pkg-message
- add support for postfix-sasl slave port
- bump PORTREVISION

Many Thanks to all testers!

PR:	195662
PR: 	205162
2016-02-25 20:09:56 +00:00
Olli Hauer
8c3dbcf8bd - rework pkg-install and pkg-message [1]
- install postfix specific mailer.conf.postfix into DATADIR [2]

- use new notation instead PATCH_DIST_STRIP

- bump PORTREVISION

1) detect if the port is installed without TERM, in this case
   do not ask the to make postfix the default mailer and respect
   the env POSTFIX_DEFAULT_MTA. This helps tools like salt,
   ansible, cfengine and puppet during the first package installation.

2) $DATADIR/mailer.conf.postfix can be used by the tools in 1)

MFH:		2016Q1
2016-01-04 10:33:26 +00:00
Olli Hauer
bb7c11a7d5 - update to version 2.11.5
- rename OPTIONS to match default name of most ports
  - SASL2 -> SASL
  - OPENLDAP -> LDAP
- install main.cf and master.cf with the @sample macro
- rework pkg-install
- fix wrong permission for /var/db/postfix [1]
- sets WANT_OPENLDAP_SASL option for openldap port when
  postfix LDAP_SASL option is set [2]
- make usage of new ${opt}_DEPENDS notation

Changelog:
20150324
        Bugfix (introduced: Postfix 2.6): sender_dependent_relayhost_maps
        ignored the relayhost setting in the case of a DUNNO lookup
        result.  It would use the recipient domain instead.  Viktor
        Dukhovni. Wietse took the pieces of code that enforce the
        precedence of a sender-dependent relayhost, the global
        relayhost, and the recipient domain, and put that code
        together in once place so that it is easier to maintain.
        File: trivial-rewrite/resolve.c.

20150330
        Bitrot: prepare for future changes in OpenSSL API. Viktor
        Dukhovni. File: tls_dane.c.

20150408
        Portability: FreeBSD10 support. Files: makedefs, util/sys_defs.h.

        Incompatibility: specifying "make makefiles" with "CC=command"
        will no longer override the default WARN setting.

PR:	198215 [1]
	198857 [2]
2015-05-10 15:25:31 +00:00
Olli Hauer
6b5df34d8a - update to 2.11.3
- add CPE support
- use PORTDOCS macro
- remove check for OSVERSION >= 800037
- fix OPENLDAP_VER usage
- set PORTSCOUD
- always call set-permissions in post-install to set correct spool/postfix/* permissions
  this is required with pkg to support non interrupted upgrade

Changes:
========
20140619
        Bugfix (introduced: 2001): qmqpd null pointer bug when it
        logs a lost connection while not in a mail transaction.
        Reported by Michal Adamek. File: qmqpd/qmqpd.c.

20140920
        Bugfix (introduced: 20080212): incorrect client name in
        reject messages from check_reverse_client_hostname_access
        and check_reverse_client_hostname_{mx,ns}_access.  They
        replied with the verified client name, instead of the name
        that was rejected.  Problem reported by Reindl Harald. File:
        smtpd/smtpd_check.c.

20141012
        Bugfix (introduced: Postfix 2.3): the PREPEND access/policy
        action added headers ABOVE Postfix's own Received: header,
        exposing Postfix's own Received: header to Milters (protocol
        violation) and hiding the PREPENDed header from Milters.
        The latter caused problems for DMARC implementations with
        SPF policy plus DKIM Milter.  PREPENDed headers are now
        added BELOW Postfix's own Received: header and remain visible
        to Milters. File: smtpd/smtpd.c.

20141018
        Bugfix (introduced: Postfix 2.3): when a Milter inserted a
        header ABOVE Postfix's own Received: header, Postfix would
        expose its own Received: header to Milters (violating
        protocol) and hide the Milter-inserted header from Milters
        (wtf).  Files: cleanup/cleanup.h, cleanup/cleanup_message.c,
        cleanup/cleanup_state.c, milter/milter.[hc], milter/milter8.c.

        Cleanup: revert the workaround that places headers inserted
        with PREPEND actions or policy requests BELOW Postfix's own
        Received: message header. File: smtpd/smtpd.c.

PR:		194396
Submitted by:	Yasuhiro KIMURA
Approved by:	sahil (explicit per PM)
2014-11-02 20:45:16 +00:00
Sahil Tandon
e9f1df8199 Update to 2.9.5 and revise the PKGINSTALL script to
distinguish between upgrades and fresh installs. Also,
mark BROKEN when users try to build WITH_LDAP_SASL but
WITHOUT_SASL2.
2013-01-28 02:44:04 +00:00
Sahil Tandon
f4eeae44e9 Update to 2.9.0 and revise IS_INTERACTIVE logic to
account for additional situations.
2012-02-11 05:14:34 +00:00
Sahil Tandon
d56e5eb7da Update to 2.8.4 and use the ports framework to
create USERS and GROUPS. Also remove replace()
function from pkg-install script.

PR:		ports/158765
Submitted by:	ohauer
2011-07-26 01:49:28 +00:00
Sahil Tandon
4dcd4152c7 Update to 2.7.2 and modify pkg-install script to check
whether Postfix is already enabled in mailer.conf[1].

Submitted by:	ohauer (via email) [1]
2010-11-27 06:48:50 +00:00
Wesley Shields
befbdedefe - Cleanup pkg-install script to handle documentation installation correctly.
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)
2009-06-11 01:42:24 +00:00
Martin Matuska
8e145e22ea - Fix install with defined NOPORTEXAMPLES [1]
- Do not install clones of man pages [1]
- Add POSTFIX_DEFAULT_MTA to SCRIPTS_ENV [2]
- Bump PORTREVISION

PR:		ports/135241 [1], ports/123812 [2]
Submitted by:	Sahil Tandon <sahil@tandon.net> (maintainer) [1]
Reported by:	Marco Walraven <m.walraven@terantula.com> [2]
2009-06-04 07:45:27 +00:00
Alexander Leidinger
3f5ac2708c - refactor the port to ease maintenance [1]
- 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]
2009-05-26 13:36:08 +00:00