Commit graph

363 commits

Author SHA1 Message Date
Olli Hauer
803871c6ee - update to 2.12-20141228
- use new AUXLIBS_(CDB|LDAP|LMDB|MYSQL|PCRE|PGSQL) build instructions
- use OPTIONS_SUB
- install posttls-finger
- build dynamic AUXLIBS (shared=yes and dynamicmaps=yes)
- set META_DIRECTORY to DAEMONDIR (this may change in future to ETCDIR)

Parts from HISTORY (heavily shortened)

20141126
	Cleanup: report nullmx DNS records as "domain does not
	accept mail", instead of "invalid DNS response".  The Postfix
	SMTP client already bounced mail for such domains, and the
	Postfix SMTP server already rejected such domains with
	reject_unknown_sender/recipient_domain. This introduces a
	new SMTP server configuration parameter nullmx_reject_code
	(default: 556).

20141127
	Feature: DNS reply filter, configured with smtp_dns_reply_filter,

20141130
	Cleanup: when searching multiple DNS record types for a
	specific name, and not all queries return the same result
	status, do not blindly return the last query's rcode and
	diagnostic text.  Instead, return rcode and text that is
	consistent with the aggregate result status.

	Documentation: added note on Milter-signing bounces.

20141202
	Cleanup: to increase clarity. rename DNS result status from
	DNS_UNAVAIL to DNS_NULLMX. If someone uses the same zero-length
	name trick with some other resource type, then we will worry
	about that later.

20141203
	Feature: support to match UTF8 domain names against ASCII
	names in TLS certificates.

20141212
	Cleanup: nullmx SMTP reply codes 550 and 556, and enhanced
	status codes X.1.10 and X.7.27. The nullmx SMTP reply codes
	are no longer configurable.

20141224
	Cleanup: the compile-time argument typechecks for attribute-value
	APIs are now by default implemented with inline functions.
	Compile with -DNO_INLINE to implement the argument typechecks
	with ternary operators and unreachable assignments.

20141227
	Feature: smtp_address_verify_target (default: rcpt) that
	determines what protocol stage decides if a recipient is
	valid. Specify "data" for servers that reject recipients
	after the DATA command.

20141228
	Cleanup: the IDNA conversion routines now accept both
	ASCII and UTF8 inputs. The functions als verify that
	either their result is a valid ASCII domain name or that
	it converts into a valid ASCII domain name.

Approved by:	sahil (implicit)
2015-01-11 21:05:21 +00:00
Chris Rees
4cb60faedd Finally retire USE_PGSQL 2014-11-22 20:40:08 +00:00
Olli Hauer
67a15a4df7 - fix wrong /var/spool/postfix permissions
(broken by commit 372368 ,372370)

- bump PORTREVISION
2014-11-10 10:53:00 +00:00
Olli Hauer
617ce12005 - fix OPTIONS_DEFINE lost in previous commit 2014-11-09 18:14:26 +00:00
Olli Hauer
fd3a5b04f0 - update to 2.12-20141106
- add OPTION for Email Address Internationalization
  (EAI, RFC 6531..6533) [1]
- sort OPTIONS_DEFINE
- fix build and install for non root users,
  (sgid and group for sbin/postdrop and sbin/postqueue was lost if build
   as non root and installed with sudo)
- install /var/spool/postfix directories with correct owner/mode
- use $WRKDIR instead of /tmp

Changes:
20141021
       Per IETF TLS WG consensus, the tls_session_ticket_cipher
       default setting was changed from aes-128-cbc to aes-256-cbc.
       Take that, you quantum computer attackers! Viktor Dukhovni.
       Files: proto/postconf.proto, global/mail_params.h.

20141024
       Cleanup: added $smtpd_mumble_restrictions to the proxy_read_maps
       default setting. File: global/mail_params.h.

       Documentation: different header/body checks for MX service
       and SMTP submissions. File: proto/BUILTIN_FILTER_README.html.

       Cleanup: don't send "bare" original recipient in SMTP DSN
       attributes. File: cleanup/cleanup_addr.c.

       Feature: smtp-sink -N option to suppress DSN announcement.
       File: smtpstone/smtp-sink.c.

20141025
       Bugfix (introduced: Postfix 2,11): core dump when
       smtp_policy_maps specifies an invalid TLS level. Viktor
       Dukhovni. File: smtp/smtp_tls_policy.c.

20141103
       Logging: when a connection is closed, log the request counts
       for unimplemented STARTTLS or AUTH commands separately,
       instead of logging such commands as "unknown". File:
       smtpd/smtpd.c.

20141106
       Cleanup: set errno to ETIMEDOUT after postscreen handshake
       timeout event, so that warnings report the correct error.
       File: tlsproxy/tlsproxy.c.

PR:		194786 [1]
Submitted by:	Mark Martinec
Approved by:	sahil (imlicit)
2014-11-09 18:13:18 +00:00
Olli Hauer
03e1baa871 - update to 2.12-20141020
- use PORTDOCS macro
- remove check for OSVERSION >= 800037
- fix OPENLDAP_VER usage
- always call set-permissions in post-install to set correct spool/postfix/* permissions
  this is required with pkg to support non interrupted upgrade

Approved by:	sahil (explicit)
2014-11-02 21:09:26 +00:00
Matthias Andree
b50a4b0708 Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
  where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
  versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
  for new Berkeley DB, but are untested.

NOTE: please read UPDATING and the Wiki page before proceeding!

Announcement:	http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference:	https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR:		192690
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged ports)
2014-08-21 22:50:29 +00:00
Bryan Drewery
69f82727cf - Move RESETPREFIX to default PLIST_SUB
With hat:	portmgr
2014-08-18 16:43:24 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Sahil Tandon
bb4b3c10ff - Update to Postfix 2.12 snapshot 20140709 2014-07-13 16:24:44 +00:00
Tijl Coosemans
a5185846f0 Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.

Approved by:	portmgr (implicit)
2014-07-04 09:40:59 +00:00
Sahil Tandon
3f790928a8 - Update to 2.12-20140507
- Refactor to support staging and developer mode
2014-05-09 23:49:32 +00:00
Sahil Tandon
050e6f6b71 - Update to Postfix 2.12 Snapshot 20140109
- Set INVALID_BDB_VER [1]
- Adopt new LIB_DEPENDS syntax [2]
- Add option to support LMDB databases [2]
- Modify shell command to quiet warnings on 10+ [3]
- Respect upstream Makefile's warning suppression [4]

PR:		[1]: ports/185446
		[2]: ports/185860
		[3]: ports/185857

Submitted by:	[1]: Eero Hanninen <fax@nohik.ee>
		[2]: Yasuhiro KIMURA <yasu@utahime.org>
		[3]: adamw
		[4]: koobs (via email)
2014-01-21 01:17:26 +00:00
Pawel Pekala
866929040b Links dynamically to libcdb after databases/tinycdb update
PR:		ports/184666
Submitted by:	me
Approved by:	bapt (portmgr)
2013-12-10 18:29:23 +00:00
Mathieu Arnold
bcc4614ebb Fixup pkgnames.
PR:		ports/184440, ports/184441, ports/184442, ports/184443, ports/184444, ports/184445, ports/184446, ports/184447, ports/184448, ports/184449, ports/184450
Submitted by:	mat
Approved by:	portmgr (bapt)
2013-12-05 11:10:49 +00:00
Sahil Tandon
30b3d0d121 - Update to Postfix 2.11 Snapshot 20131001 2013-10-27 03:30:06 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Andrej Zverev
69b6f05b28 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-14 18:12:50 +00:00
Sahil Tandon
ecb38fb90b - Update to Postfix 2.11 Snapshot 20130825 2013-09-01 20:12:59 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Sahil Tandon
ead5ecb4a2 Fix a regression that had crept in with r314621. Do not
bump PORTREVISION because this does not affect the default
package.
2013-04-26 02:45:54 +00:00
Sahil Tandon
b18d6715ca - Update to Postfix 2.11 Snapshot 20130405
- Add LICENSE information
- Canonicalize 'Created by:' Makefile header
- Remove shlib version from LIB_DEPENDS assignment
- Correct LDAP_SASL logic
- Replace tab with a single space after 'WWW:' in pkg-descr

PR:		ports/177127 (inspired by)
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2013-04-23 01:56:36 +00:00
Jason Helfman
d3a27657aa - adopt optionsNG
- trim historical header
- tighten COMMENT

Approved by: portmgr (bapt)
2013-03-19 07:20:12 +00:00
Sahil Tandon
988a1ecda9 Update to Postfix 2.10 Snapshot 20130113; mark BROKEN when
users try to build WITH_LDAP_SASL but WITHOUT_SASL2.
2013-01-28 02:45:35 +00:00
Martin Matuska
b2c4fbb77a Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
2012-12-10 19:11:11 +00:00
Hajimu UMEMOTO
dda3fab6a5 Update cyrus-sasl2 to 2.1.26.
This bumps shlib version of libsasl2.
2012-12-10 15:10:02 +00:00
Sahil Tandon
714053470a Update to Postfix 2.10 Snapshot 20121031 and document
incompatible changes in UPDATING.  Also, revise the
PKGINSTALL script to distinguish upgrades from fresh
installs.

Feature safe:	yes
2012-11-05 02:19:57 +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
d8121cf607 Update to 2.10-20120801 2012-08-05 18:37:57 +00:00
Sahil Tandon
8e3e33c0cb Update to 2.10-20120715 and note an incompatible protocol
change in UPDATING.
2012-07-16 00:47:06 +00:00
Ashish SHUKLA
c0afec7f93 - extend CONFLICTS
Approved by:	sahil (maintainer)
2012-06-15 02:22:13 +00:00
Sahil Tandon
6cdaf93beb - Update to 2.10-20120520 2012-05-23 02:29:19 +00:00
Sahil Tandon
d911e8f84b - Update to 2.10-20120423 2012-04-25 02:44:42 +00:00
Sahil Tandon
121480d45f Update to 2.10-20120422 and tweak conditional
that sets IS_INTERACTIVE.
2012-04-23 03:14:53 +00:00
Sahil Tandon
b42d22d58a - Update to 2.10-20120308
Feature safe:	yes
2012-03-10 04:11:39 +00:00
Sahil Tandon
2fcb2cd926 - Update to 2.10-20120218
- Remove library number from pcre LIB_DEPENDS, as this
  port can compile without incident against older pcre
  libraries.
2012-02-20 06:15:19 +00:00
Martin Matuska
dbbf004162 Bump pcre library dependency due to 8.30 update 2012-02-14 12:45:35 +00:00
Sahil Tandon
08cdc1ea9c Update to 2.10-20120202, revise IS_INTERACTIVE logic to
account for additional situations, and remove unnecessary
CONFLICTS line.
2012-02-11 05:14:32 +00:00
Sahil Tandon
407613172b Update mail/postfix-current to 2.9-20120115, and note
potential incompatibilities with previous versions.
2012-01-17 04:18:52 +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
Sahil Tandon
c4417a4505 Update to 2.9-20120102 and eliminate a now unnecessary
part of recent UPDATING entry for this port.
2012-01-04 01:57:22 +00:00
Sahil Tandon
e3d8bcddb5 - Update to 2.9-20111219
- Modify pkg-install to handle situations in which
  /etc/mail/mailer.conf does not exist, e.g. when
  FreeBSD is built WITHOUT_MAILWRAPPER. [1]

Requested by:	miwi [1]
2011-12-21 22:45:17 +00:00
Sahil Tandon
c15eb5b2ce - Update to 2.9-20111205
Feature safe:	yes
2011-12-11 21:41:38 +00:00
Sahil Tandon
0a0a56c4fe - Update to 2.9-20111125
Feature safe:	yes
2011-11-27 05:55:24 +00:00
Pav Lucistnik
a0914a0295 - Remove pointyhat specific debugging
Ok'ed by:	sahil (maintainer)
Feature safe:	yes
2011-11-21 10:21:04 +00:00
Sahil Tandon
d9b2767be3 Shorten some OPTION descriptions such that they
fit neatly within the dialog(1) box.

PR:		ports/162688
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Feature safe:	yes
2011-11-21 01:13:58 +00:00
Sahil Tandon
03fe6b022b - Update to 2.9-20111119
Feature safe:	yes
2011-11-20 06:31:51 +00:00
Pav Lucistnik
82ad506b8d - Unmark BROKEN on amd64, the build failure observed on pointyhat is largely
unknown in real world.  Increase verbosity in postconf tool error messaging
  to aid diagnose on pointyhat

Submitted by:	Jase Thew
Feature safe:	yes
2011-11-17 19:35:14 +00:00
Martin Wilke
70c8dd6023 - Fix build on FreeBSD 10 2011-11-05 16:53:01 +00:00
Pav Lucistnik
0252be94ae - Mark BROKEN on amd64: fails during installation (updating man pages)
Updating /usr/local/share/doc/postfix/scache.8.html...
  Updating /usr/local/share/doc/postfix/tlsmgr.8.html...
  *** Error code 1

Reported by:	pointyhat
2011-10-26 22:44:50 +00:00