From owner-freebsd-apache@FreeBSD.ORG Tue Oct 29 09:14:15 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 60749C38; Tue, 29 Oct 2013 09:14:15 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4076D2610; Tue, 29 Oct 2013 09:14:14 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA05388; Tue, 29 Oct 2013 11:14:06 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Vb5NG-0005E6-0g; Tue, 29 Oct 2013 11:14:06 +0200 Message-ID: <526F7C39.10308@FreeBSD.org> Date: Tue, 29 Oct 2013 11:13:29 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: apache@FreeBSD.org Subject: AP_GENPLIST vs pkg upgrade X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit 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, 29 Oct 2013 09:14:15 -0000 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