pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44068: Mailman's build process uses uid/gid of 'daemon' instead of 'mailman' and breaks package
The following reply was made to PR pkg/44068; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/44068: Mailman's build process uses uid/gid of 'daemon'
instead of 'mailman' and breaks package
Date: Sun, 14 Nov 2010 03:45:50 +0000
On Wed, Nov 10, 2010 at 05:55:02PM +0000, andras%freeshell.de@localhost wrote:
> To clear things up a litte: you are absolutely right about the
> contents of /usr/pkgsrc/mail/mailman/Makefile:
>
> MAILMAN_USER?= mailman
> MAILMAN_GROUP?= mailman
Right, so MAILMAN_USER and MAILMAN_GROUP both default to "mailman".
> I posted the wrong lines in the heat of the battle. Mea culpa. What I
> _actually_ wanted to propose as a temporary fix was this:
>
> /usr/pkgsrc/mail/mailman/Makefile:
>
> + CONFIGURE_ARGS+= --with-groupname=mailman
> + CONFIGURE_ARGS+= --with-mail-gid=mailman
> - CONFIGURE_ARGS+= --with-groupname=${MAILMAN_GROUP:Q}
> - CONFIGURE_ARGS+= --with-mail-gid=${MAILMAN_MAILGROUP:Q}
...but if MAILMAN_GROUP defaults to "mailman", this shouldn't be
necessary, and:
> make resolves ${MAILMAN_GROUP:Q} and ${MAILMAN_MAILGROUP:Q} to
> 'daemon', which subsequently causes troubles.
...this shouldn't be happening at all.
Well, at least MAILMAN_GROUP shouldn't be. It does appear that
MAILMAN_MAILGROUP defaults to "daemon".
(Do I want to know why mailman needs to know in advance the group that
mail stuff will run as? Probably not.)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index