pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42830: Rename www/squid* LOGDIR to something less generic



>Number:         42830
>Category:       pkg
>Synopsis:       Rename www/squid* LOGDIR variable to something less generic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 16 21:30:00 +0000 2010
>Originator:     Hauke Fath
>Release:        NetBSD 4.0_STABLE
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD pizza.causeuse.org 4.0_STABLE NetBSD 4.0_STABLE (PIZZA_PF) #0: 
Tue Feb 16 20:53:37 CET 2010 
hf@Hochstuhl:/var/obj/netbsd-builds/4/sparc/sys/arch/sparc/compile/PIZZA_PF 
sparc
Architecture: sparc
Machine: sparc
>Description:

        If you want the logfiles for www/squid in a different place,
        you have to set LOGFILE (see www/squid/Makefile.common) to the
        new path. This works in mk.conf, but not from the environment
        (env LOGDIR=/var/log/squid make) nor from the commandline
        (make -DLOGDIR=/var/log/squid). Unfortunately, other packages
        have LOGDIR variables, too, without sharing the squid's
        directory.


>How-To-Repeat:

        Build squid, find you want to use a non-default log directory.

>Fix:

        Use something like SQUID_LOGDIR in squid/Makefile.common, and
        assign its value to LOGDIR, if non-empty. I could do it
        myself, but I suspect unknown magic hiding inside BUILD_DEFS.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index