From owner-freebsd-ports@freebsd.org Wed Dec 20 15:54:46 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 BF54EE914BA for ; Wed, 20 Dec 2017 15:54:46 +0000 (UTC) (envelope-from SRS0=4vMs=DQ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 778217496F for ; Wed, 20 Dec 2017 15:54:45 +0000 (UTC) (envelope-from SRS0=4vMs=DQ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7315528428; Wed, 20 Dec 2017 16:54:37 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 21FD828423; Wed, 20 Dec 2017 16:54:36 +0100 (CET) Subject: Re: Setting system user home directory To: Adam Vande More , Dmytro Bilokha Cc: Kevin Oberman , FreeBSD Ports ML References: <20171216094058.GA37778@wstan> <5A351515.1080805@quip.cz> <20171216135919.GA17551@wstan> <5A352BA5.9070403@quip.cz> <20171216170411.GA85559@wstan> <20171216185317.GA87289@wstan> <20171216200959.GA97697@wstan> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <5A3A87BB.4020603@quip.cz> Date: Wed, 20 Dec 2017 16:54:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: 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.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 15:54:46 -0000 Adam Vande More wrote on 2017/12/20 15:12: > On Sat, Dec 16, 2017 at 2:10 PM, Dmytro Bilokha wrote: > >> Guys, thanks for your help. I've managed to adjust user's homedir >> using pkg-install script. Now I'll try to move everything writable >> from /usr/local to /var (as Miroslav suggested), test and submit the new >> port version. > > > I think you should do what makes sense for your application. The /var/db > stuff is not a hard fast rule and it doesn't work well for many > situations. Also it's mostly system related DB's that live there. It's > not only some java related ports that live mostly under /usr but also > things like postgres(at least used to). Databases (Postgres) are mess. MySQL, CouchDB, Elasticsearch and others are using /var/db prefix, PostgreSQL and some others are using /usr/local. It is very inconsistent... Miroslav Lachman