Commit Graph

4944 Commits

Author SHA1 Message Date
rpaulo
f52f811357 Merge postfix-2.2.8. 2006-01-05 02:25:20 +00:00
rpaulo
a4f3d9cc74 postfix-2.2.8 2006-01-05 02:14:08 +00:00
rpaulo
b55161a942 postfix-2.2.8 2006-01-05 02:10:01 +00:00
rpaulo
fa62ffe038 postfix-2.2.8 2006-01-05 02:03:43 +00:00
rpaulo
c3cf58ed3d postfix-2.2.8 2006-01-05 02:01:51 +00:00
rpaulo
1a9289c1de Delete the 'auxiliary' directory. 2006-01-05 01:51:54 +00:00
uwe
4224340c16 Handle the case when control transfer instruction jumps to its own
delay slot (e.g. PLT entries use such code).  We can not set the
breakpoint there, as trapa is illegal in the delay slot.  Set the
breakpoint to the next instruction instead.  We are guaranteed to
arrive there, as control transfers are illegal in the delay slot.
2006-01-02 17:35:55 +00:00
uwe
384a271baa 2005-12-31 Valeriy E. Ushakov <uwe@NetBSD.org>
Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
	for R_SH_REL32 in shared objects if the symbol is locally called.

Makes hidden and protected symbols in shared objects work.
This will be committed to the binutils mainline.
2005-12-31 16:23:59 +00:00
christos
1dbc939feb setuserenv -> setuserenviron 2005-12-20 22:54:44 +00:00
rpaulo
c03852f5b9 Merge postfix-2.2.6. 2005-12-01 21:56:55 +00:00
rpaulo
dcd561871d Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:46:55 +00:00
rpaulo
bb277950a4 Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:36:22 +00:00
skrll
77d152992d Really resolve a conflict. 2005-11-29 15:31:41 +00:00
dbj
8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
martin
eaaec6f3bf As Richard Earnshaw put it: "with_cpu is a property of the target."
Reset it to the default (command line dependend) before each turn
of "config.gcc", so each invocation gets a clean state and only the
changes from the last round persist.

This fixes the build of a sparc toolchain on a sparc64 host.
2005-11-18 08:57:04 +00:00
dsl
b9a6294f9c When compiling with -Os put all strings into .rodata.str1.1 (ie byte aligned)
rather than putting those longer than 30 chars into .rodata.str1.32.
Apparantly gcc 3.4.4 has this change...
In spite of everything being compressed, this saves over 13k in the boot
floppies.
2005-11-05 18:29:53 +00:00
martin
35f890192b Oops, forgot this when switching v9 -> ultrasparc as default -mcpu 2005-10-29 20:40:45 +00:00
martin
b09509e102 Switch gcc's default for sparc64 from cpu=v9 to cpu=ultrasparc. 2005-10-29 16:40:24 +00:00
jmc
16d1b947b8 Build ncdcs on everything. Allows better set sharing (and we don't exclude
other 'system specific' binaries from other builds ala sunlabel, etc)
2005-10-27 17:39:35 +00:00
rpaulo
53a26667ef Install /usr/share/doc/html/postfix/postfix-logo.jpg too since
HTML documentation needs it.

Discussed with Perry E. Metzger.
2005-10-10 15:34:30 +00:00
chs
34237b749e add a missing dependency (discovered by parallel build). 2005-10-02 17:52:22 +00:00
is
8750386a4d Allow for \H -> "address ..." substitution in PIPE ports. Useful
e.g. for generic UUCP over SSH or SSL... Idea and part of the patch
by Joerg Durchain, has apparently been integrated in Debian for a
while.
2005-09-07 12:38:16 +00:00
rpaulo
237b18c7d5 Revert back to previous version and wait for the next groff import.
Discussed with Thomas Klausner.
2005-09-05 11:42:40 +00:00
he
e0b1e3f66d As discussed on source-changes, fix the library specification:
o Add ${LIBSSL} to the DPADD list, it was missing
 o Use -lcrypto and not ${LIBCRYPTO} in LDADD+=
 o Reorder libraries so -lssl comes before -lcrypto
 o Let the postfix libraries and the system libraries have their own
   LDADD+= and DPADD+= lines (this one wasn't discussed)
2005-09-04 22:11:20 +00:00
rpaulo
9dd9c0444a Add FreeBSD 4.11 and 5.4. 2005-09-01 18:39:08 +00:00
tron
251c50b7b1 Fix vulnerability reported in SA16553 using the Red Hat patch. 2005-08-25 10:00:01 +00:00
he
26122ef59f Add libcrypto for the benefit of sun2. 2005-08-21 23:00:12 +00:00
he
1ad3b58c59 We need libcrypto here as well for the benefit of sun2. 2005-08-21 22:56:05 +00:00
he
802a809508 LIBCRYPTO is also needed, fixes build on sun2 (static link only, so far). 2005-08-21 20:26:39 +00:00
rpaulo
ff69469b26 Adapted to the new Postfix 2.2.5.
Reviewed by Perry E. Metzger.
2005-08-18 22:30:36 +00:00
rpaulo
5004b6fbea Added an OpenSSL version number check so that we pass the second argument to
d2i_SSL_SESSION() correctly.
From postfix-2.3-20050726.
Suggested by Wietse Venema in private email.
2005-08-18 22:29:08 +00:00
rpaulo
820935b3e1 Resolve conflicts. 2005-08-18 22:06:28 +00:00
rpaulo
b4754a63ed Resolve conflicts. 2005-08-18 21:58:59 +00:00
rpaulo
3aaaf2cd89 Resolve conflicts. 2005-08-18 21:46:19 +00:00
rpaulo
a5c1167790 Resolve conflicts. 2005-08-18 21:33:04 +00:00
rpaulo
259d7fd128 Import Postfix-2.2.5. 2005-08-18 21:07:25 +00:00
rpaulo
f55b2b19ea Import Postfix-2.2.5. 2005-08-18 21:00:20 +00:00
rpaulo
802682af7a Improved wording and removed double whitespaces. 2005-08-18 12:25:56 +00:00
skrll
784c9344e8 Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes
from me.
2005-08-17 07:13:32 +00:00
nathanw
55bd561796 nbsd_thread_resume(): make sure that we've been passed a thread ID in
ptid before invoking the suspend-all-but-this-thread logic. Otherwise,
when passed an LWP (as a result of 1.15 making LWPs the primary
identifier of live execution contexts), we try to suspend everything,
which goes poorly.
2005-08-16 22:07:12 +00:00
christos
0834c5e84b We have strerror_r now. 2005-07-28 18:34:02 +00:00
he
92e13de495 Only define HAVE_STDBOOL_H if we are using __GNUC__ >= 3.
Fixes build problem for vax.
2005-07-17 09:22:03 +00:00
he
886478a4b7 In the workaround for vax, we need to also specify that stdbool.h is
to be created under the beforedepend target.
2005-07-05 21:52:13 +00:00
christos
70a3bc48dd Don't use ${INSTALL_FILE} to copy to obj dir. 2005-07-05 03:10:11 +00:00
peter
a9b411c198 Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
2005-06-20 13:25:23 +00:00
tron
e1ec153e47 Backout the last two revisions. These changes should have been applied to
"src/gnu/usr.bin/groff/tmac/mdoc.local". Pointed out by wizd(8) in
private e-mail.
2005-06-02 15:44:20 +00:00
wiz
e3214269d3 Add NetBSD-4.0. 2005-06-02 15:34:33 +00:00
tron
87269b5e72 Add NetBSD 4.0. 2005-06-02 15:26:43 +00:00
lukem
5760da6393 appease gcc -Wuninitialized 2005-06-01 15:12:18 +00:00
thorpej
c3fe994ea5 Disable the man subdirs. We don't need them for tree builds, and they
can break the tools builds due to timestamp issues.  Discussed with Luke
Mewburn.
2005-05-30 01:32:44 +00:00