Commit Graph

5179 Commits

Author SHA1 Message Date
mrg 6e5288e9d6 STANDARD_LIBEXEC_PREFIX needs to end with a /. 2006-05-13 01:43:17 +00:00
mrg a281677257 properly build the version string with spaces. 2006-05-13 01:18:37 +00:00
christos fc079150a4 prepend cvs_ to all the x* functions to avoid coverity conflicts with other
programs.
2006-05-12 15:41:53 +00:00
christos 7c8717d509 Revert previous coverity fixes because they were caused by the wrong model
(xstrdup() from xlint was used instead of the locally defined one). Replace
with assertions instead (from Mark D. Baushke)
2006-05-12 15:33:17 +00:00
mrg 3c3bcb101f pull across from GCC3 tree:
- __enable_execute_stack() support
- NetBSD/powerpc specific GCC configury bits.
2006-05-12 01:01:18 +00:00
mrg 014ea08324 - fix #include so that "ppc-asm.h" is found
- make sure tramp.asm is compiled properly
2006-05-12 00:59:32 +00:00
mrg 2d88bcdbb8 - export @enable_shared@ into ENABLE_SHARED (for mknative)
- disable rules for gengtype-yacc.c, gengtype-yacc.h and gengtype-lex.c
- pull across a fix for cygwin building fixincludes from GCC3 tree
- disable %.info rules.
2006-05-12 00:58:25 +00:00
mrg 5cfb97cb39 pull across a patch from GCC3 tree. the comment says it all:
# Use sh specific libgcc-std.ver to avoid exporting some
# lib1func routines which shoud not be called via PLT.
2006-05-12 00:56:35 +00:00
mrg b41d56701a move #include to the start of the line. 2006-05-12 00:55:59 +00:00
mrg 8a15ddadaa add these generated files that really want bison. 2006-05-12 00:54:29 +00:00
mrg 85a901ce95 pull across from GCC3 tree:
>date: 2004/11/30 01:51:13;  author: jwise;  state: Exp;  lines: +21 -3
>As discussed on tech-toolchain@netbsd.org, make cpp refuse to attempt to
>parse a #include'd file which does not pass S_ISREG() if the environment variable
>CPP_RESTRICTED is set.
>
>This is primarily intended for use by programs such as calendar(1) which
>use cpp to parse untrusted user files -- without this change (and the corresponding
>change to calendar(1)), any user can cause a denial-of-service for the daily
>calendar -a run by #include'ing a named pipe.
>
>Many thanks to christos@netbsd for his help in polishing this.
2006-05-12 00:51:13 +00:00
mrg 871b78e87d switch the default model to medlow, from GCC3 tree. 2006-05-12 00:49:49 +00:00
mrg 8ff761d708 use "bv" branching on NetBSD, like on linux. from the GCC3 tree. 2006-05-12 00:47:50 +00:00
mrg 8ff76fa508 force shift target to "long" with "L" prefix, from GCC3 tree. 2006-05-12 00:47:17 +00:00
mrg 43eb93d243 pull across from the GCC3 tree:
>revision 1.2
>date: 2003/10/29 21:25:03;  author: mycroft;  state: Exp;  lines: +40 -11
>As seen on tech-toolchain:
>
>So the problem is thus:
>
>* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
>halves of the target register.
>
>* life_analysis() does not track subregister modifications -- if you don't
>modify the whole register with a single set, it considers the register
>unused.
>
>The simple, if klugy, solution to this is to stick an explicit clobber in.  It
>seems to work.
>
>While doing this, I noticed that constant folding was not happening for
>32x32->64 multiplies.  This is because the parallel set generated by
>{u,}mulsidi3 cannot be folded at all.  To solve this, I first expand to a
>normal multiply, and then use a define_insn_and_split to convert it to the
>parallel set after CSE and constant folding.
>
>This patch has also been submitted to GCC bugzilla, but who knows if I'll get
>a reply to that.
2006-05-12 00:46:33 +00:00
mrg 7e1fdc3c74 default to stabs, from the GCC3 tree 2006-05-12 00:44:17 +00:00
mrg cc2bf2dacf - define __PIC__ and __pic__ when flag_pic is set.
- add GPLUSPLUS_BACKWARD_INCLUDE_DIR to the INCLUDE_DEFAULTS includes
- define GPLUSPLUS_BACKWARD_INCLUDE_DIR, TOOLDIR_BASE_PREFIX,
  STANDARD_BINDIR_PREFIX and STANDARD_LIBEXEC_PREFIX
- delete NETBSD_LIBGCC_SPEC
- define LIBGCC_PICSUFFIX as "_pic".
2006-05-12 00:43:55 +00:00
mrg 7c427e47b1 pass -Bsymbolic to ld when given -symbolic. 2006-05-12 00:42:13 +00:00
mrg dfa8a9c641 - call this NetBSD GCC.
- use our send-pr URL.
2006-05-12 00:40:57 +00:00
mrg d70944f410 put a couple of "noreturn" warnings under -Wno-missing-noreturn
XXX not really correct, but there is no other way to disable these
XXX warnings currently.
2006-05-12 00:40:21 +00:00
mrg 1fb90918ec pull across support for:
hppa-netbsd
	armeb-netbsd
	ia64-netbsd
	m68010-netbsd
	sparc64-netbsd
from the GCC3 tree.
2006-05-12 00:39:28 +00:00
mrg 8b372f5bf6 pull across the old -isystem-cxx support, but, because "-isystem/bar/foo"
is valid now, -isystem-cxx looks in directory "-cxx", so call it
-cxx-isystem now.
2006-05-12 00:33:26 +00:00
mrg b94442d7df pull over from GCC3 tree:
>PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
>This wonderful patch together with yesterdays wcsftime addition, makes
>us able to use wide strings in c++
2006-05-12 00:25:57 +00:00
mrg c5f4b7b025 undefine "rtx" before re-defining it. 2006-05-12 00:25:04 +00:00
mrg df80da1eff only need to #include "localedir.h" if USE_NLS is defined. 2006-05-12 00:24:43 +00:00
mrg fafcb5dc4d don't include <machine/ansi.h> on NetBSD if inhibit_libc is defined. 2006-05-12 00:24:09 +00:00
mrg 5a7bbee727 #if 0 a warning that has no -Wno-foo flag that (often wrongly) says that
the va_start() is called incorrectly.
2006-05-12 00:20:21 +00:00
mrg 2fded4a2d3 we want a target-libiberty so we can pull mknative info out from it. 2006-05-12 00:19:09 +00:00
mrg a6946cf17d match "sh5". 2006-05-12 00:18:30 +00:00
mrg 33ffc74201 - bump libobjc to version 2.1
- now that OBJCOPTS.file.c works, use it for the objects that need it
- always pass -fno-strict-aliasing -fexceptions like the GCC build does
2006-05-11 23:52:41 +00:00
christos 90463da1f9 Address the remaining Coverity problems from Mark D. Baushke 2006-05-11 17:47:49 +00:00
mrg 9b8d2ce51a s/register//. apply some more "const" to avoid GCC4 warnings. 2006-05-11 10:29:04 +00:00
mrg c7dc676533 cast the functions assignments for gnu_v3_abi_ops.is_destructor_name
and gnu_v3_abi_ops.is_constructor_name as appropriate.
2006-05-11 00:32:21 +00:00
mrg 89318da5dd add the build framework for in-tree GCC4 libraries, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:53:49 +00:00
mrg ef37f7a679 add the build framework for in-tree GCC4 programs, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:48:11 +00:00
mrg 084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
skrll 7dd5787d48 Pulls over the changes from gdb mainline to fix the cast lvalues. 2006-05-10 06:18:01 +00:00
mrg 0c37c63edc change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
mrg 2427b03e9b GCC4 subdir is actually called "libstdc++-v3_4" 2006-05-09 19:29:13 +00:00
tsutsui b367369f5f Remove HACK for m68k ra-colorize.c bug in gcc-3.3.2 since current
self build (with gcc-3.3.3) on hp300 has worked fine without this.

Maybe we could remove this HACK for m68000 too, but I can't confirm it
because it's too slow even on the emulator and it's unlikely to build
whole toolchains on sun2 with its maximum 4MB RAM...
2006-05-08 14:42:22 +00:00
christos cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
wiz 09ca6f5fba Ah well, fix 3.0.1 entry too. 2006-05-03 21:43:31 +00:00
wiz 431c596f83 Fix 3.1 entry. 2006-05-03 21:43:10 +00:00
tron 73502fa292 Add NetBSD 3.0.1 and 3.1 to the list of recognized operating systems. 2006-05-03 20:56:54 +00:00
rpaulo 0dd97d141b Adapt to new html/readme files sync. 2006-04-22 16:05:16 +00:00
rpaulo 0f3bfedda4 Add AAAREADME and DB_README. Keep html files in sync. 2006-04-22 16:04:25 +00:00
rpaulo 94cc274ebe Adapt to our file location and to the files we install.
Discussed with Perry and Wietse Venema.
2006-04-22 12:56:36 +00:00
mrg 294cfe6c44 don't rebuild configure, Makefile.in or config.h.in without explicitly
asking for it.
2006-04-21 03:41:51 +00:00
skrll 61458fa35f Do a mknative run to pick up (for real) the added support for various
features.

nan is removed from libstdc++ as it's been added to libc. A major bump
is avoided as there are very few (no) examples of linkage against
libstdc++ and not against libc.
2006-04-20 20:14:05 +00:00
mrg bd52d17906 initial import of GCC 4.1 branch, from 2006-04-20. list of changes way
too large to list, but see:
	http://gcc.gnu.org/gcc-3.4/changes.html
	http://gcc.gnu.org/gcc-4.0/changes.html
	http://gcc.gnu.org/gcc-4.1/changes.html
for the details.
2006-04-20 10:19:17 +00:00
christos 2aa11212e6 Remove qmqpd again. perry will fix postfix set-permissions 2006-04-17 19:18:59 +00:00
christos f24c5c7519 Add qmqpd 2006-04-17 16:15:40 +00:00
christos 2ab3510195 Add qmqpd. 2006-04-17 16:11:20 +00:00
skrll c0d9bc63a5 Check that a .rodata section description has been provided before putting
orphan sections in it.

Closes PR/33129.
2006-04-17 07:05:17 +00:00
christos 2731b15f5e fix debug build 2006-04-09 02:52:20 +00:00
mrg 0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
rpaulo e75b544db0 resolve conflicts 2006-04-06 23:07:16 +00:00
rpaulo 53d18fe356 Postfix 2.2.10. 2006-04-06 22:55:43 +00:00
christos 6bd51d8bb0 PR/32683: Dieter Baron: gdb/i386 cannot single step of shared library functions.
Indicate that we are in the solib trampoline is when we are in the plt section
(from uwe).
2006-04-03 17:09:58 +00:00
tls bc4c5be2bf Now we use tip-as-cu, not Taylor UUCP cu.
These programs are no longer setuid, and now lock devices with flock,
not file locks in /var/spool/.  They will no longer lock against UUCP
itself unless we modify UUCP to lock with flock, but this seems highly
unlikely to be an issue in the present day.
2006-04-03 02:21:13 +00:00
christos 5a33190720 fix coverity free model. 2006-04-02 00:01:13 +00:00
he 9be7b2d54a After the latest update to <sys/time.h>, struct timezone is no longer
defined if _NETBSD_SOURCE is not defined, so comment out the definition
of HAVE_STRUCT_TIMEZONE.  Fixes build problem for vax.

Even though this file says "auto-generated, do not edit", matt said
"OK" to manually tweaking it.
2006-04-01 20:02:56 +00:00
jmc 36787e1273 Import of gnu make 3.80 for use with gcc4 cross builds.
Downloaded from ftp://ftp.gnu.org/pub/gnu/make/make-3.80.tar.gz
2006-03-29 21:09:18 +00:00
christos 353e39bc1f Add coverity annotations. 2006-03-29 16:06:25 +00:00
christos d94e5901c8 Coverity CID 2429: Don't check for NULL after deref. 2006-03-29 16:02:45 +00:00
christos e4933cdc0d Coverity CID 2496: Uninitialized var. 2006-03-29 16:01:03 +00:00
christos cb5d0e69e7 Coverity CID 1199: Unchecked open. 2006-03-29 15:55:57 +00:00
christos 391f06d4af Coverity CID 2785: Fix memory leak. 2006-03-29 15:53:20 +00:00
phil e3482ab49e Test the name array sizes before using them. 2006-03-28 19:38:44 +00:00
christos 072667be1c Coverity CID 114: If we did not find any symbol table entries, return an
error.
2006-03-26 23:00:35 +00:00
christos 9a25d0519d Coverity CID 115: Don't leak memory 2006-03-26 22:58:44 +00:00
christos d4aabd7a1f Coverity CID 1202: Always return on EOF, otherwise we would try to use
ctab[-1].
2006-03-26 22:50:48 +00:00
christos 2edd64ae3e Coverity CID 927: Check for NULL before de-referencing. 2006-03-26 22:35:07 +00:00
christos ea28a203cf Coverity CID 2361: Avoid possible NULL deref. 2006-03-26 22:20:04 +00:00
christos 600a182b2f Coverity CID 2607: Although use after free is impossible here, clarify code. 2006-03-26 22:15:21 +00:00
itojun 294eae05ea enable all address families (= IPv4 and v6), since NetBSD is IPv6-ready
with the default install.
2006-03-26 01:43:19 +00:00
christos 3f97f7ca72 Apply patch 8.13.5.p0 from sendmail.org; Although we are running 8.13.4,
this applied with mimimal fixes.
2006-03-24 16:09:01 +00:00
christos 85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
christos 6ba3c05c69 Fix krb4 compilation before ejection. 2006-03-20 00:28:44 +00:00
christos ae8f65bfac make krb4 compile before I nuke it. 2006-03-19 22:58:14 +00:00
uwe ff265b0443 In binutils 2.16 new SuperH flags were introduced. Since we still use
old gdb, teach it new flags, so that it can recognize binaries compiled
with new binutils.  For new flags set arch to an approximate superset
that this version of bfd knows about.  This is good enough for gdb.

PR port-sh3/32972
2006-03-07 02:16:23 +00:00
martin d0f2507f92 Sync with r1.5 of configure.in - somehow I seem to have managed to not
commit the equivalent change to this file last time:
"with_cpu" is a property of the target. - reset it for each config.gcc run.
2006-02-27 20:52:21 +00:00
rpaulo 7afb97ea59 resolve conflicts 2006-02-25 22:17:12 +00:00
rpaulo b540f1d62f postfix 2.2.9 2006-02-25 22:04:07 +00:00
simonb 5cfbf7bf76 Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. 2006-02-25 12:04:23 +00:00
jschauma 929e2c5c2d add missing port-ibmnws category 2006-02-20 18:27:19 +00:00
jschauma d252fffd54 add missing port-ia64 category 2006-02-20 18:15:16 +00:00
apb 1045a48c15 Merge the check_child_status function from diffutils-2.8.7.
The rest of the gnu/dist/diffutils tree remains at version 2.8.1.

Fixes PR 23162 from George Michaelson (etcupdate/sdiff report
error on applying merge edits)

Approved by wiz, christos
2006-02-18 22:42:12 +00:00
skrll a105f8f3c9 Pull in my readelf fix from binutils-current for the new EF_SH* flags.
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
2006-02-17 13:14:25 +00:00
skrll 6003e126de Fix PR 32076 by using procfs to get details of the file when attaching
to a process.

Discussed (briefly) on tech-toolchain and OK'ed by thorpej.
2006-02-17 07:58:58 +00:00
he 91afe2706a Now that the libiberty config.h was made MD again, we need to instruct
the build of this (only done for old gcc, i.e. vax) to pick up the
config.h file from the new place.
2006-02-16 10:36:24 +00:00
dyoung efce638a8b Do not build .ps files if MKMAN=no, because nbgroff is not available. 2006-02-14 23:37:39 +00:00
wiz 8252aaa6cd Correct option name. From Takuro KUBOTA in PR 32819. 2006-02-13 21:18:35 +00:00
tron 699ad05e6e Remove created file groff_mom(7) in "cleandir" target. 2006-02-12 18:11:54 +00:00
wiz c11d7dc6e6 re-add elvis_syntax, lost in 1.2; spaces -> tab while here. 2006-02-12 01:18:05 +00:00
chs f5e8cd1d2f add a dependency for parallel make. 2006-02-12 01:04:39 +00:00
christos d881eb70dd Find penguin.ps with -I 2006-02-12 00:18:30 +00:00
christos 81cb1ea305 Simplify this:
- don't use suffix rules because they will confuse the ${.ALLSRC} target
  in the install later.
- no need to copy the .ps file locally.
2006-02-11 19:39:01 +00:00
wiz 4cee25b965 Quote .IP argument (IP only takes one). 2006-02-07 20:23:41 +00:00
skrll fcf3319fe8 Pull in a change form binutils-current that removes the gap between text
and data on mips platforms which was dragged over from the Irix defaults.

OK'd by simonb@
2006-02-07 09:10:43 +00:00
wiz fad10e9256 Disable rule to rebuild info file -- texinfo 4.7 is not up to it. 2006-02-06 23:47:36 +00:00
wiz c0c89e9a5b Remove contrib/groffer:
it breaks the tools build during installation, and I have not understood
yet, why. Since it is not needed, we shall just disable it for now.
2006-02-06 18:37:24 +00:00
wiz e873ee3cdc Correct comment. 2006-02-06 18:34:58 +00:00
wiz 3dbb52e8c6 Update for groff-1.19.2. With a little help from FreeBSD. 2006-02-06 18:29:47 +00:00
wiz 6a74fb5c3a Merge groff-1.19.2. 2006-02-06 18:25:47 +00:00
wiz 71531c59e1 Import groff 1.19.2 2006-02-06 18:10:27 +00:00
christos 56e5fb3faa add cvs2netbsd script 2006-02-04 20:16:28 +00:00
skrll d36eb258eb mknative re-run to pick up the binutils version from the sources
imported, i.e. the binutils-2.16.1 release and not the branch that
I worked with originally.

Lot of the changes are due to the update of the mknative script RCSId.
2006-02-04 17:03:02 +00:00
christos bb26d73fba Bye bye cvs 2006-02-04 16:31:25 +00:00
christos 3f2ec09c9f bye bye old cvs. 2006-02-04 16:30:30 +00:00
christos 0a1a311825 descend to xcvs 2006-02-04 16:30:04 +00:00
christos 2cd25f5744 Add all our changes:
- our kerberos support
- nolock
- setuid support / setxid in child
- avoid dangerous commands and only allow admin group to execute them
- selectable CVS directory name
- symlinked repository fixes
- log admin commands in history
- default to ssh instead of rsh
- localid keyword
- null revision on re-added files
- umask fixes
- t flag in log
- don't recursively re-enter signal error handler
- xasprintf in selected places
- ipv6 support
2006-02-04 16:29:55 +00:00
christos 56ece2a214 Add build glue and new config file. 2006-02-04 16:22:53 +00:00
christos c43c5d6f66 Import CVS-1.11.21: See the NEWS files for changes from 1.11.20 2006-02-04 15:52:40 +00:00
martin 77e0dba33e We want "traditional" abi on mips.
From Nick Hudson.
2006-02-04 12:08:22 +00:00
christos c71e1a889d bump version. 2006-02-03 16:30:13 +00:00
christos 663f146299 bump version! 2006-02-03 16:29:34 +00:00
skrll f73b0f41ba ns32k binutils mknative output. Hi Simon! 2006-02-03 16:09:16 +00:00
skrll 5bb4d25b69 Fix merge botch. 2006-02-03 09:24:20 +00:00
skrll 21db48e0fd Pull across fix from binutils-current to allow netbsd sh5 to compile. 2006-02-02 22:43:14 +00:00
skrll ad3568f537 Another conflict I didn't properly resolve. 2006-02-02 22:42:50 +00:00
skrll 7d0a5c3025 Where did that space come from? 2006-02-02 22:39:34 +00:00
skrll 97bb67a75f Oops. Resolve conflict properly.
The standard binutils behaviour wrt to plt entries and relocs is handled
by our dynamic linker so let's do that. Solaris does it this way too.
2006-02-02 22:34:37 +00:00
skrll ef26780071 Make the libiberty stuff MI again. 2006-02-02 22:26:50 +00:00
skrll f8aa39bd9d Run mknative on the new binutils. 2006-02-02 22:22:14 +00:00
skrll 42d4edf85a Pull across the fix for gas/991.
All instructions are assembled correctly with this fix.
2006-02-02 22:19:18 +00:00
skrll 8d40ee0d82 Pull across the fix for ld/1021 and ld/1031.
This has been applied to the binutils_2_16 branch.
2006-02-02 22:14:43 +00:00
skrll 1a673ba65b Resolve conflicts. 2006-02-02 22:03:55 +00:00
skrll ce836c59d8 Resolve conflicts. 2006-02-02 22:03:53 +00:00
skrll 8d2c6a4e34 Import binutils 2.16.1. 2006-02-02 20:58:06 +00:00
skrll 27523fbf84 Import binutils 2.16.1. 2006-02-02 20:47:53 +00:00
skrll a4d3423d48 Import binutils 2.16.1. 2006-02-02 20:37:52 +00:00
wiz 7ddd0cc392 error() already adds a newline at the end, so do not provide one
in its format string.
2006-01-19 17:50:33 +00:00
apb cea5941d78 Two special files that both refer to the same device should be treated
as identical.

PR 30779
Approved by christos
2006-01-14 09:18:17 +00:00
tsutsui ff0f4feb77 Add platforms not yet in groff distribution. 2006-01-11 13:37:53 +00:00
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