Up to [cvs.NetBSD.org] / pkgsrc / mail / nmh
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for icu 76 shlib major version bump
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
revbump after icu and protobuf updates
*: recursive bump for gnutls p11-kit option (existing installations need the bl3.mk included, but it's now only optionally included)
*: recursive bump for icu 74.1
*: bump for openssl 3
revbump after textproc/icu update
nmh: Update to 1.8
Changes:
===
1.8
===
Welcome to nmh, the new version of the classic MH mail handling system.
It's been nearly five years since the last release of nmh, and there have
been a number of significant changes since that last release. Long-time
MH and nmh users should read carefully the NOTABLE CHANGES section, as
there are some significant changes to nmh behavior. Otherwise, please
see the README and INSTALL files for help on getting started with nmh.
This release is dedicated to Norman Z. Shapiro, co-designer of the MH
Message Handling System. MH is the predecessor of nmh. Norm was an
active supporter of nmh development until he passed away in October of
2021. We are most grateful to Norm for his stewardship of MH and nmh.
https://en.wikipedia.org/wiki/Norman_Shapiro
For news of future releases, subscribe to the low-volume
https://lists.nongnu.org/mailman/listinfo/nmh-announce
---------------
NOTABLE CHANGES
---------------
- Support for Content-MD5 header fields, MIME content cache functionality,
and the message/partial MIME type have been removed.
- Gmail OAuth2/XOAUTH support for desktop applications has been effectively
dropped, so nmh no longer supports it. nmh support for Gmail API access
is experimental, please post to [email protected] if you'd like to
help with test and development.
- repl(1) -convertargs now allows editing of the composition draft between
translation and any encoding of text content. Because encoding can wrap
long lines, the use of a paragraph formatter has been removed from
mhn.defaults.
------------
NEW FEATURES
------------
- The default editor has been changed from 'vi' to 'prompter', to align with
historical practice and reduce packaging dependencies on external programs.
- A new -checkbase64 switch has been added to mhfixmsg(1).
- inc(1)/msgchk(1) now support STARTTLS for the POP protocol.
- All TLS-supported protocols now will send the SNI (server name indicator)
TLS extension.
- A new mh-format function %(ordinal) has been implemented to output the
appropriate ordinal suffix for numbers. Example: "%(num 22)%(ordinal)"
will output "22nd".
- show and mhl now decode more addresses in header fields.
- Added warning from all programs that read the profile if the profile
contains a post entry, which is ignored, but does not contain a
postproc entry. In other words, if you get this warning and want
to suppress it, your options include:
1) Remove your post profile entry.
2) Make your post profile entry a comment by prepending it with the #:
comment indicator.
3) Add a postproc entry that points to the post that you use. That can
be viewed with "mhparam postproc".
- scan(1) -file argument can be a Maildir directory.
- Updated mhn.defaults to prefer mpv(1) over xv(1) and replace mpeg_play(1),
and to use it for all video types, not just video/mpeg. And prefer all
other searched-for pdf viewers over acroread(1).
- Added mhshow-suffix-video.mp4 to mhn.defaults, for use by mhshow(1) and
send(1).
- Removed support from mhn.defaults for application/x-ivs and text/richtext.
- Changed interpretation of argument to mhfixmsg(1) -decodeheaderfieldbodies
switch to specify character set of the decoded field bodies.
- repl(1) -convertargs now allows editing of the composition draft between
translation and any encoding of text content.
- install-mh(1) now enables the mh-draft(5) draft folder facility.
-----------------
OBSOLETE FEATURES
-----------------
- The generation and verification of a Content-MD5 field has been removed
without deprecation. The related -check and -nocheck options now error.
- The MIME content cache functionality has been mostly non-functional since
the development on nmh, and consequently all of the content caching code
and related switches (-cache/-rcache/-wcache) have been removed.
- Support for generating and reassembling message/partial messages has been
removed; it seems that this has been broken since 1.5 and there is very
little support across MUAs.
- Marked Gmail OAuth2/XOAUTH support as being unsupported.
- Support for the MHPDEBUG environment variable was removed. It was
deprecated in nmh 1.7. The pick(1) -debug switch replaced it.
- The 'libdir' mhparam(1) component was removed. It was deprecated in
nmh 1.7, when it was replaced by a new 'libexecdir' component.
---------
BUG FIXES
---------
- Fixed bcc to work with sendmail/pipe, and better documented that dcc
doesn't work with it [Bug 55700].
- An -attendee switch has been added to mhical(1), for use when more than one
(or zero) attendees match a user's mailbox.
- Fixed inc(1) and %(me) function escape to not obey Local-Mailbox profile
component.
- Fixed source charset in mhfixmsg textcharset verbose output.
- Fixed mhfixmsg charset determination of content added with -reformat.
- Fixed file descriptor leak in mhfixmsg when run on multiple input files.
- Fixed mhfixmsg(1) -decodeheaderfilebodies to support mixed encoded/undecoded.
- Fixed memory corruption in post(1) and inc(1) when using XOAUTH2,
with 4 or more entries in the oauth-authservice file.
- Added alias expansion to From: address for use by sendfrom.
- Removed extra space added before header field bodies by dist(1) to $mhdraft.
- Fixed display of iCalendar object with multiple VEVENTS using a VTIMEZONE.
- Fixed allowable encodings with MIME message types to get closer to RFC 2046.
- Detect other files regardless of backup prefix [Bug #49476].
- Copy if hard link by refile(1) or send(1) fails with EACESS [Bug 56575].
*: bump PKGREVISION for libunistring shlib major bump
revbump for icu and libffi
revbump for boost-libs
revbump for boost-libs
revbump after updating security/nettle
revbump after boost update
*: recursive bump for libffi
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
*: Recursive revision bump for openssl 1.1.1.
*: Recursive revbump from devel/boost-libs
Recursive revbump from boost-1.71.0
*: recursive bump for nettle 3.5.1
Need strnlen(3), make sure we obtain it from libnbcompat if host OS doesn't include it.
Recursive revbump from boost-1.70.0
revbump for boost 1.69.0
revbump after boost-libs update
nmh: Add mhshow.marker, scan.curses and scan.highlighted to CONF_FILES All of them were accidentally omitted during the nmh-1.6 update on Sep 2014 as part of PR pkg/49166, sorry! (spotted by reading mhshow(1) man page)
revbump for boost-libs update
nmh: Update mail/nmh to 1.7.1 pkgsrc changes: - Update patch-ca to avoid patching unused by pkgsrc `uninstall-*' targets (not needed) and adjust `installdirs' target to create `egdir' (`share/examples/nmh') Changes: 1.7.1 ----- 1.7.1 is a patch release for 1.7, and includes fixes to a number of significant bugs we have discovered since releasing 1.7. Specifically, this release includes the following bug fixes: - A significant memory leak in scan(1) - rcvdist(1) not passing arguments to post(8) correctly - Number formatting functions in the format engine were not truncating numbers correctly - Various fixes to the test suite
Bump PKGREVISION for gdbm shlib major bump
Revbump after boost update
nmh: Update mail/nmh to 1.7 pkgsrc changes: - Update MASTER_SITES (use https:// and avoid redirects) - Delete (a bit outdated) comment about locking mechanisms Since 02 Feb 2014 (post-1.6) the default locking mechanisms are (directly from m4/locking.m4): - aix*|cygwin*|linux*: fcntl - freebsd*|*netbsd*|openbsd*|darwin*: flock - everything else: dot The original comment was probably about just NetBSD and maybe Solaris (it's dated 1999). Solaris still uses the `dot' mechanisms by default but we no longer have any local patches about locking. - Delete (no more needed) `-O1' hack to CFLAGS mh_strcasecmp() was completely replaced by strcasecmp() on 24 Mar 2013, and hence present in 1.6. Forcing `-O1' for gcc is no longer needed. - Adjust --sysconfdir CONFIGURE_ARGS per-upstream change, now the nmh directory is created by nmh's configure so pass PKG_SYSCONFBASE instead of PKG_SYSCONFDIR. - Add support for the `test' phase Add support for nmh tests. Modify patches/patch-ca accordingly in order to adjust TEST_ENVIRONMENT to use the configuration files in $egdir instead of the ones in $nmhetcdir. Actually all tests are passed except an mhparam test that sposts the $egdir/$nmetcdir kludge. - Do not include bsd.prefs.mk two times (NFC) - Add `oauth' PKG_OPTIONS (disabled by default) to enable OAuth2 support in SMTP and POP auth via curl Changes: Release notes for nmh 1.7 ========================= Welcome to nmh, the new version of the classic MH mail handling system. It's been over three years since the last release of nmh, and there have been a number of significant changes since the last release. Long-time MH and nmh uses should read careful the NOTEABLE CHANGES section, as there are some significant changes to nmh behavior. Otherwise, please see the README and INSTALL files for help on getting started with nmh. For news of future releases, subscribe to the low-volume https://lists.nongnu.org/mailman/listinfo/nmh-announce --------------- NOTABLE CHANGES --------------- The largest notable changes in the 1.7 release are: - Complete unification of network security support. All network protocols (currently, POP and SMTP) have been refactored to use a common set of security routines. This means all protocols support all SASL mechanisms (via the Cyrus-SASL library) and TLS. TLS support has been strengthened to perform certificate name validation and to require TLS 1.1 as a minimum protocol. Also, all protocols can make use of the OAuth2/XOAUTH SASL mechanism, which is supported by Gmail. - send(1) now supports adding switches to post(8) based on the address or domain of the email address in the From: header; this more easily allows users to support multiple identities. - A generic facility for passing arguments to filter programs in repl(1) by use of the -convertargs switch. - Native support for the manipulation of iCalendar requests; see mhical(1) for more details. ------------ NEW FEATURES ------------ The following are new features for the 1.7 release of nmh: - When building from source, configure will derive ${prefix} from an existing nmh installation if it finds one in your $PATH. - Added welcome message when nmh detects that its version changed. - The default locations for configuration files and support binaries have been changed. Configuration files now install into ${sysconfdir}/nmh, and support binaries are placed in ${libexecdir}/nmh. If you are upgrading an existing installation you should look for old configuration files in ${sysconfdir} and merge any local customizations into the new files in ${sysconfdir}/nmh, then remove the old files. ${libdir} will also contain obsolete support programs that should be removed. - All TLS connections now perform certificate validation (including hostname matching) by default; can be disabled on a per-application basis. - post now defaults to port 587 on 'smtp' message submission. - A value of 0 for the width switch of scan(1), inc(1), ap(1), dp(1), fmttest(1), and mhl(1) now means as many characters as the format engine can produce [Bug #15274]. That amount is limited by internal buffers. - If a component has trailing whitespace, e.g., body:component="> ", mhl now trims that whitespace off when filtering blank text lines. - An "rtrim" flag has been added to mhl to remove any trailing whitespace from filtered text lines. A corresponding "nortrim" flag has also been added. - Added getmymbox and getmyaddr mh-format(5) function escapes. - New -[no]changecur, -fixtype, -decodetypes, and -[no]crlflinebreaks switches have been added to mhfixmsg(1). - mhfixmsg now removes an extraneous trailing semicolon from header parameter lists. - Added -convertargs switch to repl(1), to pass arguments to programs specified in the user's profile or mhn.defaults to convert message content. - Added mhical(1), to display, reply to, and cancel iCalendar (RFC 5545) event requests. - Added multiply mh-format(5) function. - "mhparam bindir" prints the path to the directory containing the public executables (${bindir}). - New "-prefer" switch for mhshow (and mhlist and mhshow), to allow specifying the preferred content types to show, if present in a multipart alternative. - mh-format now has %(kilo) and %(kibi) functions, to allow printing numbers with SI or IEC quantities, e.g. "10K", "2.3Mi". - Support for the -sendmail flag to send/post to change the sendmail binary when using the sendmail/pipe MTS. - Added support to send(1) to specify switches to post(1) based on address or domain name in From: header line in message draft. - post(8) -snoop now attempts to decode base64-encoded SMTP traffic. - folder(1) -nocreate now prints a warning message for a non-existent folder. - mhfixmsg(1) now allows -decodetext binary, though 8bit is still the default. - inc(1) and msgchk(1) now support TLS encryption natively. - All network protocols support the XOAUTH authentication mechanism. - Support for SMTPUTF8 (RFC 6531) has been added. mhshow(1) already supported RFC 6532, assuming all 8-bit message header field bodies are UTF-8 and use of a UTF-8 locale. - mhfixmsg now replaces RFC 2047 encoding with RFC 2231 encoding of name and filename parameters in Content-Type and Content-Disposition headers, respectively. - If a message body contains 8-bit bytes, post(8) uses SMTP 8BITMIME if the server supports it. If not, post fails with a message to the user to encode the message for 7-bit transport. - Fewer lseek(2)s will be used when reading headers in the common case. - ./configure's --enable-debug has been removed; it did nothing. - configure now defaults to enabling each of TLS and Cyrus SASL if the necessary headers and libraries are found. - Moved build_nmh to top-level directory. - Better error reporting for connections to network services. --------- BUG FIXES --------- - The format scanner no longer subtracts 1 from the width. This has the effect of no longer counting the trailing newline in the output of scan(1), inc(1), and the other programs that rely on the format scanner. - The first character of some very short (less than 4 characters) message bodies is no longer dropped. - Single-character headers can be reliably formatted, etc., instead of apparently being missing. - mhfixmsg now adds a Content-Transfer-Encoding header at the message level, if needed after decoding text parts. - mhbuild now checks whether all text parts need a Content-Transfer-Encoding header, not just those with a character set not specified. - mhbuild no longer parses lines that start with # as directives with -nodirectives. - repl now makes sure that any Fcc header in a replied-to message is not copied into the outgoing draft by default, and that the -fcc switch actually works in the absence of a Fcc header in the replied-to message. - A Content-ID is generated for message/external-body entities as required by RFC 2045, even if -nocontentid is supplied to mhbuild. - post will now expand aliases on a "From" line when doing a BCC [Bug #51098]. - scan can now handle empty files without violating an assert [Bug #51693]. - An error when writing an error message, e.g. EPIPE, no longer causes recursion until the stack is exhausted. ------------------- DEPRECATED FEATURES ------------------- - Support for the MHPDEBUG environment variable is deprecated and will be removed from a future nmh release. Instead, use the -debug switch to pick. - With the move of support binaries from ${libdir} to ${libexecdir}/nmh, the mostly undocumented 'libdir' mhparam(1) component has been replaced by a new 'libexecdir' component. 'libdir' will be removed in a future release. ----------------- OBSOLETE FEATURES ----------------- - The undocumented -queue switch to post was deprecated in nmh 1.6, and was removed in this release. - conflict(8) was deprecated in nmh 1.6, and was removed in this release. - mhtest(8) was deprecated in nmh 1.6, and was removed in this release. - msh(1) was deprecated in nmh 1.6, and was removed in this release. - Support in alias files for the the "*" address-group (everyone) was deprecated in nmh 1.6, and was removed in this release. - Support for multiple hostnames in the "servers" entry of mts.conf has been removed. - Support in alias files for expanding aliases based on group membership (=) and primary group (+) has been removed. As always, feedback is welcome.
Bump PKGREVISION for security/openssl ABI bump.
Also needs converters/libiconv. PKGREVISION++
Take the MAINTAINERship.
o Fix build on older versions of Darwin affected by arc4random(3) limitations like NetBSD. o Explicity disable readline support that - at least - on some Darwin systems was automatically detected. o Bump PKGREVISION (the readline change can affect also platforms where readline was automagically recognised and used) Thanks to sevan@ for testing the patches.
nmh is MAKE_JOBS_SAFE these days.
Bump all packages that depend on curses.bui* or terminfo.bui* since they might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
The configure script checks for arc4random(), but the program uses arc4random_buf(); netbsd-5 (and presumably earlier) has the one but not the other. Just disable it, because all it's using the randomness for is message-ids. Fixes the netbsd-5 build.
This version of nmh specifically needs terminfo and not termcap Adjust accordingly and bump PKGREVISION.
Fixes PR pkg/49166
Contributed by: Leonardo Taccari <[email protected]>
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.
Recursive PKGREVISION bump for OpenSSL API version bump.
specify libdir with GNU_CONFIGURE_LIBDIR.
Remove GNU_CONFIGURE_LIBDIR. Rationale: undocumented, easily replaced with "CONFIGURE_ARGS+=--libdir=" and only used by 10 packages.
PKGREVISION bumps for the security/openssl 1.0.1d update.
recursive bump from cyrus-sasl libsasl2 shlib major bump.
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
Add options to support SASL and TLS in nmh.
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
Recursive dependency bump for databases/gdbm ABI_DEPENDS change.
Convert packages with add --libdir=* to CONFIGURE_ARGS to use GNU_CONFIGURE_LIBDIR or GNU_CONFIGURE_LIBSUBDIR.
Add missing mk/termcap buildlink. Bump PKGREVISION
Add devel/gdbm_compat buildlink on Linux. Bump PKGREVISION
Reset maintainer for retired developers.
Use INSTALLATION_DIRS.
Set MAKE_JOBS_SAFE =no.
- 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.
Put back a couple of IRIX conditionals the way they used to behave, e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x too, but let's be conservative. PR pkg/38224.
Some packages need lex and yacc. Patch by Aleksey Cheusov via pkgsrc-users.
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Whitespace cleanup, courtesy of pkglint. Patch provided by Sergey Svishchev in private mail.
added support for IRIX 5
Workaround for SEGV problem running nmh utilities built with gcc4 by reducing optimisation. Allows nmh code to use nmh's private non-standard strcasecmp(). Bump PKGREVISION. Addresses PR34027.
Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
Ran "pkglint --autofix", which corrected some of the quoting issues in CONFIGURE_ARGS.
Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE, NO_BUILD, USE_LIBTOOL.
Convert to use options framework.
Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be useful.
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.
PR#23466 from Igor Sobrado. Setup links for flists and folders man pages.
basename -> ${BASENAME}, from Soren Jacobsen via PR pkg/23541.
Update HOMEPAGE. From J.K. Lowden via PR pkg/22279.
whitespace
Make work with netbsd libkrb that might require roken and com_err Fixes PR: pkg/21505
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).
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.
Merge from pkgsrc-current to buildlink2 branch.
Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict" which the basesrc USE_KERBEROS variable. Discussed on packages@ This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by FUKAUMI Naoki on a Japanese NetBSD mailing list.
Remove target that provides the same functionality as AUTOMAKE_OVERRIDE.
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...
Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
Mechanical changes to 375 files to change dependency patterns of the form foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
Patch integer-to-decimal conversion problem which turns up with scan -format "%(clock{date})" This is a time_t > 1e9 problem.
Add a CONFLICTS entry for ja-mh6-* Found by pkgconflict.
turn KERBEROS into a binary switch
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Factor out common post-install code in Makefile and pkg/PLIST into (an already existing) pkg/INSTALL. Note that ${PREFIX}/etc/nmh can be removed in pkg/DEINSTALL. Make some cosmetic changes to Makefile.
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
[email protected]).
+ mmdf mailbox processing errors.
Full list if changes is in the ChangeLog file.
grep, cp -> ${GREP}, ${CP}
Add a mirror to the MASTER_SITES for better reachability.
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
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.
replaced some commands by their ${COMMAND} counterparts
Remove version string of conflicted ja-mh pkg.
Add CONFLICTS=ja-mh-6.8.4-JP-*
Change how Kerberos support is enabled in pkgsrc. Quick guide for compiling packages: - set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf Quick guide for configuring Kerberos support in a package Makefile: - test for KERBEROS value and enable the appropriate version with CONFIGURE_ARGS or other means and set USE_KERBEROS=yes - make sure to disable Kerberos support otherwise (especially if using configure, which might automatically detect it) - BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk when USE_KERBEROS=yes is set
Add NMH_HASH_BACKUP to BUILD_DEFS.
Record build options in the BuildInfo file via BUILD_DEFS. These can be displayed using the -B option to pkg_info(1).
Make the Kerberos option uniform - it is now USE_KERBEROS4 and specifies use of krb4 _or_ a compatible subsystem. (MAKE_ was only used by this option; USE_ is used by many.) Also set RESTRICTED= in all relevant pkgs when USE_KERBEROS4 is enabled.
Setting NMH_HASH_BACKUP=yes will compile nmh with BACKUP_PREFIX set to "#".
Make editor and pager selectable with NMH_EDITOR and NMH_PAGER respectively. For old MH behaviour use "NMH_EDITOR=prompter".
Change maintainer from packages to me.
Upgraded to nmh-1.0
Fix CONFLICTS (remove redundancy, mostly)
The Grand Homepagification: - New, optional Makefile variable HOMEPAGE, specifies a URL for the home page of the software if it has one. - The value of HOMEPAGE is used to add a link from the README.html files. - pkglint updated to know about it. The "correct" location for HOMEPAGE in the Makefile is after MAINTAINER, in that same section.
Update nmh to 0.27.
Remove MAN<sect> and CAT<sect> definitions from package Makefiles - these are unnecessary with automatic manual page handling.
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.
Update nmh package to version 0.25
Upgrade nmh to version 0.24
Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree. Remove redundant (and sometimes erroneous) comments.
Upgrade to version 0.23 of nmh.
Update to version 0.22 of nmh - it's just a bug fix release. Minor fix to pkg/PLIST for removal of package.
Upgrade to version 0.21 of nmh. Add a manual page to MAN1, and clean up the way that the $PREFIX/etc/nmh directory is deleted when deleting the package - if there are any *.old files in there, they relate to a previous configuration, and should be kept.
Add comment about NMH_MTA
portlint: $() -> ${}, pkg -> ${PKGDIR}
Change the way the default MTA is specified so it's done properly for definitions in /etc/mk.conf.
Set default MTA for nmh to be smtp. If there's an environment variable called NMH_MTA (or a variable of the same name in /etc/mk.conf), use the value of that variable when configuring nmh. Does not solve the MTA wars, but makes things more configurable.
Due to massive popular request (including, but not limited to, Matt Green and Jason Thorpe), revert the MTA type to be smtp, rather than sendmail.
Upgrade to version 0.20. Set default MTA to be sendmail, rather than smtp, at the suggestion of Perry Metzger.
Fix setting CONFIGURE_ARGS ("=" -> "+=")
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.
Add NetBSD RCS Id. Make sure that pkg/INSTALL script is executed, even if execute bit isn't set
Initial import of nmh-0.17 from FreeBSD ports collection into NetBSD packages collection.
Initial revision