Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/qmail qmail: mark as NOT_FOR_UNPRIVILEGED



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a0d5cb2e5f3
branches:  trunk
changeset: 437427:3a0d5cb2e5f3
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Aug 24 05:44:33 2020 +0000

description:
qmail: mark as NOT_FOR_UNPRIVILEGED

Although the package itself builds when pkgsrc is bootstrapped in
unprivileged mode, the pkgsrc +INSTALL/+DEINSTALL scripts fail, causing
bulk build noise:

=> Creating binary package /wrk/mail/qmail/work/.packages/qmail-1.03nb49.tgz
fatal: unable to find user alias
===========================================================================

ERROR: instchown exited 111.

Permissions are likely wrong, and/or the queue may be uninitialized.

===========================================================================
pkg_add: install script returned error status
pkg_add: 1 package addition failed

diffstat:

 mail/qmail/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9fe745cbc04c -r 3a0d5cb2e5f3 mail/qmail/Makefile
--- a/mail/qmail/Makefile       Mon Aug 24 05:20:00 2020 +0000
+++ b/mail/qmail/Makefile       Mon Aug 24 05:44:33 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.121 2020/06/25 05:42:39 schmonz Exp $
+# $NetBSD: Makefile,v 1.122 2020/08/24 05:44:33 tnn Exp $
 #
 
 DISTNAME=              notqmail-1.08
@@ -113,6 +113,7 @@
 SUBST_FILES.config=    config-fast-pkgsrc-defaults.sh
 SUBST_VARS.config=     SORT MV CP PKG_SYSCONFDIR QMAIL_QUEUE_EXTRA
 
+NOT_FOR_UNPRIVILEGED=          yes
 PKG_USERS_VARS+=               QMAIL_ALIAS_USER QMAIL_DAEMON_USER QMAIL_LOG_USER
 PKG_USERS_VARS+=               QMAIL_ROOT_USER QMAIL_PASSWD_USER QMAIL_QUEUE_USER
 PKG_USERS_VARS+=               QMAIL_REMOTE_USER QMAIL_SEND_USER



Home | Main Index | Thread Index | Old Index