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: andras%freeshell.de@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: Wed, 10 Nov 2010 18:47:18 +0100

 On Wed, Nov 10, 2010 at 02:25:02AM +0000, David Holland wrote:
 > 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: Wed, 10 Nov 2010 02:22:47 +0000
 > 
 >  On Mon, Nov 08, 2010 at 11:50:04PM +0000, andras%freeshell.de@localhost 
 > wrote:
 >   >  >   > Edit /usr/pkgsrc/mail/mailman/Makefile
 >   >  >   > 
 >   >  >   > Changes made:
 >   >  >   >   MAILMAN_USER?=          mailman
 >   >  >   >   MAILMAN_GROUP?=         mailman
 >   >  >  
 >   >  >  The mailman package makefile has defined MAILMAN_USER and
 >   >  >  MAILMAN_GROUP this way since the package was first imported in 2002.
 >   >  >  
 >   >  >  Is your pkgsrc tree corrupted?
 >   >  
 >   > The pkgsrc tree was freshly untared from pkgsrc-current. Is it
 >   > possible that a long build process including lots of packages
 >   > (using pkg_rolling-replace) corrupts the pkgsrc tree?
 >  
 >  It's *possible* (after all, we're talking about computers) but it
 >  seems extremely unlikely. Then again, what you're describing is
 >  unlikely anyhow. Just to be clear, you're saying that the mailman
 >  package makefile (/usr/pkgsrc/mail/mailman/Makefile) contained
 >  
 >     MAILMAN_USER?=   daemon
 >     MAILMAN_GROUP?=  daemon
 >  
 >  when you untarred? Which tarball did you use and where did you get it
 >  from?
 >  
 >  -- 
 >  David A. Holland
 >  dholland%netbsd.org@localhost
 >  
 
 The pkgsrc was from ftp://ftp.netbsd.net/pub/pkgsrc/current/pkgsrc.tar.gz . The
 previously installed tree was deleted completely and the new tree untared. 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
 
 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}
 
 make resolves ${MAILMAN_GROUP:Q} and ${MAILMAN_MAILGROUP:Q} to 'daemon', which
 subsequently causes troubles.
 
 
 Sorry for causing inconvenience.
 
 
 Best,
 Andras
 


Home | Main Index | Thread Index | Old Index