NetBSD Problem Report #42830

From hauke@Espresso.Rhein-Neckar.DE  Tue Feb 16 21:27:09 2010
Return-Path: <hauke@Espresso.Rhein-Neckar.DE>
Received: from ( [])
	by (Postfix) with ESMTP id 148FC63C478
	for <>; Tue, 16 Feb 2010 21:27:09 +0000 (UTC)
Message-Id: <>
Date: Tue, 16 Feb 2010 21:54:15 +0100 (CET)
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Reply-To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Cc: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Subject: Rename www/squid* LOGDIR to something less generic
X-Send-Pr-Version: 3.95

>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
>Last-Modified:  Wed Mar 03 06:30:03 +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 hf@Hochstuhl:/var/obj/netbsd-builds/4/sparc/sys/arch/sparc/compile/PIZZA_PF sparc
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.

From: "OBATA Akio" <>
Subject: Re: pkg/42830: Rename www/squid* LOGDIR to something less generic
Date: Wed, 03 Mar 2010 15:29:13 +0900

 On my quick review, LOGDIR is never used to switch log location of squid itself,
 just tell it to squidGuard.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.