Commit graph

32 commits

Author SHA1 Message Date
dholland
59a35ca20b Remove empty patch file. Regen distinfo, which also removes references
to two other patches that apparently no longer exist.
2014-09-20 23:01:20 +00:00
schnoebe
133320fe97 Remove empty patches. 2014-09-06 16:08:36 +00:00
schnoebe
0dde23f42d Fixes PR pkg/49166
Contributed by: Leonardo Taccari <iamleot@gmail.com>

Update mail/nmh to 1.6.

Changes:
The biggest changes in this release are in the arena of MIME handling.
Specifically relating to MIME composition and display.  On the
composition front, mhbuild(1) will now automatically be run by send(1)
for all drafts.  Specifically, mhbuild is now run with the new -auto
flag, which will suppress the processing of mhbuild directives and cause
mhbuild to silently exit if the draft is already MIME-formatted.  When
invoking mhbuild manually via the "mime" command at the WhatNow? prompt,
mhbuild will behave as before and process mhbuild directives.

In both cases (automatic and manual invocation) mhbuild will encode email
headers according to RFC-2047 rules.  Mhbuild also will use RFC 2231
encoding rules for MIME parameters when appropriate.  In addition, the
attach system has been substantially reworked; the new header name is
now "Attach" (to better align with other MUA behavior) and cannot be
changed by the end-user.  The existing "attach" command simply adds
the filename(s) to the draft in new Attach: headers, and the actual
file processing is done by mhbuild; this attachment processing will
take place in either automatic or manual mode.

On the display front, mhshow(1) will now automatically convert text
into the user's native character set using iconv, if nmh was built
with iconv support.  Also, mhshow will now by default only display
text content that was not marked as an attachment.  By default all
displayed content wll be run under one pager, as opposed to individual
pagers for each part as was in the past.  Non-displayed parts will be
indicated using a marker string, which can be customized by a new
mh-format(5) string.

All nmh utilites now understand RFC 2231-encoded MIME parameters and
will automatically convert the encoded parameters into the native
character set, when appropriate (again, assuming nmh was built with
iconv support).

In other changes, sequence files are now locked using transactional
locks: locks that are held across sequence file reading, modification,
and writing.  The locking algorithm used for spool files and nmh data
files is now runtime configurable.

For people that struggle with mh-format(5) files, a new utility for testing
them has been developed: fmttest(1).  It includes the ability to trace the
execution of format instructions.

For users that wish to use Unix utilities on their mail, a new utility
to transform MIME messages to more easily-digestable format is now
available: mhfixmsg(1).  It supports a number of options to control
the message transformation.

For users of spost(8), the support for spost has been rolled into post(8)
under a new sendmail/pipe MTS.  A shell script emulating the old behavior
of spost has been provided.
2014-09-06 16:07:43 +00:00
schnoebe
48afb37d6e Add a patch to fix the "-r" functionality in folder. 2012-08-31 00:50:04 +00:00
drochner
19b631c901 update to 1.5
changes:
-a "From:" header is now required for outgoing mail, custom component
 files may need to be adjusted
-support for filters in mhl
-more fixes and new features, see the share/doc/nmh/NEWS file for details
-dragonfly support patches were integrated
2012-07-27 19:28:57 +00:00
epg
52d5022b12 Note that these changes are upstream, will be in the next release. 2008-08-08 23:48:01 +00:00
epg
408b72a273 - Update from 1.0.4 (Apr 2000) to 1.3 (Jun 2008) (whew!).
- many bug fixes
  - MM_CHARSET no longer needed; now uses iconv to decode RFC2047-encoded
    headers and convert to current locale.
  - various MIME improvements

- Take maintainership (ok'd by kim@).

- Replace DESCR with text from web site.

- Support user-destdir.

- Use --with-hash-backup instead of hacking config.h post-configure.

- Drop IRIX-specific part of fmt_scan.c patch-cd, and therefore drop patch-ck
  and IRIX bits in Makefile.

- A tmac.h conf file (wtf?) is no longer installed.

- Update what's installed to share/doc/nmh.

- Update PLIST for added/removed/renamed files.

- Patches:
  - Update patch-ca and patch-cd.

  - Remove errno patches, upstream since XXX: patch-aa, patch-ab, patch-ad,
    patch-ae, patch-ag, patch-ah, patch-ai, patch-aj, patch-ak, patch-al,
    patch-am, patch-an patch-ao, patch-ap, patch-aq, patch-ar, patch-as,
    patch-at, patch-au, patch-av, patch-aw, patch-ax, patch-az, patch-ba,
    patch-bb, patch-bc, patch-bd, patch-be, patch-bf, patch-bg, patch-bh,
    patch-bi

  - patch-aa also had a patch for some fgetstr problem on NetBSD which no
    longer seems to happen.

  - Remove patch-cb; GCOS_HACK is referenced nowhere in nmh code (only
    apparently outdated docs) or in any other pkgsrc patch; HAVE_SYS_PARAM_H
    is already elsewhere in config.h, and sys/param.h is included in nmh.h.

  - Remove patch-ce (http://savannah.nongnu.org/bugs/?1393 fixed in
    uip/sortm.c r1.7).

  - Remove patch-ci (fixed in uip/show.c r1.6).

  - Remove patch-cj; $(etcdir)/tmac.h is gone and the folders/flists problems
    were fixed (differently) in 2000.

  - Remove patch-ck (CPPFLAGS support for the IRIX-specific part of patch-cd.
2008-08-08 23:41:21 +00:00
schwarz
57468e9249 added support for IRIX 5 2006-12-16 13:18:54 +00:00
joerg
d438292f1e Add DragonFly support. Fix errno. 2006-03-02 21:28:23 +00:00
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