From owner-svn-ports-head@FreeBSD.ORG Tue Nov 5 22:06:52 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EC0441A6; Tue, 5 Nov 2013 22:06:51 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 4197A23CEDD; Tue, 5 Nov 2013 23:06:50 +0100 (CET) Message-ID: <52796BFA.4000106@FreeBSD.org> Date: Tue, 05 Nov 2013 23:06:50 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Olli Hauer , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r332914 - in head/www/apache22: . files References: <201311052200.rA5M08P5057668@svn.freebsd.org> In-Reply-To: <201311052200.rA5M08P5057668@svn.freebsd.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 22:06:52 -0000 Am 05.11.2013 23:00, schrieb Olli Hauer: > Author: ohauer > Date: Tue Nov 5 22:00:07 2013 > New Revision: 332914 > URL: http://svnweb.freebsd.org/changeset/ports/332914 > > Log: ... > - fix package installation with old pkg tools (create empty > folders in pkg-plist even staging is enabled) > Modified: head/www/apache22/pkg-plist > ============================================================================== > --- head/www/apache22/pkg-plist Tue Nov 5 21:57:16 2013 (r332913) > +++ head/www/apache22/pkg-plist Tue Nov 5 22:00:07 2013 (r332914) > @@ -1,4 +1,8 @@ > @comment $FreeBSD$ > +@comment keep the next three lines on top (only required for old pkg_... tools) > +@exec mkdir -p %D/%%ETCDIR%%/envvars.d 2> /dev/null || true > +@exec mkdir -p %D/%%ETCDIR%%/extra 2> /dev/null || true > +@exec mkdir -p %D/%%ETCDIR%%/Includes 2> /dev/null || true This should probably just be @exec mkdir -p %D/%%ETCDIR%%/whatever. mkdir -p silently skips existing directories, and if the destination is not a directory, you neither want to discard the error message nor let the installation pass with a much less obvious failing cp (as before).