Subject: pkg/32314: PKG squid: enabling AUFS in PKG_OPTIONS does not add aufs to storio definition
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Wolfgang Stukenbrock <Wolfgang.Stukenbrock@nagler-company.com>
List: pkgsrc-bugs
Date: 12/16/2005 10:20:00
>Number:         32314
>Category:       pkg
>Synopsis:       PKG squid: enabling AUFS in PKG_OPTIONS does not add aufs to storio definition
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 16 10:20:00 +0000 2005
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 2.1
>Organization:
Dr. Nagler & Company GmbH
	
>Environment:
	
	
System: NetBSD s040 2.1 NetBSD 2.1 (NSW-S040) #7: Thu Dec 15 17:00:09 CET 2005 wgstuken@s040:/usr/src/sys/arch/i386/compile/NSW-S040 i386
Architecture: i386
Machine: i386
>Description:
	in the options.mk for squid in pkgsrc (2005Q3 - not the lastest relased one) the aufs storio-option
	may be defined, but the code part to add it to the --enable-storeio=... conigure-option is missing.
	This results in the option been defined, but the resulting binary will be comiviled without support for
	aufs.
>How-To-Repeat:
	just try to enable the packet option aufs and compile it.
>Fix:
	as workaround it is possible to set SQUID_BACKENDS="ufs aufs null", but in order to fix this
	a code part like the follwoing should be added to options.mk in the squid directory:
	.if !empty(PKG_OPTIONS:Maufs)
	SQUID_BACKENDS+=        aufs
	.endif

	The same is done for the optional diskd backend in the options.mk file.

>Unformatted: