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.
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.
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.
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.
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.
- 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
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.
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
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.
- 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.
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.
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.