David Levine [Thu, 14 Jun 2012 03:19:19 +0000 (22:19 -0500)]
Added mhmail.in. start of a replacement for compiled mhmail.
David Levine [Thu, 14 Jun 2012 03:18:43 +0000 (22:18 -0500)]
Removed unnecessary comment.
David Levine [Thu, 14 Jun 2012 03:16:46 +0000 (22:16 -0500)]
Removed another faceproc relic.
David Levine [Wed, 13 Jun 2012 13:55:19 +0000 (08:55 -0500)]
Added BUGS section to mh-tailor man file to note that failure to open
mts.conf is silently ignored.. And added to its DEFAULTS section.
Also changed to consistent use of "mail transport configuration file".
David Levine [Wed, 13 Jun 2012 02:36:16 +0000 (21:36 -0500)]
Generate a From: header, using localmbox, if the user doesn't provide
a -from when sending with mhmail.
David Levine [Wed, 13 Jun 2012 02:16:34 +0000 (21:16 -0500)]
Fixed the export of LC_ALL so that it work with old Bourne shell.
Alexander Zangerl [Wed, 13 Jun 2012 02:06:44 +0000 (21:06 -0500)]
Occasionally the post tests attempt to talk to fakesmtp before that
has completly started up. Inserted a check between starting up
fakesmtp and talking to it, and delay and retry if necessary, to
avoid that scenario.
Alexander Zangerl [Wed, 13 Jun 2012 00:11:57 +0000 (19:11 -0500)]
Changed remaining uses of MAXPATHLEN to PATH_MAX.
David Levine [Tue, 12 Jun 2012 03:02:55 +0000 (22:02 -0500)]
Can't use -ansi with gcc 4.5.3 on Cygwin, at least through setup
setup version 2.763, because it disables some features in the
system system header files. Added configure check, when using gcc,
for -ansi (and don't use -pedantic without it).
Ken Hornstein [Mon, 11 Jun 2012 04:26:21 +0000 (00:26 -0400)]
Fix typo in gpg command and handle the .sig file properly.
David Levine [Mon, 11 Jun 2012 03:50:24 +0000 (22:50 -0500)]
Replaced run-time detection of hard-link support with compile- time
detection. This way, Cygwin packages can be built on NTFS or other
filesystems but still bee installed on FAT file systems, which do not
support hard links.
David Levine [Sun, 10 Jun 2012 14:58:52 +0000 (09:58 -0500)]
Added section 7 to man pages.
David Levine [Sun, 10 Jun 2012 14:53:48 +0000 (09:53 -0500)]
Updates to SPECS/build-nmh-cygwin:
1) Configure with sysconfdir=/etc/nmh so to minimize pollution of /etc.
2) Disabled install_docs because nmh's make install takes care of it.
Though it installs in /usr/share/doc/nmh/ instead of
/usr/share/doc/nmh-<version>/, that seems to be more common on Cygwin
than using the -<version>.
3) Added comments (also added to MACHINES) about the packages that would
be needed to configure with --with-cyrus-sasl and --with-tls.
David Levine [Sun, 10 Jun 2012 14:51:03 +0000 (09:51 -0500)]
Moved nmh and mh-chart man pages from section 1 to section 7.
Alexander Zangerl noted that Debian already did this, and it
seems appropriate.
Alexander Zangerl [Sun, 10 Jun 2012 14:20:08 +0000 (09:20 -0500)]
Corrected install-mh man page to show that it is installed in section 1, not 8.
Alexander Zangerl [Sun, 10 Jun 2012 14:19:20 +0000 (09:19 -0500)]
Ensure that writes to /dev/tty succeed to determine if it is writeable.
Alexander Zangerl [Sun, 10 Jun 2012 14:18:22 +0000 (09:18 -0500)]
Use cat for moreproc in testsuite in case it is run without tty.
David Levine [Sat, 9 Jun 2012 14:31:19 +0000 (09:31 -0500)]
Added warning to all nmh programs for multiple profile entries for the
same component. Until now, all but the first were silently ignored.
David Levine [Sat, 9 Jun 2012 01:59:32 +0000 (20:59 -0500)]
Added INSTALL, NEWS, and README to dist_doc_DATA so that they get installed.
David Levine [Fri, 8 Jun 2012 03:07:54 +0000 (22:07 -0500)]
Changed repl and dist default to -noatfile.
David Levine [Thu, 7 Jun 2012 16:07:00 +0000 (11:07 -0500)]
Removed docs/pending-release-notes-tmp, which was added by mistake.
David Levine [Thu, 7 Jun 2012 03:41:29 +0000 (22:41 -0500)]
Removed faceproc support, deprecated in nmh 1.5.
David Levine [Thu, 7 Jun 2012 03:02:21 +0000 (22:02 -0500)]
Removed the following environment variables, deprecated in nmh 1.5:
MHPOPDEBUG (use -snoop command line switch instead)
MM_NOASK (use -nolist and -nopause command line switches instead)
NOMHNPROC (use -nocheckmime command line switch instead)
David Levine [Thu, 7 Jun 2012 02:08:53 +0000 (21:08 -0500)]
Changed exit status of each nmh command's -version and -help switches
from 1 to 0.
Ken Hornstein [Sun, 3 Jun 2012 19:38:39 +0000 (15:38 -0400)]
Fix incorrect documentation about the install process for files in 'etc'.
Noted by Norm Shapiro.
Ken Hornstein [Sun, 3 Jun 2012 19:29:27 +0000 (15:29 -0400)]
One more lowercase for the content-transfer-encoding.
Ken Hornstein [Fri, 1 Jun 2012 14:25:37 +0000 (10:25 -0400)]
Fix off-by-one error, noticed by Ralph Corderoy.
Paul Fox [Thu, 31 May 2012 19:15:36 +0000 (15:15 -0400)]
Implement the following changes:
- Special #on/#off/#pop directives to control the MIME directive
processing state
- A flag (-directives) to control whether or not mhbuild will honor MIME
directives by default.
Ken Hornstein [Thu, 31 May 2012 18:56:47 +0000 (14:56 -0400)]
Convert the content-transfer-encoding to lower-case always.
David Levine [Tue, 29 May 2012 12:57:30 +0000 (07:57 -0500)]
Unset MM_CHARSET so it doesn't interfere with test-scan-multibyte.
Ken Hornstein [Sat, 26 May 2012 05:55:08 +0000 (01:55 -0400)]
Support for handling multibyte encodings in cpstripped(), which
means that multibyte character encodings should work correctly
on all systems which support the POSIX wide character functions.
David Levine [Thu, 24 May 2012 03:16:14 +0000 (22:16 -0500)]
Update the current folder and current message and synchronize
sequences before showing the messages instead of after. This
way, the context will be updated even if the user exists while
viewing the messages.
David Levine [Tue, 22 May 2012 01:05:19 +0000 (20:05 -0500)]
comp and dist cannot take multiple message arguments. mhbuild does
not set context.
David Levine [Tue, 22 May 2012 01:03:57 +0000 (20:03 -0500)]
Changed wording to say that the last message selected (not necessarily
shown) will become the current message. That's consistent with the
mhlist and mhstore man pages.
Ken Hornstein [Thu, 17 May 2012 12:34:29 +0000 (08:34 -0400)]
Minor changes to replyfilter to make it compatible with older versions of Perl.
David Levine [Sat, 12 May 2012 16:02:21 +0000 (11:02 -0500)]
Used this version, renamed nmh-1.5-1.sh, in application for Cygwin package.
David Levine [Sat, 12 May 2012 14:30:27 +0000 (09:30 -0500)]
Allow selection of locking type.
David Levine [Sat, 12 May 2012 12:44:16 +0000 (07:44 -0500)]
SIGNATURE/Local-Mailbox are not used by post, but just by front
ends (comp, forw, repl, etc.) that read the profile.
David Levine [Fri, 11 May 2012 02:23:09 +0000 (21:23 -0500)]
Don't test with sendmail because it would really send the mail. If
configured to use sendmail, change the mts.conf used by the test suite
to use smtp instead.
David Levine [Thu, 10 May 2012 03:05:28 +0000 (22:05 -0500)]
Wrap local part (username) of address with double quotes if needed.
David Levine [Wed, 9 May 2012 03:19:29 +0000 (22:19 -0500)]
Skip the Cygwin package (.bz2) file when searching for the input (.gz) file.
David Levine [Wed, 9 May 2012 01:29:57 +0000 (20:29 -0500)]
Added test script constructs to avoid.
David Levine [Tue, 8 May 2012 15:16:46 +0000 (10:16 -0500)]
Fixed patch section of prep().
David Levine [Tue, 8 May 2012 15:16:17 +0000 (10:16 -0500)]
Added MACHINES to EXTRA_DIST so that it gets put in the distribution.
David Levine [Mon, 7 May 2012 23:35:28 +0000 (18:35 -0500)]
Removed locking type selection from build_nmh now that it's in configure.
David Levine [Mon, 7 May 2012 23:33:18 +0000 (18:33 -0500)]
build-nmh-cygwin no longer needs to DISABLE_SETGID_MAIL now that configure
uses fcntl on Cygwin.
David Levine [Mon, 7 May 2012 22:25:43 +0000 (17:25 -0500)]
Added -ansi -pedantic with gcc.
David Levine [Mon, 7 May 2012 21:45:32 +0000 (16:45 -0500)]
Added $(TESTS_SHELL) at end of TESTS_ENVIRONMENT. This lets the
user run the tests using a shell other than the default /bin/sh
by using, e.g., make check TESTS_SHELL=/bin/bash. Thanks to
Tom Lane <tgl@sss.pgh.pa.us> for suggesting this.
David Levine [Mon, 7 May 2012 21:35:16 +0000 (16:35 -0500)]
Fixed some more problems caught by gcc -ansi -pedantic.
Tom Lane [Mon, 7 May 2012 21:14:37 +0000 (16:14 -0500)]
Fixed places in the code relying the C99-ism of declarations in the
midst of a code block.
David Levine [Mon, 7 May 2012 13:57:38 +0000 (08:57 -0500)]
Removed --enable-pop and SETGID_MAIL= from nmh.spec.
Ken Hornstein [Mon, 7 May 2012 13:45:38 +0000 (09:45 -0400)]
Fix test so it will work on terminal widths other than 80.
David Levine [Mon, 7 May 2012 02:53:18 +0000 (21:53 -0500)]
Default to fcntl locking for AIX, Cygwin, and Linux. Without it
on Cygwin, nmh is unusable on FAT32 filesystems.
Default to flock on FreeBSD.
David Levine [Mon, 7 May 2012 02:52:22 +0000 (21:52 -0500)]
Added note about test/inc/test-
deb359167 failing because valgrind
detects use of an uninitialized variable on older Linux distributions.
Ken Hornstein [Sun, 6 May 2012 17:41:07 +0000 (13:41 -0400)]
Fix the case of the MacOS X dSYM directories.
David Levine [Sun, 6 May 2012 16:14:49 +0000 (11:14 -0500)]
Remove any existing Local-Mailbox: profile component before adding one.
David Levine [Sun, 6 May 2012 15:59:42 +0000 (10:59 -0500)]
Added check for EPERM when checking errno after a failed link(2).
Cygwin will produce that on FAT32 filesystems. Must do this at
runtime rather than configure time because link() succeeds on
NTFS filesystems.
David Levine [Sat, 5 May 2012 15:05:36 +0000 (10:05 -0500)]
Check for success of hard links of bin files. If they fail, try sym
links. On Cygwin, the choice of ln or ln -s must be made at install
time, not configure time, because some filesystems (NTFS) support hard
links but others (FAT32) don't. Fallback to cp -p, though might not
be needed, just in case.
David Levine [Sat, 5 May 2012 15:04:35 +0000 (10:04 -0500)]
Customized generic SPECS/build-nmh-cygwin for nmh.
David Levine [Sat, 5 May 2012 14:54:10 +0000 (09:54 -0500)]
Replaced mh_profile man page hard link with new man/mh_profile.man.
The hard link isn't be supported by SPECS/build-nmh-cygwin. And it's
consistent with the handling of other aliased man pages.
David Levine [Sat, 5 May 2012 14:16:49 +0000 (09:16 -0500)]
Added SPECS/build-nmh-cygwin. This version isn't ready: it's
a renamed download of
http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/packaging/templates/generic-build-script?content-type=text/plain&cvsroot=cygwin-apps
It's committed in its original form so we can easily view changes
to it.
David Levine [Sat, 5 May 2012 14:14:48 +0000 (09:14 -0500)]
Moved nmh.spec to new SPECS directory.
David Levine [Tue, 1 May 2012 02:56:26 +0000 (21:56 -0500)]
Removed documentation of obsolete WHATNOW configuration option and
built-in FTP client. Removed some completed and obsolete tasks from
TODO.
David Levine [Sat, 28 Apr 2012 20:56:36 +0000 (15:56 -0500)]
Allow a user to enable setgid of inc when running distcheck with:
make distcheck DISTCHECK_CONFIGURE_FLAGS=DISABLE_SETGID_MAIL=0
though that's probably never going to be used.
(cherry picked from commit
b83b264039d4245810cb845a540c024032a45ac4)
David Levine [Sat, 28 Apr 2012 12:55:16 +0000 (07:55 -0500)]
Disable setgid of inc (SETGID_MAIL=1) when running distcheck.
(cherry picked from commit
9ba93ac9c535b678bb602094997a797ba8b33666)
Lyndon Nerenberg [Sat, 28 Apr 2012 01:31:36 +0000 (18:31 -0700)]
Formatting cleanup.
Ken Hornstein [Sat, 28 Apr 2012 00:25:20 +0000 (20:25 -0400)]
Updates OS specific notes.
David Levine [Fri, 27 Apr 2012 01:37:59 +0000 (20:37 -0500)]
Moved the set +e up to capture one more test in test-pick. That
test heirloom-sh to exit.
(cherry picked from commit
f793aa71e4f7375daeb2cc9ef25512172fcb1451)
David Levine [Thu, 26 Apr 2012 01:32:10 +0000 (20:32 -0500)]
Use case statement to check for proper result from "mhparam sbackup".
Also replaced a couple of other uses of grep with case statements.
(cherry picked from commit
2f4fc229fd6578389b0435b044dc559d9d9bc292)
David Levine [Thu, 26 Apr 2012 01:08:55 +0000 (20:08 -0500)]
Removed the mv of the file after running sed on it.
(cherry picked from commit
214da7bcd1ef52c46d4e77c787517d9403c97046)
David Levine [Thu, 26 Apr 2012 01:08:03 +0000 (20:08 -0500)]
Unset all MH environment variables that aren't set below.
(cherry picked from commit
16dba0d07e94832ef9a077e6524714d0e433a111)
David Levine [Wed, 25 Apr 2012 19:21:42 +0000 (14:21 -0500)]
1) With SETGID_MAIL enabled (only with dot locking), if the chgrp of
inc fails during install, don't attempt to chmod it. This will
cause make install to fail, which is good in this case.
2) Added SETGID_MAIL= to the install by the test suite so that it
does not attempt the chgrp+chmod. The test suite didn't need them.
3) Removed the SETGID_MAIL= from the test suite invocation in build_nmh.
(cherry picked from commit
721276218bc03d4b0d86306c9b2990fae6f07426)
Ken Hornstein [Wed, 25 Apr 2012 18:02:33 +0000 (13:02 -0500)]
Disable utmpx support for systems that lack getutxent.
Oliver Kiddle [Wed, 25 Apr 2012 15:40:09 +0000 (17:40 +0200)]
futher test suite fixes to work on Solaris
David Levine [Wed, 25 Apr 2012 02:04:54 +0000 (21:04 -0500)]
Fixed test suite to work with Solaris Bourne shell:
1) Removed ! (negation) of statuses.
2) Removed initializations from export statements.
3) Replaced $() with ``.
4) Replaced $(()) (and expr) with new function arith_eval ().
(cherry picked from commit
a6af3b6300e02ade9f223f8d91667f590d191dc9)
Ken Hornstein [Tue, 24 Apr 2012 22:02:38 +0000 (17:02 -0500)]
Update info for mh-profile documenting comment format and the
restriction on blank lines.
David Levine [Tue, 24 Apr 2012 19:23:44 +0000 (14:23 -0500)]
Fixed to work with Solaris Bourne shell.
David Levine [Tue, 24 Apr 2012 19:22:06 +0000 (14:22 -0500)]
Added build_nmh to dist_contrib_DATA.
Ken Hornstein [Sun, 22 Apr 2012 19:47:57 +0000 (14:47 -0500)]
The mh-users list at UCI is no longer.
Ken Hornstein [Sun, 22 Apr 2012 18:30:33 +0000 (13:30 -0500)]
Got the hostname for the savannah upload area wrong.
Ken Hornstein [Sun, 22 Apr 2012 17:59:18 +0000 (12:59 -0500)]
Update for post-1.5 release.
Ken Hornstein [Sun, 22 Apr 2012 13:37:36 +0000 (09:37 -0400)]
Clean up help messages a bit.
Ken Hornstein [Sun, 22 Apr 2012 13:37:24 +0000 (09:37 -0400)]
Clean up install documentation a bit.
Ken Hornstein [Fri, 20 Apr 2012 18:43:16 +0000 (14:43 -0400)]
Implment -noatfile in a different way; it turns out my previous change
broke dist with -noatfile.
Ken Hornstein [Mon, 16 Apr 2012 14:33:13 +0000 (10:33 -0400)]
Change the cscope target slightly so the source code from the historical
tree isn't found.
David Levine [Sun, 15 Apr 2012 15:02:23 +0000 (10:02 -0500)]
Added declaration of __srget() on Cygwin. Used point solution because
this shouldn't be needed for much longer.
David Levine [Sun, 15 Apr 2012 15:00:22 +0000 (10:00 -0500)]
Added -Wno-sign-compare, if supported, to compile of sbr/dtimep.c.
It's code generated by flex and some versions produce a
signed/unsigned mismatch.
Ken Hornstein [Fri, 13 Apr 2012 15:23:20 +0000 (11:23 -0400)]
Sigh. More changes for newer versions of perl.
Ken Hornstein [Fri, 13 Apr 2012 01:07:57 +0000 (21:07 -0400)]
Support -fmtproc -nofmtproc in show.
Ken Hornstein [Fri, 13 Apr 2012 00:42:52 +0000 (20:42 -0400)]
More updates to replyfilter
Ken Hornstein [Thu, 12 Apr 2012 15:40:42 +0000 (11:40 -0400)]
Clean up fakesmtp and the post tests a bit to hopefully reduce race
conditions that make the tests fail sometimes.
David Levine [Thu, 12 Apr 2012 01:59:57 +0000 (20:59 -0500)]
Undid wrapping of setjmp() and sigsetjmp() of
4548981fb45fbc917cc2c26b7c96b31cf a14bc9b. What a bad idea.
David Levine [Thu, 12 Apr 2012 01:42:22 +0000 (20:42 -0500)]
Tweaked build_nmh to work with Cygwin.
David Levine [Wed, 11 Apr 2012 01:47:46 +0000 (20:47 -0500)]
Removed unused Hesiod relic.
David Levine [Wed, 11 Apr 2012 01:47:16 +0000 (20:47 -0500)]
Added docs/contrib/build_nmh script.
Ken Hornstein [Fri, 6 Apr 2012 19:55:14 +0000 (15:55 -0400)]
Add support for -fmtproc and -nofmtproc switches to repl.
David Levine [Fri, 6 Apr 2012 18:27:30 +0000 (13:27 -0500)]
Changed test-mhparam to allow # sbackup.
Ken Hornstein [Fri, 6 Apr 2012 17:57:20 +0000 (13:57 -0400)]
Fix forw so it respects the -form switch again for non-digests.
Ken Hornstein [Fri, 6 Apr 2012 17:56:03 +0000 (13:56 -0400)]
Refere to VERSION via srcdir so this works when doing objdir builds.
David Levine [Fri, 6 Apr 2012 17:27:22 +0000 (12:27 -0500)]
Reworked mhparam tests of components in procs array to depend on
values set in common.sh, notably $pagerpath.