Commit graph

41 commits

Author SHA1 Message Date
triaxx
727f1ad8de postfix: fix PR pkg/54338
pkgsrc changes:
---------------
  * Remove -DHAS_EAI since it does not appear anywhere
  * Add pkg-config to USE_TOOLS since patch-ai introduces it
  * Bump revision since binaries are now linked to icui18n
2019-07-16 15:18:28 +00:00
fhajny
1df88341a5 Set smtputf8_enable=no by default (no EAI), avoid warning spewage.
Suggested by Marc Baudoin. PKGREVISION++
2015-09-08 14:03:04 +00:00
fhajny
c693b38dd9 Update mail/postfix to 3.0.2.
Database and regexp map functionality is now split into separate packages:

- postfix-cdb
- postfix-ldap
- postfix-lmdb
- postfix-mysql
- postfix-pcre
- postfix-pgsql
- postfix-sqlite

Upstream changelog follows.


Postfix 3.0.2
-------------
No delta against 2.11.6.

Postfix 3.0.1
-------------
- Build error when compiling the Postfix SMTP server with SASL support
  but no TLS support.
- The DNS "resource record to text" converter, used for xxx_dns_reply_filter
  pattern matching, appended a '.' to TXT record resource values.
- The postscreen(8) manpage specified an incorrect Postfix version number
  for the postscreen_dnsbl_timeout parameter.
- The postfix-install script expanded macros in parameter values when
  trying to detect parameter overrides, causing unnecessary main.cf updates
  during "postfix start" etc.
- Some low-level cleanup of UTF-8 string handling with no visible change
  in behavior (besides better performance).

Postfix 3.0.0
-------------
- SMTPUTF8 support for internationalized domain names and address
  localparts as defined in RFC 6530 and related documents.
- Support for Postfix dynamically-linked libraries and database plugins.
- An OPT-IN safety net for the selective adoption of new Postfix default
  settings. If you do nothing, the old Postfix default settings *should*
  remain in effect (complain to your downstream maintainer if that is not
  the case).
- Support for operations on multiple lookup tables. The
  pipemap:{map1,map2...} database type implements a pipeline of lookup
  tables where the result from one lookup table becomes a query for
  the next table; the unionmap:{map1,map2,...} database type sends the
2015-09-07 09:47:01 +00:00
hiramatsu
f9532a2903 Move Berkeley DB compilation definition from options.mk to Makefile
and remove "bdb" option.

Because Berkeley DB is always mandatory, it does not make sense to
force users to enable "bdb" option to use Berkeley DB.
2015-04-17 02:22:52 +00:00
hiramatsu
d05c4b1c46 Fix build break when pgsql enabled on Mac OS X 10.10. 2015-04-03 01:15:24 +00:00
taca
1ad589c8c4 Update postfix package to 2.8.3.
* pkgsrc change: remoe mysql4 from PKG_OPTIONS.


Securiy release for Memory corruption in Postfix SMTP server Cyrus SASL
support: http://www.postfix.org/CVE-2011-1720.html

20110411

	Cleanup: postscreen(8) and verify(8) daemons now lock their
	respective cache file exclusively upon open, to avoid massive
	cache corruption by unsupported sharing. Files: util/dict.h,
	util/dict_open.c, verify/verify.c, postscreen/postscreen.c.

20110414

	Bugfix (introduced with Postfix SASL patch 20000314): don't
	reuse a server SASL handle after authentication failure.
	Problem reported by Thomas Jarosch of Intra2net AG. File:
	smtpd/smtpd_proto.c.
2011-05-10 13:38:23 +00:00
ghen
6a97e9cf1f List existing "cdb" option in PKG_SUPPORTED_OPTIONS to make it somewhat less
useless. :-)
2009-11-12 15:52:26 +00:00
martti
0d0b72dc2f Added note about SQLite patch. 2008-10-16 09:49:13 +00:00
martti
1c623b18f0 Added support for SQLite (pkg/39745 by Sébastien BOCAHU.
No existing binary packages are affected so I didn't bump the revision...
2008-10-16 09:40:20 +00:00
ghen
20c45abd40 Add optional support for the "cdb" mapfile (constant database). This format
is read-only but is faster than Berkeley DB and uses less memory.  Use the
TinyCDB implementation which is in the public domain and a bit faster than
DJB's original CDB.
2008-06-03 10:30:51 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
ghen
9a6dd16f5d Update Postfix to version 2.5.1 (ok martti). Major changes over 2.4.x are:
- TLS (SSL) support was streamlined further, and provides a new security level
  based on certificate fingerprints instead of CA signatures. See TLS_README
  for details.

- Milter support was updated from the Sendmail 8.13 feature set and now
  includes most of the features that were introduced with Sendmail 8.14. See
  MILTER_README for details.

- Stress-adaptive configuration was introduced. This allows the Postfix SMTP
  server to temporarily adjust its rules under conditions of overload, such as
  a malware attack or backscatter flood. See STRESS_README for details.
  [pkgsrc: this obsoletes the "postfix-stress" option which provided the same
  functionality via a distribution patch]

- The queue manager scheduler was refined. It now provides per-transport
  scheduling controls and allows for adjustment of the sensitivity to mail
  delivery (non-)errors. See SCHEDULER_README.

- Security was improved by introducing a Postfix-owned data_directory for
  storage of randomness, caches and other non-queue data. This change avoids
  future security loopholes due to untrusted data sitting in root-owned files
  or in root-owned directories. Writes to legacy files in root-owned
  directories are automatically redirected to files in the new data_directory.

No functionality has been removed, but it is a good idea to review the
RELEASE_NOTES file for the usual minor incompatibilities or limitations.
2008-02-18 17:45:34 +00:00
ghen
9385d343d3 Move SASL conditionals to options.mk. 2008-01-25 09:42:54 +00:00
martti
5b9c5781da s/Dovcot/Dovecot/ 2008-01-17 13:47:01 +00:00
ghen
42408282f4 Drop the "dovecot-sasl" option and instead enable dovecot SASL support by
default (this doesn't actually depend on Dovecot for building, the code is
shipped with Postfix).
Set the default value for smtpd_sasl_type to "dovecot" unless cyrus SASL is
enabled, too.  This ensures backwards compatibility for most cases.

Ok with martti, joerg.
2008-01-16 14:21:39 +00:00
ghen
3123485e39 Add the postfix stress-adaptive behaviour patch via an option "postfix-stress"
(disabled by default).  This functionality will be included in Postfix 2.5 but
has been proven very succesful on the mailing lists so Wietse provided a patch
for Postfix 2.3 and 2.4.

See http://www.postfix.org/STRESS_README.html#adapt for configuration details.
2008-01-14 13:29:24 +00:00
tron
7ff2feb001 Enable TLS support by default. Approved by Martti Kuparinen. 2007-04-29 19:27:35 +00:00
joerg
eb5c88ba26 Add an option to use dovecot for SASL. 2007-02-20 16:49:29 +00:00
adrianp
8d83654955 Add -DUSE_CYRUS_SASL to CCARGS to get postfix working with Cyrus-SASL auth.
Ok'ed martti@
2006-07-30 10:59:24 +00:00
ghen
2eca3d9f2c The databases/openldap package has been split in -client and -server component
packages.  Convert LDAP-based applications to depend on openldap-client, and
bump PKGREVISION for those that depend on it by default.
2006-05-31 18:22:23 +00:00
wiz
0719006c41 Update path from cyrus-sasl2 to cyrus-sasl. 2006-04-13 21:45:12 +00:00
grant
826708f73d use ${LDFLAGS} in AUXLIBS so the chosen libdb can be found at runtime.
fixes build on Solaris.
2005-07-31 03:46:05 +00:00
jlam
e8b16d2e6e Remove security/cyrus-sasl and security/cy-login. These packages
tracked the Cyrus SASL 1.5.x releases, which are no longer maintained.
Adjust packages to use security/cyrus-sasl2 instead for SASL support.
This closes PR pkg/28218 and PR pkg/29736.
2005-03-28 09:39:56 +00:00
jlam
a1f833280a Fix up PLISTs and remove unused files left over from the incomplete
package update in the previous commit.
2005-03-28 08:53:07 +00:00
jlam
9db949578e STARTTLS support is now part of Postfix's standard distribution. 2005-03-28 07:07:49 +00:00
cjs
e4caf9e8fc Postfix 2.2.1 import.
New features since 2.1.x:
  - built-in IPv6 and TLS (we no longer use patches--beware config changes!)
  - more sophisticated LDAP/MySQL/PostgreSQL support, with freeform queries
  - SMTP client-side connection reuse
  - by default, no longer rewrite message headers in mail from remote clients
  - can use your ISP account name for mail destined outside your machine
  - can selectively turn off ESMTP features in client or server
  - remote SMTP client resource control (the anvil server)
  - support for CDB, SDBM and NIS+ databases is now built into Postfix
  - new SMTP access control features
  - and more
Caution:
  - You MUST stop 2.1.x and earlier versions before upgrading.
  - Use the postfix upgrade program to upgrade your main.cf/master.cf.
2005-03-22 10:43:50 +00:00
martti
f4a2c7bec3 Updated postfix to 2.1.5nb5
* New IPv6 patch
2005-02-09 06:55:10 +00:00
kim
86519c59a5 Apply NI_WITHSCOPEID patch only if the inet6 option is enabled.
Closes PR pkg/28756
2004-12-28 16:13:28 +00:00
jlam
0fec2dc732 Fix thinko with previous commit -- the builtin db1 is okay to use.
Bump the PKGREVISION to note the change in the default.
2004-12-02 14:39:56 +00:00
jlam
7089c11f47 Use bdb.buildlink3.mk to get the DB library to use for the "hash" map
type.  All platforms now support the "hash" map type as a result.
Remove the explicit dependencies on db4 and db2 on non-Linux and Linux,
respectively.  Bump the PKGREVISION.
2004-11-30 20:54:38 +00:00
xtraeme
f18a762d3f Remove obsolete variables POSTFIX_*, use PKG_OPTIONS.postfix. ok'ed jlam@ 2004-11-17 19:34:31 +00:00
xtraeme
c5b686aff3 Use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk,
so that we'd not force dependance on specific MySQL version, and instead pick
the currently installed mysql*-client (or install the default if there
is no mysql-client package installed yet)

this makes package buildable with arbitrary MySQL version, such as 3.23.x,
4.0.x or 4.1.x
2004-10-29 07:07:44 +00:00
martti
1faa536f93 Updated postfix to 2.1.5
- The code to eliminate the local MTA from an MX address list did
  not handle the case that the local MTA could appear with different
  MX preferences in both inet_interfaces and proxy_interfaces.

- The SMTP server's kiss-of-death message "421 Timeout exceeded"
  wasn't guarded by setjmp().

- The SMTP server didn't update the per-session error counter when
  a client was denied access with smtpd_delay_reject=no.

- The Postfix sendmail command leaked file descriptors when it was
  unable to execute the postdrop mail submission command.

- The bounce daemon sent the wrong type of bounce message when a

- Plus some portability, safety and documentation fixes.
2004-09-23 16:10:07 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
4ae27a12a1 This patch can only apply cleanly if "inet6" is a build option. Move it
to a file that's applied at post-patch time only if "inet6" is specified.
This fixes building postfix on systems that don't support IPv6.
2004-08-11 06:51:31 +00:00
jlam
c89b170168 Document the "tls" option. 2004-08-07 17:05:00 +00:00
jlam
16d9d09251 whitespace nit. 2004-08-07 17:02:57 +00:00
jlam
5c7aad1d9f Support building STARTTLS support into Postfix without IPv6. 2004-08-07 16:56:53 +00:00
jlam
0c0e5e112b Reduce the number of patches needed by Postfix by using the subst
framework and also by explicitly specifying more default values for
Postfix parameters.  Also pass -I/usr/pkg/include/sasl to the compiler
when building using Cyrus SASLv2, which allows me to remove the patches
that added an unnecessary USE_SASL2_AUTH check.
2004-08-07 07:58:32 +00:00
jlam
b32800e3ff Rename Makefile.options to options.mk in the packages that I maintain.
This follows the example of the mail/dovecot package, as suggested by
<schmonz>.
2004-08-05 03:04:33 +00:00
Renamed from mail/postfix/Makefile.options (Browse further)