problem upgrading with portmaster (addenda)

olli hauer ohauer at gmx.de
Tue Nov 5 21:13:13 UTC 2013


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$
+ at comment keep the next three lines on top (only required for old pkg_... tools)
+ at exec mkdir -p %D/%%ETCDIR%%/envvars.d 2> /dev/null || true
+ at exec mkdir -p %D/%%ETCDIR%%/extra 2> /dev/null || true
+ at 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




More information about the freebsd-apache mailing list