From owner-freebsd-stable@FreeBSD.ORG Thu Feb 21 12:18:43 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A0351B9F for ; Thu, 21 Feb 2013 12:18:43 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 3236F6AA for ; Thu, 21 Feb 2013 12:18:43 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate2.intern.punkt.de with ESMTP id r1L9Fxqs017170; Thu, 21 Feb 2013 10:15:59 +0100 (CET) Received: from hausen-mbp.intern.punkt.de (hausen-mbp.intern.punkt.de [217.29.45.135] (may be forged)) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id r1L9FxOs016088; Thu, 21 Feb 2013 10:15:59 +0100 (CET) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Poudriere questions From: "Patrick M. Hausen" In-Reply-To: <5125E0CE.7030709@madpilot.net> Date: Thu, 21 Feb 2013 10:15:59 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <4647BC50-5866-4B9D-B5A5-B1852EB6045E@punkt.de> References: <2954D7E9-5FBD-4A9E-A097-195F2BBB195E@punkt.de> <512502C3.9010702@madpilot.net> <0A93B8B5-9C00-4E5E-A0CC-D8CF51A65A82@punkt.de> <512507A5.5080307@madpilot.net> <2F88E216-2412-4FA2-99BE-36DB37D15EC0@punkt.de> <5125E0CE.7030709@madpilot.net> To: Guido Falsi X-Mailer: Apple Mail (2.1499) Cc: "freebsd-stable@freebsd.org List" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 12:18:43 -0000 Hi, Guido, hope you have a couple of more minutes ... After the first failure with the make.conf syntax I just put the options = in unconditionally, to try if they end up in the final Apache package. Nope: Server version: Apache/2.2.23 (FreeBSD) Server built: Feb 21 2013 08:56:52 Server's Module Magic Number: 20051115:31 Server loaded: APR 1.4.6, APR-Util 1.4.1 Compiled using: APR 1.4.6, APR-Util 1.4.1 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR=3D"server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=3D128 -D HTTPD_ROOT=3D"/usr/local" -D SUEXEC_BIN=3D"/usr/local/bin/suexec" -D DEFAULT_PIDLOG=3D"/var/run/httpd.pid" -D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status" -D DEFAULT_LOCKFILE=3D"/var/run/accept.lock" -D DEFAULT_ERRORLOG=3D"logs/error_log" -D AP_TYPES_CONFIG_FILE=3D"etc/apache22/mime.types" -D SERVER_CONFIG_FILE=3D"etc/apache22/httpd.conf" No PROXY_HTTP, no SUEXEC_DOCROOT ... OK, tried manually wihtout Poudriere: cd /usr/ports/www/apache22 make deinstall rm -r /var/db/ports/apache22 make clean make -DBATCH -DPROXY=3Don -DPROXY_HTTP=3Don -DSUEXEC=3Don = -DSUEXEC_DOCROOT=3D/var/apache = -DSUEXEC_LOGFILE=3D/var/apache/GLOBAL/suexec_log install Result: nanobsd# httpd -V Server version: Apache/2.2.23 (FreeBSD) Server built: Feb 21 2013 10:05:05 Server's Module Magic Number: 20051115:31 Server loaded: APR 1.4.6, APR-Util 1.4.1 Compiled using: APR 1.4.6, APR-Util 1.4.1 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR=3D"server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=3D128 -D HTTPD_ROOT=3D"/usr/local" -D SUEXEC_BIN=3D"/usr/local/bin/suexec" -D DEFAULT_PIDLOG=3D"/var/run/httpd.pid" -D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status" -D DEFAULT_LOCKFILE=3D"/var/run/accept.lock" -D DEFAULT_ERRORLOG=3D"logs/error_log" -D AP_TYPES_CONFIG_FILE=3D"etc/apache22/mime.types" -D SERVER_CONFIG_FILE=3D"etc/apache22/httpd.conf" So it seems like the method I used for years does not work anymore now = that we have OptionsNG :-( I already spent quite some time searching the = documentation for a way to specify these options, without success so far. Next try: make config, enable PROXY, PROXY_HTTP, SUEXEC, then specify the rest on = the command line when building: make -DBATCH -DSUEXEC_DOCROOT=3D/var/apache = -DSUEXEC_LOGFILE=3D/var/apache/GLOBAL/suexec_log install Result: Proxy modules installed, suexec binary installed, but: nanobsd# /usr/local/sbin/suexec -V -D AP_DOC_ROOT=3D"/usr/local/www/data" -D AP_GID_MIN=3D1000 -D AP_HTTPD_USER=3D"www" -D AP_LOG_EXEC=3D"/var/log/httpd-suexec.log" -D AP_SAFE_PATH=3D"/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=3D1000 -D AP_USERDIR_SUFFIX=3D"public_html" *gnagnagna* ... I'm running out of ideas here. But this is definitely no Poudriere related question, anymore. Thanks = for your help. If you have a pointer to something I might have missed regarding = OptionsNG, that would be great. Kind regards Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285