Date: Thu, 21 Feb 2013 10:15:59 +0100 From: "Patrick M. Hausen" <hausen@punkt.de> To: Guido Falsi <mad@madpilot.net> Cc: "freebsd-stable@freebsd.org List" <freebsd-stable@freebsd.org> Subject: Re: Poudriere questions Message-ID: <4647BC50-5866-4B9D-B5A5-B1852EB6045E@punkt.de> In-Reply-To: <5125E0CE.7030709@madpilot.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4647BC50-5866-4B9D-B5A5-B1852EB6045E>