From owner-freebsd-apache@FreeBSD.ORG Tue Nov 5 21:13:13 2013 Return-Path: Delivered-To: apache@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 ESMTP id 5E490BE2 for ; Tue, 5 Nov 2013 21:13:13 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E030C275F for ; Tue, 5 Nov 2013 21:13:12 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MMXVC-1VYp3v0vLa-008JGL for ; Tue, 05 Nov 2013 22:13:05 +0100 Message-ID: <52795F5E.80808@gmx.de> Date: Tue, 05 Nov 2013 22:13:02 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: apache@freebsd.org Subject: Re: problem upgrading with portmaster (addenda) References: <825e00fe8a9591b0ca48e171e38b4e0d@mail.unixathome.org> In-Reply-To: <825e00fe8a9591b0ca48e171e38b4e0d@mail.unixathome.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:xTnDIqZ4Y62A6TTNp0IxEXUomcDqkNLW2sToEx1xpOXlwB9B2ig POx3nsnI4gPWeGmUWGaFz9U4PozyIfHSqVLBujpegNJ4Vjy62YqIsJ3BtV+Zx8SSK9WKILo iOuQC6plGcMDpqMPF6KI1l0C5O0MGAWUWD6Tr4kliDgDYUcd1Ds872bWDccoDSMguGAbX8l QEr/Yp2k7fOM+M3J9hvSw== Cc: Dan Langille X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 21:13:13 -0000 On 2013-11-05 21:28, Dan Langille wrote: > Ignore the previous message as this contains additional information. > > FYI, I upgrade Apache today, and noticed these errors. > > I'm on FreeBSD 8.4-RELEASE-p4 and I am *NOT* using pkg. > > also found at http://pastebin.com/LkEc3X2i > > ===> Installing for apache22-2.2.25 > ===> Checking if www/apache22 already installed > ===> Creating users and/or groups. > Using existing group 'www'. > Using existing user 'www'. ... > > I think the cause of the problem: /usr/local/etc/apache22/extra does not exist on my server. > Hi Dan, I will commit a fix in short time together with the patch for PR ports/183685 plus a new serf and subversion18. The old pkg tools require to create empty directories even with staging ... Index: pkg-plist =================================================================== --- pkg-plist (revision 332889) +++ pkg-plist (working copy) @@ -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 %%ETCDIR%%/Includes/no-accf.conf include/apache22/ap_compat.h include/apache22/ap_config.h