From owner-freebsd-ports@freebsd.org Thu Aug 31 15:25:27 2017 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 DA325E00348; Thu, 31 Aug 2017 15:25:27 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (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 9FBDA80A78; Thu, 31 Aug 2017 15:25:27 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x243.google.com with SMTP id f99so1792325ioi.0; Thu, 31 Aug 2017 08:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=8ZZ5p64D7NkGJXYwUyYPi5RmgablhCVnP85CkrsUTww=; b=oidpKlRHTf8p8a+gwHKxWqnAuEDzHwCSEdm0YjrpjOPY4Uor/ghNBMDXifzWz1VC2B RuUOxJM3a9vet8FYBPnaWmIehih4wedPfAF3W6ah/TF2wi+F+PrpZmOq78pjK2JnyBgo ZjideOjdXkWk1szFnS9VZcGFzGwoUjf72wsRL9EjMNVOmMTHDLRGYPCKNVxyE98rm15u AKMCSyWOFQ6leNL4SxgceYYT/R6ECdwWxznETA5Wmp0rWRlvVXTVCZ7HsPWJcCtXylmK kuU0Ii2PyK+/NAoYY4xyzDSNkBiinpzU0O9/m7p8asR62kw+CimLwARGICy2w1HuPg2W 2f5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=8ZZ5p64D7NkGJXYwUyYPi5RmgablhCVnP85CkrsUTww=; b=Iu8iQwy297joS7/2aQ3BrsOyMwqKYxum3K8raPytWKIUEfbtKeqfYHugMD+bkTbdAc dzFn8YtBkZTVqeN6gu+6lCKgl198zfsr43epo5vCZHGdi9EhUX1WNWUGggwF/0ijB9bY QTdZaPk6a+OYSh62ejPukhlcyN+cnJCmDnAKUyqqz/A/fKR5A6rbQXhRbah4RM4iMtUc OsEwyjh2tZiQla0NSDvT+R7lqw05LezsLfNl9TIYSIRyb56WDXHejwEO6acNzs+HVU2x tTqq9Uz1bJ3wdtsPK2lpImPHcWkrGMJB8ymzVUVG8Ak07o7XtWNIH5AhKd1AU0q+Z/HS c9PQ== X-Gm-Message-State: AHYfb5iWPlzx59qEDV1QocXpOJ6ZX/UW1p3xDWTeDrL8KEor8jZ0PPjc VPU0l7oM/gzmByQ6 X-Google-Smtp-Source: ADKCNb6ozURwgtMH+8MZ1yPtms14iqsLqov5TxzsNy9AdCv/4Dy39lyT5+EjpdgSOz/0ikGmXQxNEg== X-Received: by 10.36.177.76 with SMTP id c12mr1119665itj.142.1504193127048; Thu, 31 Aug 2017 08:25:27 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id 10sm2535745ios.55.2017.08.31.08.25.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Aug 2017 08:25:26 -0700 (PDT) Message-ID: <59A82A64.4050507@gmail.com> Date: Thu, 31 Aug 2017 11:25:24 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Adam Weinberger CC: "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" Subject: Re: standard locations for port files References: <59A82622.4030502@gmail.com> <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> In-Reply-To: <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:25:28 -0000 Adam Weinberger wrote: >> On 31 Aug, 2017, at 9:07, Ernie Luzar wrote: >> >> Lets say I have a product that I want to port to Freebsd. >> >> Were is the standard location for the log file and PID file. >> >> Would it be in >> /usr/local/etc/product/product.log >> /usr/local/etc/product/product.pid >> >> or >> >> /var/log/product.log >> /var/run/product.pid > > It should be in /var. Many users keep /usr/local mounted read-only. > > # Adam > > Lets say /usr/local/etc/product/ is chrooted and the only thing in it is the product.conf. Is there any security benefit for chrooting that directory path?