Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 11:13:29 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        apache@FreeBSD.org
Subject:   AP_GENPLIST vs pkg upgrade
Message-ID:  <526F7C39.10308@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

AP_GENPLIST by default results in the following pkg-plist entries (an example):
@unexec /usr/bin/sed -i '' -E '/LoadModule[[:blank:]]+rpaf_module/d'
%D/etc/apache22/httpd.conf
@exec %D/sbin/apxs -e -A -n rpaf %D/%F

This means that after pkg upgrade a module becomes commented out in httpd.conf.

I am aware of AP_MODENABLE.  But the official FreeBSD pkg packages are built
without this customization.

I believe that the current default behavior is quite a nasty one.

Not sure if at present there is any way to make it more user-friendly in the
case of pkgng packages.

P.S.
Perhaps it would be easier to just leave httpd.conf alone and put all
responsibility for its management on an administrator.  It seems that that some
module ports that do not use AP_GENPLIST do just that.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526F7C39.10308>