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
Falling Raindrops
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE (PIZZA_PF) #0: 
Tue Feb 16 20:53:37 CET 2010 
Architecture: sparc
Machine: sparc

        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


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


        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.


Home | Main Index | Thread Index | Old Index