Commit graph

234 commits

Author SHA1 Message Date
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
martti
be52346279 Updated postfix to 2.2.5
Postfix 2.2.5 addresses some portability problems with LP64 platforms
that broke SMTP connection caching, and makes SMTP connection
caching more failure tolerant. These fixes are back-ported from
the experimental (2.3) release series.

The connection caching protocol has changed, so you will need to
"postfix reload" after upgrading.
2005-07-22 06:12:44 +00:00
martti
ad898c866b Updated postfix to 2.2.4
20050517

        Bugfix: in a DSN report, the original recipient should not
        be xtext encoded. File: bounce/bounce_notify_util.c.

20050523

        Bugfix: mymalloc() panic with mistyped server host list.
        File: global/dict_pgsql.c.

20040530

        Bugfix: TLS MUST_NOPEERMATCH didn't work (inherited from
        TLS patch), and a dangling pointer in the corresponding
        error handling. File: smtp/smtp_proto.c.

20050615

        Cleanup: the SMTP client now sends QUIT when the initial
        HELO handshake fails. it still doesn't send QUIT when the
        server greets with a [45]XX code, as that is handled in the
        connection management code before a session context exists.
        File: smtp/smtp_connect.c.

20050616

        Bugfix: missing or mis-placed va_end() macros, found in
        Postfix 2.3 code review. Files: util/netstring.c,
        util/myaddrinfo.c, util/attr_clnt.c, util/vstream.c.

20050621

        Portability: file descriptor passing is available for Tru64
        UNIX, but AIX4 and IRIX6 will have to do without. This means
        no SMTP connection caching for those platforms.  Albert
        Chin.  File: util/sys_defs.h.
2005-06-23 07:58:48 +00:00
martti
fb4fbcddee Removed POSTFIX_EXAMPLE_FILES loop as it's no longer used. Noted by
Yannick Gravel in a private mail.
2005-06-09 17:06:47 +00:00
martti
9ac91d90e6 Updated postfix to 2.2.3
- SASL inter-operability problem causing Sendmail servers to hang up on Postfix.

- Panic when a fall-back relay could not be used for a variety of reasons.
2005-05-04 05:20:40 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
martti
14befbbdbc Updated postfix to 2.2.2
- A more usable REPLACE action in header/body_checks. The old
  version produced unexpected results.

- Portability to HP-UX.

- Two harmless defects in the SMTP and LMTP clients that go back
  to before the first Postfix release, and that were found while
  doing code maintenance on the experimental release.
2005-04-04 18:13:32 +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
xtraeme
cdb0e00742 NetBSD-3.x support. 2005-03-22 18:09:33 +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
bad
54d16e4557 Be more explicit about what to configure for SASL authentication in
server and client roles.
2005-03-08 18:35:04 +00:00
bad
02a4166135 Be specific about what the master.cf example is for. 2005-03-08 18:33:39 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +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
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
kim
fbb3fd6d93 Fix "postfix/smtp killed by signal 11" problem. 2004-12-23 13:51:27 +00:00
kim
2c7c9b104c Make this compile on -current without NI_WITHSCOPEID
Closes PR pkg/28686
2004-12-17 19:36:01 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +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
e051604bd5 Remove -g from compilation flags. 2004-11-25 04:02:35 +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
schmonz
b6c39ecb23 Define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H for Mac OS X, and include
<nameser8_compat.h> before <resolv.h> if it's defined.

Along with Johnny's recent buildlink3 fixes, this fixes the build
for me on Mac OS X Server 10.3.4. Should address pkg/26584.
2004-08-10 16:49:47 +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
jlam
9d4e8059bc Use the TLS+IPv6 patch that corresponds to Postfix-2.1.4. 2004-08-04 20:49:43 +00:00
jlam
4300b19448 Sort. 2004-07-31 05:39:17 +00:00
jlam
440f54314c Remove unnecessary line in DESCR... IPv6 is a well-received patch in the
Postfix community nowadays.
2004-07-31 05:23:59 +00:00
jlam
12c86522bd Replace a few instances of ${PKGBASE} with "postfix". This has no effect
in this package, but simplifies maintaining the postfix-current package by
minimizing diffs between the two.
2004-07-31 05:22:16 +00:00
jlam
07f3723f78 Remove trailing whitespace. 2004-07-31 05:07:19 +00:00
jlam
c3bb963235 PostgreSQL table support is a standard (if compiled) feature of Postfix.
A patch is no longer need to add the support.
2004-07-30 21:44:43 +00:00
jlam
db6a4b68f3 VERP support is a standard feature in Postfix. 2004-07-30 21:38:07 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
martti
4ee1ab216f Updated postfix to 2.1.4
* Bug fixes
2004-07-29 10:15:38 +00:00
recht
8dc45652d4 Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
2004-07-24 22:45:14 +00:00
jlam
cf58a9142c Missing mailer.conf from PLIST. 2004-07-23 23:39:00 +00:00
jlam
f655335e50 Add POSTFIX_OPTIONS to the +BUILD_INFO file. 2004-07-23 15:00:29 +00:00
schmonz
4622234cb7 Add CONFLICTS with the upcoming mail/fastforward update. 2004-07-21 23:30:16 +00:00