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