From owner-freebsd-ports@freebsd.org Tue Jul 14 19:54:34 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 820B79A110C for ; Tue, 14 Jul 2015 19:54:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6114D1C69 for ; Tue, 14 Jul 2015 19:54:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 602769A110B; Tue, 14 Jul 2015 19:54:34 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FC1C9A110A for ; Tue, 14 Jul 2015 19:54:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-x241.google.com (mail-wg0-x241.google.com [IPv6:2a00:1450:400c:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE1DB1C65 for ; Tue, 14 Jul 2015 19:54:33 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wgwk7 with SMTP id k7so1568553wgw.0 for ; Tue, 14 Jul 2015 12:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=i25qovAw8MYtdLjY+54La8iE1uXXx/iOg6wlzBeyaQc=; b=cjeZVVff0yOKqNQEdBGupNsY2SoI5m3s7joUMdfvHJGu0gd2juojIZIjijC1kdt+W/ 4LoFl2uWPtA+22M7DtKAt81i7tuJ6DpZS23OS5+NL75Etz559+LdI90wfQ1g05ksfL3T LiQzezLpG3Z9VBafoyGZm4CRS4qyVof7PwTVEJ/FVLoyXEbatwN1viE7nV6PpzVRAvJZ U5jPsFvH7VoCLYo6Dp7pwM3e2Eq8hy9ni7EbJJQc4CbbN9flEVhr+v9B99eYe4mqqxQv EiGvPwgqGQhc0AGcgOWoAbgst8zYzSFzSIu1HdDiQaDvS8Dvc0T20UwSBZD3Vz7EoTZb SsMQ== X-Received: by 10.180.149.206 with SMTP id uc14mr9090071wib.12.1436903672362; Tue, 14 Jul 2015 12:54:32 -0700 (PDT) Received: from gumby.homeunix.com (5ec1f672.skybroadband.com. [94.193.246.114]) by smtp.gmail.com with ESMTPSA id d5sm22562373wiz.24.2015.07.14.12.54.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 12:54:31 -0700 (PDT) Date: Tue, 14 Jul 2015 20:54:28 +0100 From: RW To: ports@freebsd.org Subject: Re: www/squid's cache dir Message-ID: <20150714205428.367d2be0@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 19:54:34 -0000 On Tue, 14 Jul 2015 12:33:33 +0300 Pavel Timofeev wrote: > Hi! > > A question was born in my mind about www/squid port: > > Do we really need a separate /var/squid dir for 'cache' and always > empty 'logs' subdirs? > Squid's logs are really in /var/log/squid, not in /var/squid/logs. > > So I think what if we had cache dir like /var/cache/squid, and got rig > of /var/squid at all? > What do you think? I can see a case for fixing the Makefile so the log directory is created in the right place. Moving the squid directory itself wouldn't avoid creating /var/squid/logs. Squid can use more than one cache directory, so it makes sense to have the default cache directory as a sub-directory of squid/.