Ken Hornstein [Fri, 27 Jan 2012 17:30:52 +0000 (12:30 -0500)]
Make POP support always be turned on.
Lyndon Nerenberg [Fri, 27 Jan 2012 16:16:57 +0000 (08:16 -0800)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh
Lyndon Nerenberg [Fri, 27 Jan 2012 16:16:36 +0000 (08:16 -0800)]
Typo fix.
David Levine [Fri, 27 Jan 2012 04:36:17 +0000 (22:36 -0600)]
Added clean-local target to remove RPM directory.
David Levine [Fri, 27 Jan 2012 02:05:30 +0000 (20:05 -0600)]
Added uip/*.exe, for Cygwin.
David Levine [Fri, 27 Jan 2012 02:04:33 +0000 (20:04 -0600)]
Removed slash in front of $(man5dir) of install-data-hook rule so that it now works on Cygwin.
David Levine [Thu, 26 Jan 2012 04:22:02 +0000 (22:22 -0600)]
Fixed rpm target now that nmhdist is gone.
David Levine [Thu, 26 Jan 2012 02:48:55 +0000 (20:48 -0600)]
Updated config test to add -Wextra to be consistent with others. So, it's back!
David Levine [Thu, 26 Jan 2012 01:44:30 +0000 (19:44 -0600)]
If using gcc, use -Wno-unused-macros when compiling sbr/dtime.o.
David Levine [Thu, 26 Jan 2012 01:38:49 +0000 (19:38 -0600)]
Removed unused local bp.
David Levine [Thu, 26 Jan 2012 01:33:17 +0000 (19:33 -0600)]
Undid most of
3ef341abe440ece07f8deed59fb026ab020e805 because FreeBSD needs the HAVE_STRUCT_TM_TM_GMTOFF test. It has a timezone() function, not a timezone global variable (that's visible with our default configuration.
lyndon [Thu, 26 Jan 2012 04:10:52 +0000 (20:10 -0800)]
Remove hardlink target before attempting new link.
lyndon [Thu, 26 Jan 2012 02:15:47 +0000 (18:15 -0800)]
uip/termsbr.c: remove references to PC and ospeed().
These are no longer referenced by the code base now that vmh has been
removed.
Ken Hornstein [Tue, 24 Jan 2012 17:56:45 +0000 (12:56 -0500)]
Create a "cscope" target that creates the necessary files to use cscope.
lyndon [Tue, 24 Jan 2012 06:48:24 +0000 (22:48 -0800)]
cscope.files was missing mts/smtp/*.
lyndon [Mon, 23 Jan 2012 07:21:03 +0000 (23:21 -0800)]
Ignore cscope.out.
lyndon [Mon, 23 Jan 2012 07:08:02 +0000 (23:08 -0800)]
Add a default configuration file for cscope(1).
I generated the file list by hand. While it might be possible to generate it
from the Makefile, it was much simpler to just
ls */*.[cl]|grep -v sbr/dtimep.c
If source files are added or removed down the road, cscope.files will
need a hand edit to keep it in sync.
Ken Hornstein [Sun, 22 Jan 2012 06:15:40 +0000 (01:15 -0500)]
Make sigmsg.h NOT depend on the Makefile.
Ken Hornstein [Sun, 22 Jan 2012 06:14:34 +0000 (01:14 -0500)]
Clean up DESTDIR usage.
Ken Hornstein [Sun, 22 Jan 2012 06:12:18 +0000 (01:12 -0500)]
Add the rule to install inc setgid if requested.
Ken Hornstein [Sat, 21 Jan 2012 04:39:14 +0000 (23:39 -0500)]
Fix some problems that the Automake migration caused.
Ken Hornstein [Fri, 20 Jan 2012 19:05:26 +0000 (14:05 -0500)]
Convert the build system over to the use of Automake.
David Levine [Tue, 17 Jan 2012 23:33:29 +0000 (17:33 -0600)]
Well the wrap of vfork() calls didn't work: its semantics don't allow that. So removed the wrapper and added -Wno-clobbered to gcc -Wextra.
Ken Hornstein [Tue, 17 Jan 2012 19:27:06 +0000 (14:27 -0500)]
Convert from our use of aclocal.m4 to a subdirectory with autoconf macros
in it.
Ken Hornstein [Tue, 17 Jan 2012 19:15:32 +0000 (14:15 -0500)]
Change the name of AC_CHECK_NETLIBS, since it's not a macro distributed
by Autoconf.
Ken Hornstein [Tue, 17 Jan 2012 15:58:40 +0000 (10:58 -0500)]
Update .gitignore with .DS_Store (seen occasionally on MacOS X systems).
Ken Hornstein [Tue, 17 Jan 2012 15:57:54 +0000 (10:57 -0500)]
Convert from utmp functions to utmpx functions (which are in POSIX).
David Levine [Tue, 17 Jan 2012 02:58:15 +0000 (20:58 -0600)]
Wrapped setjmp(), sigsetjmp(), and vfork() calls to silence gcc -Wclobbered for good. Undid
ca34fbd0a5204d47ad019f64ef03d21ebd3397fd, which added volatile qualifiers but was not general.
David Levine [Tue, 17 Jan 2012 00:35:21 +0000 (18:35 -0600)]
Removed HAVE_STRUCT_TM_TM_GMTOFF support because it didn't work on Cygwin and isn't needed: timezone, tzname, and tzset() are all POSIX.
David Levine [Tue, 17 Jan 2012 00:33:57 +0000 (18:33 -0600)]
Pass int instead of char to iscntrl() and isspace() because that's what they require, and gcc on Cygwin warns about it.
David Levine [Tue, 17 Jan 2012 00:30:40 +0000 (18:30 -0600)]
Added EXEEXT support, for Cygwin.
David Levine [Mon, 16 Jan 2012 15:50:10 +0000 (09:50 -0600)]
Fixed build on Cygwin by adding configure check for ncurses/termcap.h.
David Levine [Sat, 14 Jan 2012 21:33:39 +0000 (15:33 -0600)]
Argument to alrmser is unused.
David Levine [Sat, 14 Jan 2012 21:28:25 +0000 (15:28 -0600)]
Fixed warnings from gcc -Wclobbered by adding volatile qualifiers.
David Levine [Sat, 14 Jan 2012 21:04:54 +0000 (15:04 -0600)]
Cleaned up gcc warnings when CYRUS_SASL is not enabled.
David Levine [Sat, 14 Jan 2012 20:56:16 +0000 (14:56 -0600)]
Added -Wextra with gcc, if supported.
David Levine [Sat, 14 Jan 2012 20:49:57 +0000 (14:49 -0600)]
Changed types and added casts so that build is clean with gcc -Wsign-compare.
David Levine [Sat, 14 Jan 2012 15:21:32 +0000 (09:21 -0600)]
gcc -Wmissing-field-initializers noticed several struct initializations
that didn't explicitly list all fields. Most were of no consequence because
they were for static data, so they were all initialized properly. However,
the two in mhlsbr.c were missing an initialization of other than their last
field, and they contained some subsequent values other than zero. So, those
later fields were initialized incorrectly. Also, changed the initialization
of global.c_ovtxt from "" to NULL because free_queue () freed it if non-NULL,
though I think the "" was always overwritten.
David Levine [Sat, 14 Jan 2012 15:19:49 +0000 (09:19 -0600)]
configure.ac and aclocal.m4 instead of configure.in and acconfig.h.
David Levine [Sat, 14 Jan 2012 15:16:16 +0000 (09:16 -0600)]
Documented support of OURDEFS to pass compile flags to configure.
Ken Hornstein [Fri, 13 Jan 2012 17:05:13 +0000 (12:05 -0500)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
Ken Hornstein [Fri, 13 Jan 2012 17:04:13 +0000 (12:04 -0500)]
Add some comments to the format compiler and engine.
Ken Hornstein [Fri, 13 Jan 2012 14:30:03 +0000 (09:30 -0500)]
Update README.developers with the correct version of autoconf we need.
David Levine [Fri, 13 Jan 2012 04:19:24 +0000 (22:19 -0600)]
Added NMH_UNUSED macro for suppressing warnings about unused parameters
with gcc -Wunused-parameter
David Levine [Fri, 13 Jan 2012 04:17:54 +0000 (22:17 -0600)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Fri, 13 Jan 2012 04:14:59 +0000 (22:14 -0600)]
Added -Wunused-macros with gcc, if supported. Added -Wno-unused-macros,
if supported, to compile of sbr/dtimep.o with gcc because it uses
generated code that would be too much trouble to clean up.
Ken Hornstein [Fri, 13 Jan 2012 02:07:33 +0000 (21:07 -0500)]
Create two new mh-format functions: %(putlit) and %(concataddr).
%(putlit) outputs a string without any space compression or control character
conversion
%(concataddr) is just like %(formataddr), except that inside of repl there
will not be any duplicate address supression.
David Levine [Thu, 12 Jan 2012 04:38:35 +0000 (22:38 -0600)]
Enabled support for tls switch.
David Levine [Thu, 12 Jan 2012 04:36:20 +0000 (22:36 -0600)]
Removed unsupported format and check switches, and commented out unused macro HMNG.
David Levine [Thu, 12 Jan 2012 04:33:45 +0000 (22:33 -0600)]
Removed, or added use of, unused macros to prevent warnings from gcc -Wunused-macros.
David Levine [Wed, 11 Jan 2012 23:06:44 +0000 (17:06 -0600)]
Removed or protected some unused macros.
David Levine [Wed, 11 Jan 2012 22:52:17 +0000 (16:52 -0600)]
Removed unused global zones and local z form dtimezone ().
David Levine [Wed, 11 Jan 2012 22:45:53 +0000 (16:45 -0600)]
Added #include <grp.h>. It's needed on Linux, should be harmless on others.
Ken Hornstein [Wed, 11 Jan 2012 20:04:39 +0000 (15:04 -0500)]
Completely remove the use of TIME_WITH_SYS_TIME (I removed the autoconf
test but never removed the code, and this caused some problems on systems
that needed some prototypes in <time.h>).
Ken Hornstein [Wed, 11 Jan 2012 19:52:23 +0000 (14:52 -0500)]
Ignore a.out.DSYM (this file sometims shows up when using the debugger)
Ken Hornstein [Wed, 11 Jan 2012 19:48:45 +0000 (14:48 -0500)]
Fix two errors in the conversion to m_mktemp2():
- There was an off-by-one error that prevented the temporary file
from being created in the same directory as the message it was being
linked to.
- When using "dist", the assumption was that the temporary file would not
exist when m_scratch was called (it wanted to link() to the name). This
was solved by simply unlink()ing the temporary file after it was created.
Ken Hornstein [Mon, 9 Jan 2012 20:52:34 +0000 (15:52 -0500)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
Ken Hornstein [Mon, 9 Jan 2012 20:51:57 +0000 (15:51 -0500)]
Remove OS-specific defines. As part of it, remove scary longjmp() inside
signal handlers that was part of the code under #ifdef BSD42.
David Levine [Mon, 9 Jan 2012 20:08:38 +0000 (14:08 -0600)]
Removed a remaining RETSIGTYPE. Also change a few locals from int to unsigned to prevent signed-unsigned comparison mismatch.
Ken Hornstein [Mon, 9 Jan 2012 19:43:35 +0000 (14:43 -0500)]
Clean up time handling; always assume we have tzset() and that the right
prototypes are in time.h (both are valid in POSIX).
Ken Hornstein [Mon, 9 Jan 2012 19:07:37 +0000 (14:07 -0500)]
Garbage collect autoconf support for checking for the header file for initgroups
and snprintf() prototypes.
Ken Hornstein [Mon, 9 Jan 2012 18:56:30 +0000 (13:56 -0500)]
We are making POSIX signal support a requirement; remove all support for
other signal interfaces.
Ken Hornstein [Mon, 9 Jan 2012 18:38:02 +0000 (13:38 -0500)]
Finally able to get rid of acconfig.h! Since we're doing slightly better
in the autoconf universe, rename configure.in to configure.ac, the "more
correct" name for the configure script template.
Ken Hornstein [Mon, 9 Jan 2012 18:26:59 +0000 (13:26 -0500)]
Switch from using RETSIGTYPE via autoconf to void, since POSIX says that's
type to use for a signal handler.
David Levine [Sun, 8 Jan 2012 23:58:11 +0000 (17:58 -0600)]
Removed unused bcmp, bcopy, bcpy, and bzero #defines.
David Levine [Sun, 8 Jan 2012 19:46:47 +0000 (13:46 -0600)]
gcc -Wempty-body warned that the check of the result from the call to parse_mime() was ignored. It has been that way since the beginning of history and was probably of no consequence, but fixed anyway.
David Levine [Sun, 8 Jan 2012 16:51:05 +0000 (10:51 -0600)]
Removed traces of bboards and bbc from mh-profile and msh man pages. Added see also of msh to packf man page.
David Levine [Sun, 8 Jan 2012 16:34:31 +0000 (10:34 -0600)]
Wrapped #include of config.h with #ifdef HAVE_CONFIG_H, just in case someone ever wants to build without using configure.
David Levine [Sun, 8 Jan 2012 16:27:15 +0000 (10:27 -0600)]
Removed hard-coded -I.. and -I../.. from INCLUDES, it was redundant given -I$(top_srcdir).
David Levine [Sat, 7 Jan 2012 16:03:35 +0000 (10:03 -0600)]
Added Content-Description header with the filename of the attachment, with attachformats 1 and 2. This seems to be common practice now and gives mhlist something useful to display.
David Levine [Sat, 7 Jan 2012 15:53:36 +0000 (09:53 -0600)]
Added note about fileproc and mhlproc mh-profile entries.
David Levine [Sat, 7 Jan 2012 15:19:59 +0000 (09:19 -0600)]
Added removal of autom4te.cache directory to mostlyclean-local.
David Levine [Sat, 7 Jan 2012 15:17:34 +0000 (09:17 -0600)]
Quoted argument to AC_LINK_IFELSE to silence authoheader warnings.
David Levine [Sat, 7 Jan 2012 14:22:24 +0000 (08:22 -0600)]
Merge branch 'fileproc_mhlproc_to_post'
Ken Hornstein [Fri, 6 Jan 2012 19:40:31 +0000 (14:40 -0500)]
Move definition of LINK to mh header file, and garbage collect ATTVIBUG code.
Ken Hornstein [Fri, 6 Jan 2012 19:18:46 +0000 (14:18 -0500)]
Hardcode the defaults for Msg-Protect and Folder-Protect. Also fix the
documentation (had the wrong value for the default for Msg-Protect).
Ken Hornstein [Fri, 6 Jan 2012 19:12:13 +0000 (14:12 -0500)]
Huh, apparantly I got rid of any support for POPSERVICE over a year
ago! Good riddance, I say.
Ken Hornstein [Fri, 6 Jan 2012 15:48:03 +0000 (10:48 -0500)]
Garbage collect all of the builtin ftp client support.
Ken Hornstein [Fri, 6 Jan 2012 15:37:38 +0000 (10:37 -0500)]
Garbage-collect MHRC (and make it the default).
Ken Hornstein [Fri, 6 Jan 2012 15:36:21 +0000 (10:36 -0500)]
Garbage-collect SLOCAL_MBOX (and make it the default).
Ken Hornstein [Fri, 6 Jan 2012 15:35:16 +0000 (10:35 -0500)]
Garbage-collect RPATHS support.
Ken Hornstein [Fri, 6 Jan 2012 15:29:35 +0000 (10:29 -0500)]
Huh, turns out this define hasn't worked in forever ... the original
changes were made to the lexer output, and silently vanished a decade
ago when code was reorganized from zotnet to sbr!
Ken Hornstein [Fri, 6 Jan 2012 15:22:44 +0000 (10:22 -0500)]
Remove last vestiges of #ifdef BANG
Ken Hornstein [Fri, 6 Jan 2012 15:21:17 +0000 (10:21 -0500)]
Remove DBMPWD, make it the default.
David Levine [Fri, 6 Jan 2012 14:55:39 +0000 (08:55 -0600)]
Added datarootdir definitions to silence warnings from configure.
David Levine [Fri, 6 Jan 2012 03:36:51 +0000 (21:36 -0600)]
Fixed trivial compile warnings.
Ken Hornstein [Fri, 6 Jan 2012 03:13:08 +0000 (22:13 -0500)]
Not sure why we're checking for st_blksize; it's required by POSIX and
we're not even using the define!
Ken Hornstein [Fri, 6 Jan 2012 03:08:23 +0000 (22:08 -0500)]
Switch the use of LOCKDIR in acconfig.h to --enable-lockdir.
David Levine [Fri, 6 Jan 2012 03:00:58 +0000 (21:00 -0600)]
Merge branch 'master', remote-tracking branch 'origin'
Ken Hornstein [Thu, 5 Jan 2012 18:39:47 +0000 (13:39 -0500)]
Garbage collect all of the old UCI #ifdef'd code.
Ken Hornstein [Thu, 5 Jan 2012 17:26:48 +0000 (12:26 -0500)]
Update this with mh-e changes.
David Levine [Thu, 5 Jan 2012 17:14:56 +0000 (11:14 -0600)]
Feed fileproc and mhlproc from rcvdist, send, and whatnow to post.
David Levine [Thu, 5 Jan 2012 03:05:45 +0000 (21:05 -0600)]
Feed fileproc and mhlproc from rcvdist, send, and whatnow to post.
Ken Hornstein [Thu, 5 Jan 2012 17:05:43 +0000 (12:05 -0500)]
Bring in all of the mh-e support that is actually used to be compiled by
default, and garbage collect the stuff that is not used.
David Levine [Thu, 5 Jan 2012 03:05:45 +0000 (21:05 -0600)]
Feed fileproc and mhlproc from rcvdist, send, whatnow, and whom to post.
Ken Hornstein [Wed, 4 Jan 2012 03:28:44 +0000 (22:28 -0500)]
Whoops, for right now we do need those signal function checks.
Ken Hornstein [Wed, 4 Jan 2012 03:21:07 +0000 (22:21 -0500)]
Switch to standard autoconf macro for checking d_type field in struct dirent.
Lyndon Nerenberg [Mon, 26 Dec 2011 17:19:35 +0000 (09:19 -0800)]
Remove #ifdef around use of sigsetjmp().
Lyndon Nerenberg [Mon, 26 Dec 2011 03:17:58 +0000 (19:17 -0800)]
Remove overrides for 'broken' stat macros.
Remove redundant SEEK_* macro definitions.
Lyndon Nerenberg [Mon, 26 Dec 2011 01:20:26 +0000 (17:20 -0800)]
Include <stdio.h> for snprintf() prototype.