Subject: CVS commit: pkgsrc/mail/qmail
From: Amitai Schleier
Date: 2017-03-20 17:23:20
Message id: 20170320162320.4136FFBE4@cvs.NetBSD.org

Log Message:
When I added basic DESTDIR support, I introduced a regression: the
source package stopped initializing the queue. (DESTDIR makes source
packages generate binary packages, which had never had that feature. See
<http://mail-index.netbsd.org/pkgsrc-changes/2011/06/07/msg056339.html>
for where the regression was introduced.)

Add a dependency on mail/queue-fix and, if no queue is present at
pkg_add time, initialize it.

Defer creating users and groups all the way to pkg_add time, and improve
DESTDIR support to full "user-destdir". Since mail/postfix lets
unprivileged users install it, we do too. (Can't run a server that way,
but so what.)

A typical (privileged) binary package should now:

1. Install on any other system of matching OS and architecture,
2. Not need matching numeric UIDs and GIDs to do so, and
3. Be usable in production.

You know, like any other binary package.

Bump PKGREVISION.

Files:
RevisionActionfile
1.7modifypkgsrc/mail/qmail/INSTALL
1.78modifypkgsrc/mail/qmail/Makefile
1.30modifypkgsrc/mail/qmail/distinfo
1.4modifypkgsrc/mail/qmail/patches/patch-Makefile
1.5addpkgsrc/mail/qmail/patches/patch-hier.c
1.1addpkgsrc/mail/qmail/patches/patch-pkgsrc__user__destdir__fake__chown.c
1.1addpkgsrc/mail/qmail/patches/patch-pkgsrc__user__destdir__fake__uids.h