Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2013 22:13:02 +0100
From:      olli hauer <ohauer@gmx.de>
To:        apache@freebsd.org
Cc:        Dan Langille <dan@langille.org>
Subject:   Re: problem upgrading with portmaster (addenda)
Message-ID:  <52795F5E.80808@gmx.de>
In-Reply-To: <825e00fe8a9591b0ca48e171e38b4e0d@mail.unixathome.org>
References:  <825e00fe8a9591b0ca48e171e38b4e0d@mail.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52795F5E.80808>