Commit graph

23 commits

Author SHA1 Message Date
jmmv
a75aaa5d10 Make this package honour PKG_SYSCONFDIR by copying the configuration files
into the examples hierarchy and using bsd.pkg.install.mk to copy them into
place.  While here, sort PLIST.  Bump PKGREVISION to 6.

Patch from PR pkg/28978 made by Greg A. Woods with very slight modifications
by me.
2005-01-16 19:19:46 +00:00
mrg
209a74f9fa XXX: hack around the hack that netbsd-current <stdio.h> tramples the
XXX: users fgtstr() namespace...
2004-05-04 06:18:14 +00:00
cjep
cf6a8daabe Add patch that should have been added previously... 2004-01-06 09:18:21 +00:00
kim
82283c04e1 Fix detection of non-mime messages when the charset is not enclosed
in double quotes.  Without this fix text/plain messages authored on
Mozilla will always get displayed using showmimeproc (mhl).
2002-10-30 16:57:02 +00:00
agc
95907aaf86 Fix from Robert Elz in PR 18664 to stop sortm coredumping when there's
a numerical subject.

"And yes, this really does add a preprocessor conditional that makes
either one of two original statements get compiled, and the other
omitted (ie:  the patch is correct, though just deleting a line would
work as well).  The "#if 0" could become "#if 1" and the core dump
would also be gone, though the results of the sort would then
sometimes be rather hard to explain..."

Bump PKGREVISION.
2002-10-15 10:47:00 +00:00
kim
d01ef1b8f1 Remove patch-cc -- it is no longer valid, but instead now breaks
displaying MIME attachments of type message/* (e.g. message/rfc822).
This is actually a long-standing bug in this package...
2002-01-26 17:19:44 +00:00
sommerfeld
ae910df7ca Patch integer-to-decimal conversion problem which turns up with
scan -format "%(clock{date})"
This is a time_t > 1e9 problem.
2001-09-21 17:07:12 +00:00
simonb
6d67c9b49a Upgrade nmh to 1.0.4. Fixes problems discussed in PR pkg/9695 (Eric sent
his problem report to the nmh people as well).

Adjust home page as per Eric's PR pkg/9695 as well.

Many changes since 1.0.3.  The most important ones are:

 + Eric's shell quoting problems displaying MIME content.
 + Fix coredump in packf.
 + Folder creation permissions bug (mentioned by Sean Matheis on
   netbsd-users@netbsd.org).
 + mmdf mailbox processing errors.

Full list if changes is in the ChangeLog file.
2000-04-15 07:56:15 +00:00
kim
e9c091498c Fixes:
- added missing checksum for the distribution file
- put back GCOS_HACK define (it was removed from patch-cb)
- do not include mhn.defaults in the PLIST to keep protecting it
  from upgrades in case it has local modifications
- install mhn.defaults.dist from the "files" directory instead of
  using a dynamically generated one (this was the intention always)
- mhn.defaults and mts.conf get installed if they don't exist;
  new users do not have to worry about copying *.dist files now
- added comments about the configuration file philosophy in Makefile
2000-03-02 05:11:42 +00:00
hubertf
467336a070 Update to V1.0.3, per request of our security officers:
Versions prior to 1.0.3 of the nmh package contained a vulnerability
where incoming mail messages with carefully designed MIME headers could
cause nmh's mhshow command to execute arbitrary shell code.

See the changelog for another 372 lines of changes.
2000-03-02 00:23:14 +00:00
agc
860ec07e79 Modify the Makefile to install mts.conf as mts.conf.dist, and mhn.defaults
as mhn.defaults.dist, so that an existing configuration is not lost by
a new installation.

Fixes PR 7819 from Matthew Green.
2000-01-18 15:50:32 +00:00
kim
b932d3dc6d Fix a long-standing annoyance where MH (and nmh) insists that parts of
type message/* should be encoded in 7bit only.  Modern mailers send
error reports encoded in 8bit as well.  I see no harm in simply allowing
that through as well (I could see more problems with quoted-printable or
base64 as you'd need to actually decode it before parsing the contents).
1999-03-08 20:48:28 +00:00
kim
1b5408dc6a Fix buffer overflow problems in m_getfld.c 1999-03-07 19:40:01 +00:00
kim
4782f7c5e5 Make mhshow look at the user input for "Press <return> to show..." (like
MH 6.8.4 did).  The responses checked for (first letter) are:
- "n" skips the next content (i.e. "no")
- "q" exits mhshow immediately (i.e. "quit")
1999-03-07 19:39:19 +00:00
kim
532b818405 Setting NMH_HASH_BACKUP=yes will compile nmh with BACKUP_PREFIX set to "#". 1999-03-07 01:16:25 +00:00
kim
6242ef0a30 Make this patch work with non-NetBSD systems (thanks, Al).
Change BACKUP_PREFIX to "#" so users of shells like tcsh
don't have to do excess typing when recovering accidentally
removed messages (mv ~/Mail/inbox/{#,}14921).
1999-03-06 23:17:34 +00:00
kim
8046336910 patch-cc: fix missing "-file" switch for mhshow when displaying files (e.g.
after composing a mime message you wanted to view it, or you got
	  a message/rfc822 attachment you wanted to view)
patch-cd: fix missing newline in strings generated by dctime (with snprintf
	  need to account for an extra character: the trailing null; fixes
	  problems with mhl and packf)
1999-03-06 20:37:32 +00:00
kim
8e4beb9a89 Need GCOS_HACK on BSD systems. 1999-03-05 01:56:43 +00:00
kim
3c4a00b8d3 Upgraded to nmh-1.0 1999-03-04 09:12:39 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
15706c03e9 Update to version 0.26 of nmh, the enhanced MH mail user agent. The
viamail script has changed its (source) location, but only minor
modifications necessary.
1998-06-01 13:15:58 +00:00
agc
348da9ab9c Update to version 0.18.
The new version has picked up the autoconf patches from @etcdir@ to
@sysconfdir@, but not the ones from @libdir@ to @libexecdir@, so bring
these forward.
1997-12-19 13:43:28 +00:00
agc
ef8099dd42 Initial import of nmh-0.17 from FreeBSD ports collection into NetBSD
packages collection.
1997-11-19 13:55:05 +00:00