-----------
What is it?
-----------
nmh (new MH) is an electronic mail handling system - a MUA (Mail
User Agent) package for end-users to handle their e-mail. It was
originally based on the package MH-6.8.3, and is intended to be a
(mostly) compatible drop-in replacement for MH.
nmh consists of a collection of fairly simple single-purpose programs
to send, receive, save, retrieve, and manipulate e-mail messages. Since
nmh is not a single comprehensive program, you may freely intersperse
nmh commands with other shells commands, or write custom scripts which
utilize these commands in flexible ways.
===> The following configuration options are available for nmh-1.8:
DOCS=on: Build and/or install documentation
HASH_BKP=off: Use hash as backup prefix (default is a comma)
REPLYFILTER=off: Install dependencies for contrib/replyfilter
SASL2=off: SASL2 support
TLS=off: Secure network connection support via TLS
====> Options available for the single MTS: you have to select exactly one of them
SMTP=off: Use remote SMTP
SENDMAIL_SMTP=off: Use local sendmail (connect through socket)
SENDMAIL_PIPE=on: Use local sendmail (connect through pipe)
====> Options available for the single LOCKING: you have to select exactly one of them
DOT=off: Dot file locking
FCNTL=off: fcntl() file locking
FLOCK=on: flock() file locking
LOCKF=off: lockf file locking
====> Options available for the radio MIME_HTML: you can only select none or one of them
ELINKS=off: Install dependencies for www/elinks
LINKS=off: Install dependencies for www/links
LYNX=off: Install dependencies for www/lynx
W3M=on: Install dependencies for www/w3m
===> Use 'make config' to modify these settings
Some files you might need to customize include the following:
mhn.defaults - adjust the programs used to handle various
MIME content types.
mts.conf - adjust the "servers" setting if you don't have
a locally installed sendmail (or other MTA).
You may also find interesting freely avaiable book about nmh:
http://rand-mh.sourceforge.net/book/
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail/nmh*: Change default mail transport method
nmh supports three mail transport methods: smtp, which submits email to
the submission port (587), sendmail/smtp, submitting SMTP to the MTA
through a pipe, and sendmail/pipe, submitting raw email to the MTA where
the MTA extracts the from and to headers from the email itself, using
sendmail -t.
The reason for this change is to support the upcoming 14-CURRENT
switchover from sendmail to dma (DragonflyBSD Mail Agent). The dma agent
only supports SMTP over port 25 and works well using sendmail -t while
all other transport methods do not work.
This change only affects new installs of nmh and nmh-devel. Users of
existing nmh installations who wish to use the new dma agent will need
to alter ${LOCALBASE}/etc/nmh/mts.conf by hand by changing the mts
statement to mts: sendmail/pipe. The existing file is not altered when
pkg upgrade is invoked. However users of sendmail in base, sendmail
port, postfix, exim, and qmail are not affected by this and may use
their existing mts.conf.
The dma agent is not currently installed by default but users may install
it by enabling MK_DMAGENT in src.conf and building/installing 14-CURRENT
world. This patch allows nmh to work with dma agent when it is installed
and made to be the default MTA in /etc/mail/mailer.conf.
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
Recommended by our nmh upline, make the W3M option to depend on
www/w3m the default in order to install a text-based browser
to render HTML for nmh. Users can still deselect the option to
obtain a leaner install base. The other HTML rendering options
also still available.
Suggested by: Ken Hornstein <kenh@cmf.nrl.navy.mil> (nmh upline)
Add text-based browser dependency options. Text-based browsers are used
to render HTML. The dependencies are build and run dependencies, build
dependencies because nmh auto-configures itself at build time for text
based browsers it finds. The nmh upstream developer,
Ken Hornstein <kenh@cmf.nrl.navy.mil>, prefers w3m but any text-based
browser will do. The browser option is not default in order to satisfy
minimalist install rerequirements.
Reported by: Ken Hornstein <kenh@cmf.nrl.navy.mil> (upstream)
MFH: 2019Q3
Remove libiconv.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps. Bump dependent ports that have not
been bumped since.
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.
CR: D306
Approved by: portmgr (bapt)
Clean up nmh port.
- Convert to USES
- Stage support
- Convert more options to OptionsNG
- Add TLS option
- Update to use pkg-message instead of pkg-install for final message
- Add WITH_DEBUG support
- Add LICENSE directive
PR: 186380
Submitted by: Mikhail <mp39590@gmail.com>
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.
Fix the following:
* Alphabetize the comments on the Makefile variables that affect the
configure process.
* Add a new NMH_EXTRA_CONFIGURE_ARGS var to let builder pass extra args
through to configure.
* Add a new NMH_POP var to allow builder to disable the --enable-pop
configure setting.
* Take 'uname' out of the AC_CHECK_FUNCS so the configure script never sets
HAVE_UNAME, so that it only uses gethostname(3) to get the hostname.
The HAVE_UNAME #define is only used in zotnet/mts/mts.c and it uses
gethostname(3) in its stead both times.
PR: 36307
Submitted by: MAINTAINER: Scott Blachowicz <Scott.Blachowicz@seaslug.org>
First round of auto* cleanups: - USE_AUTO* -> USE_AUTO*_VER=* where required
- USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK -
Other minor changes to fix things
${PKGDIR}/INSTALL -> ${PKGINSTALL}. Also, give the requisite two arguments to
${PKGINSTALL}. (I suspect this install script actually working without the
second argument is because of this Makefile, but I won't touch the script
itself.)