From owner-svn-ports-all@FreeBSD.ORG Fri May 2 17:26:06 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C665AFFB; Fri, 2 May 2014 17:26:06 +0000 (UTC) Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150]) (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 9D1DB1569; Fri, 2 May 2014 17:26:06 +0000 (UTC) Received: from [10.251.53.35] (out-on-163.wireless.telus.com [207.219.69.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by apnoea.adamw.org (Postfix) with ESMTPSA id 6895711FE96; Fri, 2 May 2014 13:25:58 -0400 (EDT) User-Agent: K-9 Mail for Android In-Reply-To: <5363C7BE.2040302@gmx.at> References: <201405021317.s42DHQ5P053302@svn.freebsd.org> <5363A968.7010707@freebsd.org> <5363C176.6050100@gmx.at> <7e75dcf81553538101a3fcce151cf558@shatow.net> <5363C7BE.2040302@gmx.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: svn commit: r352813 - in head/security/py-fail2ban: . files From: Adam Weinberger Date: Fri, 02 May 2014 13:25:55 -0400 To: Christoph Theis ,Bryan Drewery Message-ID: <7cadc88e-fdb9-43c1-b849-653e00883914@email.android.com> Cc: svn-ports-head@freebsd.org, owner-ports-committers@freebsd.org, Andrey Chernov , svn-ports-all@freebsd.org, ports-committers@freebsd.org, Sunpoet Po-Chuan Hsieh X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 17:26:06 -0000 On May 2, 2014 12:28:46 PM EDT, Christoph Theis wrote: >Am 02.05.2014 18:04, schrieb Bryan Drewery: >> On 2014-05-02 11:01, Christoph Theis wrote: >>> @Andrey: My intention was to create that directory during >>> installation. I think it is wrong to create it in $STAGEDIR instead >>> during post-install. But what would be the correct way to create a >>> /var/db directory used at runtime only and nothing is copied there >>> during installation? >> >> It's not proper to create directories outside of STAGEDIR in >post-install. > >So the correct way is to create the directory in $STAGEDIR/var/db in >post-install. And it is there. But why isn't it created in /var/db >then? > >Sorry to bother you but I don't know enough details of port >installation >to debug that. Also you can just: post-install: ${MKDIR} ${STAGEDIR}/var/db/whatever ${TOUCH} ${STAGEDIR}/var/db/whatever/.keep_me pkg-plist: /var/db/whatever/.keep_me @dirrmtry /var/db/whatever # Adam -- Adam Weinberger adamw@adamw.org http://www.adamw.org