Commit graph

76 commits

Author SHA1 Message Date
Bernard Spil
eb15060f86 mail/postfix: Fix x25519 kex with LibreSSL
PR:		216790
Obtained from:	OpenBSD ports
Approved by:	ohauer (maintainer)
2017-05-20 18:34:55 +00:00
Olli Hauer
75590290b7 - restore svn:keywords 2016-10-02 09:22:09 +00:00
Bernard Spil
04948a63a8 mail/postfix: Fix typo in LibreSSL patch
- Fix DANE support with LibreSSL

PR:		212223
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
2016-08-30 05:54:01 +00:00
Bernard Spil
2a819e64d9 mail/postfix: Fix runtime issues with LibreSSL
- Add LibreSSL checks to <> 1.1.0 OpenSSL checks
  - Bump portrevision

PR:		212223
Submitted by:	Markus Kohlmeier <rootservice@gmail.com>
Reported by:	Markus Kohlmeier <rootservice@gmail.com>
Approved by:	ohauer (via PR)
MFH:		2016Q3
2016-08-29 19:23:49 +00:00
Olli Hauer
5894099eb9 - fix build with libressl-devel
PR:		211502
Reported by:	Helmut Ritter
Obtained from:	http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
2016-08-02 18:02:43 +00:00
Olli Hauer
f7a7d51c2f - fix build on FreeBSD 12
- s/USE_OPENSSL=yes/USES=ssl/
2016-07-09 20:18:29 +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
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Sahil Tandon
fed5a045aa - Update to 2.10.2 2013-10-27 03:29:59 +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
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +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
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
Martin Wilke
70c8dd6023 - Fix build on FreeBSD 10 2011-11-05 16:53:01 +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
a03f964ebf - Update to 2.8.2 2011-03-22 00:58:59 +00:00
Sahil Tandon
8b9b030efd Update to 2.8.0, tweak CONFLICTS, mark MAKE_JOBS_SAFE
and note that the SPF and VDA options are unavailable
with this release.

Feature safe:	yes
2011-01-24 23:38:40 +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
Sahil Tandon
5552f65cdc - Update VDA patch to version 2.7.0 [1]
- Remove "empty variable" assignment from rc script [1]
- Re-introduce optional SPF support [2]
- Remove default DISTNAME assignment from Makefile
- The affected OPTIONS are off by default, so do not
  bump PORTREVISION

PR:		[1]: ports/147731
		[2]: ports/150428
Submitted by:	[1]: ohauer@
		[2]: mm@
2010-09-13 02:09:35 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Ion-Mihai Tetcu
7e3fb438eb - Update to 2.7.0
- users wanting to continue on 2.6 series should use mail/postfix26

PR:		144189
Submitted by:	Sahil Tandon (maintainer)
Feature safe:	yes
2010-03-04 17:00:47 +00:00
Wesley Shields
95e2c31fac - Add a note about possibly needing to create /etc/periodic.conf if it
does not exist.

Approved by:	Sahil Tandon <sahil@tandon.net> (maintainer)
2010-01-22 05:27:24 +00:00
Dag-Erling Smørgrav
da09076068 Fix build on 9.
Approved by:	maintainer
Reviewed by:	wxs@, keramida@
2009-09-14 16:37:25 +00:00
Giorgos Keramidas
0b6a009ebf Now that closefrom() has been merged to 7.X too, we have to patch sys_defs.h
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)
2009-07-22 19:46:39 +00:00
Giorgos Keramidas
44e01fde03 Patch the src/util/sys_defs.h file of Postfix to fix the build on
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)
2009-07-09 13:15:07 +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
Pav Lucistnik
6e6f6d3e00 - Update to 2.6.0
- Transfer maintainership to the submitter

PR:		ports/134497
Submitted by:	Sahil Tandon <sahil@tandon.net>
Approved by:	Vick Khera <vivek@khera.org> (old maintainer)
2009-05-18 14:36:33 +00:00
Marcus Alves Grando
e1a1580f71 - Update to 2.5.4
- Update VDA patch to 2.5.3
2008-08-17 23:14:30 +00:00
Beech Rintoul
166443da12 - Fix paths in mail_perams.h
PR:		ports/125133
Submitted by:	Sahil Tandon <sahil@tandon.net>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2008-07-15 02:54:32 +00:00
Marcus Alves Grando
9310717632 - Fix milter macros (patch from Wietse Venema) [1]
- Update VDA patch to 2.5.1 [2]

PR:		121652 [1], 122029 [2]
Submitted by:	dmx___dmx.org.ru [1], ShuenBin Hsu <sbhsu___mail.a6.idv.tw> [2]
2008-03-24 20:15:05 +00:00
Marcus Alves Grando
4d3a4a18f0 - Fix data_directory
PR:		121236
Submitted by:	Artis Caune <Artis.Caune___latnet.lv>
2008-03-01 01:44:30 +00:00
Marcus Alves Grando
bb970e52a0 - Update to 2.4.6
- Update VDA patch to 2.4.5
- Teach postfix to 8.0 [1]

PR:		117304 [1]
Submitted by:	Oliver Peter <hoschi___mouhaha.de> [1]
Approved by:	maintainer
2007-10-22 18:39:39 +00:00
Rong-En Fan
d8c5ae6ece - Add mail to PROVIDE line. This fixes other scripts that require mail
starts first.

PR:		ports/109336
Submitted by:	Dan D Niles <dan at more.net>
Approved by:	Vivek Khera <vivek at khera.org> (maintainer)
2007-02-21 05:00:56 +00:00
Jeremy Chadwick
b9aaa3bdbe Addition of postfix_flags variable to rc.subr startup script.
This variable is passed to postfix-script on startup, allowing
administrators to do things like postfix_flags="-c /my/place/postfix"
(alternate location of main.cf and master.cf), or postfix_flags="-v"
(for verbose logging).  See postfix(1) manpage for flags.

PR:		ports/109137
Reviewed by:	Vivek Khera <vivek@khera.org>
Approved by:	philip
2007-02-20 22:36:40 +00:00
Marcus Alves Grando
0350c7361c * UPDATING
Add entry about OPTIONS and SPF patch in mail/postfix

* mail/Makefile

Add postfix22

* mail/postfix [1]

Update to 2.3.0
Use OPTIONS instead of scripts
Add message about unsupported POSTFIX_OPTIONS
Remove SPF patch since that's not apply clean
Update pkg-descr
Change rcNG to rc only
Update CONFLICTS

* mail/postfix-current

Now postfix-current are called postfix-current instead of postfix.
Update CONFLICTS
Bump PORTREVISION
Store OPTIONSFILE in another local to not conflict with mail/postfix
Change rcNG to rc only

* mail/postfix1

Update CONFLICTS

* mail/postfix21

Update CONFLICTS
Change rcNG to rc only

* mail/postfix22 [2]

Update CONFLICTS
Change rcNG to rc only

Approved by:	maintainer [1]
Repocopy by:	marcus [2]
2006-07-19 12:59:11 +00:00
Marcus Alves Grando
8cd1a5b41a - Update to 2.2.10
- Trust only in host instead of subnet in default instalation. [1]
- Update VDA patch to 2.2.9

Notified by:	Anton Yuzhaninov <citrin__citrin.ru>
2006-04-06 21:46:57 +00:00
Marcus Alves Grando
6adb5c6295 Modify rc.d script like example in Porters Handbook. 2006-01-16 21:49:06 +00:00
Marcus Alves Grando
edc9f24ed2 Fix rc.d/postfix.sh restart adding pidfile and procname
Bump PORTREVISION

PR:		91721
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
Approved by:	maintainer
2006-01-12 20:38:03 +00:00
Marcus Alves Grando
62d4349118 Add rcNG script to start postfix
Update pkg-message to reflect rcNG script
Bump PORTREVISION

Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2006-01-12 16:23:59 +00:00
Marcus Alves Grando
fd2dc98c33 Update to 2.2.8 2006-01-05 01:23:02 +00:00
Pav Lucistnik
9d92d0346d - Fix build on FreeBSD 7
PR:		ports/83414
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2005-07-13 21:48:14 +00:00
Pav Lucistnik
7ac33a6af8 - Update to 2.2.1
PR:		ports/78852
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2005-03-19 23:17:54 +00:00
Edwin Groothuis
81f580eaca [PATCH] mail/postfix: Update to libspf2-2.1.5-5
update the SPF patch to latest release which fixes bug
	exposed by gcc in FreeBSD 5.3.  it is otherwise identical
	to prior version, so no upgrade is necessary if you have
	it compiled and workign in FreeBSD 4.10 already (thus no
	version bump).

	removed "extra libspf2" patch that tried to work around
	failure of IPv6+TLS patch when used in conjunction with SPF
	patch.  It just doesn't work, and I can't figure out exactly
	what it is supposed to do.  As it was, this would cause
	failures when selecting just the SPF patch.

PR:		ports/74095
Submitted by:	Vivek Khera <vivek@khera.org>
2004-11-27 02:15:57 +00:00