Subject: Re: qmail & IS_INTERACTIVE [was: Re: CVS commit: pkgsrc/mail]
To: None <tech-pkg@netbsd.org>
From: Eric Schnoebelen <eric@cirr.com>
List: tech-pkg
Date: 01/25/2002 16:37:07
Tomasz Luchowski writes:
- On Wed, Jan 16, 2002 at 03:59:28AM +0100, Hubert Feyrer wrote:
- > On Tue, 15 Jan 2002, Tomasz Luchowski wrote:
- > > Modified Files:
- > > 	pkgsrc/mail/dot-forward: Makefile
- > > 	pkgsrc/mail/ezmlm: Makefile
- > > 	pkgsrc/mail/fastforward: Makefile
- > > 	pkgsrc/mail/qtools: Makefile
- > > 
- > > Log Message:
- > > Set IS_INTERACTIVE in packages that depend on qmail;
- > > fixes "broken depends" in bulk builds
- > 
- > Would it be possible to pick useful defaults for the qmail package to get
- > it built during bulk package builds? That'd be preferable over getting
- > more things interactive.
-
- Not really. I have already considered many different ways to make
- it work more nice, but I believe that whole build & install
- procedure would have to be reinvented.  I don't have time to do
- this now.

	There are a set of patches (by bruceg@em.ca) that cause
qmail to read the uids for its assorted users from files,
allowing this to be more dynamically configured.

	His complete set of patches are available at
http://untroubled.org/qmail+patches/current/release-18.tar.gz,
and the patch of interest is the qmail-1.03-autouidgid.patch
file within that tarball.

	Another alternative would be to patch qmail to look up
the user names it wants in the password database, and set its
uid appropriately. (other programs do this, why not qmail.. :-)


--
Eric Schnoebelen		eric@cirr.com		http://www.cirr.com
	Real Programmers don't write specs.  Users should be grateful for
	    whatever they get.  They are lucky to get any program at all.