Subject: pkg/35439: dspam virtualusers
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ef@math.uni-bonn.de>
List: pkgsrc-bugs
Date: 01/18/2007 13:40:00
>Number:         35439
>Category:       pkg
>Synopsis:       mail/dspam does not accept virtualusers option
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 18 13:40:00 +0000 2007
>Originator:     Edgar Fuß
>Release:        2006Q4
>Organization:
	Mathematisches Institut der Universität Bonn, Computerabteilung
>Environment:
System: NetBSD gumme.math.uni-bonn.de 3.1.0_PATCH NetBSD 3.1.0_PATCH (gumme) #0: Tue Jan 9 16:22:19 CET 2007 root@weser.math.uni-bonn.de:/usr/obj/sys/arch/i386/compile/gumme i386
Architecture: i386
Machine: i386
>Description:
	Presumably due to the change made in Revision 1.17 of options.mk,
	dspam does not accept the virtualusers option even if
	DSPAM_STORAGE_DRIVER is set to mysql.
>How-To-Repeat:
	In /etc/mk.conf, set
	DSPAM_STORAGE_DRIVER=mysql
	and
	PKG_OPTIONS.dspam=domainscale debug long-usernames preferences-extension virtualusers
	then make or make show-options

>Fix:
	Revert the change made in 1.17
	-			domainscale virtualusers preferences-extension \
	+			domainscale preferences-extension \
	but that's probably not the intended solution.
	I'm not familiar with the pkgsrc infrastructure, the tests in options.mk
	look to me as if they were supposed to automatically add virtualusers
	to the set of supported options if DSPAM_STORAGE_DRIVER is set to
	mysql or pgsql, but it looks like that doesn't work as expected.
	gumme 39% fgrep DSPAM_STORAGE_DRIVER /etc/mk.conf
	DSPAM_STORAGE_DRIVER=mysql
	gumme 40% fgrep PKG_OPTIONS.dspam /etc/mk.conf
	PKG_OPTIONS.dspam=domainscale debug long-usernames preferences-extension virtualusers